/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/ |
H A D | memchr.c | 3 Ensure all expected transformations of builtin memchr occur 10 extern void *memchr (const void *, int, size_t); 17 if (memchr (foo1, 'x', 11)) 19 if (memchr (foo1, 'o', 11) != foo1 + 4) 21 if (memchr (foo1, 'w', 2)) 23 if (memchr (foo1 + 5, 'o', 6) != foo1 + 7) 25 if (memchr (foo1, 'd', 11) != foo1 + 10) 27 if (memchr (foo1, 'd', 10)) 29 if (memchr (foo1, '\0', 11)) 31 if (memchr (foo [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | mismatch-decl-1.c | 1 /* This test assumes -fbuiltin and not -fansi to get "index" and "memchr" builtin DECLs. */ 18 /* This changes the type of "memchr", which is only a builtin. */ 19 int memchr; /* { dg-warning "built-in function 'memchr' declared as non-function" } */ variable
|
H A D | pr59717.c | 178 memchr (p, 2, sz); /* { dg-warning "incompatible implicit" } */
|
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/ |
H A D | Wsizeof-pointer-memaccess1.c | 11 extern void *memchr (const void *, int, size_t); 37 arr[i++] = memchr (&a, 0, sizeof (&a)); /* { dg-warning "call is the same expression as the source; did you mean to remove the addressof" } */ 38 arr[i++] = memchr (pa1, 0, sizeof (pa1)); /* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */ 39 arr[i++] = memchr (pa2, 0, sizeof pa2); /* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */ 40 arr[i++] = memchr (pa3, 0, sizeof (pa3)); /* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */ 41 arr[i++] = memchr (pa4, 0, sizeof pa4); /* { dg-warning "call is the same expression as the source; did you mean to dereference it" } */ 42 arr[i++] = memchr (pa1, 0, sizeof (struct A *)); /* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */ 43 arr[i++] = memchr (pa2, 0, sizeof (PTA)); /* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */ 44 arr[i++] = memchr (pa3, 0, sizeof (PA)); /* { dg-warning "call is the same pointer type \[^\n\r\]* as the source; expected \[^\n\r\]* or an explicit length" } */ 45 arr[i++] = memchr (pa [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/headers/cstring/ |
H A D | functions_std.cc | 24 using std::memchr;
|
/haiku-buildtools/binutils/libiberty/ |
H A D | memchr.c | 3 @deftypefn Supplemental void* memchr (const void *@var{s}, int @var{c}, @ 22 memchr (register const PTR src_void, int c, size_t length) function
|
/haiku-buildtools/gcc/libiberty/ |
H A D | memchr.c | 3 @deftypefn Supplemental void* memchr (const void *@var{s}, int @var{c}, @ 22 memchr (register const PTR src_void, int c, size_t length) function
|
/haiku-buildtools/legacy/binutils/libiberty/ |
H A D | memchr.c | 3 @deftypefn Supplemental void* memchr (const void *@var{s}, int @var{c}, size_t @var{n}) 21 memchr (register const PTR src_void, int c, size_t length) function
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/ |
H A D | builtin10.C | 14 cv1 = memchr ("abcba", 'b', 3); 24 cv1 = std::memchr ("abcba", 'b', 3); 34 v1 = memchr ((char *)"abcba", 'b', 3); 44 v1 = std::memchr ((char *)"abcba", 'b', 3); 51 // { dg-final { scan-tree-dump-not "memchr" "optimized" } }
|
/haiku-buildtools/legacy/gcc/libiberty/ |
H A D | memchr.c | 3 <<memchr>>---find character in memory 6 memchr 10 void *memchr(const void *<[src]>, int <[c]>, size_t <[length]>); 14 void *memchr(<[src]>, <[c]>, <[length]>) 31 <<memchr>> requires no supporting OS subroutines. 34 memchr ansi pure 46 memchr (src_void, c, length) function
|
H A D | Makefile.in | 126 getruntime.c floatformat.c hex.c index.c insque.c memchr.c \ 165 NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/ |
H A D | memchr.c | 6 memchr (const void *s, int c, __SIZE_TYPE__ n) function
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/c_strings/char/ |
H A D | 3_neg.cc | 31 v1 = std::memchr (v2, '/', 3); 37 cv1 = std::memchr (v2, '/', 3); 43 v1 = std::memchr (cv2, '/', 3); // { dg-error "invalid conversion" } 49 cv1 = std::memchr (cv2, '/', 3);
|
H A D | 1.cc | 59 // const void* memchr(const void* s, int c, size_t n); 60 // void* memchr( void* s, int c, size_t n); 61 cv = std::memchr(cv, 'a', 3); 62 v = std::memchr(v, 'a', 3);
|
H A D | 2.cc | 38 cv1 = memchr(cv, '/', 3);
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/headers/cstring/ |
H A D | functions_std.cc | 24 using std::memchr;
|
/haiku-buildtools/legacy/gcc/libio/ |
H A D | isgetsb.cc | 45 char *delimp = (char*)memchr((void*)isb->_IO_read_ptr, delim, len);
|
H A D | iogetline.c | 88 t = (char *) memchr ((void *) fp->_IO_read_ptr, delim, len);
|
H A D | iogetdelim.c | 90 t = (char *) memchr ((void *) fp->_IO_read_ptr, delimiter, len);
|
/haiku-buildtools/legacy/gcc/texinfo/lib/ |
H A D | system.h | 55 char *memchr ();
|
/haiku-buildtools/gcc/libstdc++-v3/include/c_compatibility/ |
H A D | string.h | 46 using std::memchr;
|
/haiku-buildtools/gcc/libstdc++-v3/config/locale/gnu/ |
H A D | codecvt_members.cc | 139 __from_chunk_end = static_cast<const extern_type*>(memchr(__from_next, '\0', 255 __from_chunk_end = static_cast<const extern_type*>(memchr(__from, '\0',
|
/haiku-buildtools/jam/ |
H A D | lists.c | 193 while( p = (char *)memchr( op, '"', ep - op ) )
|
H A D | pathmac.c | 102 while( q = memchr( q, '.', end - q ) )
|
/haiku-buildtools/gcc/gcc/cp/ |
H A D | cfns.h | 205 "memchr",
|