Searched refs:literal_count (Results 1 – 7 of 7) sorted by relevance
/third_party/jerryscript/jerry-core/api/ |
D | jerry-snapshot.c | 1599 lit_utf8_size_t literal_count = 0; in jerry_get_literals_from_snapshot() local 1611 literal_count++; in jerry_get_literals_from_snapshot() 1616 if (literal_count == 0) in jerry_get_literals_from_snapshot() 1625 JMEM_DEFINE_LOCAL_ARRAY (literal_array, literal_count, ecma_string_t *); in jerry_get_literals_from_snapshot() 1647 jerry_save_literals_sort (literal_array, literal_count); in jerry_get_literals_from_snapshot() 1657 lit_buf_p = jerry_append_number_to_buffer (lit_buf_p, buffer_end_p, literal_count); in jerry_get_literals_from_snapshot() 1665 lit_buf_p = jerry_append_number_to_buffer (lit_buf_p, buffer_end_p, literal_count); in jerry_get_literals_from_snapshot() 1668 for (lit_utf8_size_t i = 0; i < literal_count; i++) in jerry_get_literals_from_snapshot() 1696 if (i < literal_count - 1) in jerry_get_literals_from_snapshot() 1709 lit_buf_p = jerry_append_number_to_buffer (lit_buf_p, buffer_end_p, literal_count); in jerry_get_literals_from_snapshot() [all …]
|
/third_party/jerryscript/jerry-core/parser/js/ |
D | js-parser.c | 196 JERRY_ASSERT (literal_index <= context_p->register_count + context_p->literal_count); in parser_compute_indicies() 198 context_p->literal_count = literal_index; in parser_compute_indicies() 957 JERRY_ASSERT (context_p->literal_count <= PARSER_MAXIMUM_NUMBER_OF_LITERALS); in parser_post_processing() 982 if (context_p->literal_count <= CBC_MAXIMUM_SMALL_VALUE) in parser_post_processing() 1078 if (context_p->literal_count <= CBC_MAXIMUM_SMALL_VALUE) in parser_post_processing() 1186 || context_p->literal_count > CBC_MAXIMUM_BYTE_VALUE) in parser_post_processing() 1192 …literal_length = (size_t) (context_p->literal_count - context_p->register_count) * sizeof (ecma_va… in parser_post_processing() 1256 args_p->literal_end = context_p->literal_count; in parser_post_processing() 1270 args_p->literal_end = (uint8_t) context_p->literal_count; in parser_post_processing() 1278 if (context_p->literal_count > CBC_MAXIMUM_SMALL_VALUE) in parser_post_processing() [all …]
|
D | js-lexer.c | 2406 JERRY_ASSERT (literal_index == context_p->literal_count); in lexer_construct_literal_object() 2448 context_p->literal_count++; in lexer_construct_literal_object() 2530 JERRY_ASSERT (literal_index == context_p->literal_count); in lexer_construct_number_object() 2546 context_p->literal_count++; in lexer_construct_number_object() 2605 JERRY_ASSERT (literal_index == context_p->literal_count); in lexer_convert_push_number_to_push_literal() 2618 context_p->literal_count++; in lexer_convert_push_number_to_push_literal() 2643 if (context_p->literal_count >= PARSER_MAXIMUM_NUMBER_OF_LITERALS) in lexer_construct_function_object() 2659 result_index = context_p->literal_count; in lexer_construct_function_object() 2660 context_p->literal_count++; in lexer_construct_function_object() 2840 if (context_p->literal_count >= PARSER_MAXIMUM_NUMBER_OF_LITERALS) in lexer_construct_regexp_object() [all …]
|
D | js-parser-internal.h | 467 uint16_t literal_count; /**< number of literals */ member 537 uint16_t literal_count; /**< number of literals */ member
|
D | js-scanner-util.c | 1879 if (JERRY_UNLIKELY (context_p->literal_count >= PARSER_MAXIMUM_NUMBER_OF_LITERALS)) in scanner_create_unused_literal() 1889 context_p->literal_count++; in scanner_create_unused_literal() 2402 parser_emit_cbc_literal_value (context_p, func_init_opcode, context_p->literal_count, map_to); in scanner_create_variables() 2406 scope_stack_p->map_to = context_p->literal_count; in scanner_create_variables()
|
D | js-parser-expr.c | 499 if (context_p->literal_count >= PARSER_MAXIMUM_NUMBER_OF_LITERALS) in parser_parse_class_literal() 507 parser_emit_cbc_literal (context_p, CBC_PUSH_LITERAL, (uint16_t) (context_p->literal_count++)); in parser_parse_class_literal() 1781 uint16_t literal_index = (uint16_t) (context_p->literal_count - 1); in parser_parse_unary_expression()
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_sched.h | 167 unsigned literal_count() { return lt.count(); } in literal_count() function 168 unsigned literal_slot_count() { return (literal_count() + 1) >> 1; }; in literal_slot_count()
|