/picolibc-latest/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-latest/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-latest/newlib/libc/machine/spu/ |
D | strncmp.c | 44 int strncmp(const char *s1, const char *s2, size_t n) in strncmp() function
|
/picolibc-latest/newlib/libc/signal/ |
D | sig2str.c | 243 if (strncmp(str, "RTMIN+", SPACES_TO_N) == 0) { in str2sig() 260 if (strncmp(str, "RTMAX-", SPACES_TO_N) == 0) { in str2sig()
|
/picolibc-latest/newlib/libc/stdlib/ |
D | getenv_r.c | 103 if (!strncmp (*p, name, len)) in _findenv()
|
D | gdtoa-gethex.c | 181 if (strncmp ((const char *) s, (const char *) decimalpoint, in gethex() 196 if (strncmp ((const char *) s, (const char *) decimalpoint, in gethex() 243 && strncmp ((const char *) s1 - decp_len + 1, in gethex()
|
D | strtod.c | 358 if (strncmp (s, decimal_point, dec_len) == 0)
|
D | strtodg.c | 512 if (strncmp (s, decimal_point, dec_len) == 0) in _strtodg_l()
|
/picolibc-latest/newlib/testsuite/newlib.elix/ |
D | tmmap.c | 44 CHECK (strncmp (buf, "abcjefgh", 8) == 0); in main()
|
/picolibc-latest/newlib/libc/string/ |
D | strncmp.c | 72 strncmp (const char *s1, in strncmp() function
|
D | strings.tex | 57 * Function strncmp:: Character string compare 173 @include string/strncmp.def
|
D | CMakeLists.txt | 81 strncmp.c
|
D | meson.build | 80 'strncmp.c',
|
/picolibc-latest/test/libc-testsuite/ |
D | string.c | 90 TEST(i, !strncmp("abcd", "abce", 3), 1, "strncmp compares past n"); in test_string() 91 TEST(i, !!strncmp("abc", "abd", 3), 1, "strncmp fails to compare n-1st byte"); in test_string()
|
/picolibc-latest/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 | 82 ENTRY (strncmp) 332 END(strncmp)
|
/picolibc-latest/newlib/libc/machine/hppa/ |
D | strncmp.S | 38 ENTRY(strncmp) 191 EXIT(strncmp)
|
/picolibc-latest/newlib/libc/include/ |
D | string.h | 163 int strncmp (const char *, const char *, size_t);
|
/picolibc-latest/test/ |
D | printf_scanf.c | 259 if (strncmp(buf, head, strlen(head)) != 0) in check_float() 393 if (y > 0 && strncmp(tbuf, "123", y - 1) != 0) { in main()
|
D | long_double.c | 237 if (strncmp(buf, "0x", 2) == 0) { in naive_strtold()
|
/picolibc-latest/newlib/libc/iconv/ces/ |
D | table.c | 486 || strncmp (buf + EXTTABLE_CCSNAME_OFF, name, nmlen) != 0) in load_file()
|
/picolibc-latest/newlib/libc/posix/ |
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() 842 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0') in p_b_cclass() 972 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0') in p_b_coll_elem()
|
/picolibc-latest/newlib/libc/time/ |
D | strftime.c | 305 # define t_strncmp strncmp /* char equivalent function name */
|