Home
last modified time | relevance | path

Searched refs:stack_limit (Results 1 – 15 of 15) sorted by relevance

/third_party/musl/porting/liteos_m/user/src/thread/
Dpthread_create.c120 unsigned char *stack = 0, *stack_limit, *map_base = 0; in __pthread_create() local
134 stack_limit = (void *)(attr._a_stackaddr - size); in __pthread_create()
138 stack_limit = map_base; in __pthread_create()
142 new->map_base = stack_limit; in __pthread_create()
145 new->stack_size = (uintptr_t)new->stack - (uintptr_t)stack_limit; in __pthread_create()
/third_party/re2/util/
Dpcre.cc106 int stack_limit, bool report_errors) { in Init() argument
110 stack_limit_ = stack_limit; in Init()
143 re_option.stack_limit(), re_option.report_errors()); in PCRE()
148 re_option.stack_limit(), re_option.report_errors()); in PCRE()
530 int stack_limit = stack_limit_; in TryMatch() local
531 if (stack_limit <= 0) { in TryMatch()
532 stack_limit = GetFlag(FLAGS_regexp_stack_limit); in TryMatch()
540 if (stack_limit > 0) { in TryMatch()
542 extra.match_limit_recursion = stack_limit / kPCREFrameSize; in TryMatch()
583 PCREPORT(WARNING) << "Exceeded stack limit of " << stack_limit in TryMatch()
Dpcre.h455 int stack_limit, bool report_errors);
534 int stack_limit() const { return stack_limit_; } in stack_limit() function
535 void set_stack_limit(int stack_limit) { in set_stack_limit() argument
536 stack_limit_ = stack_limit; in set_stack_limit()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_create.c242 unsigned char *map = 0, *stack = 0, *tsd = 0, *stack_limit; in __pthread_create() local
264 stack_limit = (void *)(attr._a_stackaddr - size); in __pthread_create()
298 stack_limit = map + guard; in __pthread_create()
306 new->stack_size = stack - stack_limit; in __pthread_create()
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.c608 uint16_t stack_limit; in parse_print_final_cbc() local
618 stack_limit = args->stack_limit; in parse_print_final_cbc()
628 stack_limit = args->stack_limit; in parse_print_final_cbc()
637 (int) (stack_limit + register_end)); in parse_print_final_cbc()
952 …if ((size_t) context_p->stack_limit + (size_t) context_p->register_count > PARSER_MAXIMUM_STACK_LI… in parser_post_processing()
1184 if (context_p->stack_limit > CBC_MAXIMUM_BYTE_VALUE in parser_post_processing()
1251 args_p->stack_limit = context_p->stack_limit; in parser_post_processing()
1265 args_p->stack_limit = (uint8_t) context_p->stack_limit; in parser_post_processing()
2040 context.stack_limit = 0; in parser_parse_source()
2309 saved_context_p->stack_limit = context_p->stack_limit; in parser_save_context()
[all …]
Djs-parser-util.c275 if (context_p->stack_depth > context_p->stack_limit) in parser_flush_cbc()
277 context_p->stack_limit = context_p->stack_depth; in parser_flush_cbc()
278 if (context_p->stack_limit > PARSER_MAXIMUM_STACK_LIMIT) in parser_flush_cbc()
585 if (context_p->stack_depth > context_p->stack_limit) in parser_emit_cbc_forward_branch()
587 context_p->stack_limit = context_p->stack_depth; in parser_emit_cbc_forward_branch()
588 if (context_p->stack_limit > PARSER_MAXIMUM_STACK_LIMIT) in parser_emit_cbc_forward_branch()
Djs-parser-expr.c95 && context_p->stack_depth >= context_p->stack_limit) in parser_push_result()
99 JERRY_ASSERT (context_p->stack_depth == context_p->stack_limit); in parser_push_result()
101 context_p->stack_limit++; in parser_push_result()
103 if (context_p->stack_limit > PARSER_MAXIMUM_STACK_LIMIT) in parser_push_result()
2631 && (context_p->stack_depth >= context_p->stack_limit)) in parser_process_binary_opcodes()
2634 JERRY_ASSERT (context_p->stack_depth == context_p->stack_limit); in parser_process_binary_opcodes()
2636 context_p->stack_limit++; in parser_process_binary_opcodes()
2638 if (context_p->stack_limit > PARSER_MAXIMUM_STACK_LIMIT) in parser_process_binary_opcodes()
Djs-parser-internal.h460 uint16_t stack_limit; /**< maximum stack depth */ member
507 uint16_t stack_limit; /**< maximum stack depth */ member
Dbyte-code.h779 uint8_t stack_limit; /**< maximum number of values stored on the stack */ member
793 uint16_t stack_limit; /**< maximum number of values stored on the stack */ member
/third_party/musl/src/thread/
Dpthread_create.c236 unsigned char *map = 0, *stack = 0, *tsd = 0, *stack_limit; in __pthread_create() local
269 stack_limit = (void *)(attr._a_stackaddr - size); in __pthread_create()
303 stack_limit = map + guard; in __pthread_create()
311 new->stack_size = stack - stack_limit; in __pthread_create()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_create.c314 unsigned char *map = 0, *stack = 0, *tsd = 0, *stack_limit, *start_addr; in __pthread_create() local
347 stack_limit = (void *)(attr._a_stackaddr - size); in __pthread_create()
381 stack_limit = map + guard; in __pthread_create()
389 new->stack_size = stack - stack_limit; in __pthread_create()
/third_party/jerryscript/jerry-core/vm/
Dopcodes.c589 size = ((size_t) args_p->register_end + (size_t) args_p->stack_limit) * sizeof (ecma_value_t); in opfunc_create_executable_object()
594 size = ((size_t) args_p->register_end + (size_t) args_p->stack_limit) * sizeof (ecma_value_t); in opfunc_create_executable_object()
Dvm.c4457 frame_size = (size_t) (args_p->register_end + args_p->stack_limit); in vm_run()
4462 frame_size = (size_t) (args_p->register_end + args_p->stack_limit); in vm_run()
/third_party/jerryscript/tools/
Dbuild.py207 build_options_append('JERRY_STACK_LIMIT', arguments.stack_limit)
/third_party/jerryscript/jerry-core/ecma/base/
Decma-gc.c862 size = (register_end + (size_t) args_p->stack_limit) * sizeof (ecma_value_t); in ecma_gc_free_executable_object()
869 size = (register_end + (size_t) args_p->stack_limit) * sizeof (ecma_value_t); in ecma_gc_free_executable_object()