| /onnv-gate/usr/src/cmd/abi/spectrans/parser/ |
| H A D | extends.c | 52 char *localvalue = NULL, *buf2 = NULL; in do_extends() local 122 while (M.mi_nlines = readline(&buf2, efp)) { in do_extends() 125 if (!non_empty(buf2)) { /* is line non empty */ in do_extends() 126 free(buf2); in do_extends() 127 buf2 = NULL; in do_extends() 130 p = realloc(localvalue, sizeof (char)*(strlen(buf2)+1)); in do_extends() 136 split(buf2, key, localvalue); in do_extends() 142 free(buf2); in do_extends() 143 buf2 = NULL; in do_extends() 194 free(buf2); in do_extends() [all …]
|
| H A D | frontend.c | 161 char *buf2 = NULL; in read_spec() local 205 while (meta_info.mi_nlines = readline(&buf2, spec_fp)) { in read_spec() 208 if (!non_empty(buf2)) { in read_spec() 209 free(buf2); in read_spec() 210 buf2 = NULL; in read_spec() 213 p = realloc(value, sizeof (char)*(strlen(buf2)+1)); in read_spec() 220 split(buf2, key, value); in read_spec() 309 free(buf2); in read_spec() 310 buf2 = NULL; in read_spec()
|
| /onnv-gate/usr/src/uts/common/io/net80211/ |
| H A D | net80211_proto.c | 113 int8_t buf2[25]; in ieee80211_dump_pkt() local 117 bzero(buf2, sizeof (buf2)); in ieee80211_dump_pkt() 121 (void) snprintf(buf2, sizeof (buf2), "NODS %s", in ieee80211_dump_pkt() 123 (void) strncat(buf1, buf2, sizeof (buf2)); in ieee80211_dump_pkt() 124 (void) snprintf(buf2, sizeof (buf2), "->%s", in ieee80211_dump_pkt() 126 (void) strncat(buf1, buf2, sizeof (buf2)); in ieee80211_dump_pkt() 127 (void) snprintf(buf2, sizeof (buf2), "(%s)", in ieee80211_dump_pkt() 129 (void) strncat(buf1, buf2, sizeof (buf2)); in ieee80211_dump_pkt() 132 (void) snprintf(buf2, sizeof (buf2), "TODS %s", in ieee80211_dump_pkt() 134 (void) strncat(buf1, buf2, sizeof (buf2)); in ieee80211_dump_pkt() [all …]
|
| /onnv-gate/usr/src/lib/libresolv2/common/resolv/ |
| H A D | res_mkupdate.c | 89 char buf2[MAXDNAME]; in res_nmkupdate() local 211 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate() 213 if (!inet_aton(buf2, &ina)) in res_nmkupdate() 226 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate() 228 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr); in res_nmkupdate() 238 if (!getword_str(buf2, sizeof buf2, &startp, in res_nmkupdate() 241 n = dn_comp(buf2, cp, buflen, in res_nmkupdate() 280 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate() 282 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr); in res_nmkupdate() 307 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate() [all …]
|
| /onnv-gate/usr/src/lib/libbc/libc/sys/sys5/ |
| H A D | rename.c | 33 char buf2[256]; in rename() local 38 strcpy(buf2, path2); in rename() 39 strcat(buf2, "x"); in rename() 40 path2 = buf2; in rename() 43 strcpy(buf2, path2); in rename() 44 strcat(buf2, "x"); in rename() 45 path2 = buf2; in rename()
|
| /onnv-gate/usr/src/lib/libbc/libc/sys/4.2/ |
| H A D | rename.c | 34 char buf2[256]; in rename() local 47 strcpy(buf2, path2); in rename() 48 strcat(buf2, "x"); in rename() 49 path2 = buf2; in rename() 52 strcpy(buf2, path2); in rename() 53 strcat(buf2, "x"); in rename() 54 path2 = buf2; in rename()
|
| /onnv-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
| H A D | emlxs_dump.c | 984 char buf2[256]; in emlxs_dump_word_txtfile() local 1000 buf2[0] = 0; in emlxs_dump_word_txtfile() 1004 (void) strcat(buf2, buf1); in emlxs_dump_word_txtfile() 1007 (void) strcat(buf2, buf1); in emlxs_dump_word_txtfile() 1008 (void) emlxs_fwrite((uint8_t *)buf2, strlen(buf2), 1, in emlxs_dump_word_txtfile() 1029 char buf2[1024]; in emlxs_dump_byte_txtfile() local 1047 buf2[0] = 0; in emlxs_dump_byte_txtfile() 1051 (void) strcat(buf2, buf1); in emlxs_dump_byte_txtfile() 1055 (void) strcat(buf2, buf1); in emlxs_dump_byte_txtfile() 1059 (void) strcat(buf2, buf1); in emlxs_dump_byte_txtfile() [all …]
|
| /onnv-gate/usr/src/cmd/fs.d/nfs/rp_basic/ |
| H A D | libnfs_basic.c | 103 char *p, *sp, *dp, buf2[SYMLINK_MAX]; in get_fs_locations() local 167 dp = buf2; in get_fs_locations() 168 bzero(buf2, sizeof (buf2)); in get_fs_locations() 192 printf("get_fs_locations: host %s\n", buf2); in get_fs_locations() 208 str_to_utf8(buf2, in get_fs_locations() 211 dp = buf2; in get_fs_locations() 212 bzero(buf2, sizeof (buf2)); in get_fs_locations() 220 printf("get_fs_locations: path %s\n", buf2); in get_fs_locations() 222 (void) make_pathname4(buf2, &fsl_array[i].rootpath); in get_fs_locations() 225 dp = buf2; in get_fs_locations() [all …]
|
| /onnv-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
| H A D | asn1.c | 896 CK_BYTE *buf2 = NULL; in ber_encode_RSAPrivateKey() local 955 rc = ber_encode_INTEGER(FALSE, &buf2, &len, version, sizeof (version)); in ber_encode_RSAPrivateKey() 959 (void) memcpy(buf + offset, buf2, len); in ber_encode_RSAPrivateKey() 961 free(buf2); in ber_encode_RSAPrivateKey() 963 rc = ber_encode_INTEGER(FALSE, &buf2, &len, in ber_encode_RSAPrivateKey() 968 (void) memcpy(buf + offset, buf2, len); in ber_encode_RSAPrivateKey() 970 free(buf2); in ber_encode_RSAPrivateKey() 972 rc = ber_encode_INTEGER(FALSE, &buf2, &len, in ber_encode_RSAPrivateKey() 977 (void) memcpy(buf + offset, buf2, len); in ber_encode_RSAPrivateKey() 979 free(buf2); in ber_encode_RSAPrivateKey() [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/err/ |
| H A D | err_prn.c | 71 char buf2[4096]; in ERR_print_errors_cb() local 80 BIO_snprintf(buf2, sizeof(buf2), "%lu:%s:%s:%d:%s\n", es, buf, in ERR_print_errors_cb() 82 cb(buf2, strlen(buf2), u); in ERR_print_errors_cb()
|
| /onnv-gate/usr/src/common/openssl/crypto/rc5/ |
| H A D | rc5test.c | 241 unsigned char buf[8],buf2[8],ivb[8]; in main() local 262 RC5_32_ecb_encrypt(buf,buf2,&key,RC5_DECRYPT); in main() 263 if (memcmp(&(RC5plain[n][0]),buf2,8) != 0) in main() 268 printf("%02X ",buf2[i]); in main() 305 RC5_32_cbc_encrypt(buf,buf2,8, in main() 307 if (memcmp(&(rc5_cbc_plain[n][0]),buf2,8) != 0) in main() 312 printf("%02X ",buf2[i]); in main()
|
| /onnv-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)); in do_sdtest1() 292 r = pread(fd, buf2, bufsize, (off_t)(seekpos << SCTRSHFT)); in do_sdtest2() 298 if (memcmp(buf1, buf2, bufsize)) { in do_sdtest2() 340 buf2[0] = '\0'; /* clear buf to make sure something is read */ in do_sdtest3() 341 r = pread(fd, buf2, bufsize, (off_t)(seekpos[i] << SCTRSHFT)); in do_sdtest3() 347 if (memcmp(buf1, buf2, bufsize)) { in do_sdtest3() 379 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT); in do_sdtest4() 393 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT); in do_sdtest4() 439 buf2[0] = '\0'; /* clear buf to make sure something is read */ in do_sdtest5() [all …]
|
| /onnv-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, in rip_input() 235 sizeof (buf2)), in rip_input() 347 buf2, sizeof (buf2)), in rip_input() 374 buf2, sizeof (buf2)), in rip_input() 418 (void *)&n->rip6_prefix, buf2, in rip_input() 419 sizeof (buf2)), in rip_input()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/t/ |
| H A D | encoding.t | 102 my $buf2; 103 read(RUSSKI, $buf2, 1); 106 ord($buf2) == (ord('A') == 193) ? 0x6f : 0x3f && 112 join(" ", unpack("H*", $buf2)), $offset;
|
| /onnv-gate/usr/src/cmd/hal/hald/ |
| H A D | device_info.c | 1197 char buf2[256]; in end() local 1223 strncpy (buf2, existing_string, sizeof (buf2)); in end() 1224 strncat (buf2, buf, sizeof (buf2) - strlen(buf2)); in end() 1226 strncpy (buf2, buf, sizeof (buf2)); in end() 1228 hal_device_property_set_string (pc->device, pc->merge_key, buf2); in end() 1235 char buf2[256]; in end() local 1261 strncpy (buf2, buf, sizeof (buf2)); in end() 1262 strncat (buf2, existing_string, sizeof (buf2) - strlen(buf2)); in end() 1264 strncpy (buf2, buf, sizeof (buf2)); in end() 1266 hal_device_property_set_string (pc->device, pc->merge_key, buf2); in end()
|
| /onnv-gate/usr/src/lib/nsswitch/ldap/common/ |
| H A D | getnetent.c | 150 static int nettoa(int anet, char *buf, char *buf2, int buflen) in nettoa() argument 156 if (buf == NULL || buf2 == NULL) in nettoa() 161 if (inet_ntop(AF_INET, (const void *)&in, buf2, INET_ADDRSTRLEN) in nettoa() 164 if (strlcpy(buf, buf2, buflen) >= buflen) in nettoa()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/utils/port/ |
| H A D | EditedFiles | 39 my ($buf1, $buf2); 41 $len2 = sysread($fh2, $buf2, 4096); 43 if ($len1 != $len2 || $buf1 ne $buf2) {
|
| /onnv-gate/usr/src/lib/libresolv2/common/nameser/ |
| H A D | ns_verify.c | 236 u_char buf2[MAXDNAME]; in ns_verify() local 253 n = ns_name_pton(name, buf2, sizeof(buf2)); in ns_verify() 256 n = ns_name_ntol(buf2, buf, sizeof(buf)); in ns_verify() 267 n = ns_name_pton(alg, buf2, sizeof(buf2)); in ns_verify() 270 n = ns_name_ntol(buf2, buf, sizeof(buf)); in ns_verify()
|
| /onnv-gate/usr/src/lib/libparted/common/lib/ |
| H A D | localcharset.c | 153 char buf2[50+1]; in get_charset_aliases() local 173 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) in get_charset_aliases() 176 l2 = strlen (buf2); in get_charset_aliases() 197 strcpy (res_ptr + res_size - (l2 + 1), buf2); in get_charset_aliases()
|
| /onnv-gate/usr/src/cmd/adbgen/common/ |
| H A D | adbgen4.c | 44 char buf1[BUFSIZE], buf2[BUFSIZE]; variable 57 cur = buf2; in main()
|
| /onnv-gate/usr/src/common/openssl/crypto/rc2/ |
| H A D | rc2test.c | 146 unsigned char buf[8],buf2[8]; in main() local 167 RC2_ecb_encrypt(buf,buf2,&key,RC2_DECRYPT); in main() 168 if (memcmp(&(RC2plain[n][0]),buf2,8) != 0) in main()
|
| /onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/ |
| H A D | bsd-snprintf.c | 666 char buf2[LONG_STRING]; in main() local 718 sprintf (buf2, fp_fmt[x], fp_nums[y]); in main() 719 if (strcmp (buf1, buf2)) { in main() 722 fp_fmt[x], buf1, buf2); in main() 731 sprintf(buf2, int_fmt[x], int_nums[y]); in main() 732 if (strcmp (buf1, buf2)) { in main() 735 int_fmt[x], buf1, buf2); in main()
|
| /onnv-gate/usr/src/common/openssl/crypto/dsa/ |
| H A D | dsa_gen.c | 107 unsigned char buf[SHA_DIGEST_LENGTH],buf2[SHA_DIGEST_LENGTH]; in dsa_builtin_paramgen() local 166 memcpy(buf2,seed,SHA_DIGEST_LENGTH); in dsa_builtin_paramgen() 176 EVP_Digest(buf,SHA_DIGEST_LENGTH,buf2,NULL,HASH, NULL); in dsa_builtin_paramgen() 178 md[i]^=buf2[i]; in dsa_builtin_paramgen()
|
| /onnv-gate/usr/src/lib/libcryptoutil/common/ |
| H A D | config_parsing.c | 548 char *buf2 = NULL; in get_metaslot_info() local 567 buf2 = malloc(TOKEN_LABEL_SIZE); in get_metaslot_info() 573 (void) strcpy(buf2, (const char *) puent->metaslot_ks_token); in get_metaslot_info() 574 *objectstore_token_info = buf2; in get_metaslot_info() 585 if (buf2 != NULL) { in get_metaslot_info() 586 free(buf2); in get_metaslot_info()
|
| /onnv-gate/usr/src/lib/libsysevent/ |
| H A D | libevchannel.c | 863 char *buf2 = NULL; /* allocated if stack buf too small */ in sysevent_evc_getpropnvl() local 888 (buf2 == NULL || uargs.generation != expgen)) { in sysevent_evc_getpropnvl() 889 if (buf2 != NULL) in sysevent_evc_getpropnvl() 890 free(buf2); in sysevent_evc_getpropnvl() 895 bufp = buf2 = malloc(sz); in sysevent_evc_getpropnvl() 897 if (buf2 == NULL) in sysevent_evc_getpropnvl() 913 if (buf2 != NULL) in sysevent_evc_getpropnvl() 914 free(buf2); in sysevent_evc_getpropnvl()
|