Home
last modified time | relevance | path

Searched refs:HASH_MASK (Results 1 – 4 of 4) sorted by relevance

/third_party/pixman/pixman/
Dpixman-glyph.c44 #define HASH_MASK (HASH_SIZE - 1) macro
103 while ((g = cache->glyphs[idx++ & HASH_MASK])) in lookup_glyph()
130 loc = &cache->glyphs[idx++ & HASH_MASK]; in insert_glyph()
147 while (cache->glyphs[idx & HASH_MASK] != glyph) in remove_glyph()
150 cache->glyphs[idx & HASH_MASK] = TOMBSTONE; in remove_glyph()
155 if (cache->glyphs[(idx + 1) & HASH_MASK] == NULL) in remove_glyph()
157 while (cache->glyphs[idx & HASH_MASK] == TOMBSTONE) in remove_glyph()
159 cache->glyphs[idx & HASH_MASK] = NULL; in remove_glyph()
/third_party/selinux/libselinux/src/
Dmatchpathcon.c187 #define HASH_MASK (HASH_BUCKETS-1) macro
210 h = (ino + (ino >> HASH_BITS)) & HASH_MASK; in matchpathcon_filespec_add()
Dselinux_restorecon.c401 #define HASH_MASK (HASH_BUCKETS-1) macro
434 h = (ino + (ino >> HASH_BITS)) & HASH_MASK; in filespec_add()
/third_party/ltp/testcases/kernel/mce-test/tools/
Dpage-types.c193 #define HASH_MASK (HASH_SIZE - 1) macro
194 #define HASH_KEY(flags) (flags & HASH_MASK)