Lines Matching defs:argp
45 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
51 for (s = argp->key.name; (c = *s) != '\0'; s++) {
56 if ((copy = strdup(argp->key.name)) == 0) {
59 for (mung = copy + (s - argp->key.name);
65 res = _nss_nis_lookup(be, argp, 1, "hosts.byname",
68 argp->h_errno = __nss2herrno(res);
72 res = _nss_nis_lookup(be, argp, 1,
73 "hosts.byname", argp->key.name, 0);
75 argp->h_errno = __nss2herrno(res);
84 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
93 if (argp->key.hostaddr.type != AF_INET ||
94 argp->key.hostaddr.len != sizeof (addr)) {
97 (void) memcpy(&addr, argp->key.hostaddr.addr, sizeof (addr));
98 res = _nss_nis_lookup(be, argp, 1, "hosts.byaddr",
101 argp->h_errno = __nss2herrno(res);