Home
last modified time | relevance | path

Searched refs:num_locals (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dasmx86.c405 void asm_x86_entry(asm_x86_t *as, int num_locals) { in asm_x86_entry() argument
406 assert(num_locals >= 0); in asm_x86_entry()
411 num_locals |= 3; // make it odd so stack is aligned on 16 byte boundary in asm_x86_entry()
412 asm_x86_sub_r32_i32(as, ASM_X86_REG_ESP, num_locals * WORD_SIZE); in asm_x86_entry()
413 as->num_locals = num_locals; in asm_x86_entry()
417 asm_x86_sub_r32_i32(as, ASM_X86_REG_ESP, -as->num_locals * WORD_SIZE); in asm_x86_exit()
427 return (as->num_locals + 4 + 1 + arg_num) * WORD_SIZE; in asm_x86_arg_offset_from_esp()
A Dasmx64.c534 void asm_x64_entry(asm_x64_t *as, int num_locals) { in asm_x64_entry() argument
535 assert(num_locals >= 0); in asm_x64_entry()
540 num_locals |= 1; // make it odd so stack is aligned on 16 byte boundary in asm_x64_entry()
541 asm_x64_sub_r64_i32(as, ASM_X64_REG_RSP, num_locals * WORD_SIZE); in asm_x64_entry()
542 as->num_locals = num_locals; in asm_x64_entry()
546 asm_x64_sub_r64_i32(as, ASM_X64_REG_RSP, -as->num_locals * WORD_SIZE); in asm_x64_exit()
A Dasmarm.c137 void asm_arm_entry(asm_arm_t *as, int num_locals) { in asm_arm_entry() argument
138 assert(num_locals >= 0); in asm_arm_entry()
151 if (num_locals > 3) { in asm_arm_entry()
152 as->stack_adjust = num_locals * 4; in asm_arm_entry()
154 if (num_locals & 1) { in asm_arm_entry()
A Dasmxtensa.c64 void asm_xtensa_entry(asm_xtensa_t *as, int num_locals) { in asm_xtensa_entry() argument
71 as->stack_adjust = (((ASM_XTENSA_NUM_REGS_SAVED + num_locals) * WORD_SIZE) + 15) & ~15; in asm_xtensa_entry()
104 void asm_xtensa_entry_win(asm_xtensa_t *as, int num_locals) { in asm_xtensa_entry_win() argument
110 … as->stack_adjust = 32 + ((((ASM_XTENSA_NUM_REGS_SAVED_WIN + num_locals) * WORD_SIZE) + 15) & ~15); in asm_xtensa_entry_win()
A Dscope.h85 uint16_t num_locals; member
A Dasmthumb.c107 void asm_thumb_entry(asm_thumb_t *as, int num_locals) { in asm_thumb_entry() argument
108 assert(num_locals >= 0); in asm_thumb_entry()
133 switch (num_locals) { in asm_thumb_entry()
156 stack_adjust = ((num_locals - 3) + 1) & (~1); in asm_thumb_entry()
A Dasmx86.h80 int num_locals; member
111 void asm_x86_entry(asm_x86_t *as, int num_locals);
A Dasmx64.h78 int num_locals; member
116 void asm_x64_entry(asm_x64_t *as, int num_locals);
A Dasmxtensa.h123 void asm_xtensa_entry(asm_xtensa_t *as, int num_locals);
126 void asm_xtensa_entry_win(asm_xtensa_t *as, int num_locals);
A Dasmarm.h79 void asm_arm_entry(asm_arm_t *as, int num_locals);
A Demitnative.c374 if (emit->local_vtype_alloc < scope->num_locals) { in emit_native_start_pass()
375 …local_vtype = m_renew(vtype_kind_t, emit->local_vtype, emit->local_vtype_alloc, scope->num_locals); in emit_native_start_pass()
376 emit->local_vtype_alloc = scope->num_locals; in emit_native_start_pass()
426 emit->n_state = scope->num_locals + scope->stack_size; in emit_native_start_pass()
429 num_locals_in_regs = scope->num_locals; in emit_native_start_pass()
510 emit->n_state = scope->num_locals + scope->stack_size; in emit_native_start_pass()
619 for (int i = 0; i < REG_LOCAL_NUM && i < scope->num_locals; ++i) { in emit_native_start_pass()
A Dasmthumb.h77 void asm_thumb_entry(asm_thumb_t *as, int num_locals);
A Dcompile.c3426 scope->num_locals = 0; in scope_compute_things()
3449 id->local_num = scope->num_locals++; in scope_compute_things()
3460 id->local_num = scope->num_locals; in scope_compute_things()
3461 scope->num_locals += 1; in scope_compute_things()
3492 scope->num_locals += num_free; in scope_compute_things()
A Demitbc.c329 mp_uint_t n_state = scope->num_locals + scope->stack_size; in mp_emit_bc_start_pass()
/AliOS-Things-master/components/freetype/src/cff/
A Dcffgload.h178 FT_UInt num_locals; member
A Dcf2ft.c602 if ( idx >= decoder->num_locals ) in cf2_initLocalRegionBuffer()
A Dcffgload.c451 decoder->num_locals = sub->local_subrs_index.count; in cff_decoder_prepare()
455 decoder->num_locals ); in cff_decoder_prepare()
2395 if ( idx >= decoder->num_locals ) in cff_decoder_parse_charstrings()

Completed in 43 milliseconds