Searched refs:strchr (Results 1 - 25 of 475) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dpr15698-7.c9 char *strchr(const char *, int); /* { dg-error "prototype declaration" } */
10 char *strchr(a) const char *a; { return 0; } /* { dg-error "number of arguments doesn't match prototype" } */ function
H A Dpr15698-6.c9 char *strchr(a) const char *a; { return 0; } /* { dg-warning "number of arguments doesn't match built-in prototype" } */ function
H A Dpr19967.c9 char *strchr(const char *, int);
20 p = strchr(__func__, 'f');
/haiku-buildtools/binutils/libiberty/
H A Dindex.c9 deprecated in new programs in favor of @code{strchr}.
15 extern char * strchr(const char *, int);
20 return strchr (s, c);
H A Dstrchr.c1 /* Portable version of strchr()
6 @deftypefn Supplemental char* strchr (const char *@var{s}, int @var{c})
19 strchr (register const char *s, int c) function
H A Dstrstr.c25 extern char *strchr (const char *, int);
35 for (; (p = strchr (p, *s2)) != 0; p++)
/haiku-buildtools/gcc/libiberty/
H A Dindex.c9 deprecated in new programs in favor of @code{strchr}.
15 extern char * strchr(const char *, int);
20 return strchr (s, c);
H A Dstrchr.c1 /* Portable version of strchr()
6 @deftypefn Supplemental char* strchr (const char *@var{s}, int @var{c})
19 strchr (register const char *s, int c) function
H A Dstrstr.c25 extern char *strchr (const char *, int);
35 for (; (p = strchr (p, *s2)) != 0; p++)
/haiku-buildtools/legacy/binutils/libiberty/
H A Dindex.c9 deprecated in new programs in favor of @code{strchr}.
15 extern char * strchr(const char *, int);
20 return strchr (s, c);
H A Dstrchr.c1 /* Portable version of strchr()
6 @deftypefn Supplemental char* strchr (const char *@var{s}, int @var{c})
19 strchr (register const char *s, int c) function
H A Dstrstr.c25 extern char *strchr (const char *, int);
35 for (; (p = strchr (p, *s2)) != 0; p++)
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20000112-1.c7 return (strchr (fmt, '*') != 0
8 || strchr (fmt, 'V') != 0
9 || strchr (fmt, 'S') != 0
10 || strchr (fmt, 'n') != 0);
/haiku-buildtools/legacy/gcc/libiberty/
H A Dindex.c3 extern char * strchr();
10 return strchr (s, c);
H A Dstrchr.c1 /* Portable version of strchr()
6 strchr -- return pointer to first occurance of a character
9 char *strchr (const char *s, int c)
23 strchr (s, c) function
H A Dstrstr.c36 extern char *strchr ();
43 for (; (p = strchr (p, *s2)) != 0; p++)
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/powerpc/
H A Dppc64-toc.c4 char *strchr (const char *, int);
13 if (strchr ("/", a))
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/
H A Dstrchr.c3 Ensure all expected transformations of builtin strchr and index
9 extern char *strchr (const char *, int);
17 if (strchr (foo, 'x'))
19 if (strchr (foo, 'o') != foo + 4)
21 if (strchr (foo + 5, 'o') != foo + 7)
23 if (strchr (foo, '\0') != foo + 11)
26 as that of strchr. */
H A Dstrstr-asm-lib.c4 extern char *strchr(const char *, int);
25 for (s1 = strchr (s1, *s2); s1; s1 = strchr (s1 + 1, *s2))
/haiku-buildtools/legacy/gcc/gcc/config/m68k/
H A Dxm-amix.h25 #define index strchr
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/
H A Dpr36513-2.c1 /* PR 36513: -Wlogical-op warns about strchr */
12 strchr (s, t);
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A Dpr19121.c10 q = strchr(s,'"') ? '\'' : '"';
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/
H A Dstrchr.c6 strchr (const char *s, int c) function
27 return strchr (s, c);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dbuiltin10.C15 cc1 = strchr ("abcba", 'b');
25 cc1 = std::strchr ("abcba", 'b');
35 c1 = strchr ((char *)"abcba", 'b');
45 c1 = std::strchr ((char *)"abcba", 'b');
52 // { dg-final { scan-tree-dump-not "strchr" "optimized" } }
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/cpp/
H A Dpaste9.c19 if (strchr (s, '\n') == NULL)

Completed in 224 milliseconds

1234567891011>>