Home
last modified time | relevance | path

Searched +full:0 +full:x12345678 (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c44 ASSERT_INT_EQ(sshbuf_put_u32(p1, 0x12345678), SSH_ERR_BUFFER_READ_ONLY); in sshbuf_fixed()
45 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), 0); in sshbuf_fixed()
54 ASSERT_INT_EQ(sshbuf_get_u8(p1, &c), 0); in sshbuf_fixed()
57 ASSERT_INT_EQ(sshbuf_get_u32(p1, &i), 0); in sshbuf_fixed()
59 ASSERT_U32_EQ(i, 0x12345678); in sshbuf_fixed()
60 ASSERT_INT_EQ(sshbuf_get_cstring(p1, &s, &l), 0); in sshbuf_fixed()
61 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 0); in sshbuf_fixed()
73 ASSERT_INT_EQ(sshbuf_put(p1, test_buf, sizeof(test_buf) - 1), 0); in sshbuf_fixed()
85 ASSERT_INT_EQ(sshbuf_get_u8(p2, &c), 0); in sshbuf_fixed()
88 ASSERT_INT_EQ(sshbuf_get_u32(p2, &i), 0); in sshbuf_fixed()
[all …]
H A Dtest_sshbuf_misc.c38 ASSERT_INT_EQ(sshbuf_put_u32(p1, 0x12345678), 0); in sshbuf_misc_tests()
43 ASSERT_INT_EQ(ferror(out), 0); in sshbuf_misc_tests()
44 ASSERT_INT_NE(feof(out), 0); in sshbuf_misc_tests()
45 ASSERT_SIZE_T_GT(sz, 0); in sshbuf_misc_tests()
46 tmp[sz] = '\0'; in sshbuf_misc_tests()
55 ASSERT_INT_EQ(sshbuf_put_u32(p1, 0x12345678), 0); in sshbuf_misc_tests()
66 ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x11), 0); in sshbuf_misc_tests()
67 p = sshbuf_dtob64_string(p1, 0); in sshbuf_misc_tests()
77 ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x11), 0); in sshbuf_misc_tests()
78 ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x22), 0); in sshbuf_misc_tests()
[all …]
/freebsd/contrib/openbsm/test/bsm/
H A Dgenerate.c74 if (fd < 0) in open_file()
85 if (len < 0) in write_file()
102 if (au_close_token(tok, buffer, &buflen) < 0) in write_token()
121 if (au < 0) in write_record()
123 if (au_write(au, tok) < 0) in write_record()
126 if (au_close_buffer(au, event, buffer, &buflen) < 0) in write_record()
133 static struct timeval file_token_timeval = { 0x12345, 0x67890} ;
161 static int trailer_token_len = 0x12345678;
174 static int header32_token_len = 0x12345678;
176 static au_emod_t header32_e_mod = 0x4567;
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.subr.d77 INTFUNC(getmajor(0))
78 INTFUNC(getminor(0))
79 STRFUNC(ddi_pathname(NULL, 0))
89 STRFUNC(substr("The SystemTap, The.", 0))
92 INTFUNC(htons(0x1234))
93 INTFUNC(htonl(0x12345678))
94 INTFUNC(htonll(0x1234567890abcdefL))
95 INTFUNC(ntohs(0x1234))
96 INTFUNC(ntohl(0x12345678))
97 INTFUNC(ntohll(0x1234567890abcdefL))
[all …]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_entry.c37 while ((*s1 = *s2) != L'\0') in wcscpy()
125 assertEqualInt(archive_entry_atime(e), 0); in DEFINE_TEST()
126 assertEqualInt(archive_entry_atime_nsec(e), 0); in DEFINE_TEST()
140 assertEqualInt(archive_entry_birthtime(e), 0); in DEFINE_TEST()
141 assertEqualInt(archive_entry_birthtime_nsec(e), 0); in DEFINE_TEST()
155 assertEqualInt(archive_entry_ctime(e), 0); in DEFINE_TEST()
156 assertEqualInt(archive_entry_ctime_nsec(e), 0); in DEFINE_TEST()
184 memset(wbuff, 0, sizeof(wbuff)); in DEFINE_TEST()
207 memset(buff, 0, sizeof(buff)); in DEFINE_TEST()
220 memset(wbuff, 0, sizeof(wbuff)); in DEFINE_TEST()
[all …]
/freebsd/contrib/ntp/sntp/tests/
H A DkodFile.c29 kod_db_cnt = 0; in setUp()
39 TEST_ASSERT_EQUAL(0, kod_db_cnt); in test_ReadEmptyFile()
54 TEST_ASSERT_EQUAL(0x12345678, res->timestamp); in test_ReadCorrectFile()
59 TEST_ASSERT_EQUAL(0xfff, res->timestamp); in test_ReadCorrectFile()
74 TEST_ASSERT_EQUAL(0x12345678, res->timestamp); in test_ReadFileWithBlankLines()
79 TEST_ASSERT_EQUAL(0xfff, res->timestamp); in test_ReadFileWithBlankLines()
84 TEST_ASSERT_EQUAL(0xabcd, res->timestamp); in test_ReadFileWithBlankLines()
93 // Open file and ensure that the filesize is 0 bytes. in test_WriteEmptyFile()
97 TEST_ASSERT_EQUAL(0, GetFileSize(is)); in test_WriteEmptyFile()
111 kod_db[0]->timestamp = 1; in test_WriteFileWithSingleEntry()
[all …]
/freebsd/contrib/netbsd-tests/include/machine/
H A Dt_bswap.c78 ATF_REQUIRE_EQ(bswap16(0x0000), 0x0000); in ATF_TC_BODY()
79 ATF_REQUIRE_EQ(bswap16(0xff00), 0x00ff); in ATF_TC_BODY()
80 ATF_REQUIRE_EQ(bswap16(0xffff), 0xffff); in ATF_TC_BODY()
81 ATF_REQUIRE_EQ(bswap16(0x1234), 0x3412); in ATF_TC_BODY()
92 x16 = 0; in ATF_TC_BODY()
94 ATF_REQUIRE_EQ(bswap16(unconst16(0x0000)), 0x0000); in ATF_TC_BODY()
95 ATF_REQUIRE_EQ(bswap16(unconst16(0xff00)), 0x00ff); in ATF_TC_BODY()
96 ATF_REQUIRE_EQ(bswap16(unconst16(0xffff)), 0xffff); in ATF_TC_BODY()
97 ATF_REQUIRE_EQ(bswap16(unconst16(0x1234)), 0x3412); in ATF_TC_BODY()
108 ATF_REQUIRE_EQ(bswap32(0x00000000), 0x00000000); in ATF_TC_BODY()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_posix.cpp3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
224 // Added in Linux kernel 3.4.0, merged to glibc in 2.16 in ucontext_t_sz()
226 # define FP_XSTATE_MAGIC1 0x46505853U in ucontext_t_sz()
248 int u32s = 0; in __user_cap_data_struct_sz()
290 # define SIZEOF_STRUCT_USTAT 0
343 return 0; in __sanitizer_in_addr_sz()
387 unsigned struct_user_fpxregs_struct_sz = 0;
395 unsigned struct_user_vfpregs_struct_sz = 0;
491 #if SOUND_VERSION >= 0x040000
492 unsigned struct_copr_buffer_sz = 0;
[all …]
/freebsd/contrib/lib9p/
H A Dapple_endian.h11 # define _LITTLE_ENDIAN 0x12345678
12 # define _BIG_ENDIAN 0x87654321
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDumpRegisterValue.cpp3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
114 0, // Offset in "data" in DumpRegisterValue()
120 0, // item_bit_size in DumpRegisterValue()
121 0, // item_bit_offset in DumpRegisterValue()
144 // foo = 0x12345678 in DumpRegisterValue()
151 // End the line that contains " foo = 0x12345678". in DumpRegisterValue()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/
H A Dtst.args.c37 (off_t)0x12345678); in main()
40 return (0); in main()
H A Dtst.args.d36 /pid == $1 && arg0 == 0 && arg1 == 1 && arg2 == 2 && arg3 == 3 &&
37 (int)arg4 == -1 && arg5 == 0x12345678/
39 exit(0);
/freebsd/sbin/ipf/libipf/
H A Dgethost.c22 hostp->in4.s_addr = htonl(0xfedcba98); in gethost()
26 hostp->i6[0] = htonl(0xfe80aa55); in gethost()
27 hostp->i6[1] = htonl(0x12345678); in gethost()
28 hostp->i6[2] = htonl(0x5a5aa5a5); in gethost()
29 hostp->i6[3] = htonl(0xfedcba98); in gethost()
32 return (0); in gethost()
45 return (0); in gethost()
51 hostp->in4.s_addr = htonl(n->n_net & 0xffffffff); in gethost()
52 return (0); in gethost()
68 return (0); in gethost()
/freebsd/contrib/wpa/src/utils/
H A Dutils_module_tests.c32 { (u8 *) "a\0b\nc\ed\re\tf\"\\", 13, "a\\0b\\nc\\ed\\re\\tf\\\"\\\\" },
41 { NULL, 0, NULL }
51 int errors = 0; in printf_encode_decode_tests()
56 for (i = 0; printf_tests[i].data; i++) { in printf_encode_decode_tests()
63 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests()
71 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests()
98 if (printf_decode(bin, 3, "\\xa") != 1 || bin[0] != 10) in printf_encode_decode_tests()
101 if (printf_decode(bin, 3, "\\xq") != 1 || bin[0] != 'q') in printf_encode_decode_tests()
104 if (printf_decode(bin, 3, "\\a") != 1 || bin[0] != 'a') in printf_encode_decode_tests()
107 array[0] = 10; in printf_encode_decode_tests()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pointers/
H A Derr.InvalidAddress5.d53 array[0] = 0x12345678;
54 array[1] = 0xabcdefff;
56 ptr = (char *) &array[0];
62 printf("*p: 0x%x\n", *p);
63 printf("*q: 0x%x\n", *q);
64 printf("*r: 0x%x\n", *r);
73 exit(0);
80 exit(0);
/freebsd/sbin/camcontrol/
H A Dcamcontrol.8410 The lun defaults to 0.
413 (e.g.\& 1:2:0)
493 Send the SCSI test unit ready (0x00) command to the given device.
498 Send a SCSI REQUEST SENSE command (0x03) to a device.
507 Send a SCSI inquiry command (0x12) to a device.
527 Send an ATA identify command (0xec) to a device.
529 Send the SCSI REPORT LUNS (0xA0) command to the given device.
611 Send the SCSI Start/Stop Unit (0x1B) command to the given device with the
614 Send the SCSI Start/Stop Unit (0x1B) command to the given device with the
617 Send the SCSI Start/Stop Unit (0x1B) command to the given device with the
[all …]
/freebsd/sys/contrib/device-tree/Bindings/crypto/
H A Dfsl-sec4.txt57 Definition: Must include "fsl,sec-v4.0"
123 compatible = "fsl,sec-v4.0";
127 reg = <0x300000 0x10000>;
128 ranges = <0 0x300000 0x10000>;
142 compatible = "fsl,sec-v4.0";
145 reg = <0x2140000 0x3c000>;
146 ranges = <0 0x2140000 0x3c000>;
168 Definition: Must include "fsl,sec-v4.0-job-ring"
197 compatible = "fsl,sec-v4.0-job-ring";
198 reg = <0x1000 0x1000>;
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/
H A Dtst.ints.d42 printf("\n%d\n", (char)0x1234567890abcdef);
43 printf("%d\n", (short)0x1234567890abcdef);
44 printf("%d\n", (int)0x1234567890abcdef);
45 printf("%d\n", (long long)0x1234567890abcdef);
47 printf("\n%d\n", (unsigned char)0x1234567890abcdef);
48 printf("%d\n", (unsigned short)0x1234567890abcdef);
49 printf("%d\n", (unsigned int)0x1234567890abcdef);
50 printf("%d\n", (unsigned long long)0x1234567890abcdef);
52 printf("\n%u\n", (char)0x1234567890abcdef);
53 printf("%u\n", (short)0x1234567890abcdef);
[all …]
/freebsd/tests/sys/netinet/libalias/
H A Dutil.c42 struct in_addr masq = { htonl(0x01020304) };
43 struct in_addr pub = { htonl(0x0102dead) };
44 struct in_addr pub2 = { htonl(0x0102beef) };
45 struct in_addr prv1 = { htonl(0x0a00dead) };
46 struct in_addr prv2 = { htonl(0xac10dead) };
47 struct in_addr prv3 = { htonl(0xc0a8dead) };
48 struct in_addr cgn = { htonl(0x6440dead) };
49 struct in_addr ext = { htonl(0x12345678) };
50 struct in_addr ANY_ADDR = { 0 };
58 } while(0)
[all …]
/freebsd/contrib/netbsd-tests/modules/k_uvm/
H A Dk_uvm.c30 __KERNEL_RCSID(0, "$NetBSD: k_uvm.c,v 1.1 2012/02/17 22:36:50 jmmv Exp $");
46 #define K_UVM 0x12345678
47 #define K_UVM_VALUE 0
52 sysctl_createv(clog, 0, NULL, NULL,
55 NULL, 0, NULL, 0,
58 sysctl_createv(clog, 0, NULL, NULL,
62 NULL, 0, &page_size, 0,
79 return 0; in k_uvm_init()
89 return 0; in k_uvm_fini()
/freebsd/share/man/man9/
H A DMODULE_PNP_INFO.975 except that the sentinel value 0xFF matches any.
91 except that the sentinel value 0xFFFF matches any.
98 except that the sentinel value 0xFFFFFFFF matches any.
168 { 0x12345678, "Foo bar" },
169 { 0x9abcdef0, "Baz fizz" },
188 { 0x9abc, "Foo bar" },
189 { 0xdef0, "Baz fizz" },
192 MODULE_PNP_INFO("U16:device;D:#;T:vendor=0x1234", pci, my_driver,
/freebsd/sys/dev/ntb/ntb_hw/
H A Dntb_hw_plx.c108 #define PLX_NT0_BASE 0x3E000
109 #define PLX_NT1_BASE 0x3C000
111 #define PLX_NTX_LINK_OFFSET 0x01000
115 (PLX_NTX_BASE(sc) + ((sc)->link ? PLX_NTX_LINK_OFFSET : 0))
117 (PLX_NTX_BASE(sc) + ((sc)->link ? 0 : PLX_NTX_LINK_OFFSET))
142 #define PLX_PORT_CONTROL(sc) (PLX_STATION_PORT_BASE(sc) + 0x208)
153 case 0x87a010b5: in ntb_plx_probe()
156 case 0x87a110b5: in ntb_plx_probe()
159 case 0x87b010b5: in ntb_plx_probe()
162 case 0x87b110b5: in ntb_plx_probe()
[all …]
/freebsd/contrib/netbsd-tests/modules/k_helper/
H A Dk_helper.c30 __KERNEL_RCSID(0, "$NetBSD: k_helper.c,v 1.6 2012/06/03 10:59:44 dsl Exp $");
56 #define K_HELPER 0x12345678
57 #define K_HELPER_PRESENT 0
67 sysctl_createv(clog, 0, NULL, NULL,
70 NULL, 0, NULL, 0,
73 sysctl_createv(clog, 0, NULL, NULL,
77 NULL, 0, &present, 0,
80 sysctl_createv(clog, 0, NULL, NULL,
84 NULL, 0, &prop_str_ok, 0,
87 sysctl_createv(clog, 0, NULL, NULL,
[all …]
/freebsd/contrib/netbsd-tests/include/sys/
H A Dt_socket.c40 if (rump_sys_socketpair(AF_LOCAL, SOCK_STREAM, 0, s) == -1) in ATF_TC_BODY()
55 msg.msg_namelen = 0; in ATF_TC_BODY()
64 *(int *)CMSG_DATA(cmp) = 0x12345678; in ATF_TC_BODY()
66 rump_sys_sendmsg(s[0], &msg, 0); in ATF_TC_BODY()
98 memset(&sun, 0, sizeof(sun)); in ATF_TC_BODY()
102 s1 = rump_sys_socket(AF_LOCAL, SOCK_STREAM, 0); in ATF_TC_BODY()
115 memset(&sun, 0, sizeof(sun)); in ATF_TC_BODY()
118 s2 = rump_sys_socket(AF_LOCAL, SOCK_STREAM, 0); in ATF_TC_BODY()
144 msg.msg_namelen = 0; in ATF_TC_BODY()
147 *(int *)CMSG_DATA(cmp) = fd[0]; in ATF_TC_BODY()
[all …]
/freebsd/sys/dev/qlxgb/
H A Dqla_reg.h48 #define Q8_CRB_WINDOW_2M 0x130060
50 #define Q8_INT_VECTOR 0x130100
51 #define Q8_INT_MASK 0x130104
53 #define Q8_INT_TARGET_STATUS_F0 0x130118
54 #define Q8_INT_TARGET_MASK_F0 0x130128
55 #define Q8_INT_TARGET_STATUS_F1 0x130160
56 #define Q8_INT_TARGET_MASK_F1 0x130170
57 #define Q8_INT_TARGET_STATUS_F2 0x130164
58 #define Q8_INT_TARGET_MASK_F2 0x130174
59 #define Q8_INT_TARGET_STATUS_F3 0x130168
[all …]

123