Searched defs:types (Results 1 - 10 of 10) sorted by relevance

/system/tools/aidl/
H A Dast_java_unittest.cpp42 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 Dgenerate_java.cpp58 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 Daidl_unittest.cpp69 TypeNamespace* types) {
78 types,
67 Parse(const string& path, const string& contents, TypeNamespace* types) argument
H A Daidl.cpp159 TypeNamespace* types) {
165 return types->AddBinderType(*interface, filename);
168 success &= types->AddParcelableType(*item, filename);
176 TypeNamespace* types) {
184 if (!types->MaybeAddContainerType(m->GetType())) {
189 types->GetReturnType(m->GetType(), filename);
206 if (!types->MaybeAddContainerType(arg->GetType())) {
211 types->GetArgType(*arg, index, filename);
458 const string& filename, TypeNamespace* types) {
486 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
457 parse_preprocessed_file(const IoDelegate& io_delegate, const string& filename, TypeNamespace* types) argument
504 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 Dgenerate_java_binder.cpp38 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
262 generate_method(const AidlMethod& method, Class* interface, StubClass* stubClass, ProxyClass* proxyClass, int index, JavaTypeNamespace* types) argument
489 generate_interface_descriptors(StubClass* stub, ProxyClass* proxy, const JavaTypeNamespace* types) argument
510 generate_binder_interface_class(const AidlInterface* iface, JavaTypeNamespace* types) argument
[all...]
H A Dgenerate_cpp.cpp105 ArgList BuildArgList(const TypeNamespace& types, argument
113 // Method declarations need types, pointers to out params, and variable
139 if (return_type != types.VoidType()) {
155 const TypeNamespace& types,
168 BuildArgList(types, method, true /* for method decl */),
197 bool DeclareLocalVariable(const TypeNamespace& types, const AidlArgument& a, argument
251 unique_ptr<Declaration> DefineClientTransaction(const TypeNamespace& types, argument
258 ArgList{BuildArgList(types, method, true /* for method decl */)}}};
335 if (return_type != types.VoidType()) {
376 unique_ptr<Document> BuildClientSource(const TypeNamespace& types, argument
154 BuildMethodDecl(const AidlMethod& method, const TypeNamespace& types, bool for_interface) argument
407 HandleServerTransaction(const TypeNamespace& types, const AidlMethod& method, StatementBlock* b) argument
501 BuildServerSource(const TypeNamespace& types, const AidlInterface& interface) argument
585 BuildClientHeader(const TypeNamespace& types, const AidlInterface& interface) argument
657 BuildInterfaceHeader(const TypeNamespace& types, const AidlInterface& interface) argument
705 WriteHeader(const CppOptions& options, const TypeNamespace& types, const AidlInterface& interface, const IoDelegate& io_delegate, ClassNames header_type) argument
764 GenerateCpp(const CppOptions& options, const TypeNamespace& types, const AidlInterface& interface, const IoDelegate& io_delegate) argument
[all...]
H A Dtype_java.cpp19 #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 Dmemtrack.c40 } types[MEMTRACK_NUM_TYPES]; member in struct:memtrack_proc
77 free(p->types[i].records);
137 memtrack_proc_get_type(&p->types[i], pid, i);
144 enum memtrack_type types[], size_t num_types,
152 enum memtrack_type type = types[i];
153 for (j = 0; j < p->types[type].num_records; j++) {
154 if ((p->types[type].records[j].flags & flags) == flags) {
155 sum += p->types[type].records[j].size_in_bytes;
165 enum memtrack_type types[] = { MEMTRACK_TYPE_GRAPHICS }; local
166 return memtrack_proc_sum(p, types, ARRAY_SIZ
143 memtrack_proc_sum(struct memtrack_proc *p, enum memtrack_type types[], size_t num_types, unsigned int flags) argument
171 enum memtrack_type types[] = { MEMTRACK_TYPE_GRAPHICS }; local
178 enum memtrack_type types[] = { MEMTRACK_TYPE_GL }; local
184 enum memtrack_type types[] = { MEMTRACK_TYPE_GL }; local
191 enum memtrack_type types[] = { MEMTRACK_TYPE_MULTIMEDIA, local
199 enum memtrack_type types[] = { MEMTRACK_TYPE_MULTIMEDIA, local
[all...]
/system/vold/bench/
H A Dbenchgen.py154 #include <sys/types.h>
329 types = defaultdict(int) variable
331 types[e.call] += 1
334 for t, n in types.iteritems():
/system/media/camera/docs/
H A Dmetadata_model.py35 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>.

Completed in 1687 milliseconds