/external/selinux/policycoreutils/newrole/ |
D | hashtab.c | 47 int hvalue; in hashtab_insert() local 53 hvalue = h->hash_value(h, key); in hashtab_insert() 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() 86 int hvalue; in hashtab_remove() local 92 hvalue = h->hash_value(h, key); in hashtab_remove() 94 cur = h->htable[hvalue]; in hashtab_remove() 104 h->htable[hvalue] = cur->next; in hashtab_remove() 119 int hvalue; in hashtab_replace() local [all …]
|
/external/selinux/libsepol/src/ |
D | hashtab.c | 68 int hvalue; in hashtab_insert() local 74 hvalue = h->hash_value(h, key); in hashtab_insert() 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() 107 int hvalue; in hashtab_remove() local 113 hvalue = h->hash_value(h, key); in hashtab_remove() 115 cur = h->htable[hvalue]; in hashtab_remove() 125 h->htable[hvalue] = cur->next; in hashtab_remove() 140 int hvalue; in hashtab_replace() local [all …]
|
D | sidtab.c | 45 int hvalue; in sepol_sidtab_insert() local 51 hvalue = SIDTAB_HASH(sid); 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() 89 int hvalue; in sepol_sidtab_remove() local 95 hvalue = SIDTAB_HASH(sid); in sepol_sidtab_remove() 97 cur = s->htable[hvalue]; in sepol_sidtab_remove() 107 s->htable[hvalue] = cur->next; in sepol_sidtab_remove() 120 int hvalue; in sepol_sidtab_search() local [all …]
|
D | avtab.c | 92 avtab_insert_node(avtab_t * h, int hvalue, avtab_ptr_t prev, avtab_key_t * key, in avtab_insert_node() argument 127 newnode->next = h->htable[hvalue]; in avtab_insert_node() 128 h->htable[hvalue] = newnode; in avtab_insert_node() 137 int hvalue; in avtab_insert() local 145 hvalue = avtab_hash(key, h->mask); in avtab_insert() 146 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert() 168 newnode = avtab_insert_node(h, hvalue, prev, key, datum); in avtab_insert() 182 int hvalue; in avtab_insert_nonunique() local 189 hvalue = avtab_hash(key, h->mask); in avtab_insert_nonunique() 190 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert_nonunique() [all …]
|
/external/selinux/libselinux/src/ |
D | avc_sidtab.c | 51 int hvalue, rc = 0; in sidtab_insert() local 67 hvalue = sidtab_hash(newctx); in sidtab_insert() 68 newnode->next = s->htable[hvalue]; in sidtab_insert() 71 s->htable[hvalue] = newnode; in sidtab_insert() 81 int hvalue, rc = 0; in sidtab_context_to_sid() local 85 hvalue = sidtab_hash(ctx); in sidtab_context_to_sid() 88 cur = s->htable[hvalue]; in sidtab_context_to_sid()
|
D | avc.c | 303 uint32_t hvalue; in hidden_def() local 305 hvalue = avc_cache.lru_hint; in hidden_def() 309 cur = avc_cache.slots[hvalue]; in hidden_def() 319 hvalue = (hvalue + 1) & (AVC_CACHE_SLOTS - 1); in hidden_def() 320 } while (hvalue != avc_cache.lru_hint); in hidden_def() 327 avc_cache.lru_hint = hvalue; in hidden_def() 330 avc_cache.slots[hvalue] = cur->next; in hidden_def() 347 int hvalue; in avc_claim_node() local 362 hvalue = avc_hash(ssid, tsid, tclass); in avc_claim_node() 368 new->next = avc_cache.slots[hvalue]; in avc_claim_node() [all …]
|
/external/lua/src/ |
D | lapi.c | 398 case LUA_TTABLE: return luaH_getn(hvalue(o)); in lua_rawlen() 432 case LUA_TTABLE: return hvalue(o); in lua_topointer() 606 Table *reg = hvalue(&G(L)->l_registry); in lua_getglobal() 652 setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1)); in lua_rawget() 663 setobj2s(L, L->top, luaH_getint(hvalue(t), n)); in lua_rawgeti() 677 setobj2s(L, L->top, luaH_get(hvalue(t), &k)); in lua_rawgetp() 705 mt = hvalue(obj)->metatable; in lua_getmetatable() 760 Table *reg = hvalue(&G(L)->l_registry); in lua_setglobal() 808 slot = luaH_set(L, hvalue(o), L->top - 2); in lua_rawset() 810 invalidateTMcache(hvalue(o)); in lua_rawset() [all …]
|
D | lvm.h | 61 : (slot = f(hvalue(t), k), /* else, do raw access */ \ 83 : (slot = f(hvalue(t), k), \ 85 : (luaC_barrierback(L, hvalue(t), v), \
|
D | ltm.c | 74 mt = hvalue(o)->metatable; in luaT_gettmbyobj() 92 if ((ttistable(o) && (mt = hvalue(o)->metatable) != NULL) || in luaT_objtypename()
|
D | lvm.c | 174 tm = fasttm(L, hvalue(t)->metatable, TM_INDEX); /* table's metamethod */ in luaV_finishget() 209 Table *h = hvalue(t); /* save 't' table */ in luaV_finishset() 436 if (hvalue(t1) == hvalue(t2)) return 1; in luaV_equalobj() 438 tm = fasttm(L, hvalue(t1)->metatable, TM_EQ); in luaV_equalobj() 440 tm = fasttm(L, hvalue(t2)->metatable, TM_EQ); in luaV_equalobj() 521 Table *h = hvalue(rb); in luaV_objlen() 1273 h = hvalue(ra); in luaV_execute()
|
D | lobject.h | 175 #define hvalue(o) check_exp(ttistable(o), gco2t(val_(o).gc)) macro
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | URLParser.java | 694 String value = hvalue(); in qheader() 699 protected String hvalue() throws ParseException { in hvalue() method in URLParser
|