Home
last modified time | relevance | path

Searched refs:memcmp (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/glibc-2.36/debug/
Dtst-fortify.c169 if (memcmp (buf, "aabcdefghi", 10)) in do_test()
174 if (memcmp (buf, "aabcdefghi", 10)) in do_test()
178 || memcmp (buf, "aabcdabcde", 10)) in do_test()
182 if (memcmp (buf, "aabcdabcjj", 10)) in do_test()
186 if (memcmp (buf, "aabcdabc\0\0", 10)) in do_test()
190 if (memcmp (buf, "aabcda\0\0\0\0", 10)) in do_test()
194 if (memcmp (buf, "aabcEDCBA", 10)) in do_test()
197 if (stpcpy (buf + 8, "F") != buf + 9 || memcmp (buf, "aabcEDCBF", 10)) in do_test()
201 if (memcmp (buf, "aabcEDX\0\0", 10)) in do_test()
204 if (sprintf (buf + 7, "%s", "67") != 2 || memcmp (buf, "aabcEDX67", 10)) in do_test()
[all …]
/glibc-2.36/sysdeps/powerpc/powerpc64/multiarch/
Dmemcmp.c21 # define memcmp __redirect_memcmp macro
26 extern __typeof (memcmp) __memcmp_ppc attribute_hidden;
27 extern __typeof (memcmp) __memcmp_power4 attribute_hidden;
28 extern __typeof (memcmp) __memcmp_power7 attribute_hidden;
29 extern __typeof (memcmp) __memcmp_power8 attribute_hidden;
30 extern __typeof (memcmp) __memcmp_power10 attribute_hidden;
31 # undef memcmp
35 libc_ifunc_redirected (__redirect_memcmp, memcmp,
/glibc-2.36/sysdeps/x86_64/
Dtst-auditmod3a.c13 if (memcmp (&xmm, &x0, sizeof (xmm)) in audit_test()
14 || memcmp (&xmm, &x1, sizeof (xmm)) in audit_test()
15 || memcmp (&xmm, &x2, sizeof (xmm)) in audit_test()
16 || memcmp (&xmm, &x3, sizeof (xmm)) in audit_test()
17 || memcmp (&xmm, &x4, sizeof (xmm)) in audit_test()
18 || memcmp (&xmm, &x5, sizeof (xmm)) in audit_test()
19 || memcmp (&xmm, &x6, sizeof (xmm)) in audit_test()
20 || memcmp (&xmm, &x7, sizeof (xmm))) in audit_test()
Dtst-avxmod.c15 if (memcmp (&ymm, &x0, sizeof (ymm))) in avx_test()
19 if (memcmp (&ymm, &x1, sizeof (ymm))) in avx_test()
23 if (memcmp (&ymm, &x2, sizeof (ymm))) in avx_test()
27 if (memcmp (&ymm, &x3, sizeof (ymm))) in avx_test()
31 if (memcmp (&ymm, &x4, sizeof (ymm))) in avx_test()
35 if (memcmp (&ymm, &x5, sizeof (ymm))) in avx_test()
39 if (memcmp (&ymm, &x6, sizeof (ymm))) in avx_test()
43 if (memcmp (&ymm, &x7, sizeof (ymm))) in avx_test()
Dtst-auditmod6a.c14 if (memcmp (&xmm, &x0, sizeof (xmm))) in audit_test()
18 if (memcmp (&xmm, &x1, sizeof (xmm))) in audit_test()
22 if (memcmp (&xmm, &x2, sizeof (xmm))) in audit_test()
26 if (memcmp (&xmm, &x3, sizeof (xmm))) in audit_test()
30 if (memcmp (&xmm, &x4, sizeof (xmm))) in audit_test()
34 if (memcmp (&xmm, &x5, sizeof (xmm))) in audit_test()
38 if (memcmp (&xmm, &x6, sizeof (xmm))) in audit_test()
42 if (memcmp (&xmm, &x7, sizeof (xmm))) in audit_test()
Dtst-avx512mod.c15 if (memcmp (&zmm, &x0, sizeof (zmm))) in avx512_test()
19 if (memcmp (&zmm, &x1, sizeof (zmm))) in avx512_test()
23 if (memcmp (&zmm, &x2, sizeof (zmm))) in avx512_test()
27 if (memcmp (&zmm, &x3, sizeof (zmm))) in avx512_test()
31 if (memcmp (&zmm, &x4, sizeof (zmm))) in avx512_test()
35 if (memcmp (&zmm, &x5, sizeof (zmm))) in avx512_test()
39 if (memcmp (&zmm, &x6, sizeof (zmm))) in avx512_test()
43 if (memcmp (&zmm, &x7, sizeof (zmm))) in avx512_test()
Dtst-ssemod.c14 if (memcmp (&xmm, &x0, sizeof (xmm))) in sse_test()
18 if (memcmp (&xmm, &x1, sizeof (xmm))) in sse_test()
22 if (memcmp (&xmm, &x2, sizeof (xmm))) in sse_test()
26 if (memcmp (&xmm, &x3, sizeof (xmm))) in sse_test()
30 if (memcmp (&xmm, &x4, sizeof (xmm))) in sse_test()
34 if (memcmp (&xmm, &x5, sizeof (xmm))) in sse_test()
38 if (memcmp (&xmm, &x6, sizeof (xmm))) in sse_test()
42 if (memcmp (&xmm, &x7, sizeof (xmm))) in sse_test()
Dtst-auditmod10a.c32 if (memcmp (&zmm, &x0, sizeof (zmm))) in audit_test()
36 if (memcmp (&zmm, &x1, sizeof (zmm))) in audit_test()
40 if (memcmp (&zmm, &x2, sizeof (zmm))) in audit_test()
44 if (memcmp (&zmm, &x3, sizeof (zmm))) in audit_test()
48 if (memcmp (&zmm, &x4, sizeof (zmm))) in audit_test()
52 if (memcmp (&zmm, &x5, sizeof (zmm))) in audit_test()
56 if (memcmp (&zmm, &x6, sizeof (zmm))) in audit_test()
60 if (memcmp (&zmm, &x7, sizeof (zmm))) in audit_test()
Dtst-auditmod4a.c15 if (memcmp (&ymm, &x0, sizeof (ymm))) in audit_test()
19 if (memcmp (&ymm, &x1, sizeof (ymm))) in audit_test()
23 if (memcmp (&ymm, &x2, sizeof (ymm))) in audit_test()
27 if (memcmp (&ymm, &x3, sizeof (ymm))) in audit_test()
31 if (memcmp (&ymm, &x4, sizeof (ymm))) in audit_test()
35 if (memcmp (&ymm, &x5, sizeof (ymm))) in audit_test()
39 if (memcmp (&ymm, &x6, sizeof (ymm))) in audit_test()
43 if (memcmp (&ymm, &x7, sizeof (ymm))) in audit_test()
Dtst-auditmod5a.c14 if (memcmp (&xmm, &x0, sizeof (xmm))) in audit_test()
18 if (memcmp (&xmm, &x1, sizeof (xmm))) in audit_test()
22 if (memcmp (&xmm, &x2, sizeof (xmm))) in audit_test()
26 if (memcmp (&xmm, &x3, sizeof (xmm))) in audit_test()
30 if (memcmp (&xmm, &x4, sizeof (xmm))) in audit_test()
34 if (memcmp (&xmm, &x5, sizeof (xmm))) in audit_test()
38 if (memcmp (&xmm, &x6, sizeof (xmm))) in audit_test()
42 if (memcmp (&xmm, &x7, sizeof (xmm))) in audit_test()
Dtst-auditmod5b.c125 if (memcmp (&regs->lr_xmm[0], &zero, sizeof (zero)) in pltenter()
126 || memcmp (&regs->lr_xmm[1], &zero, sizeof (zero)) in pltenter()
127 || memcmp (&regs->lr_xmm[2], &zero, sizeof (zero)) in pltenter()
128 || memcmp (&regs->lr_xmm[3], &zero, sizeof (zero)) in pltenter()
129 || memcmp (&regs->lr_xmm[4], &zero, sizeof (zero)) in pltenter()
130 || memcmp (&regs->lr_xmm[5], &zero, sizeof (zero)) in pltenter()
131 || memcmp (&regs->lr_xmm[6], &zero, sizeof (zero)) in pltenter()
132 || memcmp (&regs->lr_xmm[7], &zero, sizeof (zero))) in pltenter()
167 if (memcmp (&outregs->lrv_xmm0, &zero, sizeof (zero))) in pltexit()
173 if (memcmp (&inregs->lr_xmm[i], &xmm, sizeof (xmm)) != 0) in pltexit()
Dtst-auditmod4b.c149 if (memcmp (&regs->lr_vector[0], &zero, sizeof (zero)) in pltenter()
150 || memcmp (&regs->lr_vector[1], &zero, sizeof (zero)) in pltenter()
151 || memcmp (&regs->lr_vector[2], &zero, sizeof (zero)) in pltenter()
152 || memcmp (&regs->lr_vector[3], &zero, sizeof (zero)) in pltenter()
153 || memcmp (&regs->lr_vector[4], &zero, sizeof (zero)) in pltenter()
154 || memcmp (&regs->lr_vector[5], &zero, sizeof (zero)) in pltenter()
155 || memcmp (&regs->lr_vector[6], &zero, sizeof (zero)) in pltenter()
156 || memcmp (&regs->lr_vector[7], &zero, sizeof (zero))) in pltenter()
193 if (memcmp (&outregs->lrv_vector0, &zero, sizeof (zero))) in pltexit()
199 if (memcmp (&inregs->lr_vector[i], &ymm, sizeof (ymm)) != 0) in pltexit()
Dtst-auditmod10b.c167 if (memcmp (&regs->lr_vector[0], &zero, sizeof (zero)) in pltenter()
168 || memcmp (&regs->lr_vector[1], &zero, sizeof (zero)) in pltenter()
169 || memcmp (&regs->lr_vector[2], &zero, sizeof (zero)) in pltenter()
170 || memcmp (&regs->lr_vector[3], &zero, sizeof (zero)) in pltenter()
171 || memcmp (&regs->lr_vector[4], &zero, sizeof (zero)) in pltenter()
172 || memcmp (&regs->lr_vector[5], &zero, sizeof (zero)) in pltenter()
173 || memcmp (&regs->lr_vector[6], &zero, sizeof (zero)) in pltenter()
174 || memcmp (&regs->lr_vector[7], &zero, sizeof (zero))) in pltenter()
211 if (memcmp (&outregs->lrv_vector0, &zero, sizeof (zero))) in pltexit()
217 if (memcmp (&inregs->lr_vector[i], &zmm, sizeof (zmm)) != 0) in pltexit()
Dtst-auditmod6c.c155 if (memcmp (&regs->lr_xmm[i], &xmm, sizeof (xmm)) in pltenter()
156 || memcmp (&regs->lr_vector[i], &xmm, sizeof (xmm))) in pltenter()
162 if (memcmp (&regs->lr_xmm[i + 1], in pltenter()
164 || memcmp (&regs->lr_vector[i + 1], &ymm, sizeof (ymm))) in pltenter()
203 if (memcmp (&outregs->lrv_vector0, &ymm, sizeof (ymm))) in pltexit()
211 if (memcmp (&inregs->lr_xmm[i], &xmm, sizeof (xmm)) in pltexit()
212 || memcmp (&inregs->lr_vector[i], &xmm, sizeof (xmm))) in pltexit()
216 if (memcmp (&inregs->lr_xmm[i + 1], in pltexit()
218 || memcmp (&inregs->lr_vector[i + 1], &ymm, sizeof (ymm))) in pltexit()
Dtst-auditmod7b.c152 if (memcmp (&regs->lr_xmm[i], &xmm, sizeof (xmm)) in pltenter()
153 || memcmp (&regs->lr_vector[i], &xmm, sizeof (xmm))) in pltenter()
195 if (memcmp (&outregs->lrv_xmm0, &xmm, sizeof (xmm)) in pltexit()
196 || memcmp (&outregs->lrv_vector0, &xmm, sizeof (xmm))) in pltexit()
204 if (memcmp (&inregs->lr_xmm[i], &xmm, sizeof (xmm)) in pltexit()
205 || memcmp (&inregs->lr_vector[i], &xmm, sizeof (xmm))) in pltexit()
209 if (memcmp (&inregs->lr_xmm[i + 1], in pltexit()
211 || memcmp (&inregs->lr_vector[i + 1], &ymm, sizeof (ymm))) in pltexit()
/glibc-2.36/sysdeps/x86_64/multiarch/
Dmemcmp.c22 # define memcmp __redirect_memcmp macro
24 # undef memcmp
26 # define SYMBOL_NAME memcmp
29 libc_ifunc_redirected (__redirect_memcmp, memcmp, IFUNC_SELECTOR ());
31 weak_alias (memcmp, bcmp)
34 __hidden_ver1 (memcmp, __GI_memcmp, __redirect_memcmp)
35 __attribute__ ((visibility ("hidden"))) __attribute_copy__ (memcmp);
/glibc-2.36/stdio-common/
Dscanf15.c43 else if (f != 0.25 || memcmp (c, "s x", 3) != 0) in main()
47 else if (f != 1.25 || memcmp (c, " x", 2) != 0) in main()
51 else if (d != 2.25 || memcmp (c, " x", 2) != 0) in main()
55 else if (f != 3.25 || memcmp (c, " x", 2) != 0) in main()
59 else if (f != 4.25 || memcmp (c, " x", 2) != 0) in main()
63 else if (d != 5.25 || memcmp (c, " x", 2) != 0) in main()
89 else if (f != 1.25 || memcmp (c, " x", 2) != 0) in main()
98 else if (f != 1.25 || memcmp (c, " x", 2) != 0) in main()
Dscanf14.c45 else if (f != 0.25 || memcmp (c, "s x", 3) != 0) in main()
51 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
58 else if (d != 2.25 || memcmp (c, " x", 2) != 0) in main()
64 if (wcscmp (lsp, L"3.25") != 0 || memcmp (c, "S x", 3) != 0) in main()
73 if (strcmp (sp, "4.25") != 0 || memcmp (c, "[0-9.] x", 8) != 0) in main()
80 else if (d != 5.25 || memcmp (c, " x", 2) != 0) in main()
108 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
122 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
Dscanf14a.c51 else if (f != 0.25 || memcmp (c, "s x", 3) != 0) in main()
57 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
64 else if (d != 2.25 || memcmp (c, " x", 2) != 0) in main()
70 if (wcscmp (lsp, L"3.25") != 0 || memcmp (c, "S x", 3) != 0) in main()
79 if (strcmp (sp, "4.25") != 0 || memcmp (c, "[0-9.] x", 8) != 0) in main()
86 else if (d != 5.25 || memcmp (c, " x", 2) != 0) in main()
114 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
128 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
Dscanf17.c74 else if (f != 0.25 || memcmp (c, "s x", 3) != 0) in main()
78 else if (f != 1.25 || memcmp (c, " x", 2) != 0) in main()
82 else if (d != 2.25 || memcmp (c, " x", 2) != 0) in main()
86 else if (f != 3.25 || memcmp (c, " x", 2) != 0) in main()
90 else if (f != 4.25 || memcmp (c, " x", 2) != 0) in main()
94 else if (d != 5.25 || memcmp (c, " x", 2) != 0) in main()
120 else if (f != 1.25 || memcmp (c, " x", 2) != 0) in main()
129 else if (f != 1.25 || memcmp (c, " x", 2) != 0) in main()
Dscanf16.c76 else if (f != 0.25 || memcmp (c, "s x", 3) != 0) in main()
82 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
89 else if (d != 2.25 || memcmp (c, " x", 2) != 0) in main()
95 if (wcscmp (lsp, L"3.25") != 0 || memcmp (c, "S x", 3) != 0) in main()
104 if (strcmp (sp, "4.25") != 0 || memcmp (c, "[0-9.] x", 8) != 0) in main()
111 else if (d != 5.25 || memcmp (c, " x", 2) != 0) in main()
139 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
153 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
Dscanf16a.c81 else if (f != 0.25 || memcmp (c, "s x", 3) != 0) in main()
87 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
94 else if (d != 2.25 || memcmp (c, " x", 2) != 0) in main()
100 if (wcscmp (lsp, L"3.25") != 0 || memcmp (c, "S x", 3) != 0) in main()
109 if (strcmp (sp, "4.25") != 0 || memcmp (c, "[0-9.] x", 8) != 0) in main()
116 else if (d != 5.25 || memcmp (c, " x", 2) != 0) in main()
144 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
158 if (strcmp (sp, "1.25s") != 0 || memcmp (c, " x", 2) != 0) in main()
/glibc-2.36/malloc/
Dtst-alloc_buffer.c250 TEST_VERIFY (memcmp (alloc_buffer_next (&refbuf, void), "\x11", 1) == 0); in test_size_1()
259 TEST_VERIFY (memcmp (alloc_buffer_next (&refbuf, void), "\176", 1) == 0); in test_size_1()
268 TEST_VERIFY (memcmp (alloc_buffer_next (&refbuf, void), "\xfd", 1) == 0); in test_size_1()
319 TEST_VERIFY (memcmp (alloc_buffer_next (&refbuf, void), "@\xfd", 2) == 0); in test_size_2()
328 TEST_VERIFY (memcmp (alloc_buffer_next (&refbuf, void), "A\xfd", 2) == 0); in test_size_2()
337 TEST_VERIFY (memcmp (alloc_buffer_next (&refbuf, void), "B\xfd", 2) == 0); in test_size_2()
347 TEST_VERIFY (memcmp (alloc_buffer_next (&refbuf, void), "\x12\xf4", 2) == 0); in test_size_2()
357 TEST_VERIFY (memcmp (alloc_buffer_next (&refbuf, void), "\x13\xf5", 2) == 0); in test_size_2()
366 TEST_VERIFY (memcmp (alloc_buffer_next (&refbuf, void), "12", 2) == 0); in test_size_2()
386 TEST_VERIFY (memcmp (ptr, in test_misaligned()
[all …]
/glibc-2.36/sysdeps/i386/i686/multiarch/
Dmemcmp.c22 # define memcmp __redirect_memcmp macro
24 # undef memcmp
26 # define SYMBOL_NAME memcmp
29 libc_ifunc_redirected (__redirect_memcmp, memcmp, IFUNC_SELECTOR ());
31 weak_alias (memcmp, bcmp)
32 strong_alias (memcmp, __memcmpeq)
/glibc-2.36/sysdeps/powerpc/powerpc32/power4/multiarch/
Dmemcmp.c21 # define memcmp __redirect_memcmp macro
26 extern __typeof (memcmp) __memcmp_ppc attribute_hidden;
27 extern __typeof (memcmp) __memcmp_power7 attribute_hidden;
28 # undef memcmp
32 libc_ifunc_redirected (__redirect_memcmp, memcmp,

12345678910>>...14