/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-literal-storage.c | 35 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 …]
|
D | ecma-gc.c | 211 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 …]
|
D | ecma-helpers.c | 93 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 …]
|
D | ecma-property-hashmap.c | 82 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/ |
D | heapdump.c | 126 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()
|
D | debug-utils.c | 28 while (prop_iter_cp != JMEM_CP_NULL) { in PrintObjectProperties()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-reference.c | 53 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()
|
D | ecma-array-object.c | 151 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 …]
|
D | ecma-lex-env.c | 64 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()
|
D | ecma-objects.c | 384 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 …]
|
D | ecma-get-put-value.c | 102 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()
|
D | ecma-objects-general.c | 559 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()
|
D | ecma-exceptions.c | 173 if (error_object->u2.prototype_cp == JMEM_CP_NULL) in ecma_get_error_type()
|
D | ecma-function-object.c | 652 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/ |
D | ecma-builtin-symbol.c | 108 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()
|
D | ecma-builtins.c | 282 …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()
|
D | ecma-builtin-array-prototype.c | 894 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()
|
D | ecma-builtin-function-prototype.c | 232 if (proto_cp != JMEM_CP_NULL) in ecma_builtin_function_prototype_object_bind()
|
/third_party/jerryscript/jerry-core/vm/ |
D | vm-stack.c | 47 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()
|
D | opcodes.c | 1052 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()
|
D | vm.c | 372 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/ |
D | jmem.h | 36 #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; \
|
D | jmem-allocator.c | 201 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/ |
D | debugger.c | 263 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/ |
D | js-parser.c | 1202 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()
|