Home
last modified time | relevance | path

Searched refs:JMEM_CP_NULL (Results 1 – 25 of 32) sorted by relevance

12

/third_party/jerryscript/jerry-core/ecma/base/
Decma-literal-storage.c35 while (symbol_list_cp != JMEM_CP_NULL) in ecma_free_symbol_list()
41 if (symbol_list_p->values[i] != JMEM_CP_NULL) in ecma_free_symbol_list()
64 while (string_list_cp != JMEM_CP_NULL) in ecma_free_string_list()
70 if (string_list_p->values[i] != JMEM_CP_NULL) in ecma_free_string_list()
92 while (number_list_cp != JMEM_CP_NULL) in ecma_free_number_list()
99 if (number_list_p->values[i] != JMEM_CP_NULL) in ecma_free_number_list()
144 while (string_list_cp != JMEM_CP_NULL) in ecma_find_or_create_literal_string()
150 if (string_list_p->values[i] == JMEM_CP_NULL) in ecma_find_or_create_literal_string()
190 new_item_p->values[i] = JMEM_CP_NULL; in ecma_find_or_create_literal_string()
219 while (number_list_cp != JMEM_CP_NULL) in ecma_find_or_create_literal_number()
[all …]
Decma-gc.c211 if (get_set_pair_p->getter_cp != JMEM_CP_NULL) in ecma_gc_mark_properties()
216 if (get_set_pair_p->setter_cp != JMEM_CP_NULL) in ecma_gc_mark_properties()
536 if (outer_lex_env_cp != JMEM_CP_NULL) in ecma_gc_mark()
553 if (proto_cp != JMEM_CP_NULL) in ecma_gc_mark()
676 if (object_p->u1.property_list_cp != JMEM_CP_NULL) in ecma_gc_mark()
761 if (prop_iter_cp != JMEM_CP_NULL) in ecma_gc_mark()
771 while (prop_iter_cp != JMEM_CP_NULL) in ecma_gc_mark()
827 if (object_p->u1.property_list_cp != JMEM_CP_NULL) in ecma_free_fast_access_array()
945 if (prop_iter_cp != JMEM_CP_NULL) in ecma_gc_free_properties()
957 while (prop_iter_cp != JMEM_CP_NULL) in ecma_gc_free_properties()
[all …]
Decma-helpers.c93 new_object_p->u1.property_list_cp = JMEM_CP_NULL; in ecma_create_object()
120 new_lexical_environment_p->u1.property_list_cp = JMEM_CP_NULL; in ecma_create_decl_lex_env()
309 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in ecma_clone_decl_lexical_environment()
315 JERRY_ASSERT (prop_iter_cp != JMEM_CP_NULL); in ecma_clone_decl_lexical_environment()
324 JERRY_ASSERT (prop_iter_cp != JMEM_CP_NULL); in ecma_clone_decl_lexical_environment()
363 while (prop_iter_cp != JMEM_CP_NULL); in ecma_clone_decl_lexical_environment()
601 if (prop_iter_cp != JMEM_CP_NULL) in ecma_find_named_property()
635 while (prop_iter_cp != JMEM_CP_NULL) in ecma_find_named_property()
670 while (prop_iter_cp != JMEM_CP_NULL) in ecma_find_named_property()
822 if (cur_prop_cp != JMEM_CP_NULL) in ecma_delete_property()
[all …]
Decma-property-hashmap.c82 if (prop_iter_cp == JMEM_CP_NULL) in ecma_property_hashmap_create()
89 while (prop_iter_cp != JMEM_CP_NULL) in ecma_property_hashmap_create()
144 while (prop_iter_cp != JMEM_CP_NULL) in ecma_property_hashmap_create()
202 JERRY_ASSERT (object_p->u1.property_list_cp != JMEM_CP_NULL); in ecma_property_hashmap_free()
384 while (prop_iter_cp != JMEM_CP_NULL && !property_found) in ecma_property_hashmap_find()
/third_party/jerryscript/jerry-core/ext/
Dheapdump.c126 if (outer_lex_env_cp != JMEM_CP_NULL) { in DumpInfoLexEnv()
212 if (get_set_pair_p->getter_cp != JMEM_CP_NULL) { in DumpPropertyPair()
220 if (get_set_pair_p->setter_cp != JMEM_CP_NULL) { in DumpPropertyPair()
271 if (proto_cp != JMEM_CP_NULL) { in DumpInfoObject()
320 if (object->u1.property_list_cp != JMEM_CP_NULL) { in DumpInfoObject()
362 if (prop_iter_cp != JMEM_CP_NULL) { in DumpInfoObject()
373 while (prop_iter_cp != JMEM_CP_NULL) { in DumpInfoObject()
379 if (prop_iter_cp != JMEM_CP_NULL) { in DumpInfoObject()
Ddebug-utils.c28 while (prop_iter_cp != JMEM_CP_NULL) { in PrintObjectProperties()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-reference.c53 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in ecma_op_resolve_reference_base()
72 if (lex_env_p->u2.outer_reference_cp == JMEM_CP_NULL) in ecma_op_resolve_reference_base()
111 if (proto_cp == JMEM_CP_NULL) in ecma_op_resolve_super_base()
122 if (lex_env_p->u2.outer_reference_cp == JMEM_CP_NULL) in ecma_op_resolve_super_base()
324 if (get_set_pair_p->getter_cp == JMEM_CP_NULL) in ecma_op_resolve_reference_value()
354 if (lex_env_p->u2.outer_reference_cp == JMEM_CP_NULL) in ecma_op_resolve_reference_value()
Decma-array-object.c151 JERRY_ASSERT (object_p->u1.property_list_cp == JMEM_CP_NULL); in ecma_op_new_fast_array_object()
172 if (object_p->u1.property_list_cp == JMEM_CP_NULL) in ecma_fast_array_convert_to_normal()
185 jmem_cpointer_t next_property_pair_cp = JMEM_CP_NULL; in ecma_fast_array_convert_to_normal()
248 JERRY_ASSERT (object_p->u1.property_list_cp != JMEM_CP_NULL); in ecma_fast_array_set_property()
285 JERRY_ASSERT (object_p->u1.property_list_cp != JMEM_CP_NULL); in ecma_fast_array_set_property()
338 if (object_p->u1.property_list_cp == JMEM_CP_NULL) in ecma_fast_array_extend()
383 JERRY_ASSERT (object_p->u1.property_list_cp != JMEM_CP_NULL); in ecma_array_object_delete_property()
440 new_property_list_cp = JMEM_CP_NULL; in ecma_delete_fast_array_properties()
805 if (current_prop_cp == JMEM_CP_NULL) in ecma_delete_array_properties()
821 while (current_prop_cp != JMEM_CP_NULL) in ecma_delete_array_properties()
[all …]
Decma-lex-env.c64 JERRY_CONTEXT (ecma_global_scope_cp) = JMEM_CP_NULL; in ecma_finalize_global_environment()
67 JERRY_CONTEXT (ecma_global_env_cp) = JMEM_CP_NULL; in ecma_finalize_global_environment()
79 JERRY_ASSERT (JERRY_CONTEXT (ecma_global_env_cp) != JMEM_CP_NULL); in ecma_get_global_environment()
109 JERRY_ASSERT (JERRY_CONTEXT (ecma_global_scope_cp) != JMEM_CP_NULL); in ecma_get_global_scope()
506 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in ecma_op_get_this_property()
Decma-objects.c384 if (object_p->u2.prototype_cp == JMEM_CP_NULL) in ecma_op_object_get_property()
426 if (proto_cp == JMEM_CP_NULL) in ecma_op_object_has_property()
665 if (get_set_pair_p->getter_cp == JMEM_CP_NULL) in ecma_op_object_find_own()
751 if (object_p->u2.prototype_cp == JMEM_CP_NULL) in ecma_op_object_find()
853 if (proto_cp == JMEM_CP_NULL) in ecma_op_object_get_with_receiver()
1478 jmem_cpointer_t setter_cp = JMEM_CP_NULL; in ecma_op_object_put_with_receiver()
1516 if (proto_cp != JMEM_CP_NULL) in ecma_op_object_put_with_receiver()
1604 if (setter_cp == JMEM_CP_NULL) in ecma_op_object_put_with_receiver()
1939 if (get_set_pair_p->getter_cp == JMEM_CP_NULL) in ecma_op_object_get_own_property_descriptor()
1949 if (get_set_pair_p->setter_cp == JMEM_CP_NULL) in ecma_op_object_get_own_property_descriptor()
[all …]
Decma-get-put-value.c102 if (lex_env_p->u2.outer_reference_cp == JMEM_CP_NULL) in ecma_op_get_value_lex_env_base()
287 if (lex_env_p->u2.outer_reference_cp == JMEM_CP_NULL) in ecma_op_put_value_lex_env_base()
Decma-objects-general.c559 getter_setter_pair_p->getter_cp = JMEM_CP_NULL; in ecma_op_general_object_define_own_property()
560 getter_setter_pair_p->setter_cp = JMEM_CP_NULL; in ecma_op_general_object_define_own_property()
563 value_p->getter_setter_pair.getter_cp = JMEM_CP_NULL; in ecma_op_general_object_define_own_property()
564 value_p->getter_setter_pair.setter_cp = JMEM_CP_NULL; in ecma_op_general_object_define_own_property()
Decma-exceptions.c173 if (error_object->u2.prototype_cp == JMEM_CP_NULL) in ecma_get_error_type()
Decma-function-object.c652 if (v_obj_cp == JMEM_CP_NULL) in ecma_op_function_has_instance()
704 if (proto_cp == JMEM_CP_NULL) in ecma_op_function_get_super_constructor()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-symbol.c108 while (symbol_list_cp != JMEM_CP_NULL) in ecma_builtin_symbol_for_helper()
115 if (symbol_list_p->values[i] != JMEM_CP_NULL) in ecma_builtin_symbol_for_helper()
178 new_item_p->values[i] = JMEM_CP_NULL; in ecma_builtin_symbol_for_helper()
Decma-builtins.c282 …return (builtin_cp != JMEM_CP_NULL && (obj_p == ECMA_GET_NON_NULL_POINTER (ecma_object_t, builtin_… in ecma_builtin_is()
298 if (JERRY_UNLIKELY (JERRY_CONTEXT (ecma_builtin_objects)[builtin_id] == JMEM_CP_NULL)) in ecma_builtin_get()
317 JERRY_ASSERT (JERRY_CONTEXT (ecma_builtin_objects)[ECMA_BUILTIN_ID_GLOBAL] != JMEM_CP_NULL); in ecma_builtin_get_global()
345 JERRY_ASSERT (JERRY_CONTEXT (ecma_builtin_objects)[obj_builtin_id] == JMEM_CP_NULL); in ecma_instantiate_builtin()
359 if (JERRY_CONTEXT (ecma_builtin_objects)[object_prototype_builtin_id] == JMEM_CP_NULL) in ecma_instantiate_builtin()
539 if (JERRY_CONTEXT (ecma_builtin_objects)[id] != JMEM_CP_NULL) in ecma_finalize_builtins()
553 obj_p->u1.property_list_cp = JMEM_CP_NULL; in ecma_finalize_builtins()
554 obj_p->u2.prototype_cp = JMEM_CP_NULL; in ecma_finalize_builtins()
557 JERRY_CONTEXT (ecma_builtin_objects)[id] = JMEM_CP_NULL; in ecma_finalize_builtins()
Decma-builtin-array-prototype.c894 if (JERRY_UNLIKELY (obj_p->u1.property_list_cp == JMEM_CP_NULL)) in ecma_builtin_array_prototype_object_slice()
1688 if (JERRY_UNLIKELY (obj_p->u1.property_list_cp == JMEM_CP_NULL)) in ecma_builtin_array_prototype_object_index_of()
1794 if (JERRY_UNLIKELY (obj_p->u1.property_list_cp == JMEM_CP_NULL)) in ecma_builtin_array_prototype_object_last_index_of()
2316 if (JERRY_UNLIKELY (obj_p->u1.property_list_cp == JMEM_CP_NULL)) in ecma_builtin_array_prototype_fill()
2514 if (obj_p->u1.property_list_cp != JMEM_CP_NULL) in ecma_builtin_array_prototype_object_copy_within()
Decma-builtin-function-prototype.c232 if (proto_cp != JMEM_CP_NULL) in ecma_builtin_function_prototype_object_bind()
/third_party/jerryscript/jerry-core/vm/
Dvm-stack.c47 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in vm_stack_context_abort()
202 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in vm_stack_find_finally()
250 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in vm_stack_find_finally()
351 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in vm_ref_lex_env_chain()
Dopcodes.c1052 if (prop_iter_cp != JMEM_CP_NULL) in opfunc_set_class_attributes()
1062 while (prop_iter_cp != JMEM_CP_NULL) in opfunc_set_class_attributes()
1088 if (get_set_pair_p->getter_cp != JMEM_CP_NULL) in opfunc_set_class_attributes()
1093 if (get_set_pair_p->setter_cp != JMEM_CP_NULL) in opfunc_set_class_attributes()
Dvm.c372 if (JERRY_UNLIKELY (lex_env_p->u2.outer_reference_cp == JMEM_CP_NULL)) in vm_run_eval()
1359 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in vm_loop()
1427 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in vm_loop()
1577 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in vm_loop()
1689 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in vm_loop()
3771 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in vm_loop()
3801 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in vm_loop()
/third_party/jerryscript/jerry-core/jmem/
Djmem.h36 #define JMEM_CP_NULL ((jmem_cpointer_t) 0) macro
234 …(((JERRY_UNLIKELY ((cp_value) == JMEM_CP_NULL)) ? NULL : JMEM_CP_GET_NON_NULL_POINTER (type, cp_va…
254 (cp_value) = JMEM_CP_NULL; \
Djmem-allocator.c201 JERRY_ASSERT (uint_ptr != JMEM_CP_NULL); in jmem_compress_pointer()
215 JERRY_ASSERT (compressed_pointer != JMEM_CP_NULL); in jmem_decompress_pointer()
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c263 if (lex_env_p->u2.outer_reference_cp == JMEM_CP_NULL) in jerry_debugger_send_scope_chain()
274 JERRY_ASSERT (lex_env_p->u2.outer_reference_cp != JMEM_CP_NULL); in jerry_debugger_send_scope_chain()
444 if (JERRY_UNLIKELY (lex_env_p->u2.outer_reference_cp == JMEM_CP_NULL)) in jerry_debugger_send_scope_variables()
483 while (prop_iter_cp != JMEM_CP_NULL) in jerry_debugger_send_scope_variables()
1471 if (prototype_cp == JMEM_CP_NULL) in jerry_debugger_exception_object_to_string()
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.c1202 if (context_p->tagged_template_literal_cp != JMEM_CP_NULL) in parser_post_processing()
1341 if (context_p->tagged_template_literal_cp != JMEM_CP_NULL) in parser_post_processing()
1639 if (context_p->tagged_template_literal_cp != JMEM_CP_NULL) in parser_post_processing()
1671 if (context_p->tagged_template_literal_cp != JMEM_CP_NULL) in parser_post_processing()
2036 context.tagged_template_literal_cp = JMEM_CP_NULL; in parser_parse_source()
2074 context.tagged_template_literal_cp = JMEM_CP_NULL; in parser_parse_source()
2354 context_p->tagged_template_literal_cp = JMEM_CP_NULL; in parser_save_context()
2651 if (saved_context_p->tagged_template_literal_cp != JMEM_CP_NULL) in parser_raise_error()
2662 if (context_p->tagged_template_literal_cp != JMEM_CP_NULL) in parser_raise_error()

12