Lines Matching defs:types
159 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->AddParcelableType(doc, filename);
490 types->AddBinderType(doc, filename);
509 TypeNamespace* types,
518 if (!parse_preprocessed_file(io_delegate, s, types)) {
544 !types->IsValidPackage(interface->GetPackage())) {
553 if (types->HasImportType(*import)) {
555 // but we'll pick the type up through the preprocessed types.
586 // gather the types that have been declared
587 if (!types->AddBinderType(*interface.get(), input_file_name)) {
591 interface->SetLanguageType(types->GetInterfaceType(*interface));
601 if (!gather_types(import->GetFilename(), import_itr->second.get(), types)) {
606 // check the referenced types in parsed_doc to make sure we've imported them
607 if (check_types(input_file_name, interface.get(), types) != 0) {
636 unique_ptr<cpp::TypeNamespace> types(new cpp::TypeNamespace());
637 types->Init();
643 types.get(),
654 return (cpp::GenerateCpp(options, *types, *interface, io_delegate)) ? 0 : 1;
661 unique_ptr<java::JavaTypeNamespace> types(new java::JavaTypeNamespace());
662 types->Init();
668 types.get(),
699 interface.get(), types.get(), io_delegate);