Lines Matching refs:err

86             status_t err = getOutputFile(fqName, coordinator, location, &fileName);  in appendOutputFiles()  local
87 if (err != OK) return err; in appendOutputFiles()
187 status_t err = coordinator->appendPackageInterfacesToVector(fqName, targets); in appendTargets() local
188 if (err != OK) return err; in appendTargets()
192 status_t err = appendPerTypeTargets(fqName, coordinator, targets); in appendTargets() local
193 if (err != OK) return err; in appendTargets()
198 status_t err = coordinator->appendPackageInterfacesToVector(fqName, &packageInterfaces); in appendTargets() local
199 if (err != OK) return err; in appendTargets()
201 err = appendPerTypeTargets(packageInterface, coordinator, targets); in appendTargets()
202 if (err != OK) return err; in appendTargets()
214 status_t err = appendTargets(fqName, coordinator, &targets); in generate() local
215 if (err != OK) return err; in generate()
219 status_t err = file.generate(fqName, coordinator, mLocation); in generate() local
220 if (err != OK) return err; in generate()
230 status_t err = appendTargets(fqName, coordinator, &targets); in appendOutputFiles() local
231 if (err != OK) return err; in appendOutputFiles()
235 err = file.appendOutputFiles(fqName, coordinator, mLocation, outputFiles); in appendOutputFiles()
236 if (err != OK) return err; in appendOutputFiles()
245 status_t err = appendOutputFiles(fqName, coordinator, &outputFiles); in writeDepFile() local
246 if (err != OK) return err; in writeDepFile()
340 status_t err = coordinator->appendPackageInterfacesToVector(packageFQName, &packageInterfaces); in dumpDefinedButUnreferencedTypeNames() local
341 if (err != OK) return err; in dumpDefinedButUnreferencedTypeNames()
345 err = coordinator->addUnreferencedTypes(packageInterfaces, &unreferencedDefinitions, in dumpDefinedButUnreferencedTypeNames()
347 if (err != OK) return err; in dumpDefinedButUnreferencedTypeNames()
373 status_t err = in isPackageJavaCompatible() local
376 if (err != OK) { in isPackageJavaCompatible()
377 return err; in isPackageJavaCompatible()
407 status_t err = coordinator->appendPackageInterfacesToVector( in isPackageJavaCompatible() local
410 if (err != OK) { in isPackageJavaCompatible()
411 return err; in isPackageJavaCompatible()
533 status_t err = coordinator->getFilepath(fqName, Coordinator::Location::PACKAGE_ROOT, in isSystemExtPackage() local
535 if (err != OK) return err; in isSystemExtPackage()
551 status_t err = in generateAdapterMainSource() local
554 if (err != OK) { in generateAdapterMainSource()
555 return err; in generateAdapterMainSource()
610 status_t err = coordinator->appendPackageInterfacesToVector(packageFQName, &packageInterfaces); in generateAndroidBpForPackage() local
612 if (err != OK) { in generateAndroidBpForPackage()
613 return err; in generateAndroidBpForPackage()
642 err = isPackageJavaCompatible(packageFQName, coordinator, &isJavaCompatible); in generateAndroidBpForPackage()
643 if (err != OK) return err; in generateAndroidBpForPackage()
652 err = isSystemExtPackage(packageFQName, coordinator, &isSystemExtHidl); in generateAndroidBpForPackage()
653 if (err != OK) return err; in generateAndroidBpForPackage()
657 err = coordinator->getPackageRoot(packageFQName, &packageRoot); in generateAndroidBpForPackage()
658 if (err != OK) return err; in generateAndroidBpForPackage()
715 status_t err = in generateAndroidBpImplForPackage() local
719 if (err != OK) { in generateAndroidBpImplForPackage()
720 return err; in generateAndroidBpImplForPackage()
830 status_t err = isPackageJavaCompatible(fqName, coordinator, &isJavaCompatible); in validateForSource() local
831 if (err != OK) return false; in validateForSource()
854 status_t err = coordinator->appendPackageInterfacesToVector( in generateExportHeaderForPackage() local
857 if (err != OK) { in generateExportHeaderForPackage()
858 return err; in generateExportHeaderForPackage()
887 err = coordinator->getPackagePath(packageFQName, false /* relative */, in generateExportHeaderForPackage()
889 if (err != OK) return err; in generateExportHeaderForPackage()
1514 status_t err = in main() local
1516 if (err != OK) return err; in main()
1525 status_t err = outputFormat->generate(fqName, &coordinator); in main() local
1526 if (err != OK) exit(1); in main()
1528 err = outputFormat->writeDepFile(fqName, &coordinator); in main()
1529 if (err != OK) exit(1); in main()