Searched refs:e_size (Results 1 – 8 of 8) sorted by relevance
174 DUK_LOCAL duk_uint32_t duk__get_default_h_size(duk_uint32_t e_size) { in duk__get_default_h_size() argument175 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES); in duk__get_default_h_size()177 if (e_size >= DUK_HOBJECT_E_USE_HASH_LIMIT) { in duk__get_default_h_size()181 res = duk_util_get_hash_prime(e_size + e_size / DUK_HOBJECT_H_SIZE_DIVISOR); in duk__get_default_h_size()184 DUK_ASSERT(res == 0 || res > e_size); in duk__get_default_h_size()193 DUK_LOCAL duk_uint32_t duk__get_min_grow_e(duk_uint32_t e_size) { in duk__get_min_grow_e() argument196 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES); in duk__get_min_grow_e()198 res = (e_size + DUK_HOBJECT_E_MIN_GROW_ADD) / DUK_HOBJECT_E_MIN_GROW_DIVISOR; in duk__get_min_grow_e()1044 duk_uint32_t e_size; /* currently used -> new size */ in duk_hobject_compact_props() local1060 e_size = duk__count_used_e_keys(thr, obj); in duk_hobject_compact_props()[all …]
563 #define DUK_HOBJECT_GET_ESIZE(h) ((h)->e_size)564 #define DUK_HOBJECT_SET_ESIZE(h,v) do { (h)->e_size = (v); } while (0)808 duk_uint32_t e_size; /* entry part size */ member
174 DUK_LOCAL duk_uint32_t duk__get_default_h_size(duk_uint32_t e_size) { in duk__get_default_h_size() argument175 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES); in duk__get_default_h_size()177 if (e_size >= DUK_HOBJECT_E_USE_HASH_LIMIT) { in duk__get_default_h_size()181 res = duk_util_get_hash_prime(e_size + e_size / DUK_HOBJECT_H_SIZE_DIVISOR); in duk__get_default_h_size()184 DUK_ASSERT(res == 0 || res > e_size); in duk__get_default_h_size()193 DUK_LOCAL duk_uint32_t duk__get_min_grow_e(duk_uint32_t e_size) { in duk__get_min_grow_e() argument196 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES); in duk__get_min_grow_e()198 res = (e_size + DUK_HOBJECT_E_MIN_GROW_ADD) / DUK_HOBJECT_E_MIN_GROW_DIVISOR; in duk__get_min_grow_e()1049 duk_uint32_t e_size; /* currently used -> new size */ in duk_hobject_compact_props() local1065 e_size = duk__count_used_e_keys(thr, obj); in duk_hobject_compact_props()[all …]
5177 #define DUK_HOBJECT_GET_ESIZE(h) ((h)->e_size)5178 #define DUK_HOBJECT_SET_ESIZE(h,v) do { (h)->e_size = (v); } while (0)5422 duk_uint32_t e_size; /* entry part size */ member47259 DUK_LOCAL duk_uint32_t duk__get_default_h_size(duk_uint32_t e_size) { argument47260 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES);47262 if (e_size >= DUK_HOBJECT_E_USE_HASH_LIMIT) {47266 res = duk_util_get_hash_prime(e_size + e_size / DUK_HOBJECT_H_SIZE_DIVISOR);47269 DUK_ASSERT(res == 0 || res > e_size);47278 DUK_LOCAL duk_uint32_t duk__get_min_grow_e(duk_uint32_t e_size) { argument47281 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES);[all …]
5200 #define DUK_HOBJECT_GET_ESIZE(h) ((h)->e_size)5201 #define DUK_HOBJECT_SET_ESIZE(h,v) do { (h)->e_size = (v); } while (0)5445 duk_uint32_t e_size; /* entry part size */ member47613 DUK_LOCAL duk_uint32_t duk__get_default_h_size(duk_uint32_t e_size) { argument47614 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES);47616 if (e_size >= DUK_HOBJECT_E_USE_HASH_LIMIT) {47620 res = duk_util_get_hash_prime(e_size + e_size / DUK_HOBJECT_H_SIZE_DIVISOR);47623 DUK_ASSERT(res == 0 || res > e_size);47632 DUK_LOCAL duk_uint32_t duk__get_min_grow_e(duk_uint32_t e_size) { argument47635 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES);[all …]
5195 #define DUK_HOBJECT_GET_ESIZE(h) ((h)->e_size)5196 #define DUK_HOBJECT_SET_ESIZE(h,v) do { (h)->e_size = (v); } while (0)5440 duk_uint32_t e_size; /* entry part size */ member47362 DUK_LOCAL duk_uint32_t duk__get_default_h_size(duk_uint32_t e_size) { argument47363 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES);47365 if (e_size >= DUK_HOBJECT_E_USE_HASH_LIMIT) {47369 res = duk_util_get_hash_prime(e_size + e_size / DUK_HOBJECT_H_SIZE_DIVISOR);47372 DUK_ASSERT(res == 0 || res > e_size);47381 DUK_LOCAL duk_uint32_t duk__get_min_grow_e(duk_uint32_t e_size) { argument47384 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES);[all …]
5182 #define DUK_HOBJECT_GET_ESIZE(h) ((h)->e_size)5183 #define DUK_HOBJECT_SET_ESIZE(h,v) do { (h)->e_size = (v); } while (0)5427 duk_uint32_t e_size; /* entry part size */ member47510 DUK_LOCAL duk_uint32_t duk__get_default_h_size(duk_uint32_t e_size) { argument47511 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES);47513 if (e_size >= DUK_HOBJECT_E_USE_HASH_LIMIT) {47517 res = duk_util_get_hash_prime(e_size + e_size / DUK_HOBJECT_H_SIZE_DIVISOR);47520 DUK_ASSERT(res == 0 || res > e_size);47529 DUK_LOCAL duk_uint32_t duk__get_min_grow_e(duk_uint32_t e_size) { argument47532 DUK_ASSERT(e_size <= DUK_HOBJECT_MAX_PROPERTIES);[all …]