Home
last modified time | relevance | path

Searched refs:htable (Results 1 – 25 of 25) sorted by relevance

/third_party/selinux/libsepol/src/
Dsidtab.c29 s->htable = calloc(SIDTAB_SIZE, sizeof(sidtab_ptr_t)); in sepol_sidtab_init()
30 if (!s->htable) in sepol_sidtab_init()
45 if (!s || !s->htable) in sepol_sidtab_insert()
50 cur = s->htable[hvalue]; in sepol_sidtab_insert()
74 newnode->next = s->htable[hvalue]; in sepol_sidtab_insert()
75 s->htable[hvalue] = newnode; in sepol_sidtab_insert()
89 if (!s || !s->htable) in sepol_sidtab_search()
93 cur = s->htable[hvalue]; in sepol_sidtab_search()
101 cur = s->htable[hvalue]; in sepol_sidtab_search()
119 if (!s || !s->htable) in sepol_sidtab_map()
[all …]
Dhashtab.c56 p->htable = (hashtab_ptr_t *) calloc(size, sizeof(hashtab_ptr_t)); in hashtab_create()
57 if (p->htable == NULL) { in hashtab_create()
85 cur = h->htable[i]; in hashtab_check_resize()
100 free(h->htable); in hashtab_check_resize()
101 h->htable = new_htable; in hashtab_check_resize()
116 cur = h->htable[hvalue]; in hashtab_insert()
135 newnode->next = h->htable[hvalue]; in hashtab_insert()
136 h->htable[hvalue] = newnode; in hashtab_insert()
155 cur = h->htable[hvalue]; in hashtab_remove()
165 h->htable[hvalue] = cur->next; in hashtab_remove()
[all …]
Davtab.c128 newnode->next = h->htable[hvalue]; in avtab_insert_node()
129 h->htable[hvalue] = newnode; in avtab_insert_node()
143 if (!h || !h->htable) in avtab_insert()
147 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert()
188 if (!h || !h->htable) in avtab_insert_nonunique()
191 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert_nonunique()
220 if (!h || !h->htable) in avtab_search()
224 for (cur = h->htable[hvalue]; cur; cur = cur->next) { in avtab_search()
255 if (!h || !h->htable) in avtab_search_node()
259 for (cur = h->htable[hvalue]; cur; cur = cur->next) { in avtab_search_node()
[all …]
Doptimize.c302 cur = &tab->htable[i]; in optimize_avtab()
408 cur = &tab->htable[i]; in optimize_cond_avtab()
Dwrite.c274 for (cur = a->htable[i]; cur; cur = cur->next) in avtab_reset_merged()
313 for (cur = a->htable[i]; cur; cur = cur->next) { in avtab_write()
334 for (cur = a->htable[i]; cur; cur = cur->next) { in avtab_write()
/third_party/selinux/libselinux/src/
Davc_sidtab.c34 s->htable = (struct sidtab_node **)avc_malloc in sidtab_init()
37 if (!s->htable) { in sidtab_init()
42 s->htable[i] = NULL; in sidtab_init()
67 newnode->next = s->htable[hvalue]; in sidtab_insert()
70 s->htable[hvalue] = newnode; in sidtab_insert()
87 cur = s->htable[hvalue]; in sidtab_context_to_sid()
111 cur = s->htable[i]; in sidtab_sid_stats()
140 cur = s->htable[i]; in sidtab_destroy()
147 s->htable[i] = NULL; in sidtab_destroy()
149 avc_free(s->htable); in sidtab_destroy()
[all …]
Davc_sidtab.h22 struct sidtab_node **htable; member
/third_party/selinux/libsepol/cil/src/
Dcil_symtab.c160 symtab->htable = cil_calloc(size, sizeof(struct cil_complex_symtab *)); in cil_complex_symtab_init()
184 for (prev = NULL, curr = symtab->htable[hash]; curr != NULL; in cil_complex_symtab_insert()
217 node->next = symtab->htable[hash]; in cil_complex_symtab_insert()
218 symtab->htable[hash] = node; in cil_complex_symtab_insert()
234 for (curr = symtab->htable[hash]; curr != NULL; curr = curr->next) { in cil_complex_symtab_search()
276 curr = symtab->htable[i]; in cil_complex_symtab_destroy()
282 symtab->htable[i] = NULL; in cil_complex_symtab_destroy()
284 free(symtab->htable); in cil_complex_symtab_destroy()
285 symtab->htable = NULL; in cil_complex_symtab_destroy()
Dcil_symtab.h67 struct cil_complex_symtab_node **htable; member
/third_party/icu/icu4c/source/common/
Dudata.cpp307 UHashtable *htable; in udata_findCachedData() local
312 htable = udata_getHashTable(err); in udata_findCachedData()
319 el = (DataCacheElement *)uhash_get(htable, baseName); in udata_findCachedData()
335 UHashtable *htable; in udata_cacheDataItem() local
339 htable = udata_getHashTable(*pErr); in udata_cacheDataItem()
373 oldValue = (DataCacheElement *)uhash_get(htable, path); in udata_cacheDataItem()
379 htable, in udata_cacheDataItem()
/third_party/node/deps/icu-small/source/common/
Dudata.cpp307 UHashtable *htable; in udata_findCachedData() local
312 htable = udata_getHashTable(err); in udata_findCachedData()
319 el = (DataCacheElement *)uhash_get(htable, baseName); in udata_findCachedData()
335 UHashtable *htable; in udata_cacheDataItem() local
339 htable = udata_getHashTable(*pErr); in udata_cacheDataItem()
373 oldValue = (DataCacheElement *)uhash_get(htable, path); in udata_cacheDataItem()
379 htable, in udata_cacheDataItem()
/third_party/skia/third_party/externals/icu/source/common/
Dudata.cpp307 UHashtable *htable; in udata_findCachedData() local
312 htable = udata_getHashTable(err); in udata_findCachedData()
319 el = (DataCacheElement *)uhash_get(htable, baseName); in udata_findCachedData()
335 UHashtable *htable; in udata_cacheDataItem() local
339 htable = udata_getHashTable(*pErr); in udata_cacheDataItem()
373 oldValue = (DataCacheElement *)uhash_get(htable, path); in udata_cacheDataItem()
379 htable, in udata_cacheDataItem()
/third_party/selinux/libsepol/include/sepol/policydb/
Dsidtab.h34 sidtab_ptr_t *htable; member
Dhashtab.h38 hashtab_ptr_t *htable; /* hash table */ member
Davtab.h101 avtab_ptr_t *htable; member
/third_party/node/deps/icu-small/source/i18n/unicode/
Dtmutfmt.h219 void deleteHash(Hashtable* htable);
/third_party/icu/icu4c/source/i18n/unicode/
Dtmutfmt.h219 void deleteHash(Hashtable* htable);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dtmutfmt.h228 void deleteHash(Hashtable* htable);
/third_party/node/deps/icu-small/source/i18n/
Dtmutfmt.cpp693 TimeUnitFormat::deleteHash(Hashtable* htable) { in deleteHash() argument
696 if ( htable ) { in deleteHash()
697 while ( (element = htable->nextElement(pos)) != nullptr ) { in deleteHash()
706 delete htable; in deleteHash()
/third_party/icu/icu4c/source/i18n/
Dtmutfmt.cpp693 TimeUnitFormat::deleteHash(Hashtable* htable) { in deleteHash() argument
696 if ( htable ) { in deleteHash()
697 while ( (element = htable->nextElement(pos)) != NULL ) { in deleteHash()
706 delete htable; in deleteHash()
/third_party/skia/third_party/externals/icu/source/i18n/
Dtmutfmt.cpp693 TimeUnitFormat::deleteHash(Hashtable* htable) { in deleteHash() argument
696 if ( htable ) { in deleteHash()
697 while ( (element = htable->nextElement(pos)) != NULL ) { in deleteHash()
706 delete htable; in deleteHash()
/third_party/openssl/doc/man3/
DOPENSSL_LH_COMPFUNC.pod107 LHASH_OF(TYPE) *htable;
109 htable = B<lh_I<TYPE>_new>(LHASH_HASH_FN(stuff), LHASH_COMP_FN(stuff));
/third_party/selinux/checkpolicy/test/
Ddispol.c173 for (cur = a->htable[i]; cur; cur = cur->next) { in display_avtab()
/third_party/gstreamer/gstreamer/docs/random/old/
DChangeLog.gstreamer13620 plugins/mpeg1/mpeg1encoder/htable.lex,
14707 cwinm.c, dec8.c, htable.h, hwin.c, icdct.c, install-sh, isbt.c,
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h53977 struct hashtab_node **htable; member
54105 struct avtab_node **htable; member