Lines Matching defs:argp
71 check_name2(nss_XbyY_args_t *argp)
76 linep = (const char *)argp->buf.buffer;
77 limit = linep + strlen(argp->buf.buffer);
78 keyp = argp->key.serv.serv.name;
86 if (argp->key.serv.proto == NULL)
105 if ((keyp = argp->key.serv.proto) == NULL) {
132 keyp = argp->key.serv.serv.name;
156 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
157 const char *name = argp->key.serv.serv.name;
158 const char *proto = argp->key.serv.proto;
174 res = _nss_nis_lookup(be, argp, 1,
184 res = _nss_nis_lookup(be, argp, 1,
206 if (argp->buf.result != NULL)
207 return (_nss_nis_XY_all(be, argp, 1, name, check_name));
209 return (_nss_nis_XY_all(be, argp, 1, name, check_name2));
225 check_port2(nss_XbyY_args_t *argp)
231 linep = (const char *)argp->buf.buffer;
232 limit = linep + strlen(argp->buf.buffer);
255 if (s_port == argp->key.serv.serv.port) {
256 if ((keyp = argp->key.serv.proto) == NULL)
276 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
277 int port = ntohs(argp->key.serv.serv.port);
278 const char *proto = argp->key.serv.proto;
292 if (argp->buf.result != NULL)
293 return (_nss_nis_XY_all(be, argp, 1, portstr,
296 return (_nss_nis_XY_all(be, argp, 1, portstr,
306 res = _nss_nis_lookup(be, argp, 1, "services.byname", key, 0);