/external/llvm-project/clang-tools-extra/unittests/clang-change-namespace/ |
D | ChangeNamespaceTests.cpp | 78 std::string Expected = "namespace na {\n" in TEST_F() local 92 std::string Expected = "\n\n" in TEST_F() local 108 std::string Expected = "namespace na {\n" in TEST_F() local 127 std::string Expected = "namespace na {\n" in TEST_F() local 148 std::string Expected = "\n\n" in TEST_F() local 169 std::string Expected = "namespace na {\n" in TEST_F() local 189 std::string Expected = "namespace na {\n" in TEST_F() local 206 std::string Expected = "namespace na {\n" in TEST_F() local 231 std::string Expected = "namespace x {\n" in TEST_F() local 258 std::string Expected = "namespace na {\n" in TEST_F() local [all …]
|
/external/llvm-project/clang/unittests/Tooling/ |
D | HeaderIncludesTest.cpp | 49 std::string Expected = "#include \"a.h\"\n" in TEST_F() local 60 std::string Expected = "#ifndef A_H\n" in TEST_F() local 80 std::string Expected = "#ifndef A_H\n" in TEST_F() local 98 std::string Expected = "#include \"fix.h\"\n" in TEST_F() local 120 std::string Expected = "#include \"z.h\"\n" in TEST_F() local 131 std::string Expected = "#include <memory>\n" in TEST_F() local 146 std::string Expected = "#include \"x/fix.h\"\n" in TEST_F() local 160 std::string Expected = "#include \"x/fix.h\"\n" in TEST_F() local 177 std::string Expected = "#include \"x/fix.h\"\n" in TEST_F() local 195 std::string Expected = "#include \"x/fix.h\"\n" in TEST_F() local [all …]
|
D | RefactoringCallbacksTest.cpp | 21 void expectRewritten(const std::string &Code, const std::string &Expected, in expectRewritten() 39 std::string Expected = "void f() { ; }"; in TEST() local 46 std::string Expected = "#define A void f() { ; }\nA"; in TEST() local 53 std::string Expected = "#define A void f() { int i = 1; }"; in TEST() local 60 std::string Expected = "void f() { int i = 2; }"; in TEST() local 67 std::string Expected = "void f() { int i = i * 2; }"; in TEST() local 79 std::string Expected = "bool a; void f() { f(); }"; in TEST() local 90 std::string Expected = "void f() { }"; in TEST() local 99 std::string Expected = "void f() { FOO }"; in TEST() local 107 std::string Expected = "void f() { long x = 1; }"; in TEST() local [all …]
|
D | TransformerTest.cpp | 79 static void compareSnippets(StringRef Expected, in compareSnippets() 137 void testRule(R Rule, StringRef Input, StringRef Expected) { in testRule() 183 std::string Expected = "int f(string s) { return REPLACED; }"; in TEST_F() local 208 std::string Expected = R"cc( in TEST_F() local 226 std::string Expected = R"cc(#include "clang/OtherLib.h" in TEST_F() local 245 std::string Expected = R"cc(#include <clang/OtherLib.h> in TEST_F() local 263 std::string Expected = R"cc(#include "clang/OtherLib.h" in TEST_F() local 281 std::string Expected = R"cc(#include <clang/OtherLib.h> in TEST_F() local 299 std::string Expected = R"cc( in TEST_F() local 315 std::string Expected = R"cc( in TEST_F() local [all …]
|
D | StencilTest.cpp | 162 StringRef Expected) { in testExpr() 372 std::string Expected = "int *"; in TEST_F() local 382 std::string Expected = "Ty *"; in TEST_F() local 392 std::string Expected = "S"; in TEST_F() local 402 std::string Expected = "N::C"; in TEST_F() local 412 std::string Expected = "N::C"; in TEST_F() local 422 std::string Expected = "(anonymous namespace)::AnonC"; in TEST_F() local 509 StringRef Expected = R"("foo bar baz")"; in TEST() local 515 StringRef Expected = R"("foo \"bar\" baz\\n")"; in TEST() local 521 StringRef Expected = R"repr(describe("Id"))repr"; in TEST() local [all …]
|
/external/llvm-project/clang-tools-extra/unittests/clang-doc/ |
D | ClangDocTest.cpp | 37 void CheckCommentInfo(CommentInfo &Expected, CommentInfo &Actual) { in CheckCommentInfo() 64 void CheckReference(Reference &Expected, Reference &Actual) { in CheckReference() 70 void CheckTypeInfo(TypeInfo *Expected, TypeInfo *Actual) { in CheckTypeInfo() 74 void CheckFieldTypeInfo(FieldTypeInfo *Expected, FieldTypeInfo *Actual) { in CheckFieldTypeInfo() 79 void CheckMemberTypeInfo(MemberTypeInfo *Expected, MemberTypeInfo *Actual) { in CheckMemberTypeInfo() 84 void CheckBaseInfo(Info *Expected, Info *Actual) { in CheckBaseInfo() 96 void CheckSymbolInfo(SymbolInfo *Expected, SymbolInfo *Actual) { in CheckSymbolInfo() 108 void CheckFunctionInfo(FunctionInfo *Expected, FunctionInfo *Actual) { in CheckFunctionInfo() 122 void CheckEnumInfo(EnumInfo *Expected, EnumInfo *Actual) { in CheckEnumInfo() 131 void CheckNamespaceInfo(NamespaceInfo *Expected, NamespaceInfo *Actual) { in CheckNamespaceInfo() [all …]
|
D | MDGeneratorTest.cpp | 44 std::string Expected = R"raw(# namespace Namespace in TEST() local 105 std::string Expected = R"raw(# class r in TEST() local 168 std::string Expected = R"raw(### f in TEST() local 196 std::string Expected = R"raw(| enum class e | in TEST() local 327 std::string Expected = in TEST() local
|
D | YAMLGeneratorTest.cpp | 47 std::string Expected = in TEST() local 111 std::string Expected = in TEST() local 197 std::string Expected = in TEST() local 245 std::string Expected = in TEST() local 383 std::string Expected = in TEST() local
|
D | MergeTest.cpp | 49 auto Expected = std::make_unique<NamespaceInfo>(); in TEST() local 120 auto Expected = std::make_unique<RecordInfo>(); in TEST() local 199 auto Expected = std::make_unique<FunctionInfo>(); in TEST() local 251 auto Expected = std::make_unique<EnumInfo>(); in TEST() local
|
D | HTMLGeneratorTest.cpp | 63 std::string Expected = R"raw(<!DOCTYPE html> in TEST() local 174 std::string Expected = R"raw(<!DOCTYPE html> in TEST() local 291 std::string Expected = R"raw(<!DOCTYPE html> in TEST() local 338 std::string Expected = R"raw(<!DOCTYPE html> in TEST() local 423 std::string Expected = R"raw(<!DOCTYPE html> in TEST() local
|
/external/clang/unittests/Format/ |
D | CleanupTest.cpp | 43 std::string Expected = "\n\n\n\n\nnamespace C {\n" in TEST_F() local 62 std::string Expected = "namespace A {\n" in TEST_F() local 76 std::string Expected = "namespace A {\n\n" in TEST_F() local 92 std::string Expected = "\n\n\n\n\n\n"; in TEST_F() local 109 std::string Expected = "\n\n\n\n\n\n\n\n\n\n"; in TEST_F() local 119 std::string Expected = "class A {\nA() {} };"; in TEST_F() local 143 std::string Expected = "void f() { std::vector<int> v = {1,2,3,{4,5}}; }"; in TEST_F() local 160 std::string Expected = "class A {\nA() : x({1}) {} };"; in TEST_F() local 171 std::string Expected = in TEST_F() local 191 std::string Expected = "class A {\nA() : x({1}) /* comment */ {} };"; in TEST_F() local [all …]
|
/external/llvm-project/clang/unittests/Format/ |
D | CleanupTest.cpp | 55 std::string Expected = "\n\n\n\n\nnamespace C {\n" in TEST_F() local 69 std::string Expected = "namespace A {\n" in TEST_F() local 82 std::string Expected = "namespace A {\n\n" in TEST_F() local 96 std::string Expected = "\n\n\n\n\n\n"; in TEST_F() local 113 std::string Expected = "\n\n\n\n\n\n\n\n\n\n"; in TEST_F() local 128 std::string Expected = "#ifdef A\n" in TEST_F() local 141 std::string Expected = "class A {\nA() {} };"; in TEST_F() local 156 std::string Expected = "class A {\nA() try {} };"; in TEST_F() local 180 std::string Expected = "class A {\nA() =default; };"; in TEST_F() local 190 std::string Expected = "void f() { std::vector<int> v = {1,2,3,{4,5}}; }"; in TEST_F() local [all …]
|
/external/llvm-project/clang/unittests/Rename/ |
D | RenameFunctionTest.cpp | 45 std::string Expected = R"( in TEST_F() local 65 std::string Expected = R"( in TEST_F() local 83 std::string Expected = R"( in TEST_F() local 100 std::string Expected = R"( in TEST_F() local 136 std::string Expected = R"( in TEST_F() local 180 std::string Expected = R"( in TEST_F() local 213 std::string Expected = R"( in TEST_F() local 230 std::string Expected = R"( in TEST_F() local 248 std::string Expected = R"( in TEST_F() local 269 std::string Expected = R"( in TEST_F() local [all …]
|
D | RenameClassTest.cpp | 423 std::string Expected = R"( in TEST_F() local 456 std::string Expected = R"( in TEST_F() local 487 std::string Expected = R"( in TEST_F() local 524 std::string Expected = R"( in TEST_F() local 571 std::string Expected = R"( in TEST_F() local 613 std::string Expected = R"( in TEST_F() local 653 std::string Expected = R"( in TEST_F() local 690 std::string Expected = R"( in TEST_F() local 719 std::string Expected = R"( in TEST_F() local 748 std::string Expected = R"( in TEST_F() local [all …]
|
D | RenameAliasTest.cpp | 209 std::string Expected = R"( in TEST_F() local 222 std::string Expected = R"( in TEST_F() local 238 std::string Expected = R"( in TEST_F() local 256 std::string Expected = R"( in TEST_F() local 281 std::string Expected = R"( in TEST_F() local
|
D | RenameMemberTest.cpp | 174 std::string Expected = R"( in TEST_F() local 189 std::string Expected = R"( in TEST_F() local 210 std::string Expected = R"( in TEST_F() local
|
/external/clang/unittests/Tooling/ |
D | RefactoringCallbacksTest.cpp | 23 const std::string &Expected, in expectRewritten() 41 std::string Expected = "void f() { ; }"; in TEST() local 48 std::string Expected = "#define A void f() { ; }\nA"; in TEST() local 55 std::string Expected = "#define A void f() { int i = 1; }"; in TEST() local 62 std::string Expected = "void f() { int i = 2; }"; in TEST() local 70 std::string Expected = "void f() { int i = i * 2; }"; in TEST() local 81 std::string Expected = "bool a; void f() { f(); }"; in TEST() local 92 std::string Expected = "void f() { }"; in TEST() local
|
/external/llvm-project/clang-tools-extra/clangd/unittests/tweaks/ |
D | DefineInlineTests.cpp | 226 auto Expected = R"cpp( in TEST_F() local 269 auto Expected = R"cpp( in TEST_F() local 299 auto Expected = R"cpp( in TEST_F() local 335 auto Expected = R"cpp( in TEST_F() local 364 auto Expected = R"cpp( in TEST_F() local 415 auto Expected = R"cpp( in TEST_F() local 540 auto Expected = R"cpp( in TEST_F() local 587 auto Expected = R"cpp( in TEST_F() local 622 auto Expected = R"cpp( in TEST_F() local 681 auto Expected = R"cpp( in TEST_F() local [all …]
|
/external/llvm-project/parallel-libs/acxxel/ |
D | status.h | 88 Expected(Status AnError) in Expected() function 96 Expected(T Value) : TheState(State::SUCCESS), TheValue(std::move(Value)) {} in Expected() function 98 Expected(const Expected &That) : TheState(That.TheState) { in Expected() function 128 Expected(Expected &&That) noexcept : TheState(That.TheState) { in Expected() function 144 Expected(const Expected<U> &That) : TheState(That.TheState) { in Expected() function 158 template <typename U> Expected(Expected<U> &&That) : TheState(That.TheState) { in Expected() function
|
/external/llvm-project/llvm/unittests/MC/ |
D | StringTableBuilderTest.cpp | 28 std::string Expected; in TEST() local 59 std::string Expected; in TEST() local 87 std::string Expected; in TEST() local 115 std::string Expected; in TEST() local 146 std::string Expected; in TEST() local 181 std::string Expected; in TEST() local 213 std::string Expected; in TEST() local
|
/external/llvm/unittests/MC/ |
D | StringTableBuilderTest.cpp | 28 std::string Expected; in TEST() local 55 std::string Expected; in TEST() local 79 std::string Expected; in TEST() local
|
/external/llvm/unittests/Support/ |
D | ConvertUTFTest.cpp | 27 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0"); in TEST() local 38 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0"); in TEST() local 49 static const UTF16 Expected[] = {0x0CA0, 0x005f, 0x0CA0, 0}; in TEST() local 91 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0"); in TEST() local 101 std::wstring Expected(L"\x0ca0_\x0ca0"); in TEST() local 115 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0"); in TEST() local 187 CheckConvertUTF8ToUnicodeScalars(ConvertUTFResultContainer Expected, in CheckConvertUTF8ToUnicodeScalars()
|
/external/llvm-project/llvm/unittests/Support/ |
D | ConvertUTFTest.cpp | 24 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0"); in TEST() local 35 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0"); in TEST() local 46 static const UTF16 Expected[] = {0x0CA0, 0x005f, 0x0CA0, 0}; in TEST() local 88 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0"); in TEST() local 98 std::wstring Expected(L"\x0ca0_\x0ca0"); in TEST() local 112 std::string Expected("\xe0\xb2\xa0_\xe0\xb2\xa0"); in TEST() local 184 CheckConvertUTF8ToUnicodeScalars(ConvertUTFResultContainer Expected, in CheckConvertUTF8ToUnicodeScalars()
|
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/ |
D | TransformerClangTidyCheckTest.cpp | 62 const std::string Expected = R"( in TEST() local 86 const std::string Expected = R"cc( in TEST() local 112 const std::string Expected = R"cc( in TEST() local 163 const std::string Expected = "void nothing();"; in TEST() local 196 std::string Expected = R"cc(#include "clang/OtherLib.h" in TEST() local 212 std::string Expected = R"cc(#include <clang/OtherLib.h> in TEST() local
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktAtomicOperationTests.cpp | 317 struct Expected struct in vkt::shaderexecutor::__anon1dbe5bb10111::TestBuffer 319 T m_inout; 320 T m_output[2]; 322 Expected (T inout, T output0, T output1) in Expected() function 329 bool compare (T inout, T output0, T output1) in compare() 413 struct Expected struct in vkt::shaderexecutor::__anon1dbe5bb10111::TestBufferFloatingPoint 415 T m_inout; 416 T m_output[2]; 418 Expected(T inout, T output0, T output1) in Expected() function 425 bool compare(T inout, T output0, T output1) in compare()
|