Home
last modified time | relevance | path

Searched refs:types_ (Results 1 – 6 of 6) sorted by relevance

/system/tools/aidl/
Dtype_java_unittest.cpp33 types_.Init(); in SetUp()
35 JavaTypeNamespace types_; member in android::aidl::java::JavaTypeNamespaceTest
39 EXPECT_TRUE(types_.HasTypeByCanonicalName("void")); in TEST_F()
40 EXPECT_TRUE(types_.HasTypeByCanonicalName("int")); in TEST_F()
41 EXPECT_TRUE(types_.HasTypeByCanonicalName("java.lang.String")); in TEST_F()
46 EXPECT_FALSE(types_.HasTypeByCanonicalName("Foo")); in TEST_F()
47 EXPECT_FALSE(types_.HasTypeByCanonicalName("java.util.List<a.goog.Foo>")); in TEST_F()
51 EXPECT_TRUE(types_.AddParcelableType(*parcelable.get(), __FILE__)); in TEST_F()
53 EXPECT_TRUE(types_.HasTypeByCanonicalName("a.goog.Foo")); in TEST_F()
54 EXPECT_FALSE(types_.HasTypeByCanonicalName("java.util.List<a.goog.Foo>")); in TEST_F()
[all …]
Dtype_cpp_unittest.cpp41 types_.Init(); in SetUp()
43 TypeNamespace types_; member in android::aidl::cpp::CppTypeNamespaceTest
47 EXPECT_TRUE(types_.HasTypeByCanonicalName("byte")); in TEST_F()
48 EXPECT_TRUE(types_.HasTypeByCanonicalName("int")); in TEST_F()
49 EXPECT_TRUE(types_.HasTypeByCanonicalName("long")); in TEST_F()
50 EXPECT_TRUE(types_.HasTypeByCanonicalName("float")); in TEST_F()
51 EXPECT_TRUE(types_.HasTypeByCanonicalName("double")); in TEST_F()
52 EXPECT_TRUE(types_.HasTypeByCanonicalName("boolean")); in TEST_F()
53 EXPECT_TRUE(types_.HasTypeByCanonicalName("char")); in TEST_F()
54 EXPECT_TRUE(types_.HasTypeByCanonicalName("String")); in TEST_F()
[all …]
Dgenerate_cpp_unittest.cpp1375 types_.Init(); in ASTTest()
1385 options_.InputFiles().front(), options_, io_delegate_, &types_, &defined_types, in ParseSingleInterface()
1413 TypeNamespace types_; member in android::aidl::cpp::ASTTest
1429 unique_ptr<Document> doc = internals::BuildClientHeader(types_, *interface, options_); in TEST_F()
1436 unique_ptr<Document> doc = internals::BuildClientSource(types_, *interface, options_); in TEST_F()
1443 unique_ptr<Document> doc = internals::BuildServerHeader(types_, *interface, options_); in TEST_F()
1450 unique_ptr<Document> doc = internals::BuildServerSource(types_, *interface, options_); in TEST_F()
1457 unique_ptr<Document> doc = internals::BuildInterfaceHeader(types_, *interface, options_); in TEST_F()
1464 unique_ptr<Document> doc = internals::BuildInterfaceSource(types_, *interface, options_); in TEST_F()
1480 unique_ptr<Document> doc = internals::BuildClientSource(types_, *interface, options_); in TEST_F()
[all …]
Dtype_namespace.h185 std::vector<std::unique_ptr<const T>> types_; variable
194 types_.push_back(std::move(type)); in Add()
247 for (const auto& type : types_) { in FindTypeByCanonicalName()
/system/core/property_service/libpropertyinfoserializer/
Dtrie_builder.cpp30 auto* type_pointer = StringPointerFromContainer(default_type, &types_); in TrieBuilder()
37 auto* type_pointer = StringPointerFromContainer(type, &types_); in AddToTrie()
Dtrie_builder.h107 const std::set<std::string>& types() const { return types_; } in types()
117 std::set<std::string> types_; variable