Home
last modified time | relevance | path

Searched refs:strcasecmp (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Analysis/
H A Dstring.c1019 #define strcasecmp BUILTIN(strcasecmp) macro
1020 int strcasecmp(const char *s1, const char *s2);
1025 clang_analyzer_eval(strcasecmp(x, y) > 0); // expected-warning{{TRUE}} in strcasecmp_check_modelling()
1029 clang_analyzer_eval(strcasecmp(y, x) < 0); // expected-warning{{TRUE}} in strcasecmp_check_modelling()
1051 clang_analyzer_eval(strcasecmp(x, y) == 0); // expected-warning{{TRUE}} in strcasecmp_0()
1057 clang_analyzer_eval(strcasecmp(x, y) > 0); // expected-warning{{TRUE}} in strcasecmp_1()
1063 clang_analyzer_eval(strcasecmp(x, y) < 0); // expected-warning{{TRUE}} in strcasecmp_2()
1081 clang_analyzer_eval(strcasecmp(x, y) < 0); // expected-warning{{TRUE}} in strcasecmp_diff_length_0()
1087 clang_analyzer_eval(strcasecmp(x, y) < 0); // expected-warning{{TRUE}} in strcasecmp_diff_length_1()
1093 clang_analyzer_eval(strcasecmp(x, y) > 0); // expected-warning{{TRUE}} in strcasecmp_diff_length_2()
[all …]
H A Dtaint-generic.c740 int strcasecmp(const char *s1, const char *s2);
745 int cmp_result = strcasecmp(lhs, rhs); in testStrcasecmpWithLHSTainted()
753 int cmp_result = strcasecmp(lhs, rhs); in testStrcasecmpWithRHSTainted()
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_stream.c316 if (!strcasecmp(s->buffer, "and")) in check_keywords()
318 if (!strcasecmp(s->buffer, "or")) in check_keywords()
322 if (!strcasecmp(s->buffer, "not")) in check_keywords()
324 if (!strcasecmp(s->buffer, "infty")) in check_keywords()
328 if (!strcasecmp(s->buffer, "NaN")) in check_keywords()
330 if (!strcasecmp(s->buffer, "min")) in check_keywords()
332 if (!strcasecmp(s->buffer, "max")) in check_keywords()
334 if (!strcasecmp(s->buffer, "rat")) in check_keywords()
336 if (!strcasecmp(s->buffer, "true")) in check_keywords()
344 if (!strcasecmp(s->buffer, "mod")) in check_keywords()
[all …]
H A Disl_config_post.h23 #define strcasecmp _stricmp macro
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerInterceptors.cpp146 DEFINE_REAL(int, strcasecmp, const char *, const char *) in DEFINE_REAL()
190 ATTRIBUTE_INTERFACE int strcasecmp(const char *s1, const char *s2) { in strcasecmp() function
192 int result = REAL(strcasecmp)(s1, s2); in strcasecmp()
241 REAL(strcasecmp) = reinterpret_cast<strcasecmp_type>( in fuzzerInit()
242 getFuncAddr("strcasecmp", reinterpret_cast<uintptr_t>(&strcasecmp))); in fuzzerInit()
/llvm-project-15.0.7/compiler-rt/lib/asan/tests/
H A Dasan_str_test.cpp313 EXPECT_EQ(0, strcasecmp("", "")); in TEST()
314 EXPECT_EQ(0, strcasecmp("zzz", "zzz")); in TEST()
315 EXPECT_EQ(0, strcasecmp("abCD", "ABcd")); in TEST()
316 EXPECT_GT(0, strcasecmp("aB", "Ac")); in TEST()
317 EXPECT_GT(0, strcasecmp("ABC", "ABCd")); in TEST()
318 EXPECT_LT(0, strcasecmp("acc", "abc")); in TEST()
319 EXPECT_LT(0, strcasecmp("ABCd", "abc")); in TEST()
373 RunStrCmpTest(&strcasecmp); in TEST()
/llvm-project-15.0.7/llvm/utils/valgrind/
H A Dx86_64-pc-linux-gnu.supp77 suppress optimized strcasecmp, to be fixed in valgrind 3.6.1
83 suppress optimized strcasecmp, to be fixed in valgrind 3.6.1
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dsuspicious-string-compare.cpp28 int strcasecmp(const char *, const char *);
150 if (strcasecmp(A, "a")) in test_implicit_compare_with_functions()
/llvm-project-15.0.7/clang/test/Sema/
H A Dbuiltins-gnu-mode.c13 int strcasecmp; variable
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dweak_hook_test.cpp80 int_sink = strcasecmp(s1, s2); in main()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DDNB.cpp1562 if (strcasecmp(reg_name, set_info[set].registers[reg].name) == 0) in DNBThreadGetRegisterValueByName()
1568 if (strcasecmp(reg_name, set_info[set].registers[reg].name) == 0) in DNBThreadGetRegisterValueByName()
1587 if (strcasecmp(reg_name, set_info[set].registers[reg].name) == 0) { in DNBGetRegisterInfoByName()
1600 if (strcasecmp(reg_name, set_info[set].registers[reg].alt) == 0) { in DNBGetRegisterInfoByName()
1768 if (strcasecmp(arch, "i386") == 0) in DNBSetArchitecture()
1770 else if (strcasecmp(arch, "x86_64") == 0) in DNBSetArchitecture()
1773 else if (strcasecmp(arch, "x86_64h") == 0) in DNBSetArchitecture()
H A Ddebugserver.cpp1105 if (strcasecmp(optarg, "auto") == 0) in main()
1163 if (strcasecmp(optarg, "stdout") == 0) in main()
1165 else if (strcasecmp(optarg, "stderr") == 0) in main()
/llvm-project-15.0.7/polly/lib/External/
H A Disl_config.h.cmake20 /* Define to 1 if you have the declaration of `strcasecmp', and to 0 if you
H A DCMakeLists.txt112 int main(void) { (void)strcasecmp(\"\", \"\"); return 0; }
121 message(FATAL_ERROR "No strcasecmp implementation found")
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dsuspicious-string-compare.rst62 `lstrcmp`, `lstrcmpi`, `memcmp`, `memicmp`, `strcasecmp`, `strcmp`,
H A Dunused-return-value.rst30 semget, setjmp, shm_open, shmget, sigismember, strcasecmp, strsignal,
/llvm-project-15.0.7/llvm/test/Analysis/BranchProbabilityInfo/
H A Dlibfunc_call.ll5 declare i32 @strcasecmp(i8*, i8*)
153 %val = call i32 @strcasecmp(i8* %p, i8* %q)
/llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/
H A Dno-proto.ll807 ; CHECK: declare void @strcasecmp(...)
808 declare void @strcasecmp(...)
/llvm-project-15.0.7/openmp/runtime/src/
H A Dompt-general.cpp45 #define OMPT_STR_MATCH(haystack, needle) (!strcasecmp(haystack, needle))
/llvm-project-15.0.7/compiler-rt/test/dfsan/
H A Dcustom.cpp477 int rv = strcasecmp(str1, str2); in test_strcasecmp()
486 rv = strcasecmp(str1, str3); in test_strcasecmp()
500 rv = strcasecmp(s1, s2); in test_strcasecmp()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddone_abilist.txt271 fun:strcasecmp=custom
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def1279 /// int strcasecmp(const char *s1, const char *s2);
1280 TLI_DEFINE_ENUM_INTERNAL(strcasecmp)
1281 TLI_DEFINE_STRING_INTERNAL("strcasecmp")
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-port.h2008 return strcasecmp(s1, s2);
/llvm-project-15.0.7/polly/lib/External/isl/imath/examples/
H A Dimcalc.c378 if (strcasecmp(buf, g_ops[ix].name) == 0) return ix; in find_command()
/llvm-project-15.0.7/llvm/test/tools/llvm-tli-checker/
H A Dps4-tli-check.yaml837 - Name: strcasecmp

12