Home
last modified time | relevance | path

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

/external/skqp/tests/
DSkSLMemoryLayoutTest.cpp73 std::vector<SkSL::Type::Field> fields2; in DEF_TEST() local
74 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
75 SkSL::Type s4(-1, SkSL::String("s4"), fields2); in DEF_TEST()
79 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
80 SkSL::Type s5(-1, SkSL::String("s5"), fields2); in DEF_TEST()
154 std::vector<SkSL::Type::Field> fields2; in DEF_TEST() local
155 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
156 SkSL::Type s4(-1, SkSL::String("s4"), fields2); in DEF_TEST()
160 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
161 SkSL::Type s5(-1, SkSL::String("s5"), fields2); in DEF_TEST()
/external/skia/tests/
DSkSLMemoryLayoutTest.cpp73 std::vector<SkSL::Type::Field> fields2; in DEF_TEST() local
74 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
75 SkSL::Type s4(-1, SkSL::String("s4"), fields2); in DEF_TEST()
79 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
80 SkSL::Type s5(-1, SkSL::String("s5"), fields2); in DEF_TEST()
154 std::vector<SkSL::Type::Field> fields2; in DEF_TEST() local
155 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("a"), context.fInt_Type.get()); in DEF_TEST()
156 SkSL::Type s4(-1, SkSL::String("s4"), fields2); in DEF_TEST()
160 fields2.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("b"), context.fFloat3_Type.get()); in DEF_TEST()
161 SkSL::Type s5(-1, SkSL::String("s5"), fields2); in DEF_TEST()
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc556 const vector<const FieldDescriptor*>& fields2, in CombineFields() argument
563 while (index1 < fields1.size() && index2 < fields2.size()) { in CombineFields()
565 const FieldDescriptor* field2 = fields2[index2]; in CombineFields()
574 combined_fields->push_back(fields2[index2]); in CombineFields()
1064 vector<IndexUnknownFieldPair> fields2; // unknown_field_set2, sorted in CompareUnknownFields() local
1066 fields2.reserve(unknown_field_set2.field_count()); in CompareUnknownFields()
1072 fields2.push_back(std::make_pair(i, &unknown_field_set2.field(i))); in CompareUnknownFields()
1077 std::stable_sort(fields2.begin(), fields2.end(), is_before); in CompareUnknownFields()
1092 while (index1 < fields1.size() || index2 < fields2.size()) { in CompareUnknownFields()
1101 if (index2 == fields2.size() || in CompareUnknownFields()
[all …]
Dmessage_differencer_unittest.cc794 vector<const FieldDescriptor*> fields2; in TEST() local
796 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
799 EXPECT_TRUE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST()
809 vector<const FieldDescriptor*> fields2; in TEST() local
811 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
814 EXPECT_FALSE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST()
884 vector<const FieldDescriptor*> fields2; in TEST() local
886 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
889 std::random_shuffle(fields2.begin(), fields2.end()); in TEST()
892 EXPECT_TRUE(differencer.CompareWithFields(msg1, msg2, fields1, fields2)); in TEST()
[all …]
Dmessage_differencer.h658 const vector<const FieldDescriptor*>& fields2,
/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp1968 …glsl::ShaderVariable>& fields1, const std::vector<glsl::ShaderVariable>& fields2, const std::strin… in areMatchingFields() argument
1970 if(fields1.size() != fields2.size()) in areMatchingFields()
1978 if(fields1[i].name != fields2[i].name) in areMatchingFields()
1981 i, name.c_str(), fields1[i].name.c_str(), fields2[i].name.c_str()); in areMatchingFields()
1984 if(fields1[i].type != fields2[i].type) in areMatchingFields()
1989 if(fields1[i].arraySize != fields2[i].arraySize) in areMatchingFields()
1994 if(!areMatchingFields(fields1[i].fields, fields2[i].fields, fields1[i].name)) in areMatchingFields()
DProgram.h237 …glsl::ShaderVariable>& fields1, const std::vector<glsl::ShaderVariable>& fields2, const std::strin…
/external/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()
/external/oj-libjdwp/src/share/javavm/export/
Djvm.h1026 unsigned int fields2; /* number of static 2-word fields */ member
/external/scapy/scapy/contrib/
Dgsm_um.py101 def adapt(min_length, max_length, fields, fields2, location=2): argument
111 mysum += fields2[i].size