Searched refs:policy_ (Results 1 – 3 of 3) sorted by relevance
45 explicit NameMangler(NameManglerPolicy policy) : policy_(policy) {} in NameMangler()48 if (policy_.target_package_name == name.package || in MangleName()49 policy_.packages_to_mangle.count(name.package) == 0) { in MangleName()54 return ResourceName(policy_.target_package_name, name.type, in MangleName()59 if (package.empty() || policy_.target_package_name == package) { in ShouldMangle()62 return policy_.packages_to_mangle.count(package) != 0; in ShouldMangle()65 const std::string& GetTargetPackageName() const { return policy_.target_package_name; } in GetTargetPackageName()94 NameManglerPolicy policy_;
2637 storage_.policy_ = allocate & 0x3; in CZString()2642 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()2645 storage_.policy_ = (other.cstr_ in CZString()2646 ? (static_cast<DuplicationPolicy>(other.storage_.policy_) == noDuplication in CZString()2648 : static_cast<DuplicationPolicy>(other.storage_.policy_)); in CZString()2660 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()2703 bool Value::CZString::isStaticString() const { return storage_.policy_ == noDuplication; } in isStaticString()
617 unsigned policy_: 2; member