/picolibc-3.5.0-3.4.0/newlib/testsuite/newlib.string/ |
D | tstring.c | 102 || memcmp (target, "J", 0) || strncmp (target, "A", 1) || strncmp (target, "J", 0) || in main() 118 if (target[0] != '\0' || strncmp (target, "", 1) || in main() 148 strncmp (tmp3, target, 2) || in main() 150 strncmp (target, tmp3, 3)) in main() 168 strncmp (target, tmp3, 3) || in main() 169 strncmp (target, tmp3, 4) || in main() 170 strncmp (target, tmp3, 2) || in main() 208 strncmp (target, "ZZZ", 4) || strncmp (target, "ZZY", 3) <= 0 || in main() 209 strncmp ("ZZY", target, 4) >= 0 || in main() 221 strncmp (target, "ZZZ", 2) || strncmp (target, "ZZZ", 4) >= 0 || in main() [all …]
|
/picolibc-3.5.0-3.4.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 | 312 if (strncmp(is,shouldbe, count)) in test_scok() 331 if (strncmp(is,maybe1, count) && (maybe2 == NULL || strncmp(is,maybe2,count))) in test_scok2()
|
/picolibc-3.5.0-3.4.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.5.0-3.4.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.5.0-3.4.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.5.0-3.4.0/newlib/testsuite/newlib.elix/ |
D | tmmap.c | 44 CHECK (strncmp (buf, "abcjefgh", 8) == 0); in main()
|
/picolibc-3.5.0-3.4.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.5.0-3.4.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.5.0-3.4.0/newlib/libc/machine/aarch64/ |
D | CMakeLists.txt | 61 strncmp-stub.c 62 strncmp.S
|
D | strncmp.S | 77 def_fn strncmp 289 .size strncmp, . - strncmp
|
D | meson.build | 63 'strncmp-stub.c', 64 'strncmp.S',
|
/picolibc-3.5.0-3.4.0/newlib/libc/machine/hppa/ |
D | strncmp.S | 36 ENTRY(strncmp) 189 EXIT(strncmp)
|
/picolibc-3.5.0-3.4.0/newlib/libc/include/ |
D | string.h | 75 int strncmp (const char *, const char *, size_t);
|
/picolibc-3.5.0-3.4.0/newlib/libc/posix/ |
D | collate.c | 155 if(strncmp((const char *) t, (const char *) p2->str, in __collate_lookup()
|
D | regcomp.c | 688 if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) { in p_bracket() 693 if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) { in p_bracket() 847 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0') in p_b_cclass() 977 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0') in p_b_coll_elem()
|
/picolibc-3.5.0-3.4.0/test/ |
D | printf_scanf.c | 222 if (y > 0 && strncmp(tbuf, "123", y - 1) != 0) { in main()
|
/picolibc-3.5.0-3.4.0/newlib/libc/iconv/ces/ |
D | table.c | 488 || strncmp (buf + EXTTABLE_CCSNAME_OFF, name, nmlen) != 0) in load_file()
|
/picolibc-3.5.0-3.4.0/newlib/libc/time/ |
D | strftime.c | 306 # define t_strncmp strncmp /* char equivalent function name */
|