Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 25 of 125) sorted by relevance

12345

/AliOS-Things-master/components/freetype/src/cff/
A Dcf2stack.c66 stack->top = &stack->buffer[0]; /* empty stack */ in cf2_stack_init()
69 return stack; in cf2_stack_init()
76 if ( stack ) in cf2_stack_free()
90 return (CF2_UInt)( stack->top - &stack->buffer[0] ); in cf2_stack_count()
98 if ( stack->top == &stack->buffer[CF2_OPERAND_STACK_SIZE] ) in cf2_stack_pushInt()
106 ++stack->top; in cf2_stack_pushInt()
114 if ( stack->top == &stack->buffer[CF2_OPERAND_STACK_SIZE] ) in cf2_stack_pushFixed()
122 ++stack->top; in cf2_stack_pushFixed()
130 if ( stack->top == &stack->buffer[0] ) in cf2_stack_popInt()
152 if ( stack->top == &stack->buffer[0] ) in cf2_stack_popFixed()
[all …]
A Dcf2stack.h75 cf2_stack_free( CF2_Stack stack );
78 cf2_stack_count( CF2_Stack stack );
81 cf2_stack_pushInt( CF2_Stack stack,
84 cf2_stack_pushFixed( CF2_Stack stack,
88 cf2_stack_popInt( CF2_Stack stack );
90 cf2_stack_popFixed( CF2_Stack stack );
93 cf2_stack_getReal( CF2_Stack stack,
97 cf2_stack_clear( CF2_Stack stack );
A Dcffparse.c46 parser->top = parser->stack; in cff_parser_init()
513 FT_Byte** data = parser->stack; in cff_parse_font_matrix()
517 if ( parser->top >= parser->stack + 6 ) in cff_parse_font_matrix()
583 FT_Byte** data = parser->stack; in cff_parse_font_bbox()
589 if ( parser->top >= parser->stack + 4 ) in cff_parse_font_bbox()
612 FT_Byte** data = parser->stack; in cff_parse_private_dict()
618 if ( parser->top >= parser->stack + 2 ) in cff_parse_private_dict()
636 FT_Byte** data = parser->stack; in cff_parse_cid_ros()
642 if ( parser->top >= parser->stack + 3 ) in cff_parse_cid_ros()
939 parser->top = parser->stack; in cff_parser_run()
[all …]
A Dcffgload.c1342 args = stack; in cff_decoder_parse_charstrings()
1402 args = stack; in cff_decoder_parse_charstrings()
1412 args = stack; in cff_decoder_parse_charstrings()
1421 args = stack; in cff_decoder_parse_charstrings()
1430 args = stack; in cff_decoder_parse_charstrings()
1451 args = stack; in cff_decoder_parse_charstrings()
1475 args = stack; in cff_decoder_parse_charstrings()
2246 args = stack; in cff_decoder_parse_charstrings()
2263 args = stack; in cff_decoder_parse_charstrings()
2280 args = stack; in cff_decoder_parse_charstrings()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/profiler/
A Dinstrumentation.cc108 return sizeof(stack.id) + sizeof(stack.size) + in GetBufferSize()
109 stack.size * sizeof(stack.labels[0]); in GetBufferSize()
113 memcpy(dst, &stack.id, sizeof(stack.id)); in CopyToBuffer()
114 dst += sizeof(stack.id); in CopyToBuffer()
115 memcpy(dst, &stack.size, sizeof(stack.size)); in CopyToBuffer()
116 dst += sizeof(stack.size); in CopyToBuffer()
117 memcpy(dst, stack.labels, stack.size * sizeof(stack.labels[0])); in CopyToBuffer()
121 memcpy(&stack->id, src, sizeof(stack->id)); in ReadFromBuffer()
122 src += sizeof(stack->id); in ReadFromBuffer()
123 memcpy(&stack->size, src, sizeof(stack->size)); in ReadFromBuffer()
[all …]
A Dtreeview.cc46 void AddStack(const detail::Stack& stack, TreeView::Node* node, int level) { in AddStack() argument
48 if (stack.size == level) { in AddStack()
53 if (child->label == stack.labels[level]) { in AddStack()
60 child_to_add_to->label = stack.labels[level]; in AddStack()
63 AddStack(stack, child_to_add_to, level + 1); in AddStack()
92 detail::Stack stack; in Populate() local
93 detail::ReadFromBuffer(buf_ptr, &stack); in Populate()
95 assert(stack.size > 0); in Populate()
96 buf_ptr += GetBufferSize(stack); in Populate()
97 const int id = stack.id; in Populate()
[all …]
A Dinstrumentation.h101 int GetBufferSize(const Stack& stack);
104 void CopyToBuffer(const Stack& stack, char* dst);
108 void ReadFromBuffer(const char* src, Stack* stack);
119 const Stack& stack() const { return stack_; } in stack() function
A Dprofiler.cc78 if (thread_stack.stack().size == 0) { in Sample()
81 int sample_size = detail::GetBufferSize(thread_stack.stack()); in Sample()
84 detail::CopyToBuffer(thread_stack.stack(), in Sample()
/AliOS-Things-master/components/ble_host/bt_host/port/include/misc/
A Dstack.h18 static inline size_t stack_unused_space_get(const char *stack, size_t size) in stack_unused_space_get() argument
31 if ((unsigned char)stack[i] == 0xaa) { in stack_unused_space_get()
39 if ((unsigned char)stack[i] == 0xaa) { in stack_unused_space_get()
49 static inline size_t stack_unused_space_get(const char *stack, size_t size) in stack_unused_space_get() argument
56 static inline void stack_analyze(const char *name, const char *stack, in stack_analyze() argument
61 unused = stack_unused_space_get(stack, size); in stack_analyze()
70 static inline void stack_analyze(const char *name, const char *stack, in stack_analyze() argument
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dpngcp.c463 struct stack struct
781 dp->stack[sp].opt_string_end = set_opt_string_(dp, sp, dp->stack[sp].opt, in set_opt_string()
782 options[dp->stack[sp].opt].values[dp->stack[sp].entry].name); in set_opt_string()
852 dp->stack[sp].best_size = in push_opt()
872 dp->stack[sp].opt = opt; in push_opt()
883 dp->stack[sp].end = 1; in push_opt()
894 dp->stack[sp].end = 0; in push_opt()
921 opt = dp->stack[sp].opt; in next_opt()
936 if (dp->stack[sp].lo > dp->stack[sp].hi) in next_opt()
1127 dp->stack[sp].end = 1; in next_opt()
[all …]
/AliOS-Things-master/components/debug/src/
A Ddebug_panic.c140 void stack_dump(cpu_stack_t *stack, uint32_t size) in stack_dump() argument
145 if (stack[idx] == 0 && stack[idx + 1] == 0 in stack_dump()
146 && stack[idx + 2] == 0 && stack[idx + 3] == 0) { in stack_dump()
158 &stack[idx], in stack_dump()
159 … (void *)stack[idx], (void *)stack[idx + 1], (void *)stack[idx + 2], (void *)stack[idx + 3]); in stack_dump()
167 cpu_stack_t *stack; in debug_cur_task_stack_dump() local
171 stack = task->task_stack_base; in debug_cur_task_stack_dump()
174 if (stack != NULL) { in debug_cur_task_stack_dump()
176 stack_dump(stack, stack_size); in debug_cur_task_stack_dump()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodujson.c153 mp_obj_list_t stack; // we use a list as a simple stack for nested JSON in mod_ujson_load() local
154 stack.len = 0; in mod_ujson_load()
155 stack.items = NULL; in mod_ujson_load()
293 if (stack.len == 0) { in mod_ujson_load()
297 stack.len -= 1; in mod_ujson_load()
298 stack_top = stack.items[stack.len]; in mod_ujson_load()
328 if (stack.items == NULL) { in mod_ujson_load()
329 mp_obj_list_init(&stack, 1); in mod_ujson_load()
330 stack.items[0] = stack_top; in mod_ujson_load()
332 mp_obj_list_append(MP_OBJ_FROM_PTR(&stack), stack_top); in mod_ujson_load()
[all …]
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_memory.c43 Uint64 stack[10]; member
93 SDL_zeroa(entry->stack); in SDL_TrackAllocation()
109 entry->stack[stack_index] = pc; in SDL_TrackAllocation()
116 if (stack_index == SDL_arraysize(entry->stack)) { in SDL_TrackAllocation()
256 for (stack_index = 1; stack_index < SDL_arraysize(entry->stack); ++stack_index) { in SDLTest_LogAllocations()
257 if (!entry->stack[stack_index]) { in SDLTest_LogAllocations()
260 …SDL_snprintf(line, sizeof(line), "\t0x%"SDL_PRIx64": %s\n", entry->stack[stack_index], entry->stac… in SDLTest_LogAllocations()
/AliOS-Things-master/components/freetype/src/lzw/
A Dftzopen.c121 if ( state->stack == state->stack_0 ) in ft_lzwstate_stack_grow()
123 state->stack = NULL; in ft_lzwstate_stack_grow()
136 if ( FT_RENEW_ARRAY( state->stack, old_size, new_size ) ) in ft_lzwstate_stack_grow()
211 state->stack = state->stack_0; in ft_lzwstate_init()
226 if ( state->stack != state->stack_0 ) in ft_lzwstate_done()
227 FT_FREE( state->stack ); in ft_lzwstate_done()
242 state->stack[state->stack_top++] = (FT_Byte)(c); \
371 buffer[result] = state->stack[state->stack_top]; in ft_lzwstate_io()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/examples/
A Dgun.c216 unsigned stack; /* next position for reversed string */ in lunpipe() local
265 stack = 0; in lunpipe()
325 match[stack++] = (unsigned char)final; in lunpipe()
330 p = match + stack; in lunpipe()
335 stack = p - match; in lunpipe()
336 match[stack++] = (unsigned char)code; in lunpipe()
350 while (stack > SIZE - outcnt) { in lunpipe()
352 outbuf[outcnt++] = match[--stack]; in lunpipe()
359 p = match + stack; in lunpipe()
363 stack = 0; in lunpipe()
/AliOS-Things-master/components/SDL2/src/stdlib/
A DSDL_qsort.c192 #define pushLeft {stack[stacktop].first=ffirst;stack[stacktop++].last=last;}
193 #define pushRight {stack[stacktop].first=first;stack[stacktop++].last=llast;}
197 first=ffirst=stack[stacktop].first;\
198 last=llast=stack[stacktop].last;\
413 stack_entry stack[STACK_SIZE]; in qsort_nonaligned() local
444 stack_entry stack[STACK_SIZE]; in qsort_aligned() local
475 stack_entry stack[STACK_SIZE]; in qsort_words() local
/AliOS-Things-master/components/lwip/lwip2.0.0/
A DREADME.md14 LWIP is a tcp/ip protocol stack.
17 Support tcp/ip communication and some applications which is based on tcp/ip protocol stack.
/AliOS-Things-master/components/cli/src/
A Dcli_adapt.c18 uint32_t stack, uint32_t priority) in cli_task_create() argument
20 return aos_task_new_ext(&cli_task, name, fn, arg, stack, priority); in cli_task_create()
/AliOS-Things-master/components/osal_aos/rhino/
A Daos_workqueue.c20 …_create(aos_workqueue_t *workqueue, const char *name, int32_t prio, void *stack, size_t stack_size) in aos_workqueue_create() argument
40 if (NULL == stack) { in aos_workqueue_create()
51 stk = stack; in aos_workqueue_create()
A Daos_task.c57 void *arg, void *stack, size_t stack_size, int32_t prio, uint32_t options) in aos_task_create() argument
67 if (stack == NULL) { in aos_task_create()
72 stack = task_stack; in aos_task_create()
83 ret = (int)krhino_cfs_task_create(task_obj, name, arg, prio, (cpu_stack_t *)stack, in aos_task_create()
86 ret = (int)krhino_task_create(task_obj, name, arg, prio, 0, (cpu_stack_t *)stack, in aos_task_create()
/AliOS-Things-master/kernel/rhino/include/
A Dk_task.h259 uint8_t pri, tick_t ticks, size_t stack,
263 uint8_t pri, size_t stack, task_entry_t entry,
283 uint8_t pri, tick_t ticks, size_t stack,
287 uint8_t pri, size_t stack, task_entry_t entry,
/AliOS-Things-master/kernel/rhino/
A Dk_task.c261 uint8_t pri, tick_t ticks, size_t stack, task_entry_t entry, in task_dyn_create() argument
270 if (stack == 0) { in task_dyn_create()
274 task_stack = krhino_mm_alloc(stack * sizeof(cpu_stack_t)); in task_dyn_create()
287 ret = task_create(task_obj, name, arg, pri, ticks, task_stack, stack, entry, in task_dyn_create()
300 uint8_t pri, tick_t ticks, size_t stack, in krhino_task_dyn_create() argument
303 return task_dyn_create(task, name, arg, pri, ticks, stack, entry, 0, 0, autorun, KSCHED_RR); in krhino_task_dyn_create()
308 uint8_t pri, size_t stack, task_entry_t entry, in krhino_cfs_task_dyn_create() argument
311 return task_dyn_create(task, name, arg, pri, 0, stack, entry, 0, 0, autorun, KSCHED_CFS); in krhino_cfs_task_dyn_create()
317 uint8_t pri, tick_t ticks, size_t stack, in krhino_task_cpu_dyn_create() argument
325 uint8_t pri, size_t stack, task_entry_t entry, in krhino_cfs_task_cpu_dyn_create() argument
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/apps/
A Dsnmp_opts.h79 #error SNMP stack can use only one of the APIs {raw, netconn}
83 #error SNMP stack needs a receive API and UDP {raw, netconn}
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/apps/
A Dsnmp_opts.h79 #error SNMP stack can use only one of the APIs {raw, netconn}
83 #error SNMP stack needs a receive API and UDP {raw, netconn}
/AliOS-Things-master/components/freetype/src/psaux/
A Dt1decode.c393 decoder->top = decoder->stack; in t1_decoder_parse_charstrings()
443 FT_TRACE5(( " (%d)", decoder->top - decoder->stack )); in t1_decoder_parse_charstrings()
662 if ( top - decoder->stack >= T1_MAX_CHARSTRINGS_OPERANDS ) in t1_decoder_parse_charstrings()
689 if ( top - decoder->stack < 2 ) in t1_decoder_parse_charstrings()
708 if ( arg_cnt > top - decoder->stack ) in t1_decoder_parse_charstrings()
805 top = decoder->stack; in t1_decoder_parse_charstrings()
985 XXX which routine has left its mark on the (PostScript) stack?; in t1_decoder_parse_charstrings()
1054 if ( top - decoder->stack < num_args ) in t1_decoder_parse_charstrings()
1075 if ( top - decoder->stack != num_args ) in t1_decoder_parse_charstrings()
1079 top - decoder->stack, num_args )); in t1_decoder_parse_charstrings()

Completed in 70 milliseconds

12345