/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | rename.c | 34 char buf2[256]; local 47 strcpy(buf2, path2); 48 strcat(buf2, "x"); 49 path2 = buf2; 52 strcpy(buf2, path2); 53 strcat(buf2, "x"); 54 path2 = buf2;
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | rename.c | 33 char buf2[256]; local 38 strcpy(buf2, path2); 39 strcat(buf2, "x"); 40 path2 = buf2; 43 strcpy(buf2, path2); 44 strcat(buf2, "x"); 45 path2 = buf2;
|
/illumos-gate/usr/src/cmd/adbgen/common/ |
H A D | adbgen4.c | 44 char buf1[BUFSIZE], buf2[BUFSIZE]; variable 57 cur = buf2;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | input.c | 43 static char buf2[INET6_ADDRSTRLEN]; variable 234 (void *)&n->rip6_prefix, buf2, 235 sizeof (buf2)), 347 buf2, sizeof (buf2)), 374 buf2, sizeof (buf2)), 418 (void *)&n->rip6_prefix, buf2, 419 sizeof (buf2)),
|
H A D | tables.c | 87 char buf2[INET6_ADDRSTRLEN]; local 91 (void) inet_ntop(AF_INET6, (void *) &orig->rt_router, buf2, local 92 sizeof (buf2)); 97 buf1, buf2, 109 char buf2[INET6_ADDRSTRLEN]; local 112 (void) inet_ntop(AF_INET6, (void *)&rt->rt_router, buf2, sizeof (buf2)); local 115 buf1, buf2,
|
/illumos-gate/usr/src/cmd/fs.d/nfs/rp_basic/ |
H A D | libnfs_basic.c | 103 char *p, *sp, *dp, buf2[SYMLINK_MAX]; local 167 dp = buf2; 168 bzero(buf2, sizeof (buf2)); 192 printf("get_fs_locations: host %s\n", buf2); 208 str_to_utf8(buf2, 211 dp = buf2; 212 bzero(buf2, sizeof (buf2)); 220 printf("get_fs_locations: path %s\n", buf2); [all...] |
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getnetent.c | 147 * buf2 is untruncated version. 150 static int nettoa(int anet, char *buf, char *buf2, int buflen) argument 156 if (buf == NULL || buf2 == NULL) 161 if (inet_ntop(AF_INET, (const void *)&in, buf2, INET_ADDRSTRLEN) 164 if (strlcpy(buf, buf2, buflen) >= buflen)
|
H A D | gethostent.c | 81 char *buf1, *buf2; local 129 buf2 = other_hosts; 162 len = snprintf(buf2, buflen2, "\n%s ", ips[0]); 163 TEST_AND_ADJUST(len, buf2, buflen2, result_host2str);
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer6.c | 34 char buf1[BUFSIZ], buf2[50]; local 88 tx = revauth(tx, buf2);
|
/illumos-gate/usr/src/cmd/abi/spectrans/parser/ |
H A D | extends.c | 52 char *localvalue = NULL, *buf2 = NULL; local 122 while (M.mi_nlines = readline(&buf2, efp)) { 125 if (!non_empty(buf2)) { /* is line non empty */ 126 free(buf2); 127 buf2 = NULL; 130 p = realloc(localvalue, sizeof (char)*(strlen(buf2)+1)); 136 split(buf2, key, localvalue); 142 free(buf2); 143 buf2 = NULL; 194 free(buf2); 315 char key[20], buf[BUFSIZ], *buf2 = NULL, *localvalue = NULL, *p; local [all...] |
H A D | frontend.c | 161 char *buf2 = NULL; local 205 while (meta_info.mi_nlines = readline(&buf2, spec_fp)) { 208 if (!non_empty(buf2)) { 209 free(buf2); 210 buf2 = NULL; 213 p = realloc(value, sizeof (char)*(strlen(buf2)+1)); 220 split(buf2, key, value); 309 free(buf2); 310 buf2 = NULL;
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | asn1.c | 896 CK_BYTE *buf2 = NULL; local 955 rc = ber_encode_INTEGER(FALSE, &buf2, &len, version, sizeof (version)); 959 (void) memcpy(buf + offset, buf2, len); 961 free(buf2); 963 rc = ber_encode_INTEGER(FALSE, &buf2, &len, 968 (void) memcpy(buf + offset, buf2, len); 970 free(buf2); 972 rc = ber_encode_INTEGER(FALSE, &buf2, &len, 977 (void) memcpy(buf + offset, buf2, len); 979 free(buf2); [all...] |
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | nss.c | 92 char buf[128], buf2[128]; local 129 snprintf(buf2, sizeof (buf2), "/etc/lp/classes/%s", printer); 130 if ((access(buf, F_OK) < 0) && (access(buf2, F_OK) < 0)) {
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_verify.c | 236 u_char buf2[MAXDNAME]; local 253 n = ns_name_pton(name, buf2, sizeof(buf2)); 256 n = ns_name_ntol(buf2, buf, sizeof(buf)); 267 n = ns_name_pton(alg, buf2, sizeof(buf2)); 270 n = ns_name_ntol(buf2, buf, sizeof(buf));
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | config_parsing.c | 548 char *buf2 = NULL; local 567 buf2 = malloc(TOKEN_LABEL_SIZE); 573 (void) strcpy(buf2, (const char *) puent->metaslot_ks_token); 574 *objectstore_token_info = buf2; 585 if (buf2 != NULL) { 586 free(buf2);
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | sections.c | 273 dbg_isec_name_buf_t buf1, buf2; local 279 dbg_fmt_isec_name(disp, buf2, &alloc_mem2),
|
/illumos-gate/usr/src/cmd/plimit/ |
H A D | plimit.c | 365 char buf2[32]; local 380 (void) sprintf(s2 = buf2, "%lld", rp->rlim_max);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | parms.c | 612 char buf[PARMS_MAXLINELEN], buf2[PARMS_MAXLINELEN]; local 860 if (0 > parse_quote(&p, "|", &delim, buf2, 861 sizeof (buf2)) || !gethost(buf2, &addr)) 872 0 > parse_quote(&p, "|", &delim, buf2, 873 sizeof (buf2)) || 874 !getnet(buf2, &tg->tgate_nets[i].net,
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | main.c | 776 char buf1[15], buf2[15]; local 784 derive_str(f_end, buf2); 800 (void) strcat(f_newfile, buf2);
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_proto.c | 117 int8_t buf2[25]; local 121 bzero(buf2, sizeof (buf2)); 125 (void) snprintf(buf2, sizeof (buf2), "NODS %s", 127 (void) strncat(buf1, buf2, sizeof (buf2)); 128 (void) snprintf(buf2, sizeof (buf2), "->%s", 130 (void) strncat(buf1, buf2, sizeo [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkupdate.c | 89 char buf2[MAXDNAME]; local 211 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 213 if (!inet_aton(buf2, &ina)) 226 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 228 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr); 238 if (!getword_str(buf2, sizeof buf2, &startp, 241 n = dn_comp(buf2, c [all...] |
/illumos-gate/usr/src/lib/libsysevent/ |
H A D | libevchannel.c | 863 char *buf2 = NULL; /* allocated if stack buf too small */ local 888 (buf2 == NULL || uargs.generation != expgen)) { 889 if (buf2 != NULL) 890 free(buf2); 895 bufp = buf2 = malloc(sz); 897 if (buf2 == NULL) 913 if (buf2 != NULL) 914 free(buf2);
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.tchar.c | 244 char buf2[BUFSIZ]; local 247 tstostr(buf2, s2); 248 return (strcoll(buf1, buf2));
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util_machelf.c | 267 static Conv_inv_buf_t buf1, buf2; local 284 buf = (buf == &buf1) ? &buf2 : &buf1; /* Switch buffers */
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | sd_diag.c | 64 int buf2[MAXBUF]; variable 252 r = pread(fd, buf2, bufsize, (off_t)(seekpos << SCTRSHFT)); 292 r = pread(fd, buf2, bufsize, (off_t)(seekpos << SCTRSHFT)); 298 if (memcmp(buf1, buf2, bufsize)) { 340 buf2[0] = '\0'; /* clear buf to make sure something is read */ 341 r = pread(fd, buf2, bufsize, (off_t)(seekpos[i] << SCTRSHFT)); 347 if (memcmp(buf1, buf2, bufsize)) { 379 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT); 393 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT); 439 buf2[ [all...] |