Lines Matching refs:packageRoot
87 for (const PackageRoot &packageRoot : mPackageRoots) { in addPackagePath() local
88 if (packageRoot.root.inPackage(root) || package.inPackage(packageRoot.root.package())) { in addPackagePath()
91 packageRoot.root.package() + in addPackagePath()
398 const PackageRoot* packageRoot = findPackageRoot(fqName); in getPackageRoot() local
399 if (packageRoot == nullptr) { in getPackageRoot()
402 *root = packageRoot->root.package(); in getPackageRoot()
407 const PackageRoot* packageRoot = findPackageRoot(fqName); in getPackageRootPath() local
408 if (packageRoot == nullptr) { in getPackageRootPath()
411 *path = packageRoot->path; in getPackageRootPath()
417 const PackageRoot* packageRoot = findPackageRoot(fqName); in getPackagePath() local
418 if (packageRoot == nullptr) return UNKNOWN_ERROR; in getPackagePath()
422 std::string suffix = StringHelper::LTrim(fqName.package(), packageRoot->root.package()); in getPackagePath()
430 components.push_back(StringHelper::RTrimAll(packageRoot->path, "/")); in getPackagePath()
526 std::string packageRoot; in convertPackageRootToPath() local
527 status_t err = getPackageRoot(fqName, &packageRoot); in convertPackageRootToPath()
530 if (*(packageRoot.end()--) != '.') { in convertPackageRootToPath()
531 packageRoot += '.'; in convertPackageRootToPath()
534 std::replace(packageRoot.begin(), packageRoot.end(), '.', '/'); in convertPackageRootToPath()
536 *path = packageRoot; // now converted to a path in convertPackageRootToPath()