• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/Libinfo-459/lookup.subproj/

Lines Matching defs:ent

339 	} ent;
345 ent.x = (char *)((uintptr_t)item + sizeof(si_item_t));
351 if ((which == SEL_NAME) && (string_equal(name, ent.u->pw_name))) return 1;
352 else if ((which == SEL_NUMBER) && (num == (uint32_t)ent.u->pw_uid)) return 1;
357 if ((which == SEL_NAME) && (string_equal(name, ent.g->gr_name))) return 1;
358 else if ((which == SEL_NUMBER) && (num == (uint32_t)ent.g->gr_gid)) return 1;
363 if ((which == SEL_NAME) && (string_equal(name, ent.l->gl_user))) return 1;
368 if ((which == SEL_NAME) && (string_equal(name, ent.a->alias_name))) return 1;
375 if (ent.h->h_addrtype != num) return 0;
378 if (string_equal(name, ent.h->h_name)) return 1;
379 if (ent.h->h_aliases != NULL)
381 for (i = 0; ent.h->h_aliases[i] != NULL; i++)
383 if (string_equal(name, ent.h->h_aliases[i])) return 1;
389 if (memcmp(name, ent.h->h_addr_list[0], ent.h->h_length) == 0) return 1;
397 if (string_equal(name, ent.n->n_name)) return 1;
398 if (ent.n->n_aliases != NULL)
400 for (i = 0; ent.n->n_aliases[i] != NULL; i++)
402 if (string_equal(name, ent.n->n_aliases[i])) return 1;
408 if (num == ent.n->n_net) return 1;
417 if ((num == 1) && (string_not_equal("udp", ent.s->s_proto))) return 0;
418 if ((num == 2) && (string_not_equal("tcp", ent.s->s_proto))) return 0;
420 if (string_equal(name, ent.s->s_name)) return 1;
421 if (ent.s->s_aliases != NULL)
423 for (i = 0; ent.s->s_aliases[i] != NULL; i++)
425 if (string_equal(name, ent.s->s_aliases[i])) return 1;
432 if ((name != NULL) && (string_not_equal(name, ent.s->s_proto))) return 0;
433 if (num == ent.s->s_port) return 1;
441 if (string_equal(name, ent.p->p_name)) return 1;
442 if (ent.p->p_aliases != NULL)
444 for (i = 0; ent.p->p_aliases[i] != NULL; i++)
446 if (string_equal(name, ent.p->p_aliases[i])) return 1;
452 if (num == ent.p->p_proto) return 1;
460 if (string_equal(name, ent.r->r_name)) return 1;
461 if (ent.r->r_aliases != NULL)
463 for (i = 0; ent.r->r_aliases[i] != NULL; i++)
465 if (string_equal(name, ent.r->r_aliases[i])) return 1;
471 if (num == ent.r->r_number) return 1;
477 if ((which == SEL_NAME) && (string_equal(name, ent.f->fs_spec))) return 1;
478 if ((which == SEL_NUMBER) && (string_equal(name, ent.f->fs_file))) return 1;
483 if ((which == SEL_NAME) && (string_equal(name, ent.m->host))) return 1;
484 if ((which == SEL_NUMBER) && (string_equal(name, ent.m->mac))) return 1;