Home
last modified time | relevance | path

Searched refs:next_p (Results 1 – 25 of 31) sorted by relevance

12

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-external-pointers.c83 if (iter_p->next_p == NULL) in ecma_create_native_pointer_property()
89 iter_p = iter_p->next_p; in ecma_create_native_pointer_property()
94 iter_p->next_p = native_pointer_p; in ecma_create_native_pointer_property()
99 native_pointer_p->next_p = NULL; in ecma_create_native_pointer_property()
146 native_pointer_p = native_pointer_p->next_p; in ecma_get_native_pointer_value()
194 if (native_pointer_p->next_p == NULL) in ecma_delete_native_pointer_property()
206 ecma_native_pointer_t *next_p = native_pointer_p->next_p; in ecma_delete_native_pointer_property() local
207 memcpy (native_pointer_p, next_p, sizeof (ecma_native_pointer_t)); in ecma_delete_native_pointer_property()
208 jmem_heap_free_block (next_p, sizeof (ecma_native_pointer_t)); in ecma_delete_native_pointer_property()
216 prev_p->next_p = native_pointer_p->next_p; in ecma_delete_native_pointer_property()
[all …]
Decma-module.c114 current_p = current_p->next_p; in ecma_module_find_module()
132 module_p->next_p = JERRY_CONTEXT (ecma_modules_p); in ecma_module_create_module()
207 current_p = current_p->next_p; in ecma_module_resolve_set_insert()
213 new_p->next_p = *set_p; in ecma_module_resolve_set_insert()
230 ecma_module_resolve_set_t *next_p = set_p->next_p; in ecma_module_resolve_set_cleanup() local
233 set_p = next_p; in ecma_module_resolve_set_cleanup()
255 new_frame_p->next_p = *stack_p; in ecma_module_resolve_stack_push()
270 *stack_p = current_p->next_p; in ecma_module_resolve_stack_pop()
347 JERRY_ASSERT (context_p->local_exports_p->next_p == NULL); in ecma_module_resolve_export()
368 export_names_p = export_names_p->next_p; in ecma_module_resolve_export()
[all …]
Decma-module.h33 struct ecma_module_names *next_p; /**< next linked list node */ member
45 struct ecma_module_node *next_p; /**< next linked list node */ member
81 struct ecma_module *next_p; /**< next linked list node */ member
104 struct ecma_module_resolve_set *next_p; /**< next in linked list */ member
113 struct ecma_module_resolve_stack *next_p; /**< next in linked list */ member
/third_party/jerryscript/jerry-core/jmem/
Djmem-poolman.c77 JERRY_CONTEXT (jmem_free_8_byte_chunk_p) = chunk_p->next_p; in jmem_pools_alloc()
100 JERRY_CONTEXT (jmem_free_16_byte_chunk_p) = chunk_p->next_p; in jmem_pools_alloc()
136 chunk_to_free_p->next_p = JERRY_CONTEXT (jmem_free_8_byte_chunk_p); in jmem_pools_free()
145 chunk_to_free_p->next_p = JERRY_CONTEXT (jmem_free_16_byte_chunk_p); in jmem_pools_free()
165 jmem_pools_chunk_t *const next_p = chunk_p->next_p; in jmem_pools_collect_empty() local
169 chunk_p = next_p; in jmem_pools_collect_empty()
179 jmem_pools_chunk_t *const next_p = chunk_p->next_p; in jmem_pools_collect_empty() local
183 chunk_p = next_p; in jmem_pools_collect_empty()
Djmem-heap.c416 const jmem_heap_free_t * const next_p = JMEM_HEAP_GET_ADDR_FROM_OFFSET (prev_p->next_offset); in jmem_heap_find_prev() local
417 JERRY_ASSERT (jmem_is_heap_pointer (next_p)); in jmem_heap_find_prev()
419 JMEM_VALGRIND_DEFINED_SPACE (next_p, sizeof (jmem_heap_free_t)); in jmem_heap_find_prev()
421 prev_p = next_p; in jmem_heap_find_prev()
445 jmem_heap_free_t *next_p = JMEM_HEAP_GET_ADDR_FROM_OFFSET (prev_p->next_offset); in jmem_heap_insert_block() local
447 JMEM_VALGRIND_DEFINED_SPACE (next_p, sizeof (jmem_heap_free_t)); in jmem_heap_insert_block()
466 if (jmem_heap_get_region_end (block_p) == next_p) in jmem_heap_insert_block()
469 block_p->size += next_p->size; in jmem_heap_insert_block()
470 block_p->next_offset = next_p->next_offset; in jmem_heap_insert_block()
474 block_p->next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (next_p); in jmem_heap_insert_block()
[all …]
Djmem.h130 struct jmem_pools_chunk_t *next_p; /**< pointer to next pool chunk */ member
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-mem.c133 parser_mem_page_t *next_p = page_p->next_p; in parser_data_free() local
136 page_p = next_p; in parser_data_free()
173 page_p->next_p = NULL; in parser_cbc_stream_alloc_page()
178 data_p->last_p->next_p = page_p; in parser_cbc_stream_alloc_page()
244 page_p->next_p = NULL; in parser_list_append()
249 list_p->data.last_p->next_p = page_p; in parser_list_append()
278 page_p = page_p->next_p; in parser_list_get()
318 if (iterator_p->current_p->next_p == NULL) in parser_list_iterator_next()
328 iterator_p->current_p = iterator_p->current_p->next_p; in parser_list_iterator_next()
394 page_p->next_p = context_p->stack.first_p; in parser_stack_push_uint8()
[all …]
Djs-parser-module.c55 module_names_p = module_names_p->next_p; in parser_module_check_duplicate_import()
70 module_names_p = module_names_p->next_p; in parser_module_check_duplicate_import()
73 module_node_p = module_node_p->next_p; in parser_module_check_duplicate_import()
124 current_names_p = current_names_p->next_p; in parser_module_check_duplicate_export()
130 JERRY_ASSERT (export_node_p->next_p == NULL); in parser_module_check_duplicate_export()
140 name_p = name_p->next_p; in parser_module_check_duplicate_export()
156 name_p = name_p->next_p; in parser_module_check_duplicate_export()
159 export_node_p = export_node_p->next_p; in parser_module_check_duplicate_export()
206 while (module_names_p->next_p != NULL) in parser_module_add_export_node_to_context()
208 module_names_p = module_names_p->next_p; in parser_module_add_export_node_to_context()
[all …]
Djs-scanner-util.c208 scanner_info_p = scanner_info_p->next_p; in scanner_insert_info()
216 new_scanner_info_p->next_p = scanner_info_p; in scanner_insert_info()
224 prev_scanner_info_p->next_p = new_scanner_info_p; in scanner_insert_info()
244 scanner_info_t *scanner_info_p = start_info_p->next_p; in scanner_insert_info_before()
252 scanner_info_p = scanner_info_p->next_p; in scanner_insert_info_before()
260 new_scanner_info_p->next_p = scanner_info_p; in scanner_insert_info_before()
262 prev_scanner_info_p->next_p = new_scanner_info_p; in scanner_insert_info_before()
273 scanner_info_t *next_p = context_p->next_scanner_info_p->next_p; in scanner_release_next() local
276 context_p->next_scanner_info_p = next_p; in scanner_release_next()
287 context_p->next_scanner_info_p = scanner_info_p->next_p; in scanner_set_active()
[all …]
Djs-parser-util.c603 parser_branch_node_t *next_p) /**< next branch */ in parser_emit_cbc_forward_branch_item() argument
614 new_item->next_p = next_p; in parser_emit_cbc_forward_branch_item()
743 page_p = page_p->next_p; in parser_set_branch_to_current_position()
750 page_p = page_p->next_p; in parser_set_branch_to_current_position()
756 page_p = page_p->next_p; in parser_set_branch_to_current_position()
772 parser_branch_node_t *next_p = current_p->next_p; in parser_set_breaks_to_current_position() local
779 current_p = next_p; in parser_set_breaks_to_current_position()
796 current_p = current_p->next_p; in parser_set_continues_to_current_position()
Djs-scanner.h71 struct scanner_info_t *next_p; /**< next info structure */ member
102 struct scanner_case_info_t *next_p; /**< next case statement info */ member
Djs-parser.c337 page_p = page_p->next_p; in parser_update_forward_branch()
361 page_p = page_p->next_p; in parser_update_backward_branch()
482 parser_mem_page_t *next_p = page_p->next_p; in parse_update_branches() local
485 page_p->next_p = prev_page_p; in parse_update_branches()
489 page_p = next_p; in parse_update_branches()
501 last_page_p->next_p = prev_page_p; in parse_update_branches()
875 page_p = page_p->next_p; \
893 page_p = page_p->next_p; \
2049 scanner_info_end.next_p = NULL; in parser_parse_source()
2215 && context.stack.first_p->next_p == NULL in parser_parse_source()
Djs-parser-internal.h310 struct parser_mem_page_t *next_p; /**< next page */ member
377 struct parser_branch_node_t *next_p; /**< next linked list node */ member
653 parser_branch_node_t *next_p);
Djs-parser-statm.c1754 case_info_p = case_info_p->next_p; in parser_parse_switch_statement_start()
1798 … || (case_info_p->next_p == NULL && case_info_p->location.source_p[-1] == LIT_CHAR_LOWERCASE_T)) in parser_parse_switch_statement_start()
1814 case_branches_p->next_p = new_case_p; in parser_parse_switch_statement_start()
2110 switch_statement.branch_list_p = branch_p->next_p; in parser_parse_case_statement()
3397 parser_branch_node_t *next_p = branch_list_p->next_p; in parser_free_jumps() local
3399 branch_list_p = next_p; in parser_free_jumps()
3431 parser_branch_node_t *next_p = branch_list_p->next_p; in parser_free_jumps() local
3433 branch_list_p = next_p; in parser_free_jumps()
Djs-scanner.c573 item_p = item_p->next_p; in scanner_scan_primary_expression_end()
889 item_p = item_p->next_p; in scanner_scan_primary_expression_end()
1344 scanner_context_p->active_switch_statement.last_case_p = &case_info_p->next_p; in scanner_scan_statement()
1346 case_info_p->next_p = NULL; in scanner_scan_statement()
2839 scanner_info_p->next_p = context_p->next_scanner_info_p; in scanner_scan_all()
3125 binding_item_p->next_p = scanner_context.active_binding_list_p->items_p; in scanner_scan_all()
3449 current_case_p = current_case_p->next_p; in scanner_scan_all()
3505 info_p = info_p->next_p; in scanner_scan_all()
/third_party/jerryscript/jerry-ext/module/
Dmodule.c88 module_p->next_p = first_module_p; in jerryx_native_module_register()
96 for (iter_p = first_module_p; iter_p != NULL; parent_p = iter_p, iter_p = iter_p->next_p) in jerryx_native_module_unregister()
102 parent_p->next_p = module_p->next_p; in jerryx_native_module_unregister()
106 first_module_p = module_p->next_p; in jerryx_native_module_unregister()
108 module_p->next_p = NULL; in jerryx_native_module_unregister()
203 for (module_p = first_module_p; module_p != NULL; module_p = module_p->next_p) in jerryx_resolve_native_module()
/third_party/jerryscript/jerry-ext/debugger/
Ddebugger-rp.c66 return header_p->next_p->send (header_p->next_p, message_p - 1, message_length + 1); in jerryx_debugger_rp_send()
79 if (!header_p->next_p->receive (header_p->next_p, receive_context_p)) in jerryx_debugger_rp_receive()
Ddebugger-ws.c300 return header_p->next_p->send (header_p->next_p, message_p - 2, message_length + 2); in jerryx_debugger_ws_send()
310 if (!header_p->next_p->receive (header_p->next_p, receive_context_p)) in jerryx_debugger_ws_receive()
/third_party/jerryscript/jerry-core/api/
Djerry-debugger-transport.c45 header_p->next_p = JERRY_CONTEXT (debugger_transport_header_p); in jerry_debugger_transport_add()
138 jerry_debugger_transport_header_t *next_p = current_p->next_p; in jerry_debugger_transport_close() local
142 current_p = next_p; in jerry_debugger_transport_close()
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
Dmodule.h39 struct jerryx_native_module_t *next_p; /**< pointer to next module in the list */ member
71 .next_p = NULL \
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers-json.c51 stack_p = stack_p->next_p; in ecma_json_has_object_in_stack()
Decma-builtin-json.c881 stack_item.next_p = context_p->occurence_stack_last_p; in ecma_builtin_json_serialize_object()
979 context_p->occurence_stack_last_p = stack_item.next_p; in ecma_builtin_json_serialize_object()
1018 stack_item.next_p = context_p->occurence_stack_last_p; in ecma_builtin_json_serialize_array()
1103 context_p->occurence_stack_last_p = stack_item.next_p; in ecma_builtin_json_serialize_array()
/third_party/jerryscript/jerry-core/include/
Djerryscript-debugger-transport.h83 struct jerry_debugger_transport_interface_t *next_p; /**< next transport layer */ member
/third_party/jerryscript/docs/
D13.DEBUGGER-TRANSPORT.md52 struct jerry_debugger_transport_layer_t *next_p; /**< next transport layer */
74 the `header_p->next_p->send()` method.
/third_party/jerryscript/jerry-core/jcontext/
Djcontext.h102 struct jerry_context_data_header *next_p; /**< pointer to next context item */ member

12