Home
last modified time | relevance | path

Searched refs:jmem_heap_free_block (Results 1 – 25 of 26) sorted by relevance

12

/third_party/jerryscript/tests/unit-core/
Dtest-jmem.c62 jmem_heap_free_block (block3_p, BASIC_SIZE); in main()
101 jmem_heap_free_block (block1_p, BASIC_SIZE * 2); in main()
102 jmem_heap_free_block (block2_p, BASIC_SIZE); in main()
103 jmem_heap_free_block (block4_p, BASIC_SIZE * 2); in main()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-alloc.c123 jmem_heap_free_block (object_p, size); in ecma_dealloc_extended_object()
179 jmem_heap_free_block (ext_string_p, sizeof (ecma_extended_string_t)); in ecma_dealloc_extended_string()
208 jmem_heap_free_block (string_p, size); in ecma_dealloc_string_buffer()
236 jmem_heap_free_block (property_pair_p, sizeof (ecma_property_pair_t)); in ecma_dealloc_property_pair()
Decma-helpers-external-pointers.c199 jmem_heap_free_block (native_pointer_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()
217 jmem_heap_free_block (native_pointer_p, sizeof (ecma_native_pointer_t)); in ecma_delete_native_pointer_property()
Decma-module.c88 jmem_heap_free_block (path_p, size + 1u); in ecma_module_create_normalized_path()
89 jmem_heap_free_block (normalized_out_p, ECMA_MODULE_MAX_PATH); in ecma_module_create_normalized_path()
92 jmem_heap_free_block (module_path_p, module_path_size + 1); in ecma_module_create_normalized_path()
232 jmem_heap_free_block (set_p, sizeof (ecma_module_resolve_set_t)); in ecma_module_resolve_set_cleanup()
272 jmem_heap_free_block (current_p, sizeof (ecma_module_resolve_stack_t)); in ecma_module_resolve_stack_pop()
859 jmem_heap_free_block (module_path_p, module_path_size + 1); in ecma_module_parse()
985 jmem_heap_free_block (module_name_p, sizeof (ecma_module_names_t)); in ecma_module_release_module_names()
1002 jmem_heap_free_block (module_node_p, sizeof (ecma_module_node_t)); in ecma_module_release_module_nodes()
1019 jmem_heap_free_block (module_context_p, sizeof (ecma_module_context_t)); in ecma_module_release_module_context()
1058 jmem_heap_free_block (module_p, sizeof (ecma_module_t)); in ecma_module_release_module()
Decma-helpers-collection.c56jmem_heap_free_block (collection_p->buffer_p, ECMA_COLLECTION_ALLOCATED_SIZE (collection_p->capaci… in ecma_collection_destroy()
57 jmem_heap_free_block (collection_p, sizeof (ecma_collection_t)); in ecma_collection_destroy()
Decma-property-hashmap.c213 jmem_heap_free_block (hashmap_p, in ecma_property_hashmap_free()
Decma-gc.c810 jmem_heap_free_block (native_pointer_p, sizeof (ecma_native_pointer_t)); in ecma_gc_free_native_pointer()
836 jmem_heap_free_block (values_p, aligned_length * sizeof (ecma_value_t)); in ecma_free_fast_access_array()
Decma-helpers-string.c1044 jmem_heap_free_block ((void *) chars_p, size); in ecma_string_copy_to_utf8_buffer()
2418 jmem_heap_free_block ((void *) utf8_str_p, utf8_str_size); in ecma_string_trim()
2722 jmem_heap_free_block (builder_p->header_p, size); in ecma_stringbuilder_destroy()
Decma-helpers.h121 jmem_heap_free_block ((void *) utf8_ptr, utf8_str_size); \
/third_party/jerryscript/jerry-core/jmem/
Djmem.h148 void jmem_heap_free_block (void *ptr, const size_t size);
216 jmem_heap_free_block (var_name, var_name ## ___size); \
Djmem-heap.c695 jmem_heap_free_block (void *ptr, /**< pointer to beginning of data space of the block */ in jmem_heap_free_block() function
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-jobqueue.c103 jmem_heap_free_block (job_p, sizeof (ecma_job_promise_reaction_t)); in ecma_free_promise_reaction_job()
119 jmem_heap_free_block (job_p, sizeof (ecma_job_promise_resolve_thenable_t)); in ecma_free_promise_resolve_thenable_job()
Decma-regexp-object.c1650 jmem_heap_free_block (ctx_p->captures_p, ctx_p->captures_count * sizeof (ecma_regexp_capture_t)); in ecma_regexp_cleanup_context()
1654jmem_heap_free_block (ctx_p->non_captures_p, ctx_p->non_captures_count * sizeof (ecma_regexp_non_c… in ecma_regexp_cleanup_context()
1884 jmem_heap_free_block ((void *) input_buffer_p, input_size); in ecma_regexp_exec_helper()
2085 jmem_heap_free_block ((void *) flags_buffer_p, flags_size); in ecma_regexp_split_helper()
2477 jmem_heap_free_block ((void *) string_buffer_p, string_size); in ecma_regexp_split_helper()
2676 jmem_heap_free_block ((void *) ctx_p->string_p, ctx_p->string_size); in ecma_regexp_replace_helper_fast()
3188 jmem_heap_free_block ((void *) replace_ctx.string_p, replace_ctx.string_size); in ecma_regexp_replace_helper()
Decma-array-object.c221 jmem_heap_free_block (values_p, aligned_length * sizeof (ecma_value_t)); in ecma_fast_array_convert_to_normal()
439 jmem_heap_free_block (values_p, old_aligned_length * sizeof (ecma_value_t)); in ecma_delete_fast_array_properties()
/third_party/jerryscript/jerry-core/parser/js/
Dcommon.c42 jmem_heap_free_block ((void *) literal_p->u.char_p, literal_p->prop.length); in util_free_literal()
Djs-parser-mem.c59 jmem_heap_free_block (ptr, size); in parser_free()
89 jmem_heap_free_block (ptr, size); in parser_free_local()
Djs-scanner-util.c121 jmem_heap_free_block (ptr, size); in scanner_free()
275 jmem_heap_free_block (context_p->next_scanner_info_p, size); in scanner_release_next()
314 jmem_heap_free_block (context_p->active_scanner_info_p, size); in scanner_release_active()
328 jmem_heap_free_block (case_p, sizeof (scanner_case_info_t)); in scanner_release_switch_cases()
Djs-parser.c85 jmem_heap_free_block ((void *) literal_p->u.char_p, literal_p->prop.length); in parser_compute_indicies()
140 jmem_heap_free_block ((void *) char_p, literal_p->prop.length); in parser_compute_indicies()
245 jmem_heap_free_block ((void *) literal_p->u.char_p, literal_p->prop.length); in parser_init_literal_pool()
1573 jmem_heap_free_block ((void *) literal_p->u.char_p, literal_p->prop.length); in parser_post_processing()
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c86 jmem_heap_free_block (byte_code_free_p, in jerry_debugger_free_unreferenced_byte_code()
723jmem_heap_free_block (uint8_data_p, uint8_data_p->uint8_size + sizeof (jerry_debugger_uint8_data_t… in jerry_debugger_process_message()
733jmem_heap_free_block (uint8_data_p, uint8_data_p->uint8_size + sizeof (jerry_debugger_uint8_data_t… in jerry_debugger_process_message()
745jmem_heap_free_block (uint8_data_p, uint8_data_p->uint8_size + sizeof (jerry_debugger_uint8_data_t… in jerry_debugger_process_message()
819 jmem_heap_free_block (byte_code_free_p, in jerry_debugger_process_message()
1246 jmem_heap_free_block (uint8_data, in jerry_debugger_breakpoint_hit()
/third_party/jerryscript/jerry-core/api/
Djerry-debugger.c171 jmem_heap_free_block (client_source_data_p, in jerry_debugger_wait_for_client_source()
Djerry-snapshot.c835 jmem_heap_free_block (lit_map_p, literals_num * sizeof (lit_mem_to_snapshot_id_map_entry_t)); in jerry_generate_snapshot_with_args()
1346 jmem_heap_free_block (lit_map_p, literals_num * sizeof (lit_mem_to_snapshot_id_map_entry_t)); in jerry_merge_snapshots()
Djerry.c288jmem_heap_free_block (this_p, sizeof (jerry_context_data_header_t) + this_p->manager_p->bytes_need… in jerry_cleanup()
3481 jmem_heap_free_block (mem_p, size); in jerry_heap_free()
/third_party/jerryscript/jerry-core/parser/regexp/
Dre-compiler.c138 jmem_heap_free_block (re_ctx.bytecode_start_p, re_ctx.bytecode_size); in re_compile_bytecode()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-string-prototype.c552 jmem_heap_free_block ((void *) replace_ctx.string_p, replace_ctx.string_size); in ecma_builtin_string_prototype_object_replace()
557 jmem_heap_free_block ((void *) search_buf_p, search_size); in ecma_builtin_string_prototype_object_replace()
911 jmem_heap_free_block ((void *) string_buffer_p, string_size); in ecma_builtin_string_prototype_object_split()
916 jmem_heap_free_block ((void *) separator_buffer_p, separator_size); in ecma_builtin_string_prototype_object_split()
Decma-builtin-helpers.c1011 jmem_heap_free_block ((void *) replace_buf_p, replace_size); in ecma_builtin_replace_substitute()

12