Home
last modified time | relevance | path

Searched refs:byte_p (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/base/
Decma-property-hashmap.c53 #define ECMA_PROPERTY_HASHMAP_GET_BIT(byte_p, index) \ argument
54 ((byte_p)[(index) >> 3] & (1 << ((index) & 0x7)))
59 #define ECMA_PROPERTY_HASHMAP_CLEAR_BIT(byte_p, index) \ argument
60 ((byte_p)[(index) >> 3] = (uint8_t) ((byte_p)[(index) >> 3] & ~(1 << ((index) & 0x7))))
65 #define ECMA_PROPERTY_HASHMAP_SET_BIT(byte_p, index) \ argument
66 ((byte_p)[(index) >> 3] = (uint8_t) ((byte_p)[(index) >> 3] | (1 << ((index) & 0x7))))
Decma-literal-storage.c342 uint8_t *byte_p = (uint8_t *) compiled_code_p; in ecma_save_literals_add_compiled_code() local
344 literal_p = (ecma_value_t *) (byte_p + sizeof (cbc_uint16_arguments_t)); in ecma_save_literals_add_compiled_code()
357 uint8_t *byte_p = (uint8_t *) compiled_code_p; in ecma_save_literals_add_compiled_code() local
359 literal_p = (ecma_value_t *) (byte_p + sizeof (cbc_uint8_arguments_t)); in ecma_save_literals_add_compiled_code()
394 uint8_t *byte_p = (uint8_t *) compiled_code_p; in ecma_save_literals_add_compiled_code() local
395 byte_p += ((size_t) compiled_code_p->size) << JMEM_ALIGNMENT_LOG; in ecma_save_literals_add_compiled_code()
396 literal_p = ((ecma_value_t *) byte_p) - argument_end; in ecma_save_literals_add_compiled_code()
Decma-helpers.c1482 uint8_t *byte_p = (uint8_t *) bytecode_header_p; in ecma_compiled_code_get_tagged_template_collection() local
1483 byte_p += ((size_t) bytecode_header_p->size) << JMEM_ALIGNMENT_LOG; in ecma_compiled_code_get_tagged_template_collection()
1485 ecma_value_t *tagged_base_p = (ecma_value_t *) byte_p; in ecma_compiled_code_get_tagged_template_collection()
/third_party/jerryscript/jerry-core/api/
Djerry-snapshot.c501 uint8_t *byte_p = (uint8_t *) bytecode_p; in jerry_snapshot_set_offsets() local
502 byte_p += ((size_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG; in jerry_snapshot_set_offsets()
503 literal_start_p = ((ecma_value_t *) byte_p) - argument_end; in jerry_snapshot_set_offsets()
586 uint8_t *byte_p = (uint8_t *) bytecode_p; in snapshot_load_compiled_code() local
587 cbc_uint16_arguments_t *args_p = (cbc_uint16_arguments_t *) byte_p; in snapshot_load_compiled_code()
600 uint8_t *byte_p = (uint8_t *) bytecode_p; in snapshot_load_compiled_code() local
601 cbc_uint8_arguments_t *args_p = (cbc_uint8_arguments_t *) byte_p; in snapshot_load_compiled_code()
648 uint8_t *byte_p = (uint8_t *) bytecode_p; in snapshot_load_compiled_code() local
653 memcpy (byte_p + new_code_size - argument_size, in snapshot_load_compiled_code()
658 byte_p[start_offset] = CBC_SET_BYTECODE_PTR; in snapshot_load_compiled_code()
[all …]
Djerry.c3526 uint8_t *byte_p = (uint8_t *) context_ptr; in jerry_create_context() local
3529 context_p->heap_p = (jmem_heap_t *) byte_p; in jerry_create_context()
3531 byte_p += heap_size; in jerry_create_context()
3534 JERRY_ASSERT (byte_p <= ((uint8_t *) context_p) + total_size); in jerry_create_context()
3536 JERRY_UNUSED (byte_p); in jerry_create_context()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-objects-arguments.c91 uint8_t *byte_p = (uint8_t *) bytecode_data_p; in ecma_op_create_arguments_object() local
92 byte_p += ((size_t) bytecode_data_p->size) << JMEM_ALIGNMENT_LOG; in ecma_op_create_arguments_object()
93 byte_p -= formal_params_size; in ecma_op_create_arguments_object()
95 memcpy (arg_Literal_p, byte_p, formal_params_size); in ecma_op_create_arguments_object()
Decma-function-object.c49 uint8_t *byte_p = (uint8_t *) bytecode_header_p; in ecma_op_resource_name() local
50 byte_p += ((size_t) bytecode_header_p->size) << JMEM_ALIGNMENT_LOG; in ecma_op_resource_name()
52 ecma_value_t *resource_name_p = (ecma_value_t *) byte_p; in ecma_op_resource_name()
/third_party/jerryscript/jerry-core/vm/
Dvm.c456 uint8_t *byte_p = ((uint8_t *) frame_ctx_p->bytecode_header_p) + lit_value; in vm_construct_literal_object() local
457 bytecode_p = (ecma_compiled_code_t *) byte_p; in vm_construct_literal_object()