Lines Matching defs:him
137 struct _mate *him;
168 him = malloc(sizeof (struct _mate));
169 if (!him) {
173 him->name = strdup(word);
174 if (!him->name) {
176 free(him);
179 him->state = STATE_OLD;
180 udev_list_node_append(&him->node, &bunch);
213 struct _mate *him = node_to_mate(him_node);
215 if (streq(him->name, us)) {
216 him->state = STATE_CONFIRMED;
217 who = him;
241 struct _mate *him = node_to_mate(him_node);
243 if (streq(him->name, us)) {
244 him->state = STATE_NONE;
245 who = him;
264 struct _mate *him = node_to_mate(him_node);
266 if (him->state == STATE_OLD) {
267 udev_list_node_remove(&him->node);
268 free(him->name);
269 free(him);
290 struct _mate *him = node_to_mate(him_node);
292 if (him->state == STATE_NONE) {
295 while (strlen(him->name)+1 >= bufsize) {
306 snprintf(buf, strlen(him->name)+2, "%s ", him->name);
329 struct _mate *him = node_to_mate(him_node);
331 switch (him->state) {
342 fprintf(stderr, "ID: %s=%s\n", him->name, state);
434 struct _mate *him = node_to_mate(him_node);
436 if (streq(him->name, argv[i]))
437 who = him;
440 struct _mate *him;
444 him = new(struct _mate, 1);
445 if (!him) {
450 him->name = strdup(argv[i]);
451 if (!him->name) {
452 free(him);
457 him->state = STATE_NONE;
458 udev_list_node_append(&him->node, &bunch);