Home
last modified time | relevance | path

Searched refs:outkey (Results 1 – 9 of 9) sorted by relevance

/netbsd/src/lib/libc/yp/
Dyp_first.c48 yp_first(const char *indomain, const char *inmap, char **outkey, in __weak_alias()
56 if (outkey == NULL || outkeylen == NULL || \ in __weak_alias()
59 *outkey = *outval = NULL; in __weak_alias()
89 if ((*outkey = malloc((size_t)(*outkeylen + 1))) == NULL) in __weak_alias()
92 (void)memcpy(*outkey, yprkv.keydat.dptr, in __weak_alias()
94 (*outkey)[*outkeylen] = '\0'; in __weak_alias()
108 if (*outkey) { in __weak_alias()
109 free(*outkey); in __weak_alias()
110 *outkey = NULL; in __weak_alias()
122 int inkeylen, char **outkey, int *outkeylen, char **outval, int *outvallen) in yp_next() argument
[all …]
/netbsd/src/usr.sbin/ypserv/common/
Dyplib_host.c160 yp_first_host(CLIENT *client, char *indomain, char *inmap, char **outkey, in yp_first_host() argument
167 *outkey = *outval = NULL; in yp_first_host()
181 *outkey = (char *)malloc(*outkeylen+1); in yp_first_host()
182 memcpy(*outkey, yprkv.keydat.dptr, *outkeylen); in yp_first_host()
183 (*outkey)[*outkeylen] = '\0'; in yp_first_host()
195 int inkeylen, char **outkey, int *outkeylen, char **outval, in yp_next_host() argument
202 *outkey = *outval = NULL; in yp_next_host()
218 *outkey = (char *)malloc(*outkeylen+1); in yp_next_host()
219 memcpy(*outkey, yprkv.keydat.dptr, *outkeylen); in yp_next_host()
220 (*outkey)[*outkeylen] = '\0'; in yp_next_host()
Dyplib_host.h36 char **outkey, int *outkeylen, char **outval,
39 char *inkey, int inkeylen, char **outkey,
/netbsd/src/distrib/utils/libhack/
Dyplib.c188 yp_first(indomain, inmap, outkey, outkeylen, outval, outvallen) in yp_first() argument
191 char **outkey;
197 *outkey = *outval = NULL;
204 yp_next(indomain, inmap, inkey, inkeylen, outkey, outkeylen, outval, outvallen) in yp_next() argument
209 char **outkey;
214 *outkey = *outval = NULL;
/netbsd/src/external/bsd/am-utils/dist/amd/
Dinfo_nis.c402 char *outkey, *outval; in am_yp_all() local
409 i = yp_first(indomain, inmap, &outkey, &outkeylen, &outval, &outvallen); in am_yp_all()
415 outkey, in am_yp_all()
430 outkey_old = outkey; in am_yp_all()
436 &outkey, in am_yp_all()
/netbsd/src/external/bsd/mdocml/dist/
Dmansearch.c95 size_t cur, i, maxres, outkey; in mansearch() local
109 outkey = KEY_Nd; in mansearch()
110 if (search->outkey != NULL) in mansearch()
112 if (0 == strcasecmp(search->outkey, in mansearch()
114 outkey = im; in mansearch()
201 mpage->output = buildoutput(outkey, page); in mansearch()
Dmansearch.h103 const char *outkey; /* show content of this macro */ member
Dmain.c173 search.outkey = "Nd"; in main()
299 search.outkey = oarg; in main()
919 search.outkey = NULL; in check_xr()
Dcgi.c976 search.outkey = "Nd"; in pg_search()