/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | fast_type_id_test.cc | 42 bi::FastTypeIdType type_ids[] = { in TEST() local 56 size_t total_type_ids = sizeof(type_ids) / sizeof(bi::FastTypeIdType); in TEST() 59 EXPECT_EQ(type_ids[i], type_ids[i]); in TEST() 61 EXPECT_NE(type_ids[i], type_ids[j]); in TEST() 77 bi::FastTypeIdType type_ids[] = { in TEST() local 91 size_t total_type_ids = sizeof(type_ids) / sizeof(bi::FastTypeIdType); in TEST() 94 EXPECT_EQ(type_ids[i], type_ids[i]); in TEST() 96 EXPECT_NE(type_ids[i], type_ids[j]); in TEST()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_add_type_function.cpp | 58 std::vector<uint32_t> type_ids = {message_.return_type_id()}; in IsApplicable() local 59 type_ids.insert(type_ids.end(), message_.argument_type_id().begin(), in IsApplicable() 61 return fuzzerutil::FindFunctionType(ir_context, type_ids) == 0; in IsApplicable() 66 std::vector<uint32_t> type_ids = {message_.return_type_id()}; in Apply() local 67 type_ids.insert(type_ids.end(), message_.argument_type_id().begin(), in Apply() 70 fuzzerutil::AddFunctionType(ir_context, message_.fresh_id(), type_ids); in Apply()
|
D | fuzzer_util.cpp | 599 const std::vector<uint32_t>& type_ids) { in FindFunctionType() argument 606 if (type_or_value.NumInOperands() != type_ids.size()) { in FindFunctionType() 613 if (type_ids[i] != type_or_value.GetSingleWordInOperand(i)) { in FindFunctionType() 1118 const std::vector<uint32_t>& type_ids) { in AddFunctionType() argument 1120 assert(!type_ids.empty() && in AddFunctionType() 1123 assert(IsNonFunctionTypeId(ir_context, type_ids[0]) && in AddFunctionType() 1126 for (size_t i = 1; i < type_ids.size(); ++i) { in AddFunctionType() 1127 const auto* param_type = ir_context->get_type_mgr()->GetType(type_ids[i]); in AddFunctionType() 1134 operands.reserve(type_ids.size()); in AddFunctionType() 1135 for (auto id : type_ids) { in AddFunctionType() [all …]
|
D | fuzzer_util.h | 210 const std::vector<uint32_t>& type_ids); 385 const std::vector<uint32_t>& type_ids); 395 const std::vector<uint32_t>& type_ids);
|
D | fuzzer_pass.cpp | 266 std::vector<uint32_t> type_ids(argument_id.size() + 1); in FindOrCreateFunctionType() local 267 type_ids[0] = return_type_id; in FindOrCreateFunctionType() 268 std::copy(argument_id.begin(), argument_id.end(), type_ids.begin() + 1); in FindOrCreateFunctionType() 271 auto existing_id = fuzzerutil::FindFunctionType(GetIRContext(), type_ids); in FindOrCreateFunctionType()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_add_type_function.cpp | 58 std::vector<uint32_t> type_ids = {message_.return_type_id()}; in IsApplicable() local 59 type_ids.insert(type_ids.end(), message_.argument_type_id().begin(), in IsApplicable() 61 return fuzzerutil::FindFunctionType(ir_context, type_ids) == 0; in IsApplicable() 66 std::vector<uint32_t> type_ids = {message_.return_type_id()}; in Apply() local 67 type_ids.insert(type_ids.end(), message_.argument_type_id().begin(), in Apply() 70 fuzzerutil::AddFunctionType(ir_context, message_.fresh_id(), type_ids); in Apply()
|
D | fuzzer_util.cpp | 599 const std::vector<uint32_t>& type_ids) { in FindFunctionType() argument 606 if (type_or_value.NumInOperands() != type_ids.size()) { in FindFunctionType() 613 if (type_ids[i] != type_or_value.GetSingleWordInOperand(i)) { in FindFunctionType() 1118 const std::vector<uint32_t>& type_ids) { in AddFunctionType() argument 1120 assert(!type_ids.empty() && in AddFunctionType() 1123 assert(IsNonFunctionTypeId(ir_context, type_ids[0]) && in AddFunctionType() 1126 for (size_t i = 1; i < type_ids.size(); ++i) { in AddFunctionType() 1127 const auto* param_type = ir_context->get_type_mgr()->GetType(type_ids[i]); in AddFunctionType() 1134 operands.reserve(type_ids.size()); in AddFunctionType() 1135 for (auto id : type_ids) { in AddFunctionType() [all …]
|
D | fuzzer_util.h | 210 const std::vector<uint32_t>& type_ids); 385 const std::vector<uint32_t>& type_ids); 395 const std::vector<uint32_t>& type_ids);
|
D | fuzzer_pass.cpp | 266 std::vector<uint32_t> type_ids(argument_id.size() + 1); in FindOrCreateFunctionType() local 267 type_ids[0] = return_type_id; in FindOrCreateFunctionType() 268 std::copy(argument_id.begin(), argument_id.end(), type_ids.begin() + 1); in FindOrCreateFunctionType() 271 auto existing_id = fuzzerutil::FindFunctionType(GetIRContext(), type_ids); in FindOrCreateFunctionType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_type_function.cpp | 58 std::vector<uint32_t> type_ids = {message_.return_type_id()}; in IsApplicable() local 59 type_ids.insert(type_ids.end(), message_.argument_type_id().begin(), in IsApplicable() 61 return fuzzerutil::FindFunctionType(ir_context, type_ids) == 0; in IsApplicable() 66 std::vector<uint32_t> type_ids = {message_.return_type_id()}; in Apply() local 67 type_ids.insert(type_ids.end(), message_.argument_type_id().begin(), in Apply() 70 fuzzerutil::AddFunctionType(ir_context, message_.fresh_id(), type_ids); in Apply()
|
D | fuzzer_util.cpp | 599 const std::vector<uint32_t>& type_ids) { in FindFunctionType() argument 606 if (type_or_value.NumInOperands() != type_ids.size()) { in FindFunctionType() 613 if (type_ids[i] != type_or_value.GetSingleWordInOperand(i)) { in FindFunctionType() 1118 const std::vector<uint32_t>& type_ids) { in AddFunctionType() argument 1120 assert(!type_ids.empty() && in AddFunctionType() 1123 assert(IsNonFunctionTypeId(ir_context, type_ids[0]) && in AddFunctionType() 1126 for (size_t i = 1; i < type_ids.size(); ++i) { in AddFunctionType() 1127 const auto* param_type = ir_context->get_type_mgr()->GetType(type_ids[i]); in AddFunctionType() 1134 operands.reserve(type_ids.size()); in AddFunctionType() 1135 for (auto id : type_ids) { in AddFunctionType() [all …]
|
D | fuzzer_util.h | 210 const std::vector<uint32_t>& type_ids); 385 const std::vector<uint32_t>& type_ids); 395 const std::vector<uint32_t>& type_ids);
|
D | fuzzer_pass.cpp | 266 std::vector<uint32_t> type_ids(argument_id.size() + 1); in FindOrCreateFunctionType() local 267 type_ids[0] = return_type_id; in FindOrCreateFunctionType() 268 std::copy(argument_id.begin(), argument_id.end(), type_ids.begin() + 1); in FindOrCreateFunctionType() 271 auto existing_id = fuzzerutil::FindFunctionType(GetIRContext(), type_ids); in FindOrCreateFunctionType()
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_cross_parsed_ir.cpp | 897 auto &type_ids = ids_for_type[type]; in remove_typed_id() local 898 type_ids.erase(remove(begin(type_ids), end(type_ids), id), end(type_ids)); in remove_typed_id()
|
D | spirv_glsl.cpp | 15601 auto &type_ids = ir.ids_for_type[TypeType]; in reorder_type_alias() local 15602 for (auto alias_itr = begin(type_ids); alias_itr != end(type_ids); ++alias_itr) in reorder_type_alias() 15609 auto master_itr = find(begin(type_ids), end(type_ids), ID(type.type_alias)); in reorder_type_alias() 15610 assert(master_itr != end(type_ids)); in reorder_type_alias()
|