Home
last modified time | relevance | path

Searched refs:fields2 (Results 1 – 8 of 8) sorted by relevance

/third_party/flutter/skia/tests/
DSkSLMemoryLayoutTest.cpp71 std::vector<SkSL::Type::Field> fields2; in DEF_TEST() local
72 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
73 SkSL::Type s4(-1, SkSL::String("s4"), fields2); in DEF_TEST()
77 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
78 SkSL::Type s5(-1, SkSL::String("s5"), fields2); in DEF_TEST()
152 std::vector<SkSL::Type::Field> fields2; in DEF_TEST() local
153 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
154 SkSL::Type s4(-1, SkSL::String("s4"), fields2); in DEF_TEST()
158 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
159 SkSL::Type s5(-1, SkSL::String("s5"), fields2); in DEF_TEST()
/third_party/skia/tests/
DSkSLMemoryLayoutTest.cpp77 std::vector<SkSL::Type::Field> fields2; in DEF_TEST() local
78 fields2.emplace_back(SkSL::Modifiers(), skstd::string_view("a"), context.fTypes.fInt.get()); in DEF_TEST()
79 std::unique_ptr<SkSL::Type> s4 = SkSL::Type::MakeStructType(-1, SkSL::String("s4"), fields2); in DEF_TEST()
83 fields2.emplace_back(SkSL::Modifiers(), skstd::string_view("b"), in DEF_TEST()
85 std::unique_ptr<SkSL::Type> s5 = SkSL::Type::MakeStructType(-1, SkSL::String("s5"), fields2); in DEF_TEST()
165 std::vector<SkSL::Type::Field> fields2; in DEF_TEST() local
166 fields2.emplace_back(SkSL::Modifiers(), skstd::string_view("a"), context.fTypes.fInt.get()); in DEF_TEST()
167 std::unique_ptr<SkSL::Type> s4 = SkSL::Type::MakeStructType(-1, SkSL::String("s4"), fields2); in DEF_TEST()
171 fields2.emplace_back(SkSL::Modifiers(), skstd::string_view("b"), in DEF_TEST()
173 std::unique_ptr<SkSL::Type> s5 = SkSL::Type::MakeStructType(-1, SkSL::String("s5"), fields2); in DEF_TEST()
/third_party/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc673 const FieldDescriptorArray& fields2, Scope fields2_scope) { in CombineFields() argument
679 while (index1 < fields1.size() && index2 < fields2.size()) { in CombineFields()
681 const FieldDescriptor* field2 = fields2[index2]; in CombineFields()
690 tmp_message_fields_.push_back(fields2[index2]); in CombineFields()
1274 std::vector<IndexUnknownFieldPair> fields2; // unknown_field_set2, sorted in CompareUnknownFields() local
1276 fields2.reserve(unknown_field_set2.field_count()); in CompareUnknownFields()
1282 fields2.push_back(std::make_pair(i, &unknown_field_set2.field(i))); in CompareUnknownFields()
1287 std::stable_sort(fields2.begin(), fields2.end(), is_before); in CompareUnknownFields()
1302 while (index1 < fields1.size() || index2 < fields2.size()) { in CompareUnknownFields()
1316 if (index2 == fields2.size() || in CompareUnknownFields()
[all …]
Dmessage_differencer_unittest.cc804 std::vector<const FieldDescriptor*> fields2; in TEST() local
806 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
809 EXPECT_TRUE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST()
819 std::vector<const FieldDescriptor*> fields2; in TEST() local
821 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
824 EXPECT_FALSE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST()
894 std::vector<const FieldDescriptor*> fields2; in TEST() local
896 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
900 std::shuffle(fields2.begin(), fields2.end(), rng); in TEST()
903 EXPECT_TRUE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST()
[all …]
Dmessage_differencer.h733 const FieldDescriptorArray& fields2,
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp1982 …glsl::ShaderVariable>& fields1, const std::vector<glsl::ShaderVariable>& fields2, const std::strin… in areMatchingFields() argument
1984 if(fields1.size() != fields2.size()) in areMatchingFields()
1992 if(fields1[i].name != fields2[i].name) in areMatchingFields()
1995 i, name.c_str(), fields1[i].name.c_str(), fields2[i].name.c_str()); in areMatchingFields()
1998 if(fields1[i].type != fields2[i].type) in areMatchingFields()
2003 if(fields1[i].arraySize != fields2[i].arraySize) in areMatchingFields()
2008 if(!areMatchingFields(fields1[i].fields, fields2[i].fields, fields1[i].name)) in areMatchingFields()
DProgram.h238 …glsl::ShaderVariable>& fields1, const std::vector<glsl::ShaderVariable>& fields2, const std::strin…
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DICUJDKCompare.java382 Field[] fields2 = class2.getFields(); in compare() local
385 Set set2 = getFieldSet(fields2); in compare()