/system/tools/aidl/ |
type_cpp_unittest.cpp | 30 types_.Init(); 32 TypeNamespace types_; member in class:android::aidl::cpp::CppTypeNamespaceTest 36 EXPECT_TRUE(types_.HasTypeByCanonicalName("byte")); 37 EXPECT_TRUE(types_.HasTypeByCanonicalName("int")); 38 EXPECT_TRUE(types_.HasTypeByCanonicalName("long")); 39 EXPECT_TRUE(types_.HasTypeByCanonicalName("float")); 40 EXPECT_TRUE(types_.HasTypeByCanonicalName("double")); 41 EXPECT_TRUE(types_.HasTypeByCanonicalName("boolean")); 42 EXPECT_TRUE(types_.HasTypeByCanonicalName("char")); 43 EXPECT_TRUE(types_.HasTypeByCanonicalName("String")) [all...] |
type_java_unittest.cpp | 33 types_.Init(); 35 JavaTypeNamespace types_; member in class:android::aidl::java::JavaTypeNamespaceTest 39 EXPECT_TRUE(types_.HasTypeByCanonicalName("void")); 40 EXPECT_TRUE(types_.HasTypeByCanonicalName("int")); 41 EXPECT_TRUE(types_.HasTypeByCanonicalName("java.lang.String")); 46 EXPECT_FALSE(types_.HasTypeByCanonicalName("Foo")); 47 EXPECT_FALSE(types_.HasTypeByCanonicalName("java.util.List<a.goog.Foo>")); 51 EXPECT_TRUE(types_.AddParcelableType(*parcelable.get(), __FILE__)); 53 EXPECT_TRUE(types_.HasTypeByCanonicalName("a.goog.Foo")); 54 EXPECT_FALSE(types_.HasTypeByCanonicalName("java.util.List<a.goog.Foo>")) [all...] |
generate_cpp_unittest.cpp | 659 types_.Init(); 672 &types_, 699 TypeNamespace types_; member in class:android::aidl::cpp::ASTTest 715 unique_ptr<Document> doc = internals::BuildClientHeader(types_, *interface); 722 unique_ptr<Document> doc = internals::BuildClientSource(types_, *interface); 729 unique_ptr<Document> doc = internals::BuildServerHeader(types_, *interface); 736 unique_ptr<Document> doc = internals::BuildServerSource(types_, *interface); 743 unique_ptr<Document> doc = internals::BuildInterfaceHeader(types_, *interface); 750 unique_ptr<Document> doc = internals::BuildInterfaceSource(types_, *interface); 788 ASSERT_TRUE(GenerateCpp(*options_, types_, *interface, io_delegate_)) [all...] |
type_namespace.h | 187 std::vector<std::unique_ptr<const T>> types_; member in class:android::aidl::LanguageTypeNamespace 196 types_.emplace_back(type); 249 for (const auto& type : types_) {
|
/external/v8/test/cctest/ |
test-field-type-tracking.cc | 88 PropertyType types_[MAX_PROPERTIES]; member in class:Expectations 105 types_[index] = type; 117 if (types_[i] == ACCESSOR_CONSTANT) { 124 switch (types_[i]) { 147 CHECK(types_[index] == DATA || types_[index] == ACCESSOR); 188 CHECK_EQ(ACCESSOR_CONSTANT, types_[index]); 218 if (types_[index] == DATA || types_[index] == ACCESSOR) { 225 PropertyType type = types_[descriptor] [all...] |
/external/v8/test/unittests/compiler/ |
typer-unittest.cc | 23 types_(zone(), isolate(), random_number_generator()), 52 Types<Type, Type*, Zone> types_; member in class:v8::internal::compiler::TyperTest 205 subtype = types_.Fuzz(); 212 Type* type1 = types_.Fuzz(); 213 Type* type2 = types_.Fuzz();
|
/art/compiler/utils/ |
test_dex_file_builder.h | 35 : strings_(), types_(), fields_(), protos_(), dex_file_data_() { 47 types_.emplace(descriptor, 0u); 114 for (auto& entry : types_) { 118 header->type_ids_size_ = types_.size(); 119 header->type_ids_off_ = types_.empty() ? 0u : type_ids_offset; 121 uint32_t proto_ids_offset = type_ids_offset + types_.size() * sizeof(DexFile::TypeId); 175 for (const auto& entry : types_) { 244 auto it = types_.find(type); 245 CHECK(it != types_.end()); 378 std::map<std::string, uint32_t> types_; member in class:art::TestDexFileBuilder [all...] |