Lines Matching refs:name
89 #define HT_DEF_KEY_FIELD(name, type) type name; argument
95 #define HT_DEF_KEY_FIELD_CHAR_ARRAY(name, size) \ argument
96 HT_DEF_KEY_FIELD(name[size], char)
101 #define HT_DEF_KEY_FIELD_UINT8T_ARRAY(name, size) \ argument
102 HT_DEF_KEY_FIELD(name[size], uint8_t)
169 #define IMPLEMENT_HT_VALUE_TYPE_FNS(vtype, name, pfx) \ argument
170 static uintptr_t name##_##vtype##_id = 0; \
171 pfx ossl_unused int ossl_ht_##name##_##vtype##_insert(HT *h, HT_KEY *key, \
179 inval.type_id = &name##_##vtype##_id; \
186 pfx ossl_unused vtype *ossl_ht_##name##_##vtype##_from_value(HT_VALUE *v) \
188 uintptr_t *expect_type = &name##_##vtype##_id; \
196 pfx ossl_unused vtype *ossl_unused ossl_ht_##name##_##vtype##_get(HT *h, \
205 return ossl_ht_##name##_##vtype##_from_value(*v); \
208 pfx ossl_unused HT_VALUE *ossl_ht_##name##_##vtype##_to_value(vtype *data, \
211 v->type_id = &name##_##vtype##_id; \
216 pfx ossl_unused int ossl_ht_##name##_##vtype##_type(HT_VALUE *h) \
218 return h->type_id == &name##_##vtype##_id; \
221 #define DECLARE_HT_VALUE_TYPE_FNS(vtype, name) \ argument
222 int ossl_ht_##name##_##vtype##_insert(HT *h, HT_KEY *key, vtype *data, \
224 vtype *ossl_ht_##name##_##vtype##_from_value(HT_VALUE *v); \
225 vtype *ossl_unused ossl_ht_##name##_##vtype##_get(HT *h, \
228 HT_VALUE *ossl_ht_##name##_##vtype##_to_value(vtype *data, HT_VALUE *v); \
229 int ossl_ht_##name##_##vtype##_type(HT_VALUE *h); \