Searched refs:strstr (Results 1 - 25 of 160) sorted by relevance

1234567

/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/
H A Dstrstr.c3 Ensure all expected transformations of builtin strstr occur and
9 extern char *strstr (const char *, const char *);
16 if (strstr (foo, "") != foo)
18 if (strstr (foo + 4, "") != foo + 4)
20 if (strstr (foo, "h") != foo)
22 if (strstr (foo, "w") != foo + 6)
24 if (strstr (foo + 6, "o") != foo + 7)
26 if (strstr (foo + 1, "world") != foo + 6)
H A Dstrstr-asm.c3 Ensure all expected transformations of builtin strstr occur and
12 extern char *strstr (const char *, const char *)
22 if (strstr (foo, "") != foo)
24 if (strstr (foo + 4, "") != foo + 4)
26 if (strstr (foo, "h") != foo)
28 if (strstr (foo, "w") != foo + 6)
30 if (strstr (foo + 6, "o") != foo + 7)
32 if (strstr (foo + 1, "world") != foo + 6)
34 if (strstr (foo + 2, p) != foo + 8)
36 if (strstr (
[all...]
H A Dstrstr-asm-lib.c17 /* If optimizing, we should be called only in the strstr (foo + 2, p)
32 strstr (const char *s1, const char *s2) function
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dbuiltin-strstr.c1 /* The strstr call is expanded to just "s", which should not result in a
4 extern char * strstr (const char *s1, const char * s2);
7 cp = strstr(s, "");
H A Dpr19967.c14 char *strstr(const char *, const char *);
25 p = strstr(__func__, "f");
/haiku-buildtools/gcc/gcc/config/mips/
H A Ddriver-native.c60 if (strstr (buf, "Godson2 V0.2") != NULL
61 || strstr (buf, "Loongson-2 V0.2") != NULL
62 || strstr (buf, "Loongson-2E") != NULL)
64 else if (strstr (buf, "Godson2 V0.3") != NULL
65 || strstr (buf, "Loongson-2 V0.3") != NULL
66 || strstr (buf, "Loongson-2F") != NULL)
68 else if (strstr (buf, "Godson3 V0.5") != NULL
69 || strstr (buf, "Loongson-3 V0.5") != NULL
70 || strstr (buf, "Loongson-3A") != NULL)
72 else if (strstr (bu
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dbuiltin10.C18 cc4 = strstr ("aaabc", "abc");
28 cc4 = std::strstr ("aaabc", "abc");
38 c4 = strstr ((char *)"aaabc", "abc");
48 c4 = std::strstr ((char *)"aaabc", "abc");
55 // { dg-final { scan-tree-dump-not "strstr" "optimized" } }
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/cpp/trad/
H A Dbuiltins.c8 char *strstr (const char *, const char *);
45 if (!strstr (__FILE__, "builtins.c"))
/haiku-buildtools/binutils/libiberty/
H A Dstrstr.c1 /* Simple implementation of strstr for systems without it.
6 @deftypefn Supplemental char* strstr (const char *@var{string}, const char *@var{sub})
30 strstr (const char *s1, const char *s2) function
/haiku-buildtools/gcc/libiberty/
H A Dstrstr.c1 /* Simple implementation of strstr for systems without it.
6 @deftypefn Supplemental char* strstr (const char *@var{string}, const char *@var{sub})
30 strstr (const char *s1, const char *s2) function
/haiku-buildtools/legacy/binutils/libiberty/
H A Dstrstr.c1 /* Simple implementation of strstr for systems without it.
6 @deftypefn Supplemental char* strstr (const char *@var{string}, const char *@var{sub})
30 strstr (const char *s1, const char *s2) function
/haiku-buildtools/legacy/gcc/libiberty/
H A Dstrstr.c1 /* Simple implementation of strstr for systems without it.
8 strstr -- locate first occurance of a substring
14 char *strstr (char *s1, char *s2)
32 strstr (s1, s2) function
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/
H A Dstrstr.c6 strstr(const char *s1, const char *s2) function
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/c_strings/char/
H A D3_neg.cc35 c1 = std::strstr (c2, "abc");
41 cc1 = std::strstr (c2, "abc");
47 c1 = std::strstr (cc2, "abc"); // { dg-error "invalid conversion" }
53 cc1 = std::strstr (cc2, "abc");
H A D1.cc54 // const char* strstr(const char* s1, const char* s2);
55 // char* strstr(char* s1, const char* s2);
56 cc1 = std::strstr(ccarray1, ccarray2);
57 c1 = std::strstr(carray, carray);
H A D2.cc42 c = strstr(carray, carray);
/haiku-buildtools/binutils/opcodes/
H A Dia64-gen.c727 if ((notestr = strstr (name, "+")) != NULL)
900 return ((op == IA64_OPND_RR_R3 && strstr (field, "rr"))
901 || (op == IA64_OPND_DBR_R3 && strstr (field, "dbr"))
902 || (op == IA64_OPND_IBR_R3 && strstr (field, "ibr"))
903 || (op == IA64_OPND_PKR_R3 && strstr (field, "pkr"))
904 || (op == IA64_OPND_PMC_R3 && strstr (field, "pmc"))
905 || (op == IA64_OPND_PMD_R3 && strstr (field, "pmd"))
906 || (op == IA64_OPND_MSR_R3 && strstr (field, "msr"))
907 || (op == IA64_OPND_CPUID_R3 && strstr (field, "cpuid"))
908 || (op == IA64_OPND_DAHR_R3 && strstr (fiel
[all...]
/haiku-buildtools/legacy/binutils/opcodes/
H A Dia64-gen.c730 if ((notestr = strstr (name, "+")) != NULL)
903 return ((op == IA64_OPND_RR_R3 && strstr (field, "rr"))
904 || (op == IA64_OPND_DBR_R3 && strstr (field, "dbr"))
905 || (op == IA64_OPND_IBR_R3 && strstr (field, "ibr"))
906 || (op == IA64_OPND_PKR_R3 && strstr (field, "pkr"))
907 || (op == IA64_OPND_PMC_R3 && strstr (field, "pmc"))
908 || (op == IA64_OPND_PMD_R3 && strstr (field, "pmd"))
909 || (op == IA64_OPND_MSR_R3 && strstr (field, "msr"))
910 || (op == IA64_OPND_CPUID_R3 && strstr (field, "cpuid")));
942 return strstr (forma
[all...]
H A Dppc-dis.c48 && strstr (info->disassembler_options, "booke") != NULL)
52 && strstr (info->disassembler_options, "e500") != NULL))
59 && strstr (info->disassembler_options, "efs") != NULL)
62 && strstr (info->disassembler_options, "e300") != NULL)
69 && strstr (info->disassembler_options, "power4") != NULL)
73 && strstr (info->disassembler_options, "power5") != NULL)
77 && strstr (info->disassembler_options, "any") != NULL)
82 if (strstr (info->disassembler_options, "32") != NULL)
84 else if (strstr (info->disassembler_options, "64") != NULL)
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/ios_base/failure/
H A Dwhat-2.cc42 VERIFY( std::strstr(obj.what(), "whoa") != NULL );
H A Dwhat-big.cc34 VERIFY( std::strstr(t.what(), xxx.c_str()) != NULL );
H A Dwhat-1.cc41 VERIFY( std::strstr(obj1.what(), s.data()) != NULL );
42 VERIFY( std::strstr(obj2.what(), s.data()) != NULL );
56 VERIFY( std::strstr(x.what(), s.data()) != NULL );
H A Dwhat-3.cc56 VERIFY( std::strstr(obj1.what(), strlit1) != NULL );
69 VERIFY( std::strstr(obj1.what(), strlit2) != NULL );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/headers/cstring/
H A Dfunctions_std.cc43 using std::strstr;
/haiku-buildtools/binutils/gold/testsuite/
H A Dplugin_section_order.c155 if (strstr(name, "_Z3foov") != NULL)
157 else if (strstr(name, "_Z3barv") != NULL)
159 else if (strstr(name, "_Z3bazv") != NULL)

Completed in 423 milliseconds

1234567