Home
last modified time | relevance | path

Searched defs:str2 (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dstring-compare.cpp13 std::string str2("b", 1); in Test() local
89 std::string str2("b", 1); in Valid() local
H A Dcontainer-size-empty.cpp109 std::string str2; in returnsBool() local
/llvm-project/clang/test/Sema/
H A Doverloaded-func-transparent-union.c7 char *str2; member
14 __attribute__((overloadable)) void Class_Init(Instance this, char *str, void *str2) { in Class_Init()
H A Dstring-plus-char.c11 …char *str2 = str + 'c'; // expected-warning {{adding 'char' to a string pointer does not append to… in f() local
H A Dc2x-auto.c89 …auto str2[] = "this is a string"; // expected-warning {{type inference of a declaration othe… in test_strings() local
103 …const auto *str2 = "this is a string"; // expected-warning {{type inference of a declaration othe… in test_pointers() local
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dnot-null-terminated-result-in-initialization-strlen.c39 int bad_strncmp_1(char *str1, const char *str2) { in bad_strncmp_1()
46 int good_strncmp_1(char *str1, const char *str2) { in good_strncmp_1()
51 int bad_strncmp_2(char *str2) { in bad_strncmp_2()
H A Dstring-literal-with-embedded-nul.cpp57 std::string str2 = "\0"; in TestA() local
79 std::wstring str2 = L"\0"; in TestW() local
H A Dnot-null-terminated-result-strlen.c76 int bad_strncmp_2(char *str2, const char *str3) { in bad_strncmp_2()
/llvm-project/clang/test/Lexer/
H A Dcxx0x_raw_string_delim_length.cpp4 const char *str2 = R"foo()foo"; // ok variable
/llvm-project/llvm/test/MC/X86/AlignedBundling/
H A Drodata-section.s28 .str2: label
/llvm-project/flang/test/Integration/
H A Ddebug-char-type-1.f905 character(len=:), allocatable :: str2 variable
/llvm-project/libcxx/test/std/strings/basic.string/string.cons/
H A Ddtor.pass.cpp45 …std::basic_string<char, std::char_traits<char>, test_allocator<char>> str2((test_allocator<char>(&… in test() local
/llvm-project/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/
H A Dcompare.pass.cpp37 #define ASSERT_COMPARE(type, str1, str2, expected) \ argument
/llvm-project/clang/test/FixIt/
H A Dtypo.cpp26 tring str2; // expected-error{{unknown type name 'tring'; did you mean 'string'?}} variable
91 …nonstd::wide_string<char> str2; // expected-error{{no template named 'wide_string' in namespace 'n… in poit() local
/llvm-project/clang/test/SemaCXX/
H A Dstring-plus-char.cpp18 …char *str2 = str + 'c'; // expected-warning {{adding 'char' to a string pointer does not append to… in f() local
H A Dwarn-unsequenced.cpp66 S str2 = { a++, a++ }; // ok in test() local
/llvm-project/bolt/test/X86/
H A Djump-table-pic-conflict.s115 str2: .asciz "Message 2\n" label
/llvm-project/lldb/test/API/tools/lldb-dap/completions/
H A Dmain.cpp27 std::string str2 = "b"; in main() local
/llvm-project/clang/test/CodeGen/
H A Dauto.c10 auto str2[] = "Test"; // CHECK: alloca [5 x i8] in basic_types() local
/llvm-project/clang/test/Analysis/
H A Dnonnull-global-constants.mm83 typedef str1 str2; typedef
/llvm-project/compiler-rt/test/dfsan/
H A Dcustom.cpp201 char str1[] = "str1", str2[] = "str2"; in test_memcmp() local
220 char str1[] = "str1", str2[] = "str2"; in test_bcmp() local
240 char str2[sizeof(str1)]; test_memcpy() local
302 char str1[] = "str1", str2[] = "str2"; test_strcmp() local
481 char str2[sizeof(str1)]; test_strncpy() local
517 char str1[] = "str1", str2[] = "str2"; test_strncmp() local
549 char str1[] = "str1", str2[] = "str2", str3[] = "Str1"; test_strcasecmp() local
588 char str1[] = "Str1", str2[] = "str2"; test_strncasecmp() local
1628 char str2[] = "1s"; test_strstr() local
[all...]
/llvm-project/clang/test/ASTMerge/exprs-cpp/Inputs/
H A Dexprs3.cpp25 const char str2[] = "ABCD" "0123"; variable
/llvm-project/compiler-rt/lib/asan/tests/
H A Dasan_mac_test.cpp207 CFStringRef str2 = CFStringCreateCopy(0, str); in TEST() local
/llvm-project/llvm/unittests/ADT/
H A DFoldingSet.cpp31 std::string str2 = ">" + str1; in TEST() local
/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cpp114 const char *str2 = "zxcv"; in TEST() local

12