Home
last modified time | relevance | path

Searched refs:keylen_in (Results 1 – 2 of 2) sorted by relevance

/external/libdrm/intel/
Duthash.h191 #define HASH_REPLACE_BYHASHVALUE_INORDER(hh,head,fieldname,keylen_in,hashval,add,replaced,cmpfcn) \ argument
194 HASH_FIND_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, replaced); \
198 …HASH_ADD_KEYPTR_BYHASHVALUE_INORDER(hh, head, &((add)->fieldname), keylen_in, hashval, add, cmpfcn…
201 #define HASH_REPLACE_BYHASHVALUE(hh,head,fieldname,keylen_in,hashval,add,replaced) \ argument
204 HASH_FIND_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, replaced); \
208 HASH_ADD_KEYPTR_BYHASHVALUE(hh, head, &((add)->fieldname), keylen_in, hashval, add); \
211 #define HASH_REPLACE(hh,head,fieldname,keylen_in,add,replaced) \ argument
214 HASH_VALUE(&((add)->fieldname), keylen_in, _hr_hashv); \
215 HASH_REPLACE_BYHASHVALUE(hh, head, fieldname, keylen_in, _hr_hashv, add, replaced); \
218 #define HASH_REPLACE_INORDER(hh,head,fieldname,keylen_in,add,replaced,cmpfcn) \ argument
[all …]
/external/fastrpc/inc/
Duthash.h157 #define HASH_ADD(hh,head,fieldname,keylen_in,add) \ argument
158 HASH_ADD_KEYPTR(hh,head,&add->fieldname,keylen_in,add)
160 #define HASH_ADD_KEYPTR(hh,head,keyptr,keylen_in,add) \ argument
165 (add)->hh.keylen = keylen_in; \
177 HASH_FCN(keyptr,keylen_in, (head)->hh.tbl->num_buckets, \
181 HASH_EMIT_KEY(hh,head,keyptr,keylen_in); \
584 #define HASH_FIND_IN_BKT(tbl,hh,head,keyptr,keylen_in,out) \ argument
589 if (out->hh.keylen == keylen_in) { \
590 if ((HASH_KEYCMP(out->hh.key,keyptr,keylen_in)) == 0) break; \