Home
last modified time | relevance | path

Searched refs:hvalue (Results 1 – 16 of 16) sorted by relevance

/external/selinux/libsepol/src/
Dhashtab.c68 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 …]
Dsidtab.c45 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 …]
Davtab.c92 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/policycoreutils/newrole/
Dhashtab.c47 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/libselinux/src/
Davc_sidtab.c51 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()
Davc.c303 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/skia/third_party/lua/src/
Dlapi.c412 case LUA_TTABLE: return luaH_getn(hvalue(o)); in lua_rawlen()
446 case LUA_TTABLE: return hvalue(o); in lua_topointer()
609 Table *reg = hvalue(&G(L)->l_registry); in lua_getglobal()
644 setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1)); in lua_rawget()
654 setobj2s(L, L->top, luaH_getint(hvalue(t), n)); in lua_rawgeti()
667 setobj2s(L, L->top, luaH_get(hvalue(t), &k)); in lua_rawgetp()
694 mt = hvalue(obj)->metatable; in lua_getmetatable()
735 Table *reg = hvalue(&G(L)->l_registry); in lua_setglobal()
776 setobj2t(L, luaH_set(L, hvalue(t), L->top-2), L->top-1); in lua_rawset()
777 invalidateTMcache(hvalue(t)); in lua_rawset()
[all …]
Dlvm.c115 Table *h = hvalue(t); in luaV_gettable()
141 Table *h = hvalue(t); in luaV_settable()
278 if (hvalue(t1) == hvalue(t2)) return 1; in luaV_equalobj_()
280 tm = get_equalTM(L, hvalue(t1)->metatable, hvalue(t2)->metatable, TM_EQ); in luaV_equalobj_()
339 Table *h = hvalue(rb); in luaV_objlen()
822 h = hvalue(ra); in luaV_execute()
Dltm.c67 mt = hvalue(o)->metatable; in luaT_gettmbyobj()
Dlobject.h164 #define hvalue(o) check_exp(ttistable(o), &val_(o).gc->h) macro
/external/syslinux/com32/lua/src/
Dlapi.c412 case LUA_TTABLE: return luaH_getn(hvalue(o)); in lua_rawlen()
446 case LUA_TTABLE: return hvalue(o); in lua_topointer()
609 Table *reg = hvalue(&G(L)->l_registry); in lua_getglobal()
644 setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1)); in lua_rawget()
654 setobj2s(L, L->top, luaH_getint(hvalue(t), n)); in lua_rawgeti()
667 setobj2s(L, L->top, luaH_get(hvalue(t), &k)); in lua_rawgetp()
694 mt = hvalue(obj)->metatable; in lua_getmetatable()
735 Table *reg = hvalue(&G(L)->l_registry); in lua_setglobal()
776 setobj2t(L, luaH_set(L, hvalue(t), L->top-2), L->top-1); in lua_rawset()
777 invalidateTMcache(hvalue(t)); in lua_rawset()
[all …]
Dlvm.c138 Table *h = hvalue(t); in luaV_gettable()
164 Table *h = hvalue(t); in luaV_settable()
301 if (hvalue(t1) == hvalue(t2)) return 1; in luaV_equalobj_()
303 tm = get_equalTM(L, hvalue(t1)->metatable, hvalue(t2)->metatable, TM_EQ); in luaV_equalobj_()
362 Table *h = hvalue(rb); in luaV_objlen()
845 h = hvalue(ra); in luaV_execute()
Dltm.c67 mt = hvalue(o)->metatable; in luaT_gettmbyobj()
Dlobject.h164 #define hvalue(o) check_exp(ttistable(o), &val_(o).gc->h) macro
/external/nist-sip/java/gov/nist/javax/sip/parser/
DURLParser.java694 String value = hvalue(); in qheader()
699 protected String hvalue() throws ParseException { in hvalue() method in URLParser
/external/v8/src/crankshaft/x64/
Dlithium-x64.cc160 HValue* hvalue = this->hydrogen_value(); in MustSignExtendResult() local
161 return hvalue != NULL && in MustSignExtendResult()
162 hvalue->representation().IsInteger32() && in MustSignExtendResult()
163 chunk->GetDehoistedKeyIds()->Contains(hvalue->id()); in MustSignExtendResult()