/external/selinux/libsepol/src/ |
D | sidtab.c | 30 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_remove() 97 cur = s->htable[hvalue]; in sepol_sidtab_remove() 107 s->htable[hvalue] = cur->next; in sepol_sidtab_remove() [all …]
|
D | hashtab.c | 55 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() 76 cur = h->htable[hvalue]; in hashtab_insert() 95 newnode->next = h->htable[hvalue]; in hashtab_insert() 96 h->htable[hvalue] = newnode; in hashtab_insert() 115 cur = h->htable[hvalue]; in hashtab_remove() 125 h->htable[hvalue] = cur->next; in hashtab_remove() 148 cur = h->htable[hvalue]; in hashtab_replace() 170 newnode->next = h->htable[hvalue]; in hashtab_replace() [all …]
|
D | avtab.c | 127 newnode->next = h->htable[hvalue]; in avtab_insert_node() 128 h->htable[hvalue] = newnode; in avtab_insert_node() 142 if (!h || !h->htable) in avtab_insert() 146 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert() 187 if (!h || !h->htable) in avtab_insert_nonunique() 190 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert_nonunique() 219 if (!h || !h->htable) in avtab_search() 223 for (cur = h->htable[hvalue]; cur; cur = cur->next) { in avtab_search() 254 if (!h || !h->htable) in avtab_search_node() 258 for (cur = h->htable[hvalue]; cur; cur = cur->next) { in avtab_search_node() [all …]
|
D | write.c | 268 for (cur = a->htable[i]; cur; cur = cur->next) in avtab_reset_merged() 307 for (cur = a->htable[i]; cur; cur = cur->next) { in avtab_write() 328 for (cur = a->htable[i]; cur; cur = cur->next) { in avtab_write()
|
/external/selinux/policycoreutils/newrole/ |
D | hashtab.c | 34 p->htable = (hashtab_ptr_t *) malloc(sizeof(hashtab_ptr_t) * size); in hashtab_create() 35 if (p->htable == NULL) { in hashtab_create() 40 p->htable[i] = (hashtab_ptr_t) NULL; in hashtab_create() 55 cur = h->htable[hvalue]; in hashtab_insert() 74 newnode->next = h->htable[hvalue]; in hashtab_insert() 75 h->htable[hvalue] = newnode; in hashtab_insert() 94 cur = h->htable[hvalue]; in hashtab_remove() 104 h->htable[hvalue] = cur->next; in hashtab_remove() 127 cur = h->htable[hvalue]; in hashtab_replace() 149 newnode->next = h->htable[hvalue]; in hashtab_replace() [all …]
|
D | hashtab.h | 33 hashtab_ptr_t *htable; /* hash table */ member
|
/external/selinux/libselinux/src/ |
D | avc_sidtab.c | 35 s->htable = (struct sidtab_node **)avc_malloc in sidtab_init() 38 if (!s->htable) { in sidtab_init() 43 s->htable[i] = NULL; in sidtab_init() 68 newnode->next = s->htable[hvalue]; in sidtab_insert() 71 s->htable[hvalue] = newnode; in sidtab_insert() 88 cur = s->htable[hvalue]; in sidtab_context_to_sid() 112 cur = h->htable[i]; in sidtab_sid_stats() 141 cur = s->htable[i]; in sidtab_destroy() 148 s->htable[i] = NULL; in sidtab_destroy() 150 avc_free(s->htable); in sidtab_destroy() [all …]
|
D | avc_sidtab.h | 23 struct sidtab_node **htable; member
|
/external/libselinux/src/ |
D | avc_sidtab.c | 35 s->htable = (struct sidtab_node **)avc_malloc in sidtab_init() 38 if (!s->htable) { in sidtab_init() 43 s->htable[i] = NULL; in sidtab_init() 68 newnode->next = s->htable[hvalue]; in sidtab_insert() 71 s->htable[hvalue] = newnode; in sidtab_insert() 88 cur = s->htable[hvalue]; in sidtab_context_to_sid() 112 cur = h->htable[i]; in sidtab_sid_stats() 141 cur = s->htable[i]; in sidtab_destroy() 148 s->htable[i] = NULL; in sidtab_destroy() 150 avc_free(s->htable); in sidtab_destroy() [all …]
|
D | avc_sidtab.h | 23 struct sidtab_node **htable; member
|
/external/selinux/libsepol/cil/src/ |
D | cil_symtab.c | 158 symtab->htable = cil_calloc(size, sizeof(struct cil_complex_symtab *)); in cil_complex_symtab_init() 182 for (prev = NULL, curr = symtab->htable[hash]; curr != NULL; in cil_complex_symtab_insert() 214 node->next = symtab->htable[hash]; in cil_complex_symtab_insert() 215 symtab->htable[hash] = node; in cil_complex_symtab_insert() 231 for (curr = symtab->htable[hash]; curr != NULL; curr = curr->next) { in cil_complex_symtab_search() 273 curr = symtab->htable[i]; in cil_complex_symtab_destroy() 279 symtab->htable[i] = NULL; in cil_complex_symtab_destroy() 281 free(symtab->htable); in cil_complex_symtab_destroy() 282 symtab->htable = NULL; in cil_complex_symtab_destroy()
|
D | cil_symtab.h | 67 struct cil_complex_symtab_node **htable; member
|
/external/selinux/policycoreutils/semodule_deps/ |
D | semodule_deps.c | 233 cur = req->htable[i]; in free_requires() 252 cur = mods->htable[i]; in output_graphviz() 257 cur2 = reqs->htable[j]; in output_graphviz() 284 cur = mods->htable[i]; in output_requirements() 291 cur2 = reqs->htable[j]; in output_requirements()
|
/external/iptables/extensions/ |
D | libxt_hashlimit.man | 43 \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
|
/external/iptables/tests/ |
D | options-most.rules | 12 …hashlimit-name f1 --hashlimit-htable-size 64 --hashlimit-htable-max 128 --hashlimit-htable-gcinter… 25 …hashlimit-name f1 --hashlimit-htable-size 64 --hashlimit-htable-max 128 --hashlimit-htable-gcinter… 94 …it --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-name mini1 --hashlimit-htable-expire 2000
|
/external/icu/icu4c/source/common/ |
D | udata.cpp | 298 UHashtable *htable; in udata_findCachedData() local 304 htable = udata_getHashTable(); in udata_findCachedData() 306 el = (DataCacheElement *)uhash_get(htable, baseName); in udata_findCachedData() 322 UHashtable *htable; in udata_cacheDataItem() local 358 htable = udata_getHashTable(); in udata_cacheDataItem() 360 oldValue = (DataCacheElement *)uhash_get(htable, path); in udata_cacheDataItem() 366 htable, in udata_cacheDataItem()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | sidtab.h | 33 sidtab_ptr_t *htable; member
|
D | hashtab.h | 36 hashtab_ptr_t *htable; /* hash table */ member
|
D | avtab.h | 100 avtab_ptr_t *htable; member
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tmutfmt.h | 222 void deleteHash(Hashtable* htable);
|
/external/opencv/otherlibs/highgui/ |
D | grfmt_jpeg.cpp | 1689 const uchar* htable = i == 0 ? jpegTableK3 : i == 1 ? jpegTableK5 : in WriteImage() local 1698 lowstrm.PutBytes( htable, tableSize ); // put table in WriteImage() 1701 htable, buffer, 16, 9 ), is_ac_tab ? huff_ac_tab[idx] : in WriteImage() 1799 const ulong* htable = huff_ac_tab[is_chroma]; in WriteImage() local 1828 m_strm.PutHuff( 0xF0, htable ); // encode 16 zeros in WriteImage() 1837 m_strm.PutHuff( cat + run*16, htable ); in WriteImage() 1847 m_strm.PutHuff( 0x00, htable ); // encode EOB in WriteImage()
|
/external/opencv3/modules/videoio/src/ |
D | cap_mjpeg_encoder.cpp | 1194 const uchar* htable = i == 0 ? jpegTableK3 : i == 1 ? jpegTableK5 : in writeFrameData() local 1203 strm.putBytes( htable, tableSize ); // put table in writeFrameData() 1206 htable, hbuffer, 16, 9 ), is_ac_tab ? huff_ac_tab[idx] : in writeFrameData() 1408 const unsigned* htable = huff_ac_tab[is_chroma]; in writeFrameData() local 1438 JPUT_HUFF( 0xF0, htable ); // encode 16 zeros in writeFrameData() 1445 JPUT_HUFF( cat + run*16, htable ); in writeFrameData() 1455 JPUT_HUFF( 0x00, htable ); // encode EOB in writeFrameData()
|
/external/icu/icu4c/source/i18n/ |
D | tmutfmt.cpp | 688 TimeUnitFormat::deleteHash(Hashtable* htable) { in deleteHash() argument 691 if ( htable ) { in deleteHash() 692 while ( (element = htable->nextElement(pos)) != NULL ) { in deleteHash() 701 delete htable; in deleteHash()
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 173 for (cur = a->htable[i]; cur; cur = cur->next) { in display_avtab()
|