Home
last modified time | relevance | path

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

12

/external/webrtc/talk/session/media/
Dsrtpfilter_unittest.cc78 static std::vector<CryptoParams> MakeVector(const CryptoParams& params) { in MakeVector() function in SrtpFilterTest
146 EXPECT_TRUE(f1_.SetOffer(MakeVector(kTestCryptoParams1), CS_LOCAL)); in TEST_F()
148 EXPECT_TRUE(f1_.SetAnswer(MakeVector(kTestCryptoParams2), CS_REMOTE)); in TEST_F()
154 std::vector<CryptoParams> offer(MakeVector(kTestCryptoParams1)); in TEST_F()
155 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F()
178 EXPECT_TRUE(f1_.SetOffer(MakeVector(kTestCryptoParams1), CS_LOCAL)); in TEST_F()
185 std::vector<CryptoParams> offer(MakeVector(kTestCryptoParams1)); in TEST_F()
186 std::vector<CryptoParams> answer(MakeVector(kTestCryptoParams2)); in TEST_F()
196 EXPECT_TRUE(f1_.SetOffer(MakeVector(kTestCryptoParams1), CS_LOCAL)); in TEST_F()
197 EXPECT_TRUE(f1_.SetOffer(MakeVector(kTestCryptoParams2), CS_LOCAL)); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dtext_to_binary.extension_test.cpp33 using spvtest::MakeVector;
375 MakeVector("SPV_AMD_shader_explicit_vertex_parameter")), in TEST_F()
394 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
399 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
404 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
409 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
414 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
419 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
424 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
429 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
[all …]
Dunit_spirv.cpp23 using spvtest::MakeVector;
27 TEST(MakeVector, Samples) { in TEST() argument
28 EXPECT_THAT(MakeVector(""), Eq(Words{0})); in TEST()
29 EXPECT_THAT(MakeVector("a"), Eq(Words{0x0061})); in TEST()
30 EXPECT_THAT(MakeVector("ab"), Eq(Words{0x006261})); in TEST()
31 EXPECT_THAT(MakeVector("abc"), Eq(Words{0x00636261})); in TEST()
32 EXPECT_THAT(MakeVector("abcd"), Eq(Words{0x64636261, 0x00})); in TEST()
33 EXPECT_THAT(MakeVector("abcde"), Eq(Words{0x64636261, 0x0065})); in TEST()
Dtext_to_binary.debug_test.cpp29 using spvtest::MakeVector;
98 MakeVector(fake_source)))); in TEST_F()
112 Eq(MakeInstruction(SpvOpSourceContinued, MakeVector(GetParam())))); in TEST_P()
131 Eq(MakeInstruction(SpvOpSourceExtension, MakeVector(GetParam())))); in TEST_P()
157 Eq(MakeInstruction(SpvOpString, {1}, MakeVector(GetParam())))); in TEST_P()
172 Eq(MakeInstruction(SpvOpName, {1}, MakeVector(GetParam())))); in TEST_P()
189 Eq(MakeInstruction(SpvOpMemberName, {1, 42}, MakeVector(GetParam())))); in TEST_P()
207 Eq(MakeInstruction(SpvOpModuleProcessed, MakeVector(GetParam())))); in TEST_P()
Dcomment_test.cpp26 using spvtest::MakeVector;
46 MakeVector("GLSL.std.450"))}))); in TEST_F()
Dbinary_parse_test.cpp42 using ::spvtest::MakeVector;
488 const auto str_words = MakeVector(str); in TEST_F()
703 MakeVector("abc"),
713 MakeVector("abc"),
722 MakeVector("abc"),
732 MakeVector("abc"),
741 MakeVector("abc"),
777 MakeVector("OpenCL.std")),
803 MakeVector("invalid-import"))}),
Dassembly_context_test.cpp45 spvtest::MakeVector(GetParam().str)}))); in TEST_P()
Dtext_to_binary.mode_setting_test.cpp31 using spvtest::MakeVector;
114 MakeVector(GetParam().entry_point_name)))); in TEST_P()
Dext_inst.opencl_test.cpp28 using spvtest::MakeVector;
52 {MakeInstruction(SpvOpExtInstImport, {1}, MakeVector("OpenCL.std")), in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.extension_test.cpp33 using spvtest::MakeVector;
375 MakeVector("SPV_AMD_shader_explicit_vertex_parameter")), in TEST_F()
394 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
399 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
404 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
409 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
414 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
419 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
424 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
429 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
[all …]
Dunit_spirv.cpp23 using spvtest::MakeVector;
27 TEST(MakeVector, Samples) { in TEST() argument
28 EXPECT_THAT(MakeVector(""), Eq(Words{0})); in TEST()
29 EXPECT_THAT(MakeVector("a"), Eq(Words{0x0061})); in TEST()
30 EXPECT_THAT(MakeVector("ab"), Eq(Words{0x006261})); in TEST()
31 EXPECT_THAT(MakeVector("abc"), Eq(Words{0x00636261})); in TEST()
32 EXPECT_THAT(MakeVector("abcd"), Eq(Words{0x64636261, 0x00})); in TEST()
33 EXPECT_THAT(MakeVector("abcde"), Eq(Words{0x64636261, 0x0065})); in TEST()
Dtext_to_binary.debug_test.cpp29 using spvtest::MakeVector;
98 MakeVector(fake_source)))); in TEST_F()
112 Eq(MakeInstruction(SpvOpSourceContinued, MakeVector(GetParam())))); in TEST_P()
131 Eq(MakeInstruction(SpvOpSourceExtension, MakeVector(GetParam())))); in TEST_P()
157 Eq(MakeInstruction(SpvOpString, {1}, MakeVector(GetParam())))); in TEST_P()
172 Eq(MakeInstruction(SpvOpName, {1}, MakeVector(GetParam())))); in TEST_P()
189 Eq(MakeInstruction(SpvOpMemberName, {1, 42}, MakeVector(GetParam())))); in TEST_P()
207 Eq(MakeInstruction(SpvOpModuleProcessed, MakeVector(GetParam())))); in TEST_P()
Dcomment_test.cpp26 using spvtest::MakeVector;
46 MakeVector("GLSL.std.450"))}))); in TEST_F()
Dbinary_parse_test.cpp42 using ::spvtest::MakeVector;
490 const auto str_words = MakeVector(str); in TEST_F()
705 MakeVector("abc"),
715 MakeVector("abc"),
724 MakeVector("abc"),
734 MakeVector("abc"),
743 MakeVector("abc"),
779 MakeVector("OpenCL.std")),
805 MakeVector("invalid-import"))}),
Dassembly_context_test.cpp45 spvtest::MakeVector(GetParam().str)}))); in TEST_P()
Dtext_to_binary.mode_setting_test.cpp31 using spvtest::MakeVector;
114 MakeVector(GetParam().entry_point_name)))); in TEST_P()
Dext_inst.opencl_test.cpp28 using spvtest::MakeVector;
52 {MakeInstruction(SpvOpExtInstImport, {1}, MakeVector("OpenCL.std")), 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()
Ddwarf_cfi_to_module.h121 static vector<string> MakeVector(const char * const *strings, size_t size);
/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/talk/media/base/
Dtestutils.h55 template <class T> inline std::vector<T> MakeVector(const T a[], size_t s) { in MakeVector() function
58 #define MAKE_VECTOR(a) cricket::MakeVector(a, arraysize(a))
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Ddecoration_manager_test.cpp32 using spvtest::MakeVector;
190 {SPV_OPERAND_TYPE_LITERAL_STRING, MakeVector("Hello!")}}); in TEST_F()
194 {SPV_OPERAND_TYPE_LITERAL_STRING, MakeVector("Hellx")}}); in TEST_F()
233 {SPV_OPERAND_TYPE_LITERAL_STRING, MakeVector("hello")}}); in TEST_F()
236 {SPV_OPERAND_TYPE_LITERAL_STRING, MakeVector("hello")}}); in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/opt/
Ddecoration_manager_test.cpp32 using spvtest::MakeVector;
190 {SPV_OPERAND_TYPE_LITERAL_STRING, MakeVector("Hello!")}}); in TEST_F()
194 {SPV_OPERAND_TYPE_LITERAL_STRING, MakeVector("Hellx")}}); in TEST_F()
233 {SPV_OPERAND_TYPE_LITERAL_STRING, MakeVector("hello")}}); in TEST_F()
236 {SPV_OPERAND_TYPE_LITERAL_STRING, MakeVector("hello")}}); in TEST_F()
/external/skia/src/utils/
DSkJSON.cpp84 static void* MakeVector(const void* src, size_t size, SkArenaAlloc& alloc) { in MakeVector() function
96 this->init_tagged_pointer(Tag::kArray, MakeVector<Value>(src, size, alloc)); in ArrayValue()
148 this->init_tagged_pointer(Tag::kString, MakeVector<char, 1>(src, size, alloc)); in initLongString()
184 this->init_tagged_pointer(Tag::kObject, MakeVector<Member>(src, size, alloc)); in ObjectValue()
/external/skqp/src/utils/
DSkJSON.cpp84 static void* MakeVector(const void* src, size_t size, SkArenaAlloc& alloc) { in MakeVector() function
96 this->init_tagged_pointer(Tag::kArray, MakeVector<Value>(src, size, alloc)); in ArrayValue()
148 this->init_tagged_pointer(Tag::kString, MakeVector<char, 1>(src, size, alloc)); in initLongString()
184 this->init_tagged_pointer(Tag::kObject, MakeVector<Member>(src, size, alloc)); in ObjectValue()

12