Skip to content
Snippets Groups Projects
Select Git revision
  • 0dce9932b6006dd601d07659921574830258ceea
  • master default protected
  • hpke
  • ppc-chacha-4core
  • delete-internal-name-mangling
  • master-updates
  • ppc-gcm
  • ppc-chacha-2core
  • refactor-ecc-mod
  • ppc-chacha-core
  • use-mpn_cnd-functions
  • optimize-ecc-invert
  • default-m4-quote-char
  • power-asm-wip
  • test-fat
  • chacha-3core-neon
  • x86_64-salsa20-2core
  • salsa20-2core-neon
  • bcrypt
  • arm-salsa20-chacha-vsra
  • test-shlib-dir
  • nettle_3.6_release_20200429
  • nettle_3.6rc3
  • nettle_3.6rc2
  • nettle_3.6rc1
  • nettle_3.5.1_release_20190627
  • nettle_3.5_release_20190626
  • nettle_3.5rc1
  • nettle_3.4.1_release_20181204
  • nettle_3.4.1rc1
  • nettle_3.4_release_20171119
  • nettle_3.4rc2
  • nettle_3.4rc1
  • nettle_3.3_release_20161001
  • nettle_3.2_release_20160128
  • nettle_3.1.1_release_20150424
  • nettle_3.1_release_20150407
  • nettle_3.1rc3
  • nettle_3.1rc2
  • nettle_3.1rc1
  • nettle_3.0_release_20140607
41 results

desCode.h

Blame
  • Forked from Nettle / nettle
    Source project has a limited visibility.
    docode.h 1.19 KiB
    /*\
    ||| This file a part of Pike, and is copyright by Fredrik Hubinette
    ||| Pike is distributed as GPL (General Public License)
    ||| See the files COPYING and DISCLAIMER for more information.
    \*/
    
    /*
     * $Id: docode.h,v 1.5 1998/03/28 15:38:02 grubba Exp $
     */
    #ifndef DOCODE_H
    #define DOCODE_H
    
    /*
     * The compiler stack is used when compiling to keep track of data.
     * This value need too be large enough for the programs you compile.
     */
    #define COMPILER_STACK_SIZE	8000
    
    
    #define DO_LVALUE 1
    #define DO_NOT_COPY 2
    #define DO_POP 4
    
    extern int store_linenumbers;
    extern int comp_stackp;
    extern INT32 comp_stack[COMPILER_STACK_SIZE];
    
    #define emit(X,Y) insert_opcode((X),(Y),lex.current_line, lex.current_file)
    #define emit2(X) insert_opcode2((X),lex.current_line, lex.current_file)
    
    /* Prototypes begin here */
    void upd_int(int offset, INT32 tmp);
    INT32 read_int(int offset);
    void push_address(void);
    void push_explicit(INT32 address);
    INT32 pop_address(void);
    int alloc_label(void);
    int do_jump(int token,INT32 lbl);
    void do_pop(int x);
    int do_docode(node *n,INT16 flags);
    void do_cond_jump(node *n, int label, int iftrue, int flags);
    void do_code_block(node *n);
    int docode(node *n);
    /* Prototypes end here */
    
    #endif