Home
last modified time | relevance | path

Searched refs:data_p (Results 1 – 19 of 19) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-mem.c114 parser_data_init (parser_mem_data_t *data_p, /**< memory manager */ in parser_data_init() argument
117 data_p->first_p = NULL; in parser_data_init()
118 data_p->last_p = NULL; in parser_data_init()
119 data_p->last_position = page_size; in parser_data_init()
126 parser_data_free (parser_mem_data_t *data_p, /**< memory manager */ in parser_data_free() argument
129 parser_mem_page_t *page_p = data_p->first_p; in parser_data_free()
148 parser_cbc_stream_init (parser_mem_data_t *data_p) /**< memory manager */ in parser_cbc_stream_init() argument
150 parser_data_init (data_p, PARSER_CBC_STREAM_PAGE_SIZE); in parser_cbc_stream_init()
157 parser_cbc_stream_free (parser_mem_data_t *data_p) /**< memory manager */ in parser_cbc_stream_free() argument
159 parser_data_free (data_p, in parser_cbc_stream_free()
[all …]
Djs-scanner-util.c133 const uint8_t *data_p = ((const uint8_t *) info_p) + size; in scanner_get_stream_size() local
134 const uint8_t *data_p_start = data_p; in scanner_get_stream_size()
136 while (data_p[0] != SCANNER_STREAM_TYPE_END) in scanner_get_stream_size()
138 switch (data_p[0] & SCANNER_STREAM_TYPE_MASK) in scanner_get_stream_size()
165 JERRY_ASSERT ((data_p[0] & SCANNER_STREAM_TYPE_MASK) == SCANNER_STREAM_TYPE_HOLE); in scanner_get_stream_size()
166 data_p++; in scanner_get_stream_size()
171 data_p += 3; in scanner_get_stream_size()
173 if (data_p[-3] & SCANNER_STREAM_UINT16_DIFF) in scanner_get_stream_size()
175 data_p++; in scanner_get_stream_size()
177 else if (data_p[-1] == 0) in scanner_get_stream_size()
[all …]
Djs-parser-internal.h598 void parser_cbc_stream_init (parser_mem_data_t *data_p);
599 void parser_cbc_stream_free (parser_mem_data_t *data_p);
600 void parser_cbc_stream_alloc_page (parser_context_t *context_p, parser_mem_data_t *data_p);
621 void parser_stack_push (parser_context_t *context_p, const void *data_p, uint32_t length);
622 void parser_stack_pop (parser_context_t *context_p, void *data_p, uint32_t length);
624 void parser_stack_iterator_read (parser_stack_iterator_t *iterator, void *data_p, size_t length);
625 void parser_stack_iterator_write (parser_stack_iterator_t *iterator, const void *data_p, size_t len…
Djs-scanner.c3255 const uint8_t *data_p; in scanner_scan_all() local
3259 data_p = (const uint8_t *) (info_p + 1); in scanner_scan_all()
3267 data_p = (const uint8_t *) (info_p + 1); in scanner_scan_all()
3274 while (data_p[0] != SCANNER_STREAM_TYPE_END) in scanner_scan_all()
3276 switch (data_p[0] & SCANNER_STREAM_TYPE_MASK) in scanner_scan_all()
3348 JERRY_ASSERT ((data_p[0] & SCANNER_STREAM_TYPE_MASK) == SCANNER_STREAM_TYPE_HOLE); in scanner_scan_all()
3350 data_p++; in scanner_scan_all()
3357 if (!(data_p[0] & SCANNER_STREAM_UINT16_DIFF)) in scanner_scan_all()
3359 if (data_p[2] != 0) in scanner_scan_all()
3361 prev_source_p += data_p[2]; in scanner_scan_all()
[all …]
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-string.c251 … lit_utf8_byte_t **data_p) /**< [out] pointer to the start of the string buffer */ in ecma_new_ecma_string_from_utf8_buffer() argument
262 *data_p = ECMA_ASCII_STRING_GET_BUFFER (string_desc_p); in ecma_new_ecma_string_from_utf8_buffer()
274 *data_p = ECMA_UTF8_STRING_GET_BUFFER (string_desc_p); in ecma_new_ecma_string_from_utf8_buffer()
284 *data_p = ECMA_LONG_UTF8_STRING_GET_BUFFER (string_desc_p); in ecma_new_ecma_string_from_utf8_buffer()
352 lit_utf8_byte_t *data_p; in ecma_new_ecma_string_from_utf8() local
355 &data_p); in ecma_new_ecma_string_from_utf8()
358 memcpy (data_p, string_p, string_size); in ecma_new_ecma_string_from_utf8()
456 lit_utf8_byte_t *data_p; in ecma_new_ecma_string_from_utf8_converted_to_cesu8() local
459 &data_p); in ecma_new_ecma_string_from_utf8_converted_to_cesu8()
461 const lit_utf8_byte_t *const begin_data_p = data_p; in ecma_new_ecma_string_from_utf8_converted_to_cesu8()
[all …]
Decma-helpers-external-pointers.c79 iter_p->data_p = native_p; in ecma_create_native_pointer_property()
97 native_pointer_p->data_p = native_p; in ecma_create_native_pointer_property()
Decma-helpers.h377 ecma_stringbuilder_t ecma_stringbuilder_create_raw (const lit_utf8_byte_t *data_p,
385 const lit_utf8_byte_t *data_p,
Decma-globals.h308 void *data_p; /**< points to the data of the object */ member
Decma-gc.c804 free_cb (native_pointer_p->data_p); in ecma_gc_free_native_pointer()
/third_party/jerryscript/tests/unit-core/
Dtest-objects-foreach.cpp140 static void free_test_data (void *data_p) in free_test_data() argument
142 TEST_ASSERT ((int *) data_p == &test_data); in free_test_data()
/third_party/jerryscript/jerry-core/api/
Djerry-snapshot.c106 const void *data_p, /**< data */ in snapshot_write_to_buffer_by_offset() argument
114 memcpy (buffer_p + *in_out_buffer_offset_p, data_p, data_size); in snapshot_write_to_buffer_by_offset()
1264 const uint8_t *data_p = (const uint8_t *) inp_buffers_p[i]; in jerry_merge_snapshots() local
1265 const uint8_t *literal_base_p = data_p + header_p->lit_table_offset; in jerry_merge_snapshots()
1272 scan_snapshot_functions (data_p + start_offset, in jerry_merge_snapshots()
Djerry.c3125 && !foreach_p (ecma_make_object_value (iter_p), native_pointer_p->data_p, user_data_p)) in jerry_objects_foreach_by_native_info()
3169 *out_native_pointer_p = native_pointer_p->data_p; in jerry_get_object_native_pointer()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_wgpu.cpp35 extern ImGuiID ImHashData(const void* data_p, size_t data_size, ImU32 seed = 0);
/third_party/jerryscript/docs/
D02.API-REFERENCE.md6227 char *data_p;
6242 char *data_p = ((buffer_native_object_t*)native_p)->data_p;
6244 if (data_p != NULL)
6246 free (data_p);
6285 print_buffer (char *data_p,
6290 printf("%c", data_p[i]);
6310 print_buffer (buffer_p->data_p, buffer_p->length); // Usage of buffer_p
6361 buffer_p->data_p = (char *) malloc (buffer_p->length * sizeof (char));
6362 memcpy (buffer_p->data_p, "My buffer data", buffer_p->length);
6818 find_object (const jerry_value_t candidate, void *data_p, void *user_data_p)
[all …]
/third_party/skia/third_party/externals/imgui/
Dimgui.cpp1528 ImGuiID ImHashData(const void* data_p, size_t data_size, ImU32 seed) in ImHashData() argument
1531 const unsigned char* data = (const unsigned char*)data_p; in ImHashData()
1544 ImGuiID ImHashStr(const char* data_p, size_t data_size, ImU32 seed) in ImHashStr() argument
1548 const unsigned char* data = (const unsigned char*)data_p; in ImHashStr()
/third_party/protobuf/objectivec/Tests/
DGPBMessageTests.m2042 msg.data_p = msg.hasData_p;
/third_party/mesa3d/src/imgui/
Dimgui.cpp1466 ImU32 ImHashData(const void* data_p, size_t data_size, ImU32 seed) in ImHashData() argument
1469 const unsigned char* data = (const unsigned char*)data_p; in ImHashData()
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest13-pr18894.so.abi1265 …<parameter type-id='type-id-138' name='data_p' filepath='/tmp/legendre/spack-stage/spack-stage-hI9…
/third_party/libabigail/tests/data/test-annotate/
Dtest13-pr18894.so.abi2093 …<parameter type-id='type-id-138' name='data_p' filepath='/tmp/legendre/spack-stage/spack-stage-hI9…