Home
last modified time | relevance | path

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

12

/picolibc-latest/newlib/testsuite/newlib.string/
Dtstring.c113 || memcmp (target, "J", 0) || strncmp (target, "A", 1) || strncmp (target, "J", 0) || in main()
130 memcmp (tmp2, "\0\0\0\0", 4)) in main()
138 memcmp (tmp2, "1\0A", 3)) in main()
160 memcmp (target, "K", 0) || in main()
176 if (memcmp (target, "YY", 2) || strcmp (target, "YY") || in main()
189 if (memcmp (target, "WW", 2) || strcmp (target, "WW") || in main()
198 memcmp (target, "XX\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16)) in main()
217 if (memcmp (target, "ZZZ", 3) || strcmp (target, "ZZZ") || in main()
221 memcmp (tmp5, "12", 3) || in main()
229 if (memcmp (target, "ZZZ", 2) || strcmp (target, "ZZZ") >= 0 || in main()
[all …]
Dmemmove1.c128 if (memcmp (to_known, to_test, sizeof (to_known)) != 0) in main()
147 if (memcmp (to_known, to_test, sizeof (to_known)) != 0) in main()
169 if (memcmp (to_known, to_test, sizeof (to_known)) != 0) in main()
/picolibc-latest/newlib/libc/machine/x86/
Dmemcmp-32.S15 .global SYM (memcmp)
16 SOTYPE_FUNCTION(memcmp)
18 SYM (memcmp):
Dmeson.build44 'memcmp.c',
52 'memcmp.S',
/picolibc-latest/newlib/libc/string/
Dbcmp.c56 return memcmp (m1, m2, n); in bcmp()
Dmemmem.c174 if (m1 <= 15 || memcmp (hs + offset, ne + offset, sizeof (long)) == 0) in memmem()
176 if (memcmp (hs, ne, m1) == 0) in memmem()
Dmemcmp.c62 memcmp (const void *m1, in memcmp() function
/picolibc-latest/newlib/libc/machine/spu/
Dmemcmp.c41 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() function
Dmemcmp_ea.c68 ret = memcmp (l_s1, l_s2, local_n); in memcmp_ea()
/picolibc-latest/newlib/libm/test/
Dstring.c394 check(memcmp("a", "a", 1) == 0); /* Identity. */ in test_string()
395 check(memcmp("abc", "abc", 3) == 0); /* Multicharacter. */ in test_string()
396 check(memcmp("abcd", "abce", 4) < 0); /* Honestly unequal. */ in test_string()
397 check(memcmp("abce", "abcd",4)); in test_string()
398 check(memcmp("alph", "beta", 4) < 0); in test_string()
399 check(memcmp("abce", "abcd", 3) == 0); /* Count limited. */ in test_string()
400 check(memcmp("abc", "def", 0) == 0); /* Zero count. */ in test_string()
405 check(memcmp(one, two,1) > 0); in test_string()
/picolibc-latest/test/
Dtest-funopen.c127 check(memcmp(test_buf, MESSAGE, strlen(MESSAGE)) == 0, "printf"); in main()
131 check(memcmp(buf, MESSAGE, strlen(MESSAGE)) == 0, "fread contents"); in main()
Dtls.c278 memcmp(&__tdata_source, &__tdata_start, tdata_size) != 0) { in main()
306 if (memcmp(tls, &__tdata_source, tdata_size) != 0) { in main()
/picolibc-latest/newlib/libc/machine/arc/
DCMakeLists.txt42 memcmp-bs-norm.S
43 memcmp.S
44 memcmp-stub.c
Dmeson.build39 'memcmp-bs-norm.S',
40 'memcmp.S',
41 'memcmp-stub.c',
Dmemcmp.S47 ENTRY (memcmp)
154 ENDFUNC (memcmp)
/picolibc-latest/semihost/
Dsys_feature.c70 if (memcmp(magic, fb_magic, sizeof (fb_magic)) != 0) in get_features()
/picolibc-latest/newlib/libc/machine/arc64/
DCMakeLists.txt38 memcmp.S
39 memcmp-stub.c
Dmeson.build38 'memcmp.S',
39 'memcmp-stub.c',
/picolibc-latest/test/semihost/
Dsemihost-read.c85 if (memcmp(buf, TEST_STRING, TEST_STRING_LEN) != 0) { in main()
Dsemihost-write.c85 if (memcmp(buf, TEST_STRING, TEST_STRING_LEN) != 0) { in main()
Dsemihost-seek.c96 if (memcmp(buf, &TEST_STRING[0] + TEST_SEEK_POS, TEST_STRING_LEN - TEST_SEEK_POS) != 0) { in main()
/picolibc-latest/newlib/libc/machine/aarch64/
DCMakeLists.txt38 memcmp-stub.c
39 memcmp.S
Dmeson.build40 'memcmp-stub.c',
41 'memcmp.S',
/picolibc-latest/newlib/libc/stdlib/
Dgetopt.c292 && (memcmp (argv[data->optind], "--", 2) == 0 in getopt_internal()
296 if (memcmp (argv[data->optind], "--", 2) == 0) in getopt_internal()
311 if (memcmp in getopt_internal()
/picolibc-latest/newlib/libc/machine/hppa/
Dmemcmp.S42 ENTRY(memcmp)
185 EXIT(memcmp)

12