/picolibc-3.7.0-3.6.0/newlib/testsuite/newlib.string/ |
D | tstring.c | 113 || memcmp (target, "J", 0) || strncmp (target, "A", 1) || strncmp (target, "J", 0) || in main() 129 if (target[0] != '\0' || strncmp (target, "", 1) || in main() 159 strncmp (tmp3, target, 2) || in main() 161 strncmp (target, tmp3, 3)) in main() 179 strncmp (target, tmp3, 3) || in main() 180 strncmp (target, tmp3, 4) || in main() 181 strncmp (target, tmp3, 2) || in main() 219 strncmp (target, "ZZZ", 4) || strncmp (target, "ZZY", 3) <= 0 || in main() 220 strncmp ("ZZY", target, 4) >= 0 || in main() 232 strncmp (target, "ZZZ", 2) || strncmp (target, "ZZZ", 4) >= 0 || in main() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libm/test/ |
D | string.c | 177 check(strncmp("", "", 99) == 0); /* Trivial case. */ in test_string() 178 check(strncmp("a", "a", 99) == 0); /* Identity. */ in test_string() 179 check(strncmp("abc", "abc", 99) == 0); /* Multicharacter. */ in test_string() 180 check(strncmp("abc", "abcd", 99) < 0); /* Length unequal. */ in test_string() 181 check(strncmp("abcd", "abc",99) > 0); in test_string() 182 check(strncmp("abcd", "abce", 99) < 0); /* Honestly unequal. */ in test_string() 183 check(strncmp("abce", "abcd",99)>0); in test_string() 184 check(strncmp("abce", "abcd", 3) == 0); /* Count limited. */ in test_string() 185 check(strncmp("abce", "abc", 3) == 0); /* Count == length. */ in test_string() 186 check(strncmp("abcd", "abce", 4) < 0); /* Nudging limit. */ in test_string() [all …]
|
D | test.c | 321 if (strncmp(is,shouldbe, count)) in test_scok() 340 if (strncmp(is,maybe1, count) && (maybe2 == NULL || strncmp(is,maybe2,count))) in test_scok2()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/ |
D | strncmp.c | 42 int strncmp(const char *s1, const char *s2, size_t n) in strncmp() function
|
/picolibc-3.7.0-3.6.0/newlib/libc/signal/ |
D | sig2str.c | 242 if (strncmp(str, "RTMIN+", SPACES_TO_N) == 0) { in str2sig() 259 if (strncmp(str, "RTMAX-", SPACES_TO_N) == 0) { in str2sig()
|
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/ |
D | getenv_r.c | 102 if (!strncmp (*p, name, len)) in _findenv()
|
D | gdtoa-gethex.c | 182 if (strncmp ((const char *) s, (const char *) decimalpoint, in gethex() 197 if (strncmp ((const char *) s, (const char *) decimalpoint, in gethex() 244 && strncmp ((const char *) s1 - decp_len + 1, in gethex()
|
D | strtod.c | 359 if (strncmp (s, decimal_point, dec_len) == 0)
|
D | strtodg.c | 513 if (strncmp (s, decimal_point, dec_len) == 0) in _strtodg_l()
|
/picolibc-3.7.0-3.6.0/newlib/testsuite/newlib.elix/ |
D | tmmap.c | 44 CHECK (strncmp (buf, "abcjefgh", 8) == 0); in main()
|
/picolibc-3.7.0-3.6.0/newlib/libc/string/ |
D | strncmp.c | 72 strncmp (const char *s1, in strncmp() function
|
D | strings.tex | 57 * strncmp:: Character string compare 173 @include string/strncmp.def
|
D | CMakeLists.txt | 81 strncmp.c
|
D | meson.build | 80 'strncmp.c',
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/aarch64/ |
D | CMakeLists.txt | 63 strncmp-stub.c 64 strncmp.S
|
D | meson.build | 65 'strncmp-stub.c', 66 'strncmp.S',
|
D | strncmp.S | 80 ENTRY (strncmp) 330 END(strncmp)
|
/picolibc-3.7.0-3.6.0/test/libc-testsuite/ |
D | string.c | 89 TEST(i, !strncmp("abcd", "abce", 3), 1, "strncmp compares past n"); in test_string() 90 TEST(i, !!strncmp("abc", "abd", 3), 1, "strncmp fails to compare n-1st byte"); in test_string()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/hppa/ |
D | strncmp.S | 36 ENTRY(strncmp) 189 EXIT(strncmp)
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/ |
D | string.h | 75 int strncmp (const char *, const char *, size_t);
|
/picolibc-3.7.0-3.6.0/newlib/libc/posix/ |
D | collate.c | 156 if(strncmp((const char *) t, (const char *) p2->str, in __collate_lookup()
|
D | regcomp.c | 687 if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) { in p_bracket() 692 if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) { in p_bracket() 846 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0') in p_b_cclass() 976 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0') in p_b_coll_elem()
|
/picolibc-3.7.0-3.6.0/test/ |
D | long_double.c | 224 if (strncmp(buf, "0x", 2) == 0) { in naive_strtold()
|
D | printf_scanf.c | 271 if (y > 0 && strncmp(tbuf, "123", y - 1) != 0) { in main()
|
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/ces/ |
D | table.c | 488 || strncmp (buf + EXTTABLE_CCSNAME_OFF, name, nmlen) != 0) in load_file()
|