/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | cmp.c | 40 char *buf2 = 0; local 62 buf2 = grub_malloc (BUFFER_SIZE); 64 if (! buf1 || ! buf2) 72 rd2 = grub_file_read (file2, buf2, BUFFER_SIZE); 79 if (buf1[i] != buf2[i]) 83 args[0], buf2[i], args[1]); 99 grub_free (buf2);
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/ |
H A D | raid5_recover.c | 34 char *buf2; local 38 buf2 = grub_malloc (size); 39 if (!buf2) 53 0, size, buf2); 57 grub_free (buf2); 61 grub_crypto_xor (buf, buf2, buf2, size); 64 grub_free (buf2);
|
/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | localcharset.c | 194 char buf2[50+1]; local 214 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) 217 l2 = strlen (buf2); 238 strcpy (res_ptr + res_size - (l2 + 1), buf2);
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | localcharset.c | 192 char buf2[50+1]; local 212 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) 215 l2 = strlen (buf2); 236 strcpy (res_ptr + res_size - (l2 + 1), buf2);
|
/osnet-11/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 | 79 char *buf1, *buf2; local 127 buf2 = other_hosts; 160 len = snprintf(buf2, buflen2, "\n%s ", ips[0]); 161 TEST_AND_ADJUST(len, buf2, buflen2, result_host2str);
|
/osnet-11/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));
|
/osnet-11/usr/src/lib/libcryptoutil/common/ |
H A D | config_parsing.c | 546 char *buf2 = NULL; local 565 buf2 = malloc(TOKEN_LABEL_SIZE); 571 (void) strcpy(buf2, (const char *) puent->metaslot_ks_token); 572 *objectstore_token_info = buf2; 583 if (buf2 != NULL) { 584 free(buf2);
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | asn1.c | 892 CK_BYTE *buf2 = NULL; local 951 rc = ber_encode_INTEGER(FALSE, &buf2, &len, version, sizeof (version)); 955 (void) memcpy(buf + offset, buf2, len); 957 free(buf2); 959 rc = ber_encode_INTEGER(FALSE, &buf2, &len, 964 (void) memcpy(buf + offset, buf2, len); 966 free(buf2); 968 rc = ber_encode_INTEGER(FALSE, &buf2, &len, 973 (void) memcpy(buf + offset, buf2, len); 975 free(buf2); [all...] |
/osnet-11/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...] |
H A D | res_send.c | 261 * in (buf1,eom1) and (buf2,eom2)? 273 const u_char *buf2, const u_char *eom2) 278 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2) 286 (((const HEADER *)buf2)->opcode == ns_o_update)) 289 if (qdcount != ntohs(((const HEADER*)buf2)->qdcount)) 303 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) 272 res_queriesmatch(const u_char *buf1, const u_char *eom1, const u_char *buf2, const u_char *eom2) argument
|
/osnet-11/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);
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | getroot.c | 1655 char *p, *buf, *buf2, *buf3, *ret; local 1679 buf2 = xstrdup (buf); 1712 grub_free (grub_find_root_device_from_mountinfo (buf2, &bind)); 1721 free (buf2); 1740 buf3 = xstrdup (buf2 + offset); 1741 buf2[offset] = 0; 1745 grub_free (grub_find_root_device_from_mountinfo (buf2, &bind)); 1756 free (buf2);
|
/osnet-11/usr/src/cmd/hal/hald/ |
H A D | device_info.c | 1197 char buf2[256]; local 1223 strncpy (buf2, existing_string, sizeof (buf2)); 1224 strncat (buf2, buf, sizeof (buf2) - strlen(buf2)); 1226 strncpy (buf2, buf, sizeof (buf2)); 1228 hal_device_property_set_string (pc->device, pc->merge_key, buf2); 1235 char buf2[25 local [all...] |
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfscmp.c | 492 static int cmp_buffer(u8 *buf1, u8 *buf2, long long int size, ntfs_attr *na) argument 494 if (memcmp(buf1, buf2, size)) { 604 u8 buf2[NTFS_BUF_SIZE]; local 609 count2 = ntfs_attr_pread(na2, pos, NTFS_BUF_SIZE, buf2); 638 if (cmp_buffer(buf1, buf2, count1, na1))
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | pkgweb.c | 2688 char *buf, *buf2, *beg_str; local 2694 if ((buf2 = (char *)xmalloc(PATH_MAX)) == NULL) { 2699 buf[0] = buf2[0] = '\0'; 2706 if (((len = snprintf(buf2, PATH_MAX, "%s/", dir)) < 0) || 2733 if (strlcat(buf2, buf, PATH_MAX) >= PATH_MAX) { 2737 return (buf2); 2741 if (buf2) free(buf2);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | pp_ctl.c | 3193 char buf2[256]; local 3195 MacPerl_CanonDir(name, buf2, 1); 3196 Perl_sv_setpvf(aTHX_ namesv, "%s%s", MacPerl_CanonDir(dir, buf1, 0), buf2+(buf2[0] == ':'));
|
/osnet-11/usr/src/lib/libstmf/common/ |
H A D | store.c | 1395 char buf2[MAXNAMELEN]; local 1544 if (snprintf(buf2, sizeof (buf2), "%s-%s", buf1, 1545 STMF_MEMBER_LIST_SUFFIX) > sizeof (buf2)) { 1557 * buf2 now contains the member list property name 1595 if (scf_transaction_property_new(tran, entry2, buf2, 1598 "failed - %s", pgRefName, buf2, 1618 if (scf_transaction_property_delete(tran, entry2, buf2) 1621 "failed - %s", pgRefName, buf2,
|
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 3642 char buf2[64]; local 3648 zfs_nicenum(bytes/delta, buf2, sizeof (buf1)); 3651 buf1, delta, buf2);
|
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_crypto_openssl.c | 2941 unsigned char *buf1 = NULL, *buf2 = NULL, *buf3 = NULL; local 2962 &buf2, &buf2_len); 2983 (void) memcpy(algId[0]->parameters.data, buf2, buf2_len); 3018 (void) memcpy(algId[0]->parameters.data, buf2, buf2_len); 3096 if (buf2 != NULL) 3097 free(buf2);
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | via-rhine.c | 688 /* printf("[%d]buf1=%hX,buf2=%hX",i,tp->rx_ring[i].buf_addr_1,tp->rx_ring[i].buf_addr_2); */ 693 /*printf("[%d]buf1=%hX,buf2=%hX",i-1,tp->rx_ring[i-1].buf_addr_1,tp->rx_ring[i-1].buf_addr_2); */ 705 /* printf("[%d]buf1=%hX,buf2=%hX",i,tp->tx_ring[i].buf_addr_1,tp->tx_ring[i].buf_addr_2); */ 709 /* printf("[%d]buf1=%hX,buf2=%hX",i,tp->tx_ring[i-1].buf_addr_1,tp->tx_ring[i-1].buf_addr_2); */ 1104 static char buf2[RX_RING_SIZE * PKT_BUF_SZ + 32]; local 1114 rx_bufs_tmp = (int) buf2;
|