Searched refs:namebuf (Results 1 - 25 of 212) sorted by relevance

123456789

/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dget_hostname.c59 char namebuf[MAXHOSTNAMELEN + 1]; local
76 if (gethostname(namebuf, sizeof(namebuf)) < 0)
78 namebuf[MAXHOSTNAMELEN] = 0;
80 if (valid_hostname(namebuf, DO_GRIPE) == 0)
83 my_host_name = mystrdup(namebuf);
/netbsd-current/sys/arch/pmax/stand/common/
H A Ddevopen.c50 char namebuf[20]; local
59 ncp = namebuf;
88 if (ncp < namebuf + sizeof(namebuf) - 1)
99 if (ncp < namebuf + sizeof(namebuf) - 1)
135 if (dp->dv_name && strcmp(namebuf, dp->dv_name) == 0)
137 printf("Unknown device '%s'\nKnown devices are:", namebuf);
146 if (strcmp(namebuf, "tftp") == 0)
147 rc = (dp->dv_open)(f, namebuf);
[all...]
/netbsd-current/external/mpl/bind/dist/bin/check/
H A Dcheck-tool.c167 char namebuf[DNS_NAME_FORMATSIZE + 1]; local
191 dns_name_format(name, namebuf, sizeof(namebuf) - 1);
196 strlcat(namebuf, ".", sizeof(namebuf));
200 result = getaddrinfo(namebuf, NULL, &hints, &ai);
201 dns_name_format(name, namebuf, sizeof(namebuf) - 1);
215 strcasecmp(cur->ai_canonname, namebuf) != 0 &&
216 !logged(namebuf, ERR_IS_CNAM
382 char namebuf[DNS_NAME_FORMATSIZE + 1]; local
469 char namebuf[DNS_NAME_FORMATSIZE + 1]; local
[all...]
/netbsd-current/sys/arch/alpha/stand/netboot/
H A Ddevopen.c52 char namebuf[20];
60 ncp = namebuf;
84 if (ncp < namebuf + sizeof(namebuf) - 1)
100 if (ncp < namebuf + sizeof(namebuf) - 1)
139 if (dp->dv_name && strcmp(namebuf, dp->dv_name) == 0)
141 printf("Unknown device '%s'\nKnown devices are:", namebuf);
/netbsd-current/sys/arch/sbmips/stand/netboot/
H A Ddevopen.c52 char namebuf[20];
59 ncp = namebuf;
84 if (ncp < namebuf + sizeof(namebuf) - 1)
100 if (ncp < namebuf + sizeof(namebuf) - 1)
139 if (dp->dv_name && strcmp(namebuf, dp->dv_name) == 0)
141 printf("Unknown device '%s'\nKnown devices are:", namebuf);
/netbsd-current/sys/arch/mipsco/stand/common/
H A Ddevopen.c50 char namebuf[20]; local
59 ncp = namebuf;
67 if (ncp < namebuf + sizeof(namebuf) - 1)
106 if (dp->dv_name && strcmp(namebuf, dp->dv_name) == 0)
108 printf("Unknown device '%s'\nKnown devices are:", namebuf);
117 if (strcmp(namebuf, "tftp") == 0)
118 rc = (dp->dv_open)(f, namebuf);
/netbsd-current/sys/arch/evbmips/stand/sbmips/netboot/
H A Ddevopen.c52 char namebuf[20];
59 ncp = namebuf;
84 if (ncp < namebuf + sizeof(namebuf) - 1)
100 if (ncp < namebuf + sizeof(namebuf) - 1)
139 if (dp->dv_name && strcmp(namebuf, dp->dv_name) == 0)
141 printf("Unknown device '%s'\nKnown devices are:", namebuf);
/netbsd-current/sys/arch/arc/stand/boot/
H A Ddevopen.c48 char namebuf[128]; local
118 strncpy(namebuf, fname, sizeof(namebuf));
119 namebuf[cp - fname] = 0;
121 printf("devopen: %s type %s file %s\n", namebuf, devtype, cp);
136 error = (dp->dv_open)(f, namebuf);
/netbsd-current/sys/arch/sgimips/stand/common/
H A Ddevopen.c51 char namebuf[128]; local
96 strncpy(namebuf, fname, sizeof(namebuf));
97 namebuf[cp - fname] = 0;
99 printf("devopen: %s type %s file %s\n", namebuf, devtype, cp);
114 error = (dp->dv_open)(f, namebuf);
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/misc/
H A Dcvsuser.c29 static char namebuf[100]; local
31 pw.pw_name = strcpy (namebuf, name);
/netbsd-current/external/mpl/bind/dist/lib/ns/
H A Dnotify.c83 char namebuf[DNS_NAME_FORMATSIZE]; local
135 dns_name_format(&tsigkey->name, namebuf, sizeof(namebuf));
142 namebuf, cnamebuf);
145 namebuf);
151 dns_name_format(zonename, namebuf, sizeof(namebuf));
164 "received notify for zone '%s'%s", namebuf,
174 namebuf, tsigbuf);
/netbsd-current/sys/dev/
H A Defi.c337 uint16_t *namebuf; local
355 namebuf = kmem_alloc(var->namesize, KM_SLEEP);
356 error = copyin(var->name, namebuf, var->namesize);
360 if (namebuf[var->namesize / 2 - 1] != '\0') {
374 status = efi_ops->efi_getvar(namebuf, &var->vendor, &var->attrib,
389 kmem_free(namebuf, var->namesize);
400 uint16_t *namebuf; local
413 namebuf = kmem_alloc(namebufsize, KM_SLEEP);
414 error = copyin(var->name, namebuf, namebufsize);
421 status = efi_ops->efi_nextvar(&namesize, namebuf,
443 uint16_t *namebuf; local
[all...]
/netbsd-current/external/mit/libuv/dist/src/unix/
H A Ddarwin-proctitle.c38 char namebuf[64]; /* MAXTHREADNAMESIZE */ local
41 strncpy(namebuf, name, sizeof(namebuf) - 1);
42 namebuf[sizeof(namebuf) - 1] = '\0';
44 err = pthread_setname_np(namebuf);
/netbsd-current/sys/arch/sparc/stand/boot/
H A Dprompatch.c257 char namebuf[32]; local
265 namebuf, sizeof(namebuf));
271 && strcmp(p->name, namebuf) == 0) {
/netbsd-current/sbin/fsck_lfs/
H A Dutilities.c186 getpathname(char *namebuf, size_t namebuflen, ino_t curdir, ino_t ino) argument
194 (void) strlcpy(namebuf, "/", namebuflen);
199 (void) strlcpy(namebuf, "?", namebuflen);
206 cp = &namebuf[MAXPATHLEN - 1];
222 idesc.id_name = namebuf;
227 len = strlen(namebuf);
229 memcpy(cp, namebuf, (size_t) len);
231 if (cp < &namebuf[LFS_MAXNAMLEN])
238 memcpy(namebuf, cp, (size_t) (&namebuf[MAXPATHLE
[all...]
/netbsd-current/usr.bin/mail/
H A Dsupport.c567 char namebuf[LINESIZE]; local
578 namebuf[0] = '\0';
580 return savestr(namebuf);
585 for (cp2 = &namebuf[strlen(namebuf)];
586 *cp && !is_WSP(*cp) && cp2 < namebuf + LINESIZE - 1;
591 return savestr(namebuf);
593 return savestr(namebuf);
595 return savestr(namebuf);
606 cp2 = namebuf;
[all...]
/netbsd-current/sys/arch/bebox/stand/boot/
H A Dboot.c58 char namebuf[NAMELEN]; variable
162 memset(namebuf, 0, sizeof (namebuf));
163 (void)tgets(namebuf);
165 ptr = namebuf;
/netbsd-current/sys/arch/mmeye/stand/boot/
H A Dboot.c108 char c, namebuf[PATH_MAX]; local
113 memset(namebuf, 0, sizeof namebuf);
116 if (tgets(namebuf) == -1)
119 ptr = namebuf;
/netbsd-current/sys/arch/prep/stand/boot/
H A Dboot.c57 char namebuf[NAMELEN]; variable
179 memset(namebuf, 0, sizeof (namebuf));
180 if (tgets(namebuf) == -1)
183 ptr = namebuf;
/netbsd-current/external/mpl/bind/dist/bin/dig/
H A Dnslookup.c155 char namebuf[DNS_NAME_FORMATSIZE]; local
160 dns_name_format(&soa.origin, namebuf, sizeof(namebuf));
161 printf("\torigin = %s\n", namebuf);
162 dns_name_format(&soa.contact, namebuf, sizeof(namebuf));
163 printf("\tmail addr = %s\n", namebuf);
220 char namebuf[DNS_NAME_FORMATSIZE]; local
248 dns_name_format(name, namebuf,
249 sizeof(namebuf));
288 char namebuf[DNS_NAME_FORMATSIZE]; local
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Dzoneverify.c220 char namebuf[DNS_NAME_FORMATSIZE]; local
233 dns_name_format(name, namebuf, sizeof(namebuf));
235 namebuf);
254 dns_name_format(name, namebuf, sizeof(namebuf));
260 namebuf, nextbuf, found);
274 dns_name_format(name, namebuf, sizeof(namebuf));
278 namebuf);
306 char namebuf[DNS_NAME_FORMATSIZE]; local
466 char namebuf[DNS_NAME_FORMATSIZE]; local
689 char namebuf[DNS_NAME_FORMATSIZE]; local
814 char namebuf[DNS_NAME_FORMATSIZE]; local
1042 char namebuf[DNS_NAME_FORMATSIZE]; local
1597 char namebuf[DNS_NAME_FORMATSIZE]; local
[all...]
/netbsd-current/external/mpl/bind/dist/lib/dns/
H A Dzoneverify.c219 char namebuf[DNS_NAME_FORMATSIZE]; local
232 dns_name_format(name, namebuf, sizeof(namebuf));
234 namebuf);
253 dns_name_format(name, namebuf, sizeof(namebuf));
259 namebuf, nextbuf, found);
273 dns_name_format(name, namebuf, sizeof(namebuf));
277 namebuf);
305 char namebuf[DNS_NAME_FORMATSIZE]; local
465 char namebuf[DNS_NAME_FORMATSIZE]; local
688 char namebuf[DNS_NAME_FORMATSIZE]; local
813 char namebuf[DNS_NAME_FORMATSIZE]; local
1041 char namebuf[DNS_NAME_FORMATSIZE]; local
1596 char namebuf[DNS_NAME_FORMATSIZE]; local
[all...]
/netbsd-current/sbin/fsck_ffs/
H A Dpass3.c61 char namebuf[MAXNAMLEN+1]; local
119 idesc.id_name = namebuf;
124 if (linkup(orphan, inp->i_parent, namebuf)) {
/netbsd-current/tests/kernel/kqueue/
H A Dt_sig.c65 char namebuf[32]; local
87 (void)strlcpy(namebuf, "EVFILT_SIGNAL", sizeof(namebuf));
88 km.name = namebuf;
/netbsd-current/usr.sbin/cpuctl/arch/
H A Darm.c171 char namebuf[24], valuebuf[12], tmpbuf[30]; local
185 name = namebuf;
186 snprintf(namebuf, sizeof(namebuf),

Completed in 451 milliseconds

123456789