Home
last modified time | relevance | path

Searched refs:HASH_ENTRIES (Results 1 – 10 of 10) sorted by relevance

/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/utils/
H A Dalloc.c495 #define HASH_ENTRIES 4096 macro
504 return (unsigned int) ( (((unsigned __int64)ptr>>4)+(unsigned __int64)ptr) % HASH_ENTRIES ); in gf_memory_hash()
506 …(unsigned int) ( (((uint64_t) ((intptr_t) ptr)>>4) + (uint64_t) ((intptr_t)ptr) ) % HASH_ENTRIES ); in gf_memory_hash()
588 if (!*p) *p = (memory_list) CALLOC(HASH_ENTRIES, sizeof(memory_element*)); in gf_memory_add()
610 if (!*p) *p = (memory_list) CALLOC(HASH_ENTRIES, sizeof(memory_element*)); in gf_memory_del_item()
619 for (i=0; i<HASH_ENTRIES; i++) in gf_memory_del_item()
621 if (i==HASH_ENTRIES) { in gf_memory_del_item()
779 for (i=0; i<HASH_ENTRIES; i++) { in unregister_address()
853 for (i=0; i<HASH_ENTRIES; i++) { in gf_memory_print()
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/utils/
H A Dalloc.c495 #define HASH_ENTRIES 4096 macro
504 return (unsigned int) ( (((unsigned __int64)ptr>>4)+(unsigned __int64)ptr) % HASH_ENTRIES ); in gf_memory_hash()
506 …(unsigned int) ( (((uint64_t) ((intptr_t) ptr)>>4) + (uint64_t) ((intptr_t)ptr) ) % HASH_ENTRIES ); in gf_memory_hash()
588 if (!*p) *p = (memory_list) CALLOC(HASH_ENTRIES, sizeof(memory_element*)); in gf_memory_add()
610 if (!*p) *p = (memory_list) CALLOC(HASH_ENTRIES, sizeof(memory_element*)); in gf_memory_del_item()
619 for (i=0; i<HASH_ENTRIES; i++) in gf_memory_del_item()
621 if (i==HASH_ENTRIES) { in gf_memory_del_item()
779 for (i=0; i<HASH_ENTRIES; i++) { in unregister_address()
853 for (i=0; i<HASH_ENTRIES; i++) { in gf_memory_print()
/dports/shells/bash/bash-5.1/
H A Dhashlib.c87 return (HASH_ENTRIES(table));
257 if (table == 0 || ((flags & HASH_CREATE) == 0 && HASH_ENTRIES (table) == 0))
309 if (table == 0 || HASH_ENTRIES (table) == 0)
382 if (table == 0 || HASH_ENTRIES (table) == 0)
424 if (table == 0 || HASH_ENTRIES (table) == 0)
H A Dpcomplib.c125 return (HASH_ENTRIES (prog_completes)); in progcomp_size()
222 if (prog_completes == 0 || pfunc == 0 || HASH_ENTRIES (prog_completes) == 0)
H A Dhashlib.h78 #define HASH_ENTRIES(ht) ((ht) ? (ht)->nentries : 0) macro
H A Dalias.c228 i = HASH_ENTRIES (aliases);
274 if (aliases == 0 || HASH_ENTRIES (aliases) == 0) in all_aliases()
H A Dvariables.c1730 if (hashed_filenames == 0 || HASH_ENTRIES (hashed_filenames) == 0)
1806 if (aliases == 0 || HASH_ENTRIES (aliases) == 0)
4187 nentries += HASH_ENTRIES (v->table);
4209 if (shell_functions == 0 || HASH_ENTRIES (shell_functions) == 0)
4212 vlist = vlist_alloc (HASH_ENTRIES (shell_functions));
4407 if (vc->table == 0 || HASH_ENTRIES (vc->table) == 0 || vc_haslocals (vc) == 0)
4410 vlist = vlist_alloc (HASH_ENTRIES (vc->table));
4641 tempvar_list = strvec_create (HASH_ENTRIES (temporary_env) + 1);
5003 n += HASH_ENTRIES (vc->table); in n_shell_variables()
5039 new_size = n_shell_variables () + HASH_ENTRIES (shell_functions) + 1 + in maybe_make_export_env()
[all …]
/dports/devel/ctypes.sh/ctypes-sh-1.2/include/
H A Dhashlib.h78 #define HASH_ENTRIES(ht) ((ht) ? (ht)->nentries : 0) macro
/dports/devel/ctypes.sh/ctypes-sh-1.2/src/
H A Dunpack.c52 if (table == 0 || HASH_ENTRIES (table) == 0) in assoc_walk_data()
/dports/shells/bash/bash-5.1/builtins/
H A Dhash.def263 if (hashed_filenames == 0 || HASH_ENTRIES (hashed_filenames) == 0)