Lines Matching defs:package
30 * Represents the package we are trying to build. References pointing
31 * to this package are not mangled, and mangled references inherit this
32 * package name.
48 if (policy_.target_package_name == name.package ||
49 policy_.packages_to_mangle.count(name.package) == 0) {
53 std::string mangled_entry_name = MangleEntry(name.package, name.entry);
58 bool ShouldMangle(const std::string& package) const {
59 if (package.empty() || policy_.target_package_name == package) {
62 return policy_.packages_to_mangle.count(package) != 0;
68 * Returns a mangled name that is a combination of `name` and `package`.
72 static std::string MangleEntry(const std::string& package,
74 return package + "$" + name;
79 * and the package in `outPackage`. Returns true if the name was unmangled or