Lines Matching refs:type
120 ret = a->type - b->type;
123 && (sk_NAME_FUNCS_num(name_funcs_stack) > a->type)) {
125 a->type)->cmp_func(a->name, b->name);
139 && (sk_NAME_FUNCS_num(name_funcs_stack) > a->type)) {
142 a->type)->hash_func(a->name);
146 ret ^= a->type;
150 const char *OBJ_NAME_get(const char *name, int type)
160 alias = type & OBJ_NAME_ALIAS;
161 type &= ~OBJ_NAME_ALIAS;
164 on.type = type;
180 int OBJ_NAME_add(const char *name, int type, const char *data)
188 alias = type & OBJ_NAME_ALIAS;
189 type &= ~OBJ_NAME_ALIAS;
199 onp->type = type;
206 && (sk_NAME_FUNCS_num(name_funcs_stack) > ret->type)) {
212 ret->type)->free_func(ret->name, ret->type,
225 int OBJ_NAME_remove(const char *name, int type)
232 type &= ~OBJ_NAME_ALIAS;
234 on.type = type;
239 && (sk_NAME_FUNCS_num(name_funcs_stack) > ret->type)) {
245 ret->type)->free_func(ret->name, ret->type,
255 int type;
262 if (name->type == d->type)
268 void OBJ_NAME_do_all(int type, void (*fn) (const OBJ_NAME *, void *arg),
273 d.type = type;
282 int type;
291 if (name->type != d->type)
305 void OBJ_NAME_do_all_sorted(int type,
312 d.type = type;
318 OBJ_NAME_do_all(type, do_all_sorted_fn, &d);
336 if (free_type < 0 || free_type == onp->type)
337 OBJ_NAME_remove(onp->name, onp->type);
347 void OBJ_NAME_cleanup(int type)
354 free_type = type;
359 if (type < 0) {