Home
last modified time | relevance | path

Searched defs:Expected (Results 1 – 25 of 174) sorted by relevance

1234567

/aosp_15_r20/external/clang/unittests/Format/
H A DCleanupTest.cpp43 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 …]
/aosp_15_r20/system/libbase/
H A Dexpected_test.cpp55 TEST(Expected, testDefaultConstructible) { in TEST() argument
68 TEST(Expected, testCopyConstructible) { in TEST() argument
83 TEST(Expected, testMoveConstructible) { in TEST() argument
106 TEST(Expected, testCopyConstructibleFromConvertibleType) { in TEST() argument
116 TEST(Expected, testMoveConstructibleFromConvertibleType) { in TEST() argument
126 TEST(Expected, testConstructibleFromValue) { in TEST() argument
144 TEST(Expected, testConstructibleFromMovedValue) { in TEST() argument
153 TEST(Expected, testConstructibleFromConvertibleValue) { in TEST() argument
163 TEST(Expected, testConstructibleFromUnexpected) { in TEST() argument
186 TEST(Expected, testMoveConstructibleFromUnexpected) { in TEST() argument
[all …]
/aosp_15_r20/external/cronet/base/types/
H A Dexpected_unittest.cc194 TEST(Expected, Triviality) { in TEST() argument
202 TEST(Expected, DefaultConstructor) { in TEST() argument
211 TEST(Expected, CopyConstructor) { in TEST() argument
232 TEST(Expected, MoveConstructor) { in TEST() argument
248 TEST(Expected, ExplicitConvertingCopyConstructor) { in TEST() argument
266 TEST(Expected, ImplicitConvertingCopyConstructor) { in TEST() argument
281 TEST(Expected, ExplicitConvertingMoveConstructor) { in TEST() argument
301 TEST(Expected, ImplicitConvertingMoveConstructor) { in TEST() argument
317 TEST(Expected, ExplicitValueConstructor) { in TEST() argument
334 TEST(Expected, ImplicitValueConstructor) { in TEST() argument
[all …]
/aosp_15_r20/external/clang/unittests/Tooling/
H A DRefactoringCallbacksTest.cpp23 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
H A DRefactoringTest.cpp475 std::vector<Range> Expected = {Range(0, 4), Range(7, 2), Range(12, 5)}; in TEST() local
482 std::vector<Range> Expected = {Range(5, 2), Range(10, 5), Range(20, 4)}; in TEST() local
491 std::vector<Range> Expected = {Range(0, 2), Range(3, 4), Range(10, 5), in TEST() local
501 std::vector<Range> Expected = {Range(0, 2), Range(3, 0), Range(4, 4), in TEST() local
512 std::vector<Range> Expected = {Range(0, 1), Range(2, 4), Range(12, 5), in TEST() local
520 std::vector<Range> Expected = {Range(0, 15)}; in TEST() local
529 std::vector<Range> Expected = {Range(0, 2), Range(5, 9), Range(18, 2)}; in TEST() local
537 std::vector<Range> Expected = {Range(0, 2), Range(5, 4), Range(17, 4)}; in TEST() local
545 std::vector<Range> Expected = {Range(0, 0), Range(1, 3), Range(13, 9)}; in TEST() local
553 std::vector<Range> Expected = {Range(0, 1), Range(2, 4), Range(7, 0), Range(8, 0)}; in TEST() local
[all …]
/aosp_15_r20/external/deqp/external/openglcts/modules/gles31/
H A Des31cTextureGatherTests.cpp877 virtual std::string Expected() in Expected() function in glcts::__anon19fff6c50111::GatherBase
1028 virtual std::string Expected() in Expected() function in glcts::__anon19fff6c50111::PlainGatherInt2D
1057 virtual std::string Expected() in Expected() function in glcts::__anon19fff6c50111::PlainGatherUint2D
1102 virtual std::string Expected() in Expected() function in glcts::__anon19fff6c50111::PlainGatherDepth2D
1155 virtual std::string Expected() in Expected() function in glcts::__anon19fff6c50111::PlainGatherInt2DArray
1194 virtual std::string Expected() in Expected() function in glcts::__anon19fff6c50111::PlainGatherUint2DArray
1239 virtual std::string Expected() in Expected() function in glcts::__anon19fff6c50111::PlainGatherDepth2DArray
1312 virtual std::string Expected() in Expected() function in glcts::__anon19fff6c50111::PlainGatherIntCube
1351 virtual std::string Expected() in Expected() function in glcts::__anon19fff6c50111::PlainGatherUintCube
1396 virtual std::string Expected() in Expected() function in glcts::__anon19fff6c50111::PlainGatherDepthCube
[all …]
/aosp_15_r20/external/llvm-libc/test/src/string/
H A Dbcopy_test.cpp24 const char Expected[] = {'a', 'b', 'y', 'z'}; in TEST() local
32 const char Expected[] = {'a', 'b'}; in TEST() local
42 const char Expected[] = {'z', 'b', 'c', 'c', 'z'}; in TEST() local
50 const char Expected[] = {'z', 'a', 'a', 'b', 'z'}; in TEST() local
62 const char Expected[] = {'z', 'b', 'b', 'z'}; in TEST() local
70 const char Expected[] = {'z', 'a', 'a', 'z'}; in TEST() local
H A Dmemmove_test.cpp24 const char Expected[] = {'a', 'b', 'y', 'z'}; in TEST() local
33 const char Expected[] = {'a', 'b'}; in TEST() local
44 const char Expected[] = {'z', 'b', 'c', 'c', 'z'}; in TEST() local
53 const char Expected[] = {'z', 'a', 'a', 'b', 'z'}; in TEST() local
66 const char Expected[] = {'z', 'b', 'b', 'z'}; in TEST() local
75 const char Expected[] = {'z', 'a', 'a', 'z'}; in TEST() local
/aosp_15_r20/external/llvm/unittests/Support/
H A DConvertUTFTest.cpp27 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()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.swap/
H A Dranges.swap_ranges.pass.cpp30 using Expected = std::ranges::swap_ranges_result<int*, int*>; in test_different_lengths() typedef
117 using Expected = std::ranges::swap_ranges_result<It, It>; in test_sentinel() typedef
132 using Expected = std::ranges::swap_ranges_result<Iter1, Iter2>; in test_iterators() typedef
149 …using Expected = std::ranges::swap_ranges_result<std::array<int, 3>::iterator, std::ranges::dangli… in test_rval_range() typedef
157 …using Expected = std::ranges::swap_ranges_result<std::ranges::dangling, std::array<int, 3>::iterat… in test_rval_range() typedef
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktAtomicOperationTests.cpp326 struct Expected struct in vkt::shaderexecutor::__anon8f11a6c00111::TestBuffer
328 T m_inout;
329 T m_output[2];
331 Expected(T inout, T output0, T output1) : m_inout(inout) in Expected() argument
337 bool compare(T inout, T output0, T output1) in compare()
446 struct Expected struct in vkt::shaderexecutor::__anon8f11a6c00111::TestBufferFloatingPoint
448 T m_inout;
449 T m_output[2];
451 Expected(T inout, T output0, T output1) : m_inout(inout) in Expected() argument
457 bool compare(T inout, T output0, T output1) in compare()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.nonmodifying/mismatch/
H A Dranges_mismatch.pass.cpp33 using Expected = std::ranges::mismatch_result<Iter1, Iter2>; in test_iterators() typedef
108 …using Expected = std::ranges::mismatch_result<std::array<int, 5>::iterator, std::array<int, 5>::it… in test() typedef
120 using Expected = std::ranges::mismatch_result<Iter, Iter>; in test() typedef
132 using Expected = std::ranges::mismatch_result<int*, int*>; in test() typedef
141 using Expected = std::ranges::mismatch_result<int*, int*>; in test() typedef
152 using Expected = std::ranges::mismatch_result<int*, int*>; in test() typedef
/aosp_15_r20/frameworks/native/libs/ftl/
H A Dexpected_test.cpp33 TEST(Expected, Construct) { in TEST() argument
54 TEST(Expected, HasError) { in TEST() argument
63 TEST(Expected, ValueOpt) { in TEST() argument
111 TEST(Expected, Try) { in TEST() argument
130 TEST(Expected, Expect) { in TEST() argument
/aosp_15_r20/external/deqp/external/openglcts/modules/gl/
H A Dgl4cTextureGatherTests.cpp991 virtual Vec4 Expected() in Expected() function in gl4cts::__anon80c45f740111::GatherBase
1155 virtual Vec4 Expected() in Expected() function in gl4cts::__anon80c45f740111::PlainGatherFloat2DRg
1340 virtual Vec4 Expected() in Expected() function in gl4cts::__anon80c45f740111::PlainGatherDepth2D
1569 virtual Vec4 Expected() in Expected() function in gl4cts::__anon80c45f740111::PlainGatherDepth2DArray
1643 virtual Vec4 Expected() in Expected() function in gl4cts::__anon80c45f740111::PlainGatherFloatCubeRg
1931 virtual Vec4 Expected() in Expected() function in gl4cts::__anon80c45f740111::PlainGatherDepthCube
2220 virtual Vec4 Expected() in Expected() function in gl4cts::__anon80c45f740111::PlainGatherDepthCubeArray
2244 virtual Vec4 Expected() in Expected() function in gl4cts::__anon80c45f740111::PlainGatherFloat2DRect
2464 virtual Vec4 Expected() in Expected() function in gl4cts::__anon80c45f740111::PlainGatherDepth2DRect
2789 virtual Vec4 Expected() in Expected() function in gl4cts::__anon80c45f740111::OffsetsGatherDepth2D
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/parameter/test/
Dmpl.cpp65 void f_impl(Args const& p BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Expected)) in f_impl()
107 BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Expected) in f()
125 BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Expected) in f()
135 BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Expected) in f()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/ranges/range.adaptors/range.counted/
H A Dcounted.pass.cpp149 …using Expected = std::ranges::subrange<std::counted_iterator<decltype(it)>, std::default_sentinel_… in test() typedef
179 …using Expected = std::ranges::subrange<std::counted_iterator<decltype(it)>, std::default_sentinel_… in test() typedef
200 …using Expected = std::ranges::subrange<std::counted_iterator<decltype(it)>, std::default_sentinel_… in test() typedef
222 …using Expected = std::ranges::subrange<std::counted_iterator<decltype(it)>, std::default_sentinel_… in test() typedef
/aosp_15_r20/external/llvm/unittests/MC/
H A DStringTableBuilderTest.cpp28 std::string Expected; in TEST() local
55 std::string Expected; in TEST() local
79 std::string Expected; in TEST() local
/aosp_15_r20/external/llvm/include/llvm/Support/
H A DError.h146 template <typename T> class Expected; variable
601 template <class OtherT> friend class Expected; variable
619 Expected(Error Err) in Expected() function
646 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } in Expected() function
/aosp_15_r20/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DError.h163 template <typename T> friend class Expected; variable
632 template <class OtherT> friend class Expected; variable
650 Expected(Error Err) in Expected() function
682 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } in Expected() function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Support/
DError.h172 template <typename T> friend class Expected; variable
476 template <class OtherT> friend class Expected; variable
496 Expected(Error Err) in Expected() function
528 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } in Expected() function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Support/
DError.h172 template <typename T> friend class Expected; variable
476 template <class OtherT> friend class Expected; variable
496 Expected(Error Err) in Expected() function
528 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } in Expected() function
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DError.h169 template <typename T> friend class Expected; variable
435 template <class OtherT> friend class Expected; variable
455 Expected(Error Err) in Expected() function
487 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } in Expected() function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Support/
DError.h172 template <typename T> friend class Expected; variable
476 template <class OtherT> friend class Expected; variable
496 Expected(Error Err) in Expected() function
528 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } in Expected() function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Support/
DError.h172 template <typename T> friend class Expected; variable
476 template <class OtherT> friend class Expected; variable
496 Expected(Error Err) in Expected() function
528 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } in Expected() function
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/
H A DError.h168 template <typename T> friend class Expected; variable
472 template <class OtherT> friend class Expected; variable
492 Expected(Error Err) in Expected() function
524 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } in Expected() function

1234567