Home
last modified time | relevance | path

Searched refs:name_cp (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/base/
Decma-lcache.c53 #define ECMA_LCACHE_CREATE_ID(object_cp, name_cp) \ argument
54 (((ecma_lcache_hash_entry_id_t) (object_cp) << ECMA_LCACHE_HASH_ENTRY_ID_SHIFT) | (name_cp))
77 jmem_cpointer_t name_cp) /**< compressed pointer to property name */ in ecma_lcache_row_index() argument
81 …return (size_t) (((name_cp ^ object_cp) & ECMA_LCACHE_HASH_MASK) >> ECMA_LCACHE_HASH_BITSHIFT_INDE… in ecma_lcache_row_index()
89 const jmem_cpointer_t name_cp, /**< property name */ in ecma_lcache_insert() argument
102 size_t row_index = ecma_lcache_row_index (object_cp, name_cp); in ecma_lcache_insert()
130 entry_p->id = ECMA_LCACHE_CREATE_ID (object_cp, name_cp); in ecma_lcache_insert()
189 const jmem_cpointer_t name_cp, /**< property name */ in ecma_lcache_invalidate() argument
201 size_t row_index = ecma_lcache_row_index (object_cp, name_cp); in ecma_lcache_invalidate()
211 JERRY_ASSERT (entry_p->id == ECMA_LCACHE_CREATE_ID (object_cp, name_cp)); in ecma_lcache_invalidate()
Decma-lcache.h27 void ecma_lcache_insert (const ecma_object_t *object_p, const jmem_cpointer_t name_cp, ecma_propert…
29 void ecma_lcache_invalidate (const ecma_object_t *object_p, const jmem_cpointer_t name_cp, ecma_pro…
Decma-property-hashmap.c299 jmem_cpointer_t name_cp, /**< property name */ in ecma_property_hashmap_delete() argument
315 uint32_t entry_index = ecma_string_get_property_name_hash (*property_p, name_cp); in ecma_property_hashmap_delete()
344 JERRY_ASSERT (property_pair_p->names_cp[offset] == name_cp); in ecma_property_hashmap_delete()
Decma-property-hashmap.h72 …shmap_delete_status ecma_property_hashmap_delete (ecma_object_t *object_p, jmem_cpointer_t name_cp,
Decma-helpers.c759 jmem_cpointer_t name_cp, /**< name of the property or ECMA_NULL_POINTER */ in ecma_free_property() argument
787 && name_cp >= LIT_FIRST_INTERNAL_MAGIC_STRING); in ecma_free_property()
795 ecma_lcache_invalidate (object_p, name_cp, property_p); in ecma_free_property()
801 ecma_string_t *prop_name_p = ECMA_GET_NON_NULL_POINTER (ecma_string_t, name_cp); in ecma_free_property()
Decma-gc.c971 jmem_cpointer_t name_cp = prop_pair_p->names_cp[i]; in ecma_gc_free_properties() local
976 if (JERRY_UNLIKELY (name_cp == LIT_INTERNAL_MAGIC_STRING_NATIVE_POINTER)) in ecma_gc_free_properties()
981 else if (JERRY_UNLIKELY (name_cp == LIT_INTERNAL_MAGIC_STRING_WEAK_REFS)) in ecma_gc_free_properties()
1004 ecma_free_property (object_p, name_cp, property_p); in ecma_gc_free_properties()
Decma-helpers.h451 void ecma_free_property (ecma_object_t *object_p, jmem_cpointer_t name_cp, ecma_property_t *propert…
/third_party/mesa3d/src/mesa/main/
Dshaderapi.c3561 char *name_cp = copy_string(ctx, name, namelen, caller); in _mesa_NamedStringARB() local
3563 if (!name_cp || !string_cp) { in _mesa_NamedStringARB()
3565 free(name_cp); in _mesa_NamedStringARB()
3572 if (!validate_and_tokenise_sh_incl(ctx, mem_ctx, &path_list, name_cp, in _mesa_NamedStringARB()
3575 free(name_cp); in _mesa_NamedStringARB()
3611 free(name_cp); in _mesa_NamedStringARB()
3621 char *name_cp = copy_string(ctx, name, namelen, caller); in _mesa_DeleteNamedStringARB() local
3622 if (!name_cp) in _mesa_DeleteNamedStringARB()
3626 lookup_shader_include(ctx, name_cp, true); in _mesa_DeleteNamedStringARB()
3630 "%s(no string associated with path %s)", caller, name_cp); in _mesa_DeleteNamedStringARB()
[all …]