Home
last modified time | relevance | path

Searched refs:memchr (Results 1 – 25 of 39) sorted by relevance

12

/picolibc-latest/newlib/libc/machine/hppa/
Dmemchr.S34 ENTRY(memchr)
50 EXIT(memchr)
/picolibc-latest/newlib/libc/machine/arm/
Dmemchr.S135 .global memchr
136 .type memchr,%function
138 memchr: label
267 .size memchr, . - memchr
294 .global memchr
295 .type memchr,%function
299 memchr: label
DCMakeLists.txt44 memchr.c
45 memchr.S
Dmeson.build41 'memchr.c',
42 'memchr.S',
/picolibc-latest/newlib/testsuite/newlib.string/
Dtstring.c112 if (strcmp (target, "A") || strlen(target) != 1 || memchr (target, 'A', 0) != NULL in main()
154 memchr (target, 'X', 2) != target || in main()
156 memchr (target, 'Y', 2) != NULL || in main()
177 strlen (target) != 2 || memchr (target, 'Y', 2) != target || in main()
190 strlen (target) != 2 || memchr (target, 'W', 2) != target || in main()
231 memchr (target, 'K', 3) != target + 2 || in main()
324 strlen (tmp1) != i || memchr (tmp1, first_char, i) != tmp1 || in main()
326 memchr (tmp1, second_char, i) != tmp1 + z || in main()
/picolibc-latest/newlib/libc/machine/x86/
Dmemchr-32.S15 .global SYM (memchr)
16 SOTYPE_FUNCTION(memchr)
18 SYM (memchr):
Dmeson.build43 'memchr.c',
51 'memchr.S',
DCMakeLists.txt43 memchr.S
/picolibc-latest/newlib/libc/stdio/
Dfgetws.c128 nl = memchr (fp->_p, '\n', fp->_r); in fgetws()
148 src = memchr (fp->_p, '\0', fp->_r); in fgetws()
Dfgets.c166 t = (unsigned char *) memchr ((void *) p, '\n', len); in fgets()
Dnano-vfprintf.c531 for (; (cp = memchr (flag_chars, *fmt, 5)); fmt++) in VFPRINTF()
589 if ((cp = memchr (flag_chars, *fmt, 3)) != NULL) in VFPRINTF()
597 cp = memchr ("efgEFG", prt_data.code, 6); in VFPRINTF()
/picolibc-latest/newlib/libm/test/
Dstring.c410 check(memchr("abcd", 'z', 4) == NULL); /* Not found. */ in test_string()
412 check(memchr(one, 'c', 4) == one+2); /* Basic test. */ in test_string()
413 check(memchr(one, 'd', 4) == one+3); /* End of string. */ in test_string()
414 check(memchr(one, 'a', 4) == one); /* Beginning. */ in test_string()
415 check(memchr(one, '\0', 5) == one+4); /* Finding NUL. */ in test_string()
417 check(memchr(one, 'b', 5) == one+1); /* Finding first. */ in test_string()
418 check(memchr(one, 'b', 0) == NULL); /* Zero count. */ in test_string()
419 check(memchr(one, 'a', 1) == one); /* Singleton case. */ in test_string()
421 check(memchr(one, 0203, 3) == one+1); /* Unsignedness. */ in test_string()
/picolibc-latest/newlib/libc/string/
Dstrnstr.c48 if (x && !memchr(haystack, 0, x - haystack)) in strnstr()
Dstrnlen_s.c49 s_end = memchr((const void *)s, (int)'\0', maxsize); in strnlen_s()
Dmemchr.c81 memchr (const void *src_void, in memchr() function
Dstrcasestr.c78 (!memchr ((h) + (h_l), '\0', (j) + (n_l) - (h_l)) \
Dmemmem.c123 return (void *) memchr (hs, ne[0], hs_len); in memmem()
/picolibc-latest/newlib/libc/machine/spu/
Dstrlen_ea.c56 where_null = memchr (local_s, '\0', left_in_cacheline); in strlen_ea()
Dmemchr_ea.c59 where = memchr (local_s, c, search_size); in memchr_ea()
/picolibc-latest/newlib/libc/machine/aarch64/
Drawmemchr.S57 b memchr
Dmemchr.S54 ENTRY (memchr)
150 END (memchr)
DCMakeLists.txt36 memchr-stub.c
37 memchr.S
Dmeson.build38 'memchr-stub.c',
39 'memchr.S',
/picolibc-latest/newlib/libc/machine/arc64/
Dmemchr.S41 ENTRY (memchr)
164 ENDFUNC (memchr)
168 ENTRY (memchr)
295 ENDFUNC (memchr)
DCMakeLists.txt37 memchr.S

12