• Home
  • Raw
  • Download

Lines Matching refs:attr

46 	DICT_ATTR      *attr;  in rc_read_dictionary()  local
182 if ((attr = in rc_read_dictionary()
190 strcpy (attr->name, namestr); in rc_read_dictionary()
192 attr->vendorcode = vdict->vendorcode; in rc_read_dictionary()
194 attr->vendorcode = VENDOR_NONE; in rc_read_dictionary()
196 attr->value = value; in rc_read_dictionary()
197 attr->type = type; in rc_read_dictionary()
201 attr->next = vdict->attributes; in rc_read_dictionary()
202 vdict->attributes = attr; in rc_read_dictionary()
204 attr->next = dictionary_attributes; in rc_read_dictionary()
205 dictionary_attributes = attr; in rc_read_dictionary()
297 DICT_ATTR *attr; in rc_dict_getattr() local
301 attr = dictionary_attributes; in rc_dict_getattr()
302 while (attr != (DICT_ATTR *) NULL) { in rc_dict_getattr()
303 if (attr->value == attribute) { in rc_dict_getattr()
304 return (attr); in rc_dict_getattr()
306 attr = attr->next; in rc_dict_getattr()
313 attr = dict->attributes; in rc_dict_getattr()
314 while (attr) { in rc_dict_getattr()
315 if (attr->value == attribute) { in rc_dict_getattr()
316 return attr; in rc_dict_getattr()
318 attr = attr->next; in rc_dict_getattr()
334 DICT_ATTR *attr; in rc_dict_findattr() local
337 attr = dictionary_attributes; in rc_dict_findattr()
338 while (attr != (DICT_ATTR *) NULL) in rc_dict_findattr()
340 if (strcasecmp (attr->name, attrname) == 0) in rc_dict_findattr()
342 return (attr); in rc_dict_findattr()
344 attr = attr->next; in rc_dict_findattr()
350 attr = dict->attributes; in rc_dict_findattr()
351 while (attr) { in rc_dict_findattr()
352 if (strcasecmp (attr->name, attrname) == 0) { in rc_dict_findattr()
353 return (attr); in rc_dict_findattr()
355 attr = attr->next; in rc_dict_findattr()