/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | test_util_lite.cc | 49 void TestUtilLite::SetAllFields(unittest::TestAllTypesLite* message) { in SetAllFields() 73 message->set_optional_nested_enum (unittest::TestAllTypesLite::BAZ ); in SetAllFields() 74 message->set_optional_foreign_enum(unittest::FOREIGN_LITE_BAZ ); in SetAllFields() 102 message->add_repeated_nested_enum (unittest::TestAllTypesLite::BAR ); in SetAllFields() 103 message->add_repeated_foreign_enum(unittest::FOREIGN_LITE_BAR ); in SetAllFields() 130 message->add_repeated_nested_enum (unittest::TestAllTypesLite::BAZ ); in SetAllFields() 131 message->add_repeated_foreign_enum(unittest::FOREIGN_LITE_BAZ ); in SetAllFields() 153 message->set_default_nested_enum (unittest::TestAllTypesLite::FOO ); in SetAllFields() 154 message->set_default_foreign_enum(unittest::FOREIGN_LITE_FOO ); in SetAllFields() 166 void TestUtilLite::ModifyRepeatedFields(unittest::TestAllTypesLite* message) { in ModifyRepeatedFields() [all …]
|
D | extension_set_unittest.cc | 65 unittest::TestAllExtensions message; in TEST() 72 EXPECT_EQ(&unittest::OptionalGroup_extension::default_instance(), in TEST() 73 &message.GetExtension(unittest::optionalgroup_extension)); in TEST() 74 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 75 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST() 76 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 78 unittest::optional_foreign_message_extension)); in TEST() 80 &message.GetExtension(unittest::optional_import_message_extension)); in TEST() 86 unittest::TestAllExtensions message; in TEST() 98 unittest::TestAllExtensions message; in TEST() [all …]
|
D | map_lite_test_util.cc | 38 void MapLiteTestUtil::SetMapFields(unittest::TestMapLite* message) { in SetMapFields() 39 MapTestUtilImpl::SetMapFields<unittest::MapEnumLite, in SetMapFields() 40 unittest::MAP_ENUM_BAR_LITE, in SetMapFields() 41 unittest::MAP_ENUM_BAZ_LITE>(message); in SetMapFields() 44 void MapLiteTestUtil::SetArenaMapFields(unittest::TestArenaMapLite* message) { in SetArenaMapFields() 45 MapTestUtilImpl::SetArenaMapFields<unittest::MapEnumLite, in SetArenaMapFields() 46 unittest::MAP_ENUM_BAR_LITE, in SetArenaMapFields() 47 unittest::MAP_ENUM_BAZ_LITE>(message); in SetArenaMapFields() 50 void MapLiteTestUtil::SetMapFieldsInitialized(unittest::TestMapLite* message) { in SetMapFieldsInitialized() 54 void MapLiteTestUtil::ModifyMapFields(unittest::TestMapLite* message) { in ModifyMapFields() [all …]
|
D | test_util.h | 46 namespace unittest = ::protobuf_unittest; variable 52 static void SetAllFields(unittest::TestAllTypes* message); 53 static void SetOptionalFields(unittest::TestAllTypes* message); 54 static void AddRepeatedFields1(unittest::TestAllTypes* message); 55 static void AddRepeatedFields2(unittest::TestAllTypes* message); 56 static void SetDefaultFields(unittest::TestAllTypes* message); 57 static void SetOneofFields(unittest::TestAllTypes* message); 58 static void SetAllExtensions(unittest::TestAllExtensions* message); 59 static void SetOneofFields(unittest::TestAllExtensions* message); 60 static void SetAllFieldsAndExtensions(unittest::TestFieldOrderings* message); [all …]
|
D | test_util.cc | 53 void TestUtil::SetAllFields(unittest::TestAllTypes* message) { in SetAllFields() 61 void TestUtil::SetOptionalFields(unittest::TestAllTypes* message) { in SetOptionalFields() 85 message->set_optional_nested_enum (unittest::TestAllTypes::BAZ); in SetOptionalFields() 86 message->set_optional_foreign_enum(unittest::FOREIGN_BAZ ); in SetOptionalFields() 105 void TestUtil::AddRepeatedFields1(unittest::TestAllTypes* message) { in AddRepeatedFields1() 128 message->add_repeated_nested_enum (unittest::TestAllTypes::BAR); in AddRepeatedFields1() 129 message->add_repeated_foreign_enum(unittest::FOREIGN_BAR ); in AddRepeatedFields1() 144 void TestUtil::AddRepeatedFields2(unittest::TestAllTypes* message) { in AddRepeatedFields2() 168 message->add_repeated_nested_enum (unittest::TestAllTypes::BAZ); in AddRepeatedFields2() 169 message->add_repeated_foreign_enum(unittest::FOREIGN_BAZ ); in AddRepeatedFields2() [all …]
|
D | test_util_lite.h | 43 namespace unittest = protobuf_unittest; variable 49 static void SetAllFields(unittest::TestAllTypesLite* message); 50 static void SetAllExtensions(unittest::TestAllExtensionsLite* message); 51 static void SetPackedFields(unittest::TestPackedTypesLite* message); 52 static void SetPackedExtensions(unittest::TestPackedExtensionsLite* message); 58 static void ModifyRepeatedFields(unittest::TestAllTypesLite* message); 60 unittest::TestAllExtensionsLite* message); 61 static void ModifyPackedFields(unittest::TestPackedTypesLite* message); 63 unittest::TestPackedExtensionsLite* message); 67 static void ExpectAllFieldsSet(const unittest::TestAllTypesLite& message); [all …]
|
D | reflection_ops_unittest.cc | 52 unittest::TestAllTypes message; in TEST() 59 unittest::TestAllTypes message, message2; in TEST() 73 unittest::TestAllExtensions message, message2; in TEST() 83 unittest::TestOneof2 message, message2; in TEST() 98 unittest::TestAllTypes message, message2; in TEST() 125 unittest::TestAllExtensions message, message2; in TEST() 130 message2.SetExtension(unittest::optional_int32_extension, in TEST() 131 message.GetExtension(unittest::optional_int32_extension)); in TEST() 132 message.ClearExtension(unittest::optional_int32_extension); in TEST() 135 message2.SetExtension(unittest::optional_string_extension, in TEST() [all …]
|
D | generated_message_reflection_unittest.cc | 68 unittest::TestAllTypes::descriptor()->FindFieldByName(name); in F() 75 unittest::TestAllTypes message; in TEST() 77 unittest::TestAllTypes::descriptor()); in TEST() 86 EXPECT_EQ(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST() 88 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 90 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 99 unittest::TestAllTypes message; in TEST() 101 unittest::TestAllTypes::descriptor()); in TEST() 114 unittest::TestAllTypes message; in TEST() 136 unittest::TestAllTypes message; in TEST() [all …]
|
D | map_test_util.h | 39 namespace unittest = ::protobuf_unittest; variable 44 static void SetMapFields(unittest::TestMap* message); 47 static void SetArenaMapFields(unittest::TestArenaMap* message); 50 static void SetMapFieldsInitialized(unittest::TestMap* message); 54 static void ModifyMapFields(unittest::TestMap* message); 58 static void ExpectMapFieldsSet(const unittest::TestMap& message); 62 static void ExpectArenaMapFieldsSet(const unittest::TestArenaMap& message); 67 const unittest::TestMap& message); 71 static void ExpectMapFieldsModified(const unittest::TestMap& message); 74 static void ExpectClear(const unittest::TestMap& message); [all …]
|
D | message_unittest.cc | 115 unittest::TestAllTypes message; in TEST() 128 unittest::TestPackedTypes message; in TEST() 184 unittest::TestRequired message; in TEST() 200 unittest::TestRequired message; in TEST() 207 unittest::TestRequired message; in TEST() 212 unittest::TestAllTypes test_all_types; in TEST() 216 google::protobuf::internal::DynamicCastToGenerated<unittest::TestAllTypes>( in TEST() 219 google::protobuf::internal::DynamicCastToGenerated<unittest::TestRequired>( in TEST() 225 google::protobuf::internal::DynamicCastToGenerated<const unittest::TestAllTypes>( in TEST() 229 google::protobuf::internal::DynamicCastToGenerated<const unittest::TestRequired>( in TEST() [all …]
|
D | wire_format_unittest.cc | 83 unittest::TestAllTypes source, dest; in TEST() 100 unittest::TestAllExtensions source, dest; in TEST() 117 unittest::TestPackedTypes source, dest; in TEST() 135 unittest::TestUnpackedTypes source; in TEST() 140 unittest::TestPackedTypes dest; in TEST() 151 unittest::TestPackedTypes source; in TEST() 156 unittest::TestUnpackedTypes dest; in TEST() 166 unittest::TestPackedExtensions source, dest; in TEST() 183 unittest::TestOneof2 source, dest; in TEST() 200 unittest::TestOneofBackwardsCompatible source; in TEST() [all …]
|
D | arena_nc_test.py | 35 import unittest 38 from google3.testing.pybase import unittest 41 class ArenaNcTest(unittest.TestCase): 61 unittest.main()
|
D | unknown_field_set_unittest.cc | 62 descriptor_ = unittest::TestAllTypes::descriptor(); in SetUp() 84 unittest::TestEmptyMessage bizarro_message; in GetBizarroData() 102 unittest::TestAllTypes all_fields_; 107 unittest::TestEmptyMessage empty_message_; 181 unittest::TestAllTypes::OptionalGroup::descriptor()->FindFieldByName("a"); in TEST_F() 228 unittest::TestEmptyMessage message; in TEST_F() 257 unittest::TestEmptyMessage message; in TEST_F() 265 unittest::TestEmptyMessage other_message; in TEST_F() 289 unittest::TestEmptyMessage source, destination; in TEST_F() 326 unittest::TestEmptyMessage source; in TEST_F() [all …]
|
D | text_format_unittest.cc | 94 unittest::TestAllTypes proto_; 116 unittest::TestAllExtensions proto_; 154 proto_.add_repeated_nested_enum(unittest::TestAllTypes::FOO); in TEST_F() 155 proto_.add_repeated_nested_enum(unittest::TestAllTypes::BAR); in TEST_F() 243 unittest::TestEmptyMessage message; in TEST_F() 273 unittest::OneString message; in TEST_F() 553 unittest::TestAllTypes::BAZ); in TEST_F() 556 EXPECT_EQ(unittest::TestAllTypes::BAZ, proto_.optional_nested_enum()); in TEST_F() 560 ASSERT_LT(unittest::SPARSE_E, 0); in TEST_F() 562 unittest::SPARSE_E); in TEST_F() [all …]
|
D | map_test.cc | 86 using google::protobuf::unittest::ForeignMessage; 87 using google::protobuf::unittest::TestAllTypes; 88 using google::protobuf::unittest::TestMap; 89 using google::protobuf::unittest::TestRecursiveMapMessage; 1801 unittest::TestMap message; in TEST() 1811 unittest::TestMap message; in TEST() 1818 unittest::TestEnumMap message; in TEST() 1819 EXPECT_EQ(unittest::PROTO2_MAP_ENUM_FOO, in TEST() 1824 unittest::TestMap message; in TEST() 1832 unittest::TestMessageMap message; in TEST() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 116 unittest::TestAllTypes::descriptor()->file(); in TEST() 159 unittest::TestAllTypes message; in TEST() 166 EXPECT_EQ(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST() 168 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST() 170 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 192 const unittest::TestExtremeDefaultValues& extreme_default = in TEST() 193 unittest::TestExtremeDefaultValues::default_instance(); in TEST() 215 const unittest::TestExtremeDefaultValues& extreme_default = in TEST() 216 unittest::TestExtremeDefaultValues::default_instance(); in TEST() 222 const unittest::TestExtremeDefaultValues& extreme_default = in TEST() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/ |
D | find_versions.sh | 16 …for unittest in $AOSP_DIR/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/*.r… 17 echo $(basename $unittest) 19 …llvm-rs-cc $unittest -o $TMP -p $TMP -I $version/include/ -I $version/clang-include/ 1> /dev/null …
|
/frameworks/ml/nn/tools/systrace_parser/parser/test/ |
D | large_test.sh | 21 echo parsing unittest 22 ../../parse_systrace.py unittest.html > unittest.tmp 33 echo checking unittest 34 diff unittest.txt unittest.tmp
|
D | make_golden.sh | 7 ../../parse_systrace.py unittest.html > unittest.txt
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | message_differencer_unittest.cc | 92 unittest::TestAllTypes msg1; in TEST() 93 unittest::TestAllTypes msg2; in TEST() 104 unittest::TestAllTypes msg1; in TEST() 105 unittest::TestAllTypes msg2; in TEST() 118 unittest::TestAllTypes msg1; in TEST() 119 unittest::TestAllTypes msg2; in TEST() 132 unittest::TestMap msg1; in TEST() 133 unittest::TestMap msg2; in TEST() 135 MapReflectionTester tester(unittest::TestMap::descriptor()); in TEST() 146 unittest::TestAllTypes msg1; in TEST() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | text_encoding_test.py | 36 import unittest2 as unittest #PY26 namespace 38 import unittest 57 class TextEncodingTestCase(unittest.TestCase): 72 unittest.main()
|
D | descriptor_database_test.py | 38 import unittest2 as unittest #PY26 namespace 40 import unittest 47 class DescriptorDatabaseTest(unittest.TestCase): 69 unittest.main()
|
D | proto_builder_test.py | 40 import unittest2 as unittest namespace 42 import unittest 50 class ProtoBuilderTest(unittest.TestCase): 96 unittest.main()
|
D | symbol_database_test.py | 36 import unittest2 as unittest #PY26 namespace 38 import unittest 46 class SymbolDatabaseTest(unittest.TestCase): 131 unittest.main()
|
/frameworks/layoutlib/rename_font/ |
D | test.py | 12 import unittest 21 class MyTest(unittest.TestCase): 45 unittest.main()
|