/osnet-11/usr/src/lib/libresolv/ |
H A D | res_query.c | 232 char nbuf[2*MAXDNAME+2]; local 233 char *longname = nbuf; 252 if (name[n] == '.' && n < sizeof (nbuf) - 1) { 254 memcpy((void *)nbuf, (void *)name, n); 256 bcopy(name, nbuf, n); 258 nbuf[n] = '\0'; 262 (void) sprintf(nbuf, "%.*s.%.*s",
|
H A D | res_debug.c | 396 static char nbuf[40]; variable 453 (void) sprintf(nbuf, "%d", type); 454 return (nbuf); 474 (void) sprintf(nbuf, "%d", class); 475 return (nbuf); 490 strcpy(nbuf, "0 secs"); 491 return (nbuf); 502 p = nbuf; 524 return (nbuf);
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | util.c | 66 char *nbuf = sm_pmalloc_x(l); local 71 buf = nbuf;
|
/osnet-11/usr/src/lib/libeti/form/common/ |
H A D | field.c | 54 0, /* nbuf */ 142 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) argument 149 /* int nbuf; number of additional buffers */ 155 nbuf >= 0 && Alloc(f, FIELD)) { 165 f->nbuf = nbuf; 174 for (i = 0; i <= f->nbuf; ++i) 211 f->nbuf = field->nbuf; 262 f->nbuf 310 field_info(FIELD *f, int *rows, int *cols, int *frow, int *fcol, int *nrow, int *nbuf) argument [all...] |
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_query.c | 365 char nbuf[MAXDNAME]; local 366 const char *longname = nbuf; 386 strncpy(nbuf, name, n); 387 nbuf[n] = '\0'; 397 sprintf(nbuf, "%s.%s", name, domain);
|
H A D | res_debug.c | 687 char *nbuf = p_option_nbuf; local 721 default: sprintf(nbuf, "?0x%lx?", (u_long)option); 722 return (nbuf); 731 char *nbuf = p_time_nbuf; local 733 if (ns_format_ttl(value, nbuf, sizeof nbuf) < 0) 734 sprintf(nbuf, "%u", value); 735 return (nbuf);
|
/osnet-11/usr/src/lib/libndr/common/ |
H A D | ndr_marshal.c | 84 ndr_buf_t *nbuf; local 86 if ((nbuf = calloc(1, sizeof (ndr_buf_t))) == NULL) 89 if ((nbuf->nb_heap = ndr_heap_create()) == NULL) { 90 free(nbuf); 94 nbuf->nb_ti = ti; 95 nbuf->nb_magic = NDR_BUF_MAGIC; 96 return (nbuf); 100 ndr_buf_fini(ndr_buf_t *nbuf) argument 102 assert(nbuf->nb_magic == NDR_BUF_MAGIC); 104 nds_destruct(&nbuf 125 ndr_buf_decode(ndr_buf_t *nbuf, unsigned hdr_type, unsigned opnum, const char *data, size_t datalen, void *result) argument [all...] |
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | envelope.c | 1054 char nbuf[100]; local 1057 expand("\201n", nbuf, sizeof(nbuf), e); 1058 from = sm_rpool_strdup_x(e->e_rpool, nbuf);
|
H A D | domain.c | 790 char nbuf[SM_MAX(MAXPACKET, MAXDNAME*2+2)]; local 990 (RES_UNC_T) nbuf, sizeof(nbuf)); 1069 eom, ap, (RES_UNC_T) nbuf, 1070 sizeof(nbuf))) < 0) 1072 (void) sm_strlcpy(host, nbuf, hbsize); 1134 (void) sm_snprintf(nbuf, sizeof(nbuf), "%.*s%s%.*s", MAXDNAME, host, 1137 (void) sm_strlcpy(host, nbuf, hbsize);
|
H A D | map.c | 922 char nbuf[MAXNAME + 1]; local 924 p = get_column(line, i, '\0', nbuf, sizeof(nbuf)); 2805 char nbuf[MAXNAME + 1]; local 2810 if (sm_strlcpy(nbuf, name, sizeof(nbuf)) >= sizeof(nbuf)) 2815 (void) shorten_hostname(nbuf); 2816 keylen = strlen(nbuf); 2820 makelower(nbuf); 3185 char nbuf[MAXNAME + 1]; local 3820 char *nbuf; local 5456 char nbuf[MAXNAME]; local 5640 char nbuf[MAXNAME + 1]; local 5889 char nbuf[MAXNAME + 1]; local 6528 char nbuf[MAXNAME + 1]; local 7809 char *nbuf; local [all...] |
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | getprofattr.c | 146 char *nbuf; local 154 nbuf = alloca(blen); 156 (void) snprintf(nbuf, blen, "%s,%s", val1, 159 (void) _insert2kva(kv1, key, nbuf);
|
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | cmdline.c | 286 grub_uint32_t *nbuf; local 288 nbuf = grub_realloc (buf, sizeof (grub_uint32_t) * max_len); 289 if (nbuf) 290 buf = nbuf;
|
/osnet-11/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 378 char nbuf[INET6_ADDRSTRLEN]; /* address parser */ local 590 np = inet_ntop(AF_INET6, (void *)&v6addr, nbuf, 593 np = inet_ntop(af, (void *)cp, nbuf,
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getexecattr.c | 130 char *nbuf = newline + 1; local 131 int nlen = buf + lenstr - nbuf; 134 res = _str2execattr(nbuf, nlen, &nexec, nbuf, nlen + 1);
|
H A D | getutx.c | 1271 static int nbuf = 0; /* number of utmpbufs read from disk */ local 1298 nbuf++; /* Number of buf we have read in. */ 1305 *off = (((nbuf - 1) * UTMPNBUF) + idx) * sizeof (struct futmpx);
|
/osnet-11/usr/src/lib/libeti/form/inc/ |
H A D | form.h | 83 int nbuf; /* additional buffers */ member in struct:fieldnode
|
/osnet-11/usr/src/lib/libdevalloc/common/ |
H A D | libdevalloc.c | 1410 char *nbuf = NULL; local 1440 if ((nbuf = (char *)malloc(nsize + 1)) == NULL) 1442 nbuf[0] = '\0'; 1444 (void) strcpy(nbuf, actionstr); 1445 nlen = strlen(nbuf); 1450 len = snprintf(nbuf + plen, nlen - plen, "%s", line); 1452 free(nbuf); 1461 len = snprintf(nbuf + plen, nlen - plen, "%s", line); 1463 free(nbuf); 1468 len = strlen(nbuf) [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_consume.c | 2064 dtrace_bufdesc_t nbuf; local 2119 bzero(&nbuf, sizeof (dtrace_bufdesc_t)); 2121 if ((nbuf.dtbd_data = malloc(size)) == NULL) 2128 nbuf.dtbd_cpu = i; 2133 if (dt_ioctl(dtp, DTRACEIOC_BUFSNAP, &nbuf) == -1) { 2142 free(nbuf.dtbd_data); 2148 i, &nbuf, pf, rf, arg)) != 0) { 2149 free(nbuf.dtbd_data); 2154 free(nbuf.dtbd_data);
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 1139 struct netbuf nbuf; local 1150 nbuf.buf = (char *)&sa; 1151 nbuf.len = nbuf.maxlen = sizeof (sa); 1153 &addrs, &nbuf)) != 0) { 1160 _nderror = ndhostserv2hent(&nbuf, addrs, res->nss.host.hent, 1205 nbuf.buf = (char *)&sa; 1206 nbuf.len = nbuf.maxlen = sizeof (sa); 1208 &addrs, &nbuf)) ! 2334 ndhostserv2hent(struct netbuf *nbuf, struct nd_hostservlist *addrs, struct hostent *result, char *buffer, int buflen) argument [all...] |