Home
last modified time | relevance | path

Searched refs:stack_depth (Results 1 – 12 of 12) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-util.c181 … || (CBC_STACK_ADJUST_BASE - (flags >> CBC_STACK_ADJUST_SHIFT)) <= context_p->stack_depth); in parser_flush_cbc()
182 PARSER_PLUS_EQUAL_U16 (context_p->stack_depth, CBC_STACK_ADJUST_VALUE (flags)); in parser_flush_cbc()
222 JERRY_ASSERT (context_p->stack_depth >= byte_argument); in parser_flush_cbc()
223 PARSER_MINUS_EQUAL_U16 (context_p->stack_depth, byte_argument); in parser_flush_cbc()
234 (int) context_p->stack_depth, in parser_flush_cbc()
275 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()
481 JERRY_DEBUG_MSG (" [%3d] CBC_EXT_LINE %d\n", (int) context_p->stack_depth, line); in parser_emit_line_info()
557 … || (CBC_STACK_ADJUST_BASE - (flags >> CBC_STACK_ADJUST_SHIFT)) <= context_p->stack_depth); in parser_emit_cbc_forward_branch()
558 PARSER_PLUS_EQUAL_U16 (context_p->stack_depth, CBC_STACK_ADJUST_VALUE (flags)); in parser_emit_cbc_forward_branch()
[all …]
Djs-parser.c932 PARSER_MINUS_EQUAL_U16 (context_p->stack_depth, PARSER_BLOCK_CONTEXT_STACK_ALLOCATION); in parser_post_processing()
947 JERRY_ASSERT (context_p->stack_depth == 0); in parser_post_processing()
2039 context.stack_depth = 0; in parser_parse_source()
2308 saved_context_p->stack_depth = context_p->stack_depth; in parser_save_context()
2336 context_p->stack_depth = 0; in parser_save_context()
2381 context_p->stack_depth = saved_context_p->stack_depth; in parser_restore_context()
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()
2228 JERRY_ASSERT (context_p->stack_depth > 0); in parser_process_unary_expression()
2229 context_p->stack_depth--; in parser_process_unary_expression()
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()
3207 JERRY_ASSERT (context_p->stack_depth > 0); in parser_process_ternary_expression()
3208 context_p->stack_depth--; in parser_process_ternary_expression()
Djs-parser-statm.c444 PARSER_MINUS_EQUAL_U16 (context_p->stack_depth, PARSER_BLOCK_CONTEXT_STACK_ALLOCATION); in parser_pop_block_context()
948 PARSER_MINUS_EQUAL_U16 (context_p->stack_depth, PARSER_WITH_CONTEXT_STACK_ALLOCATION); in parser_parse_with_statement_end()
1875 PARSER_MINUS_EQUAL_U16 (context_p->stack_depth, PARSER_TRY_CONTEXT_STACK_ALLOCATION); in parser_parse_try_statement_end()
1897 PARSER_MINUS_EQUAL_U16 (context_p->stack_depth, PARSER_TRY_CONTEXT_STACK_ALLOCATION); in parser_parse_try_statement_end()
2644 JERRY_ASSERT (context_p->stack_depth <= 1); in parser_parse_statements()
2646 JERRY_ASSERT (context_p->context_stack_depth == context_p->stack_depth); in parser_parse_statements()
2742 JERRY_ASSERT (context_p->stack_depth == context_p->context_stack_depth); in parser_parse_statements()
3303 … PARSER_MINUS_EQUAL_U16 (context_p->stack_depth, is_for_in ? PARSER_FOR_IN_CONTEXT_STACK_ALLOCATION in parser_parse_statements()
Djs-parser-internal.h459 uint16_t stack_depth; /**< current stack depth */ member
506 uint16_t stack_depth; /**< current stack depth */ member
/third_party/node/tools/inspector_protocol/lib/
DValues_cpp.template97 std::unique_ptr<DictionaryValue> parseMap(int32_t stack_depth, cbor::CBORTokenizer* tokenizer);
98 std::unique_ptr<ListValue> parseArray(int32_t stack_depth, cbor::CBORTokenizer* tokenizer);
99 std::unique_ptr<Value> parseValue(int32_t stack_depth, cbor::CBORTokenizer* tokenizer);
104 std::unique_ptr<ListValue> parseArray(int32_t stack_depth, cbor::CBORTokenizer* tokenizer) {
113 auto value = parseValue(stack_depth, tokenizer);
122 int32_t stack_depth, cbor::CBORTokenizer* tokenizer) {
124 if (stack_depth > kStackLimitValues) return nullptr;
180 return parseMap(stack_depth + 1, tokenizer);
182 return parseArray(stack_depth + 1, tokenizer);
193 int32_t stack_depth, cbor::CBORTokenizer* tokenizer) {
[all …]
Dencoding_cpp.template933 bool ParseMap(int32_t stack_depth,
936 bool ParseArray(int32_t stack_depth,
939 bool ParseValue(int32_t stack_depth,
959 bool ParseValue(int32_t stack_depth,
962 if (stack_depth > kStackLimit) {
1009 return ParseMap(stack_depth + 1, tokenizer, out);
1011 return ParseArray(stack_depth + 1, tokenizer, out);
1022 bool ParseArray(int32_t stack_depth,
1039 if (!ParseValue(stack_depth, tokenizer, out))
1050 bool ParseMap(int32_t stack_depth,
[all …]
/third_party/node/tools/inspector_protocol/encoding/
Dencoding.cc925 bool ParseMap(int32_t stack_depth,
928 bool ParseArray(int32_t stack_depth,
931 bool ParseValue(int32_t stack_depth,
951 bool ParseValue(int32_t stack_depth, in ParseValue() argument
954 if (stack_depth > kStackLimit) { in ParseValue()
1001 return ParseMap(stack_depth + 1, tokenizer, out); in ParseValue()
1003 return ParseArray(stack_depth + 1, tokenizer, out); in ParseValue()
1014 bool ParseArray(int32_t stack_depth, in ParseArray() argument
1031 if (!ParseValue(stack_depth, tokenizer, out)) in ParseArray()
1042 bool ParseMap(int32_t stack_depth, in ParseMap() argument
[all …]
/third_party/mesa3d/src/intel/blorp/
Dblorp_blit.c643 unsigned stack_depth = 0; in blorp_nir_combine_samples() local
645 assert(stack_depth == util_bitcount(i)); /* Loop invariant */ in blorp_nir_combine_samples()
648 assert(stack_depth < ARRAY_SIZE(texture_data)); in blorp_nir_combine_samples()
653 texture_data[stack_depth++] = blorp_nir_txf_ms(b, v, ms_pos, mcs, dst_type); in blorp_nir_combine_samples()
691 assert(stack_depth >= 2); in blorp_nir_combine_samples()
692 --stack_depth; in blorp_nir_combine_samples()
694 texture_data[stack_depth - 1] = in blorp_nir_combine_samples()
696 texture_data[stack_depth - 1], in blorp_nir_combine_samples()
697 texture_data[stack_depth], in blorp_nir_combine_samples()
703 assert(stack_depth == 1); in blorp_nir_combine_samples()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcKHRDebugTests.cpp2119 GLint stack_depth = 0; in inspectGroupStack() local
2121 m_gl->getIntegerv(GL_DEBUG_GROUP_STACK_DEPTH, &stack_depth); in inspectGroupStack()
2124 if (expected_depth != (GLuint)stack_depth) in inspectGroupStack()
2127 << "State of DEBUG_GROUP_STACK_DEPTH: " << stack_depth << ", expected " in inspectGroupStack()
/third_party/gettext/gettext-tools/src/
DChangeLog.16936 * x-glade.c (do_extract_glade): Initialize stack_depth.
/third_party/chromium/patch/
D0004-3.2-Beta5.patch52438 c->stack_depth + c->num_exceptions);