Home
last modified time | relevance | path

Searched refs:MakeVector (Results 1 – 25 of 76) sorted by relevance

1234

/external/webrtc/pc/
Dsrtp_filter_unittest.cc69 static std::vector<CryptoParams> MakeVector(const CryptoParams& params) { in MakeVector() function in rtc::SrtpFilterTest
106 EXPECT_TRUE(f1_.SetOffer(MakeVector(kTestCryptoParams1), CS_LOCAL)); in TEST_F()
108 EXPECT_TRUE(f1_.SetAnswer(MakeVector(kTestCryptoParams2), CS_REMOTE)); in TEST_F()
113 EXPECT_TRUE(f1_.SetOffer(MakeVector(kTestCryptoParamsGcm1), CS_LOCAL)); in TEST_F()
115 EXPECT_TRUE(f1_.SetAnswer(MakeVector(kTestCryptoParamsGcm2), CS_REMOTE)); in TEST_F()
121 std::vector<CryptoParams> offer(MakeVector(kTestCryptoParams1)); in TEST_F()
122 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F()
135 std::vector<CryptoParams> offer(MakeVector(kTestCryptoParamsGcm1)); in TEST_F()
136 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParamsGcm3)); in TEST_F()
157 EXPECT_TRUE(f1_.SetOffer(MakeVector(kTestCryptoParams1), CS_LOCAL)); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dtext_to_binary.extension_test.cpp34 using utils::MakeVector;
376 MakeVector("SPV_AMD_shader_explicit_vertex_parameter")), in TEST_F()
395 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
400 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
405 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
410 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
415 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
420 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
425 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
430 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
[all …]
Dunit_spirv.cpp24 using utils::MakeVector;
28 TEST(MakeVector, Samples) { in TEST() argument
29 EXPECT_THAT(MakeVector(""), Eq(Words{0})); in TEST()
30 EXPECT_THAT(MakeVector("a"), Eq(Words{0x0061})); in TEST()
31 EXPECT_THAT(MakeVector("ab"), Eq(Words{0x006261})); in TEST()
32 EXPECT_THAT(MakeVector("abc"), Eq(Words{0x00636261})); in TEST()
33 EXPECT_THAT(MakeVector("abcd"), Eq(Words{0x64636261, 0x00})); in TEST()
34 EXPECT_THAT(MakeVector("abcde"), Eq(Words{0x64636261, 0x0065})); in TEST()
Dtext_to_binary.debug_test.cpp30 using utils::MakeVector;
99 MakeVector(fake_source)))); in TEST_F()
113 Eq(MakeInstruction(SpvOpSourceContinued, MakeVector(GetParam())))); in TEST_P()
132 Eq(MakeInstruction(SpvOpSourceExtension, MakeVector(GetParam())))); in TEST_P()
158 Eq(MakeInstruction(SpvOpString, {1}, MakeVector(GetParam())))); in TEST_P()
173 Eq(MakeInstruction(SpvOpName, {1}, MakeVector(GetParam())))); in TEST_P()
190 Eq(MakeInstruction(SpvOpMemberName, {1, 42}, MakeVector(GetParam())))); in TEST_P()
208 Eq(MakeInstruction(SpvOpModuleProcessed, MakeVector(GetParam())))); in TEST_P()
Dcomment_test.cpp27 using utils::MakeVector;
47 MakeVector("GLSL.std.450"))}))); in TEST_F()
Dbinary_parse_test.cpp43 using utils::MakeVector;
483 const auto str_words = MakeVector(str); in TEST_F()
697 MakeVector("abc"),
707 MakeVector("abc"),
716 MakeVector("abc"),
726 MakeVector("abc"),
735 MakeVector("abc"),
771 MakeVector("OpenCL.std")),
797 MakeVector("invalid-import"))}),
Dassembly_context_test.cpp45 utils::MakeVector(GetParam().str)}))); in TEST_P()
Dtext_to_binary.mode_setting_test.cpp32 using utils::MakeVector;
115 MakeVector(GetParam().entry_point_name)))); in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dunit_spirv.cpp24 using utils::MakeVector;
28 TEST(MakeVector, Samples) { in TEST() argument
29 EXPECT_THAT(MakeVector(""), Eq(Words{0})); in TEST()
30 EXPECT_THAT(MakeVector("a"), Eq(Words{0x0061})); in TEST()
31 EXPECT_THAT(MakeVector("ab"), Eq(Words{0x006261})); in TEST()
32 EXPECT_THAT(MakeVector("abc"), Eq(Words{0x00636261})); in TEST()
33 EXPECT_THAT(MakeVector("abcd"), Eq(Words{0x64636261, 0x00})); in TEST()
34 EXPECT_THAT(MakeVector("abcde"), Eq(Words{0x64636261, 0x0065})); in TEST()
Dtext_to_binary.extension_test.cpp34 using utils::MakeVector;
413 MakeVector("SPV_AMD_shader_explicit_vertex_parameter")), in TEST_F()
432 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
437 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
442 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
447 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
452 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
457 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
462 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
467 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
[all …]
Dtext_to_binary.debug_test.cpp30 using utils::MakeVector;
102 MakeVector(fake_source)))); in TEST_F()
116 Eq(MakeInstruction(spv::Op::OpSourceContinued, MakeVector(GetParam())))); in TEST_P()
135 Eq(MakeInstruction(spv::Op::OpSourceExtension, MakeVector(GetParam())))); in TEST_P()
162 Eq(MakeInstruction(spv::Op::OpString, {1}, MakeVector(GetParam())))); in TEST_P()
178 Eq(MakeInstruction(spv::Op::OpName, {1}, MakeVector(GetParam())))); in TEST_P()
195 MakeVector(GetParam())))); in TEST_P()
213 Eq(MakeInstruction(spv::Op::OpModuleProcessed, MakeVector(GetParam())))); in TEST_P()
Dcomment_test.cpp27 using utils::MakeVector;
47 MakeVector("GLSL.std.450"))}))); in TEST_F()
Dbinary_parse_test.cpp43 using utils::MakeVector;
483 const auto str_words = MakeVector(str); in TEST_F()
700 MakeVector("abc"),
711 MakeVector("abc"),
721 MakeVector("abc"),
732 MakeVector("abc"),
742 MakeVector("abc"),
778 MakeVector("OpenCL.std")),
805 MakeVector("invalid-import"))}),
Dassembly_context_test.cpp45 utils::MakeVector(GetParam().str)}))); in TEST_P()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dunit_spirv.cpp24 using utils::MakeVector;
28 TEST(MakeVector, Samples) { in TEST() argument
29 EXPECT_THAT(MakeVector(""), Eq(Words{0})); in TEST()
30 EXPECT_THAT(MakeVector("a"), Eq(Words{0x0061})); in TEST()
31 EXPECT_THAT(MakeVector("ab"), Eq(Words{0x006261})); in TEST()
32 EXPECT_THAT(MakeVector("abc"), Eq(Words{0x00636261})); in TEST()
33 EXPECT_THAT(MakeVector("abcd"), Eq(Words{0x64636261, 0x00})); in TEST()
34 EXPECT_THAT(MakeVector("abcde"), Eq(Words{0x64636261, 0x0065})); in TEST()
Dtext_to_binary.extension_test.cpp34 using utils::MakeVector;
413 MakeVector("SPV_AMD_shader_explicit_vertex_parameter")), in TEST_F()
432 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
437 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
442 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
447 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
452 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
457 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
462 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
467 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
[all …]
Dtext_to_binary.debug_test.cpp30 using utils::MakeVector;
102 MakeVector(fake_source)))); in TEST_F()
116 Eq(MakeInstruction(spv::Op::OpSourceContinued, MakeVector(GetParam())))); in TEST_P()
135 Eq(MakeInstruction(spv::Op::OpSourceExtension, MakeVector(GetParam())))); in TEST_P()
162 Eq(MakeInstruction(spv::Op::OpString, {1}, MakeVector(GetParam())))); in TEST_P()
178 Eq(MakeInstruction(spv::Op::OpName, {1}, MakeVector(GetParam())))); in TEST_P()
195 MakeVector(GetParam())))); in TEST_P()
213 Eq(MakeInstruction(spv::Op::OpModuleProcessed, MakeVector(GetParam())))); in TEST_P()
Dcomment_test.cpp27 using utils::MakeVector;
47 MakeVector("GLSL.std.450"))}))); in TEST_F()
Dbinary_parse_test.cpp43 using utils::MakeVector;
727 const auto str_words = MakeVector(str); in TEST_F()
752 const auto str_words = MakeVector(str); in TEST_F()
1000 MakeVector("abc"),
1011 MakeVector("abc"),
1021 MakeVector("abc"),
1032 MakeVector("abc"),
1042 MakeVector("abc"),
1078 MakeVector("OpenCL.std")),
1105 MakeVector("invalid-import"))}),
Dassembly_context_test.cpp45 utils::MakeVector(GetParam().str)}))); in TEST_P()
/external/google-breakpad/src/common/
Ddwarf_cfi_to_module.cc45 vector<string> DwarfCFIToModule::RegisterNames::MakeVector( in MakeVector() function in google_breakpad::DwarfCFIToModule::RegisterNames
65 return MakeVector(names, sizeof(names) / sizeof(names[0])); in I386()
84 return MakeVector(names, sizeof(names) / sizeof(names[0])); in X86_64()
105 return MakeVector(names, sizeof(names) / sizeof(names[0])); in ARM()
125 return MakeVector(names, sizeof(names) / sizeof(names[0])); in ARM64()
141 return MakeVector(kRegisterNames, in MIPS()
/external/grpc-grpc/test/cpp/microbenchmarks/
Dfullstack_context_mutators.h43 auto MakeVector(size_t length, F f) -> std::vector<decltype(f())> {
131 MakeVector(kPregenerateKeyCount, GenerateOneString);
138 MakeVector(kPregenerateKeyCount, GenerateOneString);
/external/webrtc/media/base/
Dtest_utils.h33 inline std::vector<T> MakeVector(const T a[], size_t s) { in MakeVector() function
36 #define MAKE_VECTOR(a) cricket::MakeVector(a, arraysize(a))
/external/zucchini/
Dsuffix_array_unittest.cc34 std::vector<T> MakeVector(const std::initializer_list<T>& ilist) { in MakeVector() function
47 EXPECT_EQ(MakeVector(expected_sl_partition), sl_partition); in TestSlPartition()
51 EXPECT_EQ(MakeVector(expected_lms_indices), lms_indices); in TestSlPartition()
/external/skia/src/utils/
DSkJSON.cpp91 static void* MakeVector(const void* src, size_t size, SkArenaAlloc& alloc) { in MakeVector() function
103 this->init_tagged_pointer(Tag::kArray, MakeVector<Value>(src, size, alloc)); in ArrayValue()
153 this->init_tagged_pointer(Tag::kString, MakeVector<char, 1>(src, size, alloc)); in initLongString()
200 this->init_tagged_pointer(Tag::kObject, MakeVector<Member>(src, size, alloc)); in ObjectValue()

1234