/system/tools/aidl/ |
H A D | ast_java_unittest.cpp | 42 JavaTypeNamespace types; local 43 types.Init(); 44 Type class_type(&types, "TestClass", ValidatableType::KIND_GENERATED, 46 Type extend_type(&types, "SuperClass", ValidatableType::KIND_BUILT_IN,
|
H A D | generate_java.cpp | 58 AidlInterface* iface, JavaTypeNamespace* types, 60 Class* cl = generate_binder_interface_class(iface, types); 57 generate_java(const string& filename, const string& originalSrc, AidlInterface* iface, JavaTypeNamespace* types, const IoDelegate& io_delegate) argument
|
H A D | aidl_unittest.cpp | 74 TypeNamespace* types, 84 types, 72 Parse(const string& path, const string& contents, TypeNamespace* types, AidlError* error = nullptr) argument
|
H A D | aidl.cpp | 159 TypeNamespace* types) { 165 return types->AddBinderType(*interface, filename); 168 success &= types->AddParcelableType(*item, filename); 176 TypeNamespace* types) { 190 if (!types->MaybeAddContainerType(m->GetType())) { 195 types->GetReturnType(m->GetType(), filename, *c); 212 if (!types->MaybeAddContainerType(arg->GetType())) { 217 types->GetArgType(*arg, index, filename, *c); 501 const string& filename, TypeNamespace* types) { 529 types 157 gather_types(const std::string& filename, const AidlDocument* doc, TypeNamespace* types) argument 174 check_types(const string& filename, const AidlInterface* c, TypeNamespace* types) argument 500 parse_preprocessed_file(const IoDelegate& io_delegate, const string& filename, TypeNamespace* types) argument 547 load_and_validate_aidl( const std::vector<std::string>& preprocessed_files, const std::vector<std::string>& import_paths, const std::string& input_file_name, const IoDelegate& io_delegate, TypeNamespace* types, std::unique_ptr<AidlInterface>* returned_interface, std::vector<std::unique_ptr<AidlImport>>* returned_imports) argument [all...] |
H A D | generate_java_binder.cpp | 38 JavaTypeNamespace* types); 49 JavaTypeNamespace* types); 55 JavaTypeNamespace* types) 61 this->extends = types->BinderNativeType(); 67 new Variable(types->StringType(), "DESCRIPTOR")); 86 make_as_interface(interfaceType, types); 91 asBinder->returnType = types->IBinderType(); 98 this->transact_code = new Variable(types->IntType(), "code"); 99 this->transact_data = new Variable(types->ParcelType(), "data"); 100 this->transact_reply = new Variable(types 54 StubClass(const Type* type, const InterfaceType* interfaceType, JavaTypeNamespace* types) argument 122 make_as_interface(const InterfaceType* interfaceType, JavaTypeNamespace* types) argument 187 ProxyClass(const JavaTypeNamespace* types, const Type* type, const InterfaceType* interfaceType) argument 223 generate_new_array(const Type* t, StatementBlock* addTo, Variable* v, Variable* parcel, JavaTypeNamespace* types) argument 261 generate_method(const AidlMethod& method, Class* interface, StubClass* stubClass, ProxyClass* proxyClass, int index, JavaTypeNamespace* types) argument 490 generate_interface_descriptors(StubClass* stub, ProxyClass* proxy, const JavaTypeNamespace* types) argument 511 generate_binder_interface_class(const AidlInterface* iface, JavaTypeNamespace* types) argument [all...] |
H A D | generate_cpp.cpp | 106 ArgList BuildArgList(const TypeNamespace& types, argument 114 // Method declarations need types, pointers to out params, and variable 140 if (return_type != types.VoidType()) { 156 const TypeNamespace& types, 169 BuildArgList(types, method, true /* for method decl */), 198 bool DeclareLocalVariable(const TypeNamespace& types, const AidlArgument& a, argument 252 unique_ptr<Declaration> DefineClientTransaction(const TypeNamespace& types, argument 259 ArgList{BuildArgList(types, method, true /* for method decl */)}}}; 347 if (return_type != types.VoidType()) { 388 unique_ptr<Document> BuildClientSource(const TypeNamespace& types, argument 155 BuildMethodDecl(const AidlMethod& method, const TypeNamespace& types, bool for_interface) argument 419 HandleServerTransaction(const TypeNamespace& types, const AidlMethod& method, StatementBlock* b) argument 524 BuildServerSource(const TypeNamespace& types, const AidlInterface& interface) argument 624 BuildClientHeader(const TypeNamespace& types, const AidlInterface& interface) argument 696 BuildInterfaceHeader(const TypeNamespace& types, const AidlInterface& interface) argument 756 WriteHeader(const CppOptions& options, const TypeNamespace& types, const AidlInterface& interface, const IoDelegate& io_delegate, ClassNames header_type) argument 815 GenerateCpp(const CppOptions& options, const TypeNamespace& types, const AidlInterface& interface, const IoDelegate& io_delegate) argument [all...] |
H A D | type_java.cpp | 19 #include <sys/types.h> 43 Type::Type(const JavaTypeNamespace* types, const string& name, int kind, argument 45 : Type(types, "", name, kind, canWriteToParcel, canBeOut, "", -1) {} 47 Type::Type(const JavaTypeNamespace* types, const string& package, argument 51 m_types(types), 98 BasicType::BasicType(const JavaTypeNamespace* types, const string& name, argument 104 : Type(types, name, ValidatableType::KIND_BUILT_IN, true, false), 107 m_array_type.reset(new BasicArrayType(types, name, writeArrayParcel, 121 BasicArrayType::BasicArrayType(const JavaTypeNamespace* types, argument 126 : Type(types, nam 149 FileDescriptorType(const JavaTypeNamespace* types) argument 165 FileDescriptorArrayType(const JavaTypeNamespace* types) argument 186 BooleanType(const JavaTypeNamespace* types) argument 205 BooleanArrayType(const JavaTypeNamespace* types) argument 225 CharType(const JavaTypeNamespace* types) argument 241 CharArrayType(const JavaTypeNamespace* types) argument 261 StringType(const JavaTypeNamespace* types, const std::string& package, const std::string& class_name) argument 283 StringArrayType(const JavaTypeNamespace* types) argument 308 CharSequenceType(const JavaTypeNamespace* types) argument 362 RemoteExceptionType(const JavaTypeNamespace* types) argument 378 RuntimeExceptionType(const JavaTypeNamespace* types) argument 395 IBinderType(const JavaTypeNamespace* types) argument 411 IBinderArrayType(const JavaTypeNamespace* types) argument 432 IInterfaceType(const JavaTypeNamespace* types) argument 448 BinderType(const JavaTypeNamespace* types) argument 464 BinderProxyType(const JavaTypeNamespace* types) argument 480 ParcelType(const JavaTypeNamespace* types) argument 496 ParcelableInterfaceType(const JavaTypeNamespace* types) argument 513 MapType(const JavaTypeNamespace* types) argument 522 EnsureClassLoader(StatementBlock* addTo, Variable** cl, const JavaTypeNamespace* types) argument 548 ListType(const JavaTypeNamespace* types) argument 574 UserDataType(const JavaTypeNamespace* types, const string& package, const string& name, bool builtIn, bool canWriteToParcel, const string& declFile, int declLine) argument 647 UserDataArrayType(const JavaTypeNamespace* types, const string& package, const string& name, bool builtIn, bool canWriteToParcel, const string& declFile, int declLine) argument 682 InterfaceType(const JavaTypeNamespace* types, const string& package, const string& name, bool builtIn, bool oneway, const string& declFile, int declLine, const Type* stub, const Type* proxy) argument 714 GenericListType(const JavaTypeNamespace* types, const Type* contained_type) argument 772 ClassLoaderType(const JavaTypeNamespace* types) argument [all...] |
/system/core/libmemtrack/ |
H A D | memtrack.cpp | 43 memtrack_proc_type types[static_cast<int>(MemtrackType::NUM_TYPES)]; member in struct:memtrack_proc 108 int ret = memtrack_proc_get_type(&p->types[i], pid, (MemtrackType)i); 117 const std::vector<MemtrackType>& types, uint32_t flags) 121 for (size_t i = 0; i < types.size(); i++) { 122 memtrack_proc_type type = p->types[static_cast<int>(types[i])]; 136 std::vector<MemtrackType> types = {MemtrackType::GRAPHICS}; local 137 return memtrack_proc_sum(p, types, 0); 142 std::vector<MemtrackType> types = { MemtrackType::GRAPHICS }; local 143 return memtrack_proc_sum(p, types, 116 memtrack_proc_sum(memtrack_proc *p, const std::vector<MemtrackType>& types, uint32_t flags) argument 149 std::vector<MemtrackType> types = { MemtrackType::GL }; local 155 std::vector<MemtrackType> types = { MemtrackType::GL }; local 162 std::vector<MemtrackType> types = { MemtrackType::MULTIMEDIA, local 169 std::vector<MemtrackType> types = { MemtrackType::MULTIMEDIA, local [all...] |
/system/vold/bench/ |
H A D | benchgen.py | 154 #include <sys/types.h> 334 types = defaultdict(int) variable 336 types[e.call] += 1 339 for t, n in types.iteritems():
|
/system/media/camera/docs/ |
H A D | metadata_model.py | 35 Typedef: A node corresponding to a <typedef> element under <types>. 199 types: An iterable of all Typedef instances available in the graph. 233 def types(self): member in class:Metadata 286 type_names = [tp.name for tp in self.types if tp.name == tp] 405 type_dict = self._dictionary_by_name(self.types) 633 A typedef Node corresponding to a <typedef> element under a top-level <types>.
|
/system/chre/host/msm/daemon/generated/ |
H A D | chre_slpi_skel.c | 249 //a C data structure for the idl types that can be used to implement 264 //the types that we get from idl 431 static const Type types[1]; variable 432 static const Type types[1] = {{0x1,{{(const uintptr_t)0,(const uintptr_t)0}}, 2,0x1}}; variable 433 static const Parameter parameters[3] = {{SLIM_IFPTR32(0x8,0x10),{{(const uintptr_t)&(types[0]),(const uintptr_t)0x0}}, 9,SLIM_IFPTR32(0x4,0x8),3,0},{0x4,{{(const uintptr_t)0,(const uintptr_t)0}}, 2,0x4,3,0},{SLIM_IFPTR32(0x8,0x10),{{(const uintptr_t)&(types[0]),(const uintptr_t)0x0}}, 9,SLIM_IFPTR32(0x4,0x8),0,0}};
|
H A D | chre_slpi_stub.c | 249 //a C data structure for the idl types that can be used to implement 264 //the types that we get from idl 431 static const Type types[1]; variable 432 static const Type types[1] = {{0x1,{{(const uintptr_t)0,(const uintptr_t)0}}, 2,0x1}}; variable 433 static const Parameter parameters[3] = {{SLIM_IFPTR32(0x8,0x10),{{(const uintptr_t)&(types[0]),(const uintptr_t)0x0}}, 9,SLIM_IFPTR32(0x4,0x8),3,0},{0x4,{{(const uintptr_t)0,(const uintptr_t)0}}, 2,0x4,3,0},{SLIM_IFPTR32(0x8,0x10),{{(const uintptr_t)&(types[0]),(const uintptr_t)0x0}}, 9,SLIM_IFPTR32(0x4,0x8),0,0}};
|
/system/chre/platform/shared/include/chre/platform/shared/ |
H A D | host_messages_generated.h | 100 bool VerifyChreMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset<void>> *values, const flatbuffers::Vector<uint8_t> *types); 844 inline bool VerifyChreMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset<void>> *values, const flatbuffers::Vector<uint8_t> *types) { argument 845 if (values->size() != types->size()) return false; 848 verifier, values->Get(i), types->GetEnum<ChreMessage>(i))) {
|
/system/chre/host/common/include/chre_host/ |
H A D | host_messages_generated.h | 164 bool VerifyChreMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset<void>> *values, const flatbuffers::Vector<uint8_t> *types); 1455 inline bool VerifyChreMessageVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset<void>> *values, const flatbuffers::Vector<uint8_t> *types) { argument 1456 if (values->size() != types->size()) return false; 1459 verifier, values->Get(i), types->GetEnum<ChreMessage>(i))) {
|