Home
last modified time | relevance | path

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

12

/third_party/selinux/libsepol/src/
Dsidtab.c30 s->htable = malloc(sizeof(sidtab_ptr_t) * SIDTAB_SIZE); in sepol_sidtab_init()
31 if (!s->htable) in sepol_sidtab_init()
34 s->htable[i] = (sidtab_ptr_t) NULL; in sepol_sidtab_init()
48 if (!s || !s->htable) in sepol_sidtab_insert()
53 cur = s->htable[hvalue]; in sepol_sidtab_insert()
77 newnode->next = s->htable[hvalue]; in sepol_sidtab_insert()
78 s->htable[hvalue] = newnode; in sepol_sidtab_insert()
92 if (!s || !s->htable) in sepol_sidtab_search()
96 cur = s->htable[hvalue]; in sepol_sidtab_search()
104 cur = s->htable[hvalue]; in sepol_sidtab_search()
[all …]
Dhashtab.c55 p->htable = (hashtab_ptr_t *) malloc(sizeof(hashtab_ptr_t) * size); in hashtab_create()
56 if (p->htable == NULL) { in hashtab_create()
61 p->htable[i] = (hashtab_ptr_t) NULL; in hashtab_create()
86 cur = h->htable[i]; in hashtab_check_resize()
101 free(h->htable); in hashtab_check_resize()
102 h->htable = new_htable; in hashtab_check_resize()
117 cur = h->htable[hvalue]; in hashtab_insert()
136 newnode->next = h->htable[hvalue]; in hashtab_insert()
137 h->htable[hvalue] = newnode; in hashtab_insert()
156 cur = h->htable[hvalue]; 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 …]
/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/iptables/extensions/
Dlibxt_hashlimit.t14 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-name mini1 --hashlimit-htable-e…
15 …hashlimit-burst 1 --hashlimit-mode srcip --hashlimit-name mini1 --hashlimit-htable-expire 2000;=;OK
16 …hashlimit-burst 1 --hashlimit-mode dstip --hashlimit-name mini1 --hashlimit-htable-expire 2000;=;OK
17 … --hashlimit-mode dstip --hashlimit-name mini1 --hashlimit-htable-max 2000 --hashlimit-htable-expi…
18 …dstip --hashlimit-name mini1 --hashlimit-htable-max 2000 --hashlimit-htable-gcinterval 60000 --has…
Dlibxt_hashlimit.man43 \fB\-\-hashlimit\-htable\-size\fP \fIbuckets\fP
46 \fB\-\-hashlimit\-htable\-max\fP \fIentries\fP
49 \fB\-\-hashlimit\-htable\-expire\fP \fImsec\fP
52 \fB\-\-hashlimit\-htable\-gcinterval\fP \fImsec\fP
Dlibxt_hashlimit.txlate4 …burst 15 --hashlimit-mode srcip,dstip --hashlimit-name https --hashlimit-htable-expire 300000 -m s…
/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/gettext/gettext-tools/src/
Dmessage.c282 hash_init (&mlp->htable, 10); in message_list_alloc()
298 hash_destroy (&mlp->htable); in message_list_free()
304 message_list_hash_insert_entry (hash_table *htable, message_ty *mp) in message_list_hash_insert_entry() argument
330 found = (hash_insert_entry (htable, key, keylen, mp) == NULL); in message_list_hash_insert_entry()
353 if (message_list_hash_insert_entry (&mlp->htable, mp)) in message_list_append()
379 if (message_list_hash_insert_entry (&mlp->htable, mp)) in message_list_prepend()
405 if (message_list_hash_insert_entry (&mlp->htable, mp)) in message_list_insert_at()
428 hash_destroy (&mlp->htable);
447 hash_destroy (&mlp->htable); in message_list_remove_if_not()
459 unsigned long int size = mlp->htable.size; in message_list_msgids_changed()
[all …]
/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/flutter/skia/third_party/externals/icu/source/common/
Dudata.cpp305 UHashtable *htable; in udata_findCachedData() local
310 htable = udata_getHashTable(err); in udata_findCachedData()
317 el = (DataCacheElement *)uhash_get(htable, baseName); in udata_findCachedData()
333 UHashtable *htable; in udata_cacheDataItem() local
337 htable = udata_getHashTable(*pErr); in udata_cacheDataItem()
371 oldValue = (DataCacheElement *)uhash_get(htable, path); in udata_cacheDataItem()
377 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/skia/third_party/externals/icu/source/i18n/unicode/
Dtmutfmt.h228 void deleteHash(Hashtable* htable);
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dtmutfmt.h226 void deleteHash(Hashtable* htable);
/third_party/icu/icu4c/source/i18n/unicode/
Dtmutfmt.h228 void deleteHash(Hashtable* htable);
/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/flutter/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()

12