Lines Matching refs:location
52 free(entry_p->location); \
99 device_entry_create(const char *name, const char *location, const char *descr) in device_entry_create() argument
106 assert((name[0] != 0) || (location[0] != 0)); in device_entry_create()
108 if (name[0] == 0 && location[0] == 0) in device_entry_create()
116 strcmp(map->location_key, location) == 0) { in device_entry_create()
153 location_len = strlen(location) + 1; in device_entry_create()
167 strlcpy(map->location_key, location, location_len); in device_entry_create()
171 name, location, map->hrIndex); in device_entry_create()
174 name, location, map->hrIndex); in device_entry_create()
192 if ((entry->location = strdup(map->location_key)) == NULL) { in device_entry_create()
207 name_len = strlen(location) + strlen(descr) + in device_entry_create()
216 free(entry->location); in device_entry_create()
228 "unknown at %s: %s", location, descr); in device_entry_create()