Lines Matching refs:err

114     status_t err = getFilepath(fqName, location, fileName, &filepath);  in getFormatter()  local
115 if (err != OK) { in getFormatter()
138 status_t err; in getFilepath() local
147 err = getPackagePath(fqName, false /* relative */, false /* sanitized */, &packagePath); in getFilepath()
148 if (err != OK) return err; in getFilepath()
153 err = convertPackageRootToPath(fqName, &packageRootPath); in getFilepath()
154 if (err != OK) return err; in getFilepath()
155 err = getPackagePath(fqName, true /* relative */, false /* sanitized */, &packagePath); in getFilepath()
156 if (err != OK) return err; in getFilepath()
161 err = convertPackageRootToPath(fqName, &packageRootPath); in getFilepath()
162 if (err != OK) return err; in getFilepath()
163 err = getPackagePath(fqName, true /* relative */, true /* sanitized */, &packagePath); in getFilepath()
164 if (err != OK) return err; in getFilepath()
217 status_t err = parseOptional(fqName, &ret, parsedASTs, enforcement); in parse() local
218 if (err != OK) CHECK(ret == nullptr); // internal consistency in parse()
250 status_t err = in parseOptional() local
252 if (err != OK) return err; in parseOptional()
289 err = UNKNOWN_ERROR; in parseOptional()
298 err = UNKNOWN_ERROR; in parseOptional()
306 err = UNKNOWN_ERROR; in parseOptional()
315 err = UNKNOWN_ERROR; in parseOptional()
322 err = UNKNOWN_ERROR; in parseOptional()
326 if (err != OK) { in parseOptional()
329 return err; in parseOptional()
341 err = enforceRestrictionsOnPackage(fqName, enforcement); in parseOptional()
342 if (err != OK) { in parseOptional()
346 return err; in parseOptional()
445 status_t err = in getPackageInterfaceFiles() local
447 if (err != OK) return err; in getPackageInterfaceFiles()
511 status_t err = getPackageInterfaceFiles(package, &fileNames); in appendPackageInterfacesToVector() local
513 if (err != OK) { in appendPackageInterfacesToVector()
514 return err; in appendPackageInterfacesToVector()
527 status_t err = getPackageRoot(fqName, &packageRoot); in convertPackageRootToPath() local
528 if (err != OK) return err; in convertPackageRootToPath()
543 status_t err = appendPackageInterfacesToVector(package, &packageInterfaces); in isTypesOnlyPackage() local
545 if (err != OK) { in isTypesOnlyPackage()
547 return err; in isTypesOnlyPackage()
641 status_t err; in enforceRestrictionsOnPackage() local
643 err = enforceMinorVersionUprevs(package, enforcement); in enforceRestrictionsOnPackage()
644 if (err != OK) { in enforceRestrictionsOnPackage()
645 return err; in enforceRestrictionsOnPackage()
649 err = enforceHashes(package); in enforceRestrictionsOnPackage()
650 if (err != OK) { in enforceRestrictionsOnPackage()
651 return err; in enforceRestrictionsOnPackage()
662 status_t err = in packageExists() local
664 if (err != OK) return err; in packageExists()
693 status_t err = packageExists(prevPackage, &result); in enforceMinorVersionUprevs() local
694 if (err != OK) return err; in enforceMinorVersionUprevs()
715 status_t err = isTypesOnlyPackage(prevPackage, &prevIsTypesOnly); in enforceMinorVersionUprevs() local
716 if (err != OK) return err; in enforceMinorVersionUprevs()
724 err = appendPackageInterfacesToVector(currentPackage, &packageInterfaces); in enforceMinorVersionUprevs()
725 if (err != OK) { in enforceMinorVersionUprevs()
726 return err; in enforceMinorVersionUprevs()
817 status_t err = getPackageRootPath(fqName, &rootPath); in checkHash() local
818 if (err != OK) return HashStatus::ERROR; in checkHash()
883 status_t err = appendPackageInterfacesToVector(importedPackage, &packageInterfaces); in getUnfrozenDependencies() local
884 if (err != OK) { in getUnfrozenDependencies()
885 return err; in getUnfrozenDependencies()
910 status_t err = appendPackageInterfacesToVector(currentPackage, &packageInterfaces); in enforceHashes() local
911 if (err != OK) { in enforceHashes()
912 return err; in enforceHashes()
923 err = getUnfrozenDependencies(currentFQName, &unfrozenDependencies); in enforceHashes()
924 if (err != OK) return err; in enforceHashes()
943 return err; in enforceHashes()
1026 status_t err = addPackagePath(root, path, &error); in parseOptions() local
1027 if (err != OK) { in parseOptions()