Lines Matching refs:package
31 std::string BuildPackageNamespace(const StringPiece& package, bool private_reference) { in BuildPackageNamespace() argument
33 result.append(package.data(), package.size()); in BuildPackageNamespace()
41 StringPiece package = namespace_uri; in ExtractPackageFromNamespace() local
42 package = package.substr(schema_prefix.size(), package.size() - schema_prefix.size()); in ExtractPackageFromNamespace()
43 if (package.empty()) { in ExtractPackageFromNamespace()
46 return ExtractedPackage{package.to_string(), false /* is_private */}; in ExtractPackageFromNamespace()
50 StringPiece package = namespace_uri; in ExtractPackageFromNamespace() local
51 package = package.substr(schema_prefix.size(), package.size() - schema_prefix.size()); in ExtractPackageFromNamespace()
52 if (package.empty()) { in ExtractPackageFromNamespace()
55 return ExtractedPackage{package.to_string(), true /* is_private */}; in ExtractPackageFromNamespace()
66 decl_stack->TransformPackageAlias(in_ref->name.value().package)) { in ResolvePackage()
68 in_ref->name.value().package = std::move(extracted_package.package); in ResolvePackage()