Home
last modified time | relevance | path

Searched refs:buf4 (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/sys/external/isc/libsodium/dist/test/default/
H A Dcodecs.c9 unsigned char buf4[4]; in main() local
25 sodium_hex2bin(buf4, sizeof buf4, hex, strlen(hex), ": ", &bin_len, in main()
28 buf4[0], buf4[1], buf4[2], buf4[3]); in main()
32 sodium_hex2bin(buf4, sizeof buf4, hex, strlen(hex), ": ", &bin_len, NULL); in main()
34 buf4[0], buf4[1], buf4[2], buf4[3]); in main()
121 memset(buf4, '*', sizeof buf4); in main()
122 assert(sodium_base642bin(buf4, sizeof buf4, b64, strlen(b64), "\n\r ", &bin_len, in main()
124 buf4[bin_len] = 0; in main()
125 printf("[%s]\n", (const char *) buf4); in main()
/netbsd-src/sys/lib/libkern/
H A Dcrc32.c36 #define DOLIT4 c ^= *buf4++; \
45 register const u4 *buf4; in crc32() local
56 buf4 = (const u4 *)(const void *)buf; in crc32()
65 buf = (const unsigned char *)buf4; in crc32()
77 #define DOBIG4 c ^= *++buf4; \
86 register const u4 *buf4; in crc32() local
97 buf4 = (const u4 *)(const void *)buf; in crc32()
98 buf4--; in crc32()
107 buf4++; in crc32()
108 buf = (const unsigned char *)buf4; in crc32()
/netbsd-src/external/cddl/osnet/dist/uts/common/zmod/
H A Dcrc32.c261 #define DOLIT4 c ^= *buf4++; \
273 register const u4 FAR *buf4; local
282 buf4 = (const u4 FAR *)(const void FAR *)buf;
291 buf = (const unsigned char FAR *)buf4;
301 #define DOBIG4 c ^= *++buf4; \
313 register const u4 FAR *buf4; local
322 buf4 = (const u4 FAR *)(const void FAR *)buf;
323 buf4--;
332 buf4++;
333 buf = (const unsigned char FAR *)buf4;
/netbsd-src/usr.sbin/eeprom/
H A Dprephandlers.c186 char buf1[BUFSIZE], buf2[BUFSIZE], buf3[BUFSIZE], buf4[BUFSIZE]; in prep_dump() local
205 memset(buf4, 0, sizeof(buf4)); in prep_dump()
209 nvio2.pnv_buf = buf4; in prep_dump()
227 memset(nvio2.pnv_buf, 0, sizeof(buf4)); in prep_dump()
228 nvio2.pnv_buflen = sizeof(buf4); in prep_dump()
H A Dophandlers.c206 char buf1[BUFSIZE], buf2[BUFSIZE], buf3[BUFSIZE], buf4[BUFSIZE]; in op_dump() local
227 opio2.op_buf = buf4; in op_dump()
261 memset(opio2.op_buf, 0, sizeof(buf4)); in op_dump()
262 opio2.op_buflen = sizeof(buf4); in op_dump()
H A Dofhandlers.c214 char buf1[BUFSIZE], buf2[BUFSIZE], buf3[BUFSIZE], buf4[BUFSIZE]; in of_dump() local
235 ofio2.of_buf = buf4; in of_dump()
272 memset(ofio2.of_buf, 0, sizeof(buf4)); in of_dump()
273 ofio2.of_buflen = sizeof(buf4); in of_dump()
/netbsd-src/sys/netinet6/
H A Din6_print.c54 char buf4[INET_ADDRSTRLEN]; in in6_print() local
56 in_print(buf4, sizeof(buf4), &ia); in in6_print()
57 return snprintf(buf, len, "::ffff:%s", buf4); in in6_print()
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/perl/
H A Dnetpgpperl_wrap.c2504 char *buf4 = 0 ; in XS() local
2527 res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4); in XS()
2531 arg4 = (char *)(buf4); in XS()
2537 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in XS()
2543 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in XS()
3057 char *buf4 = 0 ; in XS() local
3082 res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4); in XS()
3086 arg4 = (char *)(buf4); in XS()
3097 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in XS()
3104 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in XS()
[all …]
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/tcl/
H A Dnetpgptcl_wrap.c2370 char *buf4 = 0 ; in _wrap_netpgp_list_packets() local
2389 res4 = SWIG_AsCharPtrAndSize(objv[4], &buf4, NULL, &alloc4); in _wrap_netpgp_list_packets()
2393 arg4 = (char *)(buf4); in _wrap_netpgp_list_packets()
2397 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in _wrap_netpgp_list_packets()
2401 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in _wrap_netpgp_list_packets()
2719 char *buf4 = 0 ; in _wrap_netpgp_encrypt_file() local
2740 res4 = SWIG_AsCharPtrAndSize(objv[4], &buf4, NULL, &alloc4); in _wrap_netpgp_encrypt_file()
2744 arg4 = (char *)(buf4); in _wrap_netpgp_encrypt_file()
2754 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in _wrap_netpgp_encrypt_file()
2759 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in _wrap_netpgp_encrypt_file()
[all …]
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/python/
H A Dnetpgppython_wrap.c3416 char *buf4 = 0 ; in _wrap_netpgp_list_packets() local
3439 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); in _wrap_netpgp_list_packets()
3443 arg4 = (char *)(buf4); in _wrap_netpgp_list_packets()
3447 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in _wrap_netpgp_list_packets()
3451 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in _wrap_netpgp_list_packets()
3907 char *buf4 = 0 ; in _wrap_netpgp_encrypt_file() local
3933 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); in _wrap_netpgp_encrypt_file()
3937 arg4 = (char *)(buf4); in _wrap_netpgp_encrypt_file()
3947 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in _wrap_netpgp_encrypt_file()
3952 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); in _wrap_netpgp_encrypt_file()
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/tests/
H A Dtsprintf.c1639 char buf1[4] = "xxx", buf2[4] = "xxx", buf3[4] = "xxx", buf4[4] = "xxx"; in large_prec_for_g() local
1669 r = mpfr_sprintf (buf4, "%.2147483648Rg\n", x); in large_prec_for_g()
1675 MPFR_ASSERTN (buf4[0] == '1' && buf4[1] == '\n' && buf4[2] == 0); in large_prec_for_g()
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dtransfer.c3705 GFC_INTEGER_4 buf4; in write_us_marker() local
3719 buf4 = buf; in write_us_marker()
3720 return swrite (dtp->u.p.current_unit->s, &buf4, len); in write_us_marker()
3740 buf4 = buf; in write_us_marker()
3741 memcpy (&u32, &buf4, sizeof (u32)); in write_us_marker()
/netbsd-src/external/gpl3/gcc/dist/libgfortran/io/
H A Dtransfer.c3868 GFC_INTEGER_4 buf4; in write_us_marker() local
3886 buf4 = buf; in write_us_marker()
3887 return swrite (dtp->u.p.current_unit->s, &buf4, len); in write_us_marker()
3907 buf4 = buf; in write_us_marker()
3908 memcpy (&u32, &buf4, sizeof (u32)); in write_us_marker()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/
H A DREADME.txt1253 char buf1[6], buf2[6], buf3[4], buf4[4];
1260 ret += snprintf (buf4, sizeof buf4, "%s", i++ > 10 ? "abcde" : "defgh")*4096;