Home
last modified time | relevance | path

Searched refs:bytes_p (Results 1 – 2 of 2) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-mem.c503 const uint8_t *bytes_p = (const uint8_t *) data_p; in parser_stack_push() local
508 context_p->stack_top_uint8 = bytes_p[length - 1]; in parser_stack_push()
519 bytes_p, in parser_stack_push()
528 bytes_p += fragment_length; in parser_stack_push()
548 memcpy (page_p->bytes, bytes_p, length); in parser_stack_push()
560 uint8_t *bytes_p = (uint8_t *) data_p; in parser_stack_pop() local
570 if (bytes_p != NULL) in parser_stack_pop()
572 memcpy (bytes_p, context_p->stack.first_p->bytes + context_p->stack.last_position, length); in parser_stack_pop()
581 if (bytes_p != NULL) in parser_stack_pop()
583 memcpy (bytes_p + length, page_p->bytes, context_p->stack.last_position); in parser_stack_pop()
[all …]
Djs-parser.c402 uint8_t *bytes_p = byte_code_p + bytes_copied; in parse_update_branches() local
413 bytes_p += bytes_copied_before_jump; in parse_update_branches()
415 if (*bytes_p == CBC_EXT_OPCODE) in parse_update_branches()
417 bytes_p++; in parse_update_branches()
418 flags = cbc_ext_flags[*bytes_p]; in parse_update_branches()
422 flags = cbc_flags[*bytes_p]; in parse_update_branches()
426 branch_argument_length = CBC_BRANCH_OFFSET_LENGTH (*bytes_p); in parse_update_branches()
427 bytes_p++; in parse_update_branches()
434 target_distance = (target_distance << 8) | *bytes_p; in parse_update_branches()
435 bytes_p++; in parse_update_branches()
[all …]