Home
last modified time | relevance | path

Searched refs:max_property_count (Results 1 – 2 of 2) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/base/
Decma-property-hashmap.c34 #define ECMA_PROPERTY_HASHMAP_GET_TOTAL_SIZE(max_property_count) \ argument
35 …(sizeof (ecma_property_hashmap_t) + (max_property_count * sizeof (jmem_cpointer_t)) + (max_propert…
112 uint32_t max_property_count = ECMA_PROPERTY_HASMAP_MINIMUM_SIZE; in ecma_property_hashmap_create() local
115 while (max_property_count < (named_property_count + (named_property_count >> 1))) in ecma_property_hashmap_create()
117 max_property_count <<= 1; in ecma_property_hashmap_create()
120 size_t total_size = ECMA_PROPERTY_HASHMAP_GET_TOTAL_SIZE (max_property_count); in ecma_property_hashmap_create()
133 hashmap_p->max_property_count = max_property_count; in ecma_property_hashmap_create()
134 hashmap_p->null_count = max_property_count - named_property_count; in ecma_property_hashmap_create()
135 hashmap_p->unused_count = max_property_count - named_property_count; in ecma_property_hashmap_create()
138 uint8_t *bits_p = (uint8_t *) (pair_list_p + max_property_count); in ecma_property_hashmap_create()
[all …]
Decma-property-hashmap.h37 uint32_t max_property_count; /**< maximum property count (power of 2) */ member