Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dtext_to_binary.extension_test.cpp29 using spvtest::MakeVector;
293MakeVector("SPV_AMD_shader_explicit_vertex_parameter")), in TEST_F()
311 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
315 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
319 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
323 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
327 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
331 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
335 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
339 MakeVector("SPV_AMD_shader_trinary_minmax")), in TEST_F()
[all …]
Dunit_spirv.cpp22 using spvtest::MakeVector;
26 TEST(MakeVector, Samples) { in TEST() argument
27 EXPECT_THAT(MakeVector(""), Eq(Words{0})); in TEST()
28 EXPECT_THAT(MakeVector("a"), Eq(Words{0x0061})); in TEST()
29 EXPECT_THAT(MakeVector("ab"), Eq(Words{0x006261})); in TEST()
30 EXPECT_THAT(MakeVector("abc"), Eq(Words{0x00636261})); in TEST()
31 EXPECT_THAT(MakeVector("abcd"), Eq(Words{0x64636261, 0x00})); in TEST()
32 EXPECT_THAT(MakeVector("abcde"), Eq(Words{0x64636261, 0x0065})); in TEST()
Dtext_to_binary.debug_test.cpp28 using spvtest::MakeVector;
97 MakeVector(fake_source)))); in TEST_F()
111 Eq(MakeInstruction(SpvOpSourceContinued, MakeVector(GetParam())))); in TEST_P()
130 Eq(MakeInstruction(SpvOpSourceExtension, MakeVector(GetParam())))); in TEST_P()
156 Eq(MakeInstruction(SpvOpString, {1}, MakeVector(GetParam())))); in TEST_P()
171 Eq(MakeInstruction(SpvOpName, {1}, MakeVector(GetParam())))); in TEST_P()
188 Eq(MakeInstruction(SpvOpMemberName, {1, 42}, MakeVector(GetParam())))); in TEST_P()
206 Eq(MakeInstruction(SpvOpModuleProcessed, MakeVector(GetParam())))); in TEST_P()
Dcomment_test.cpp23 using spvtest::MakeVector;
43 MakeVector("GLSL.std.450"))}))); in TEST_F()
Dbinary_parse_test.cpp40 using ::spvtest::MakeVector;
496 const auto str_words = MakeVector(str); in TEST_F()
711 MakeVector("abc"),
721 MakeVector("abc"),
730 MakeVector("abc"),
740 MakeVector("abc"),
749 MakeVector("abc"),
785 MakeVector("OpenCL.std")),
811 MakeVector("invalid-import"))}),
Dassembly_context_test.cpp45 spvtest::MakeVector(GetParam().str)}))); in TEST_P()
/third_party/skia/third_party/externals/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;
491 const auto str_words = MakeVector(str); in TEST_F()
706 MakeVector("abc"),
716 MakeVector("abc"),
725 MakeVector("abc"),
735 MakeVector("abc"),
744 MakeVector("abc"),
780 MakeVector("OpenCL.std")),
806 MakeVector("invalid-import"))}),
/third_party/skia/third_party/externals/swiftshader/third_party/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;
491 const auto str_words = MakeVector(str); in TEST_F()
706 MakeVector("abc"),
716 MakeVector("abc"),
725 MakeVector("abc"),
735 MakeVector("abc"),
744 MakeVector("abc"),
780 MakeVector("OpenCL.std")),
806 MakeVector("invalid-import"))}),
Dassembly_context_test.cpp45 utils::MakeVector(GetParam().str)}))); in TEST_P()
/third_party/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;
491 const auto str_words = MakeVector(str); in TEST_F()
706 MakeVector("abc"),
716 MakeVector("abc"),
725 MakeVector("abc"),
735 MakeVector("abc"),
744 MakeVector("abc"),
780 MakeVector("OpenCL.std")),
806 MakeVector("invalid-import"))}),
Dassembly_context_test.cpp45 utils::MakeVector(GetParam().str)}))); in TEST_P()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dutil.cc413 ret = PrintVector(MakeVector<uint32_t>(ge_tensor->GetData(), ge_tensor->GetSize())); in PrintGeTensor()
416 ret = PrintVector(MakeVector<float_t>(ge_tensor->GetData(), ge_tensor->GetSize())); in PrintGeTensor()
419 ret = PrintVector(MakeVector<int32_t>(ge_tensor->GetData(), ge_tensor->GetSize())); in PrintGeTensor()
422 ret = PrintVector(MakeVector<double_t>(ge_tensor->GetData(), ge_tensor->GetSize())); in PrintGeTensor()
425 ret = PrintVector(MakeVector<int64_t>(ge_tensor->GetData(), ge_tensor->GetSize())); in PrintGeTensor()
428 ret = PrintVector(MakeVector<uint64_t>(ge_tensor->GetData(), ge_tensor->GetSize())); in PrintGeTensor()
431 ret = PrintVector(MakeVector<int16_t>(ge_tensor->GetData(), ge_tensor->GetSize())); in PrintGeTensor()
434 ret = PrintVector(MakeVector<uint16_t>(ge_tensor->GetData(), ge_tensor->GetSize())); in PrintGeTensor()
438 ret = PrintVector(MakeVector<int8_t>(ge_tensor->GetData(), ge_tensor->GetSize())); in PrintGeTensor()
442 ret = PrintVector(MakeVector<uint8_t>(ge_tensor->GetData(), ge_tensor->GetSize())); in PrintGeTensor()
/third_party/grpc/test/cpp/microbenchmarks/
Dfullstack_context_mutators.h43 auto MakeVector(size_t length, F f) -> std::vector<decltype(f())> {
127 MakeVector(kPregenerateKeyCount, GenerateOneString);
134 MakeVector(kPregenerateKeyCount, GenerateOneString);

123