Home
last modified time | relevance | path

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

/external/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()
/external/fio/
Dfilehash.c10 #define HASH_MASK (HASH_BUCKETS - 1) macro
19 return jhash(name, strlen(name), 0) & HASH_MASK; in hash()
/external/zopfli/src/zopfli/
Dhash.c27 #define HASH_MASK 32767 macro
88 h->val = (((h->val) << HASH_SHIFT) ^ (c)) & HASH_MASK; in UpdateHashValue()