Searched refs:htable (Results 1 - 22 of 22) sorted by relevance

/external/selinux/libsepol/src/
H A Dsidtab.c30 s->htable = malloc(sizeof(sidtab_ptr_t) * SIDTAB_SIZE);
31 if (!s->htable)
34 s->htable[i] = (sidtab_ptr_t) NULL;
48 if (!s || !s->htable)
53 cur = s->htable[hvalue];
77 newnode->next = s->htable[hvalue];
78 s->htable[hvalue] = newnode;
92 if (!s || !s->htable)
97 cur = s->htable[hvalue];
107 s->htable[hvalu
[all...]
H A Dhashtab.c55 p->htable = (hashtab_ptr_t *) malloc(sizeof(hashtab_ptr_t) * size);
56 if (p->htable == NULL) {
61 p->htable[i] = (hashtab_ptr_t) NULL;
76 cur = h->htable[hvalue];
95 newnode->next = h->htable[hvalue];
96 h->htable[hvalue] = newnode;
115 cur = h->htable[hvalue];
125 h->htable[hvalue] = cur->next;
148 cur = h->htable[hvalue];
170 newnode->next = h->htable[hvalu
[all...]
H A Davtab.c122 newnode->next = h->htable[hvalue];
123 h->htable[hvalue] = newnode;
137 if (!h || !h->htable)
141 for (prev = NULL, cur = h->htable[hvalue];
181 if (!h || !h->htable)
184 for (prev = NULL, cur = h->htable[hvalue];
213 if (!h || !h->htable)
217 for (cur = h->htable[hvalue]; cur; cur = cur->next) {
248 if (!h || !h->htable)
252 for (cur = h->htable[hvalu
[all...]
H A Dwrite.c264 for (cur = a->htable[i]; cur; cur = cur->next)
303 for (cur = a->htable[i]; cur; cur = cur->next) {
324 for (cur = a->htable[i]; cur; cur = cur->next) {
/external/libselinux/src/
H A Davc_sidtab.c35 s->htable = (struct sidtab_node **)avc_malloc
38 if (!s->htable) {
43 s->htable[i] = NULL;
68 newnode->next = s->htable[hvalue];
71 s->htable[hvalue] = newnode;
88 cur = s->htable[hvalue];
112 cur = h->htable[i];
141 cur = s->htable[i];
148 s->htable[i] = NULL;
150 avc_free(s->htable);
[all...]
H A Davc_sidtab.h23 struct sidtab_node **htable; member in struct:sidtab
/external/selinux/libselinux/src/
H A Davc_sidtab.c35 s->htable = (struct sidtab_node **)avc_malloc
38 if (!s->htable) {
43 s->htable[i] = NULL;
68 newnode->next = s->htable[hvalue];
71 s->htable[hvalue] = newnode;
88 cur = s->htable[hvalue];
112 cur = h->htable[i];
141 cur = s->htable[i];
148 s->htable[i] = NULL;
150 avc_free(s->htable);
[all...]
H A Davc_sidtab.h23 struct sidtab_node **htable; member in struct:sidtab
/external/selinux/policycoreutils/newrole/
H A Dhashtab.c34 p->htable = (hashtab_ptr_t *) malloc(sizeof(hashtab_ptr_t) * size);
35 if (p->htable == NULL) {
40 p->htable[i] = (hashtab_ptr_t) NULL;
55 cur = h->htable[hvalue];
74 newnode->next = h->htable[hvalue];
75 h->htable[hvalue] = newnode;
94 cur = h->htable[hvalue];
104 h->htable[hvalue] = cur->next;
127 cur = h->htable[hvalue];
149 newnode->next = h->htable[hvalu
[all...]
H A Dhashtab.h33 hashtab_ptr_t *htable; /* hash table */ member in struct:hashtab_val
/external/selinux/libsepol/cil/src/
H A Dcil_symtab.c158 symtab->htable = cil_calloc(size, sizeof(struct cil_complex_symtab *));
182 for (prev = NULL, curr = symtab->htable[hash]; curr != NULL;
214 node->next = symtab->htable[hash];
215 symtab->htable[hash] = node;
231 for (curr = symtab->htable[hash]; curr != NULL; curr = curr->next) {
273 curr = symtab->htable[i];
279 symtab->htable[i] = NULL;
281 free(symtab->htable);
282 symtab->htable = NULL;
H A Dcil_symtab.h67 struct cil_complex_symtab_node **htable; member in struct:cil_complex_symtab
/external/selinux/libsepol/include/sepol/policydb/
H A Dsidtab.h33 sidtab_ptr_t *htable; member in struct:__anon13620
H A Dhashtab.h36 hashtab_ptr_t *htable; /* hash table */ member in struct:hashtab_val
H A Davtab.h99 avtab_ptr_t *htable; member in struct:avtab
/external/selinux/policycoreutils/semodule_deps/
H A Dsemodule_deps.c233 cur = req->htable[i];
252 cur = mods->htable[i];
257 cur2 = reqs->htable[j];
284 cur = mods->htable[i];
291 cur2 = reqs->htable[j];
/external/icu/icu4c/source/i18n/unicode/
H A Dtmutfmt.h222 void deleteHash(Hashtable* htable);
/external/icu/icu4c/source/common/
H A Dudata.cpp294 UHashtable *htable; local
300 htable = udata_getHashTable();
302 el = (DataCacheElement *)uhash_get(htable, baseName);
318 UHashtable *htable; local
354 htable = udata_getHashTable();
356 oldValue = (DataCacheElement *)uhash_get(htable, path);
362 htable,
/external/icu/icu4c/source/i18n/
H A Dtmutfmt.cpp688 TimeUnitFormat::deleteHash(Hashtable* htable) { argument
691 if ( htable ) {
692 while ( (element = htable->nextElement(pos)) != NULL ) {
701 delete htable;
/external/sepolicy/tools/
H A Dsepolicy-check.c84 for (cur = exp_avtab.htable[i]; cur; cur = cur->next) {
/external/opencv/otherlibs/highgui/
H A Dgrfmt_jpeg.cpp1689 const uchar* htable = i == 0 ? jpegTableK3 : i == 1 ? jpegTableK5 : local
1698 lowstrm.PutBytes( htable, tableSize ); // put table
1701 htable, buffer, 16, 9 ), is_ac_tab ? huff_ac_tab[idx] :
1799 const ulong* htable = huff_ac_tab[is_chroma]; local
1828 m_strm.PutHuff( 0xF0, htable ); // encode 16 zeros
1837 m_strm.PutHuff( cat + run*16, htable );
1847 m_strm.PutHuff( 0x00, htable ); // encode EOB
/external/selinux/checkpolicy/test/
H A Ddispol.c224 for (cur = a->htable[i]; cur; cur = cur->next) {

Completed in 538 milliseconds