Home
last modified time | relevance | path

Searched refs:Policy (Results 1 – 25 of 241) sorted by relevance

12345678910

/external/clang/lib/AST/
DTypePrinter.cpp33 PrintingPolicy &Policy; member in __anon5aa446590111::IncludeStrongLifetimeRAII
37 explicit IncludeStrongLifetimeRAII(PrintingPolicy &Policy) in IncludeStrongLifetimeRAII() argument
38 : Policy(Policy), Old(Policy.SuppressStrongLifetime) { in IncludeStrongLifetimeRAII()
39 if (!Policy.SuppressLifetimeQualifiers) in IncludeStrongLifetimeRAII()
40 Policy.SuppressStrongLifetime = false; in IncludeStrongLifetimeRAII()
44 Policy.SuppressStrongLifetime = Old; in ~IncludeStrongLifetimeRAII()
49 PrintingPolicy &Policy; member in __anon5aa446590111::ParamPolicyRAII
53 explicit ParamPolicyRAII(PrintingPolicy &Policy) in ParamPolicyRAII() argument
54 : Policy(Policy), Old(Policy.SuppressSpecifiers) { in ParamPolicyRAII()
55 Policy.SuppressSpecifiers = false; in ParamPolicyRAII()
[all …]
DDeclPrinter.cpp30 PrintingPolicy Policy; member in __anond3fcfbcf0111::DeclPrinter
41 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy, in DeclPrinter() argument
43 : Out(Out), Policy(Policy), Indentation(Indentation), in DeclPrinter()
99 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy, in print() argument
101 DeclPrinter Printer(Out, Policy, Indentation, PrintInstantiation); in print()
138 raw_ostream &Out, const PrintingPolicy &Policy, in printGroup() argument
141 (*Begin)->print(Out, Policy, Indentation); in printGroup()
150 PrintingPolicy SubPolicy(Policy); in printGroup()
152 TD->print(Out, Policy, Indentation); in printGroup()
189 if (Policy.PolishForDeclaration) in prettyPrintAttributes()
[all …]
DStmtPrinter.cpp38 PrintingPolicy Policy; member in __anon7f41149f0111::StmtPrinter
42 const PrintingPolicy &Policy, in StmtPrinter() argument
44 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy) {} in StmtPrinter()
47 PrintStmt(S, Policy.Indentation); in PrintStmt()
124 D->print(OS, Policy, IndentLevel); in PrintRawDecl()
129 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel); in PrintRawDeclStmt()
172 Attr->printPretty(OS, Policy); in VisitAttributedStmt()
313 PrintingPolicy SubPolicy(Policy); in VisitCXXForRangeStmt()
321 if (Policy.IncludeNewlines) OS << "\n"; in VisitCXXForRangeStmt()
333 Qualifier->print(OS, Policy); in VisitMSDependentExistsStmt()
[all …]
DTemplateBase.cpp39 raw_ostream &Out, const PrintingPolicy& Policy) { in printIntegral() argument
50 ECD->printQualifiedName(Out, Policy); in printIntegral()
356 void TemplateArgument::print(const PrintingPolicy &Policy, in print() argument
364 PrintingPolicy SubPolicy(Policy); in print()
387 getAsTemplate().print(Out, Policy); in print()
391 getAsTemplateOrTemplatePattern().print(Out, Policy); in print()
396 printIntegral(*this, Out, Policy); in print()
401 getAsExpr()->printPretty(Out, nullptr, Policy); in print()
413 P.print(Policy, Out); in print()
502 PrintingPolicy Policy(LangOpts); in operator <<() local
[all …]
DTemplateName.cpp128 TemplateName::print(raw_ostream &OS, const PrintingPolicy &Policy, in print() argument
134 QTN->getQualifier()->print(OS, Policy); in print()
140 DTN->getQualifier()->print(OS, Policy); in print()
149 subst->getReplacement().print(OS, Policy, SuppressNNS); in print()
/external/clang/include/clang/Sema/
DAnalysisBasedWarnings.h35 class Policy {
43 Policy();
49 Policy DefaultPolicy;
93 void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
96 Policy getDefaultPolicy() { return DefaultPolicy; } in getDefaultPolicy()
/external/guava/guava-tests/test/com/google/common/base/
DFinalizableReferenceQueueClassLoaderUnloadingTest.java32 import java.security.Policy;
75 private static class PermissivePolicy extends Policy {
163 Policy oldPolicy = Policy.getPolicy(); in testUnloadableWithSecurityManager()
166 Policy.setPolicy(new PermissivePolicy()); in testUnloadableWithSecurityManager()
171 Policy.setPolicy(oldPolicy); in testUnloadableWithSecurityManager()
192 Policy oldPolicy = Policy.getPolicy(); in testUnloadableInStaticFieldIfClosed()
195 Policy.setPolicy(new PermissivePolicy()); in testUnloadableInStaticFieldIfClosed()
201 Policy.setPolicy(oldPolicy); in testUnloadableInStaticFieldIfClosed()
/external/clang/lib/Sema/
DDeclSpec.cpp447 const PrintingPolicy &Policy) { in getSpecifierName() argument
452 case DeclSpec::TST_wchar: return Policy.MSWChar ? "__wchar_t" : "wchar_t"; in getSpecifierName()
460 case DeclSpec::TST_bool: return Policy.Bool ? "bool" : "_Bool"; in getSpecifierName()
497 const PrintingPolicy &Policy) { in SetStorageClassSpec() argument
532 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); in SetStorageClassSpec()
535 PrevSpec, DiagID, Policy); in SetStorageClassSpec()
572 const PrintingPolicy &Policy) { in SetTypeSpecWidth() argument
608 const PrintingPolicy &Policy) { in SetTypeSpecType() argument
609 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Policy); in SetTypeSpecType()
617 const PrintingPolicy &Policy) { in SetTypeSpecType() argument
[all …]
DSemaStmtAttr.cpp171 PrintingPolicy Policy(S.Context.getLangOpts()); in CheckForIncompatibleAttributes() local
176 << /*Duplicate=*/true << PrevAttr->getDiagnosticName(Policy) in CheckForIncompatibleAttributes()
177 << LH->getDiagnosticName(Policy); in CheckForIncompatibleAttributes()
187 << CategoryState.StateAttr->getDiagnosticName(Policy) in CheckForIncompatibleAttributes()
188 << CategoryState.NumericAttr->getDiagnosticName(Policy); in CheckForIncompatibleAttributes()
DSemaCodeComplete.cpp1451 PrintingPolicy Policy = Sema::getPrintingPolicy(Context, PP); in getCompletionPrintingPolicy() local
1452 Policy.AnonymousTagLocations = false; in getCompletionPrintingPolicy()
1453 Policy.SuppressStrongLifetime = true; in getCompletionPrintingPolicy()
1454 Policy.SuppressUnwrittenScope = true; in getCompletionPrintingPolicy()
1455 return Policy; in getCompletionPrintingPolicy()
1470 const PrintingPolicy &Policy, in GetCompletionTypeString() argument
1475 return BT->getNameAsCString(Policy); in GetCompletionTypeString()
1493 T.getAsStringInternal(Result, Policy); in GetCompletionTypeString()
1505 PrintingPolicy Policy = getCompletionPrintingPolicy(S); in addThisCompletion() local
1508 Policy, in addThisCompletion()
[all …]
/external/llvm/lib/Target/R600/
DAMDGPUSubtarget.cpp117 void AMDGPUSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy() argument
126 Policy.ShouldTrackPressure = true; in overrideSchedPolicy()
130 Policy.OnlyTopDown = false; in overrideSchedPolicy()
131 Policy.OnlyBottomUp = false; in overrideSchedPolicy()
/external/conscrypt/src/compat/java/dalvik/system/
DBlockGuard.java43 public static Policy getThreadPolicy() { in getThreadPolicy()
54 public interface Policy { interface in BlockGuard
58 public static class PolicyWrapper implements Policy {
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DProtectionDomainTest.java173 Policy.setPolicy(policy); in testImplies_02()
176 Policy.setPolicy(null); in testImplies_02()
191 Policy.setPolicy(policy); in testImplies_03()
194 Policy.setPolicy(null); in testImplies_03()
225 private static class TestPolicy extends Policy {
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java31 import java.security.Policy;
634 Policy savedPolicy = Policy.getPolicy(); in runWithPermissions()
636 Policy.setPolicy(permissivePolicy()); in runWithPermissions()
641 Policy.setPolicy(savedPolicy); in runWithPermissions()
644 Policy savedPolicy = Policy.getPolicy(); in runWithPermissions()
646 Policy.setPolicy(policy); in runWithPermissions()
652 Policy.setPolicy(savedPolicy); in runWithPermissions()
668 public static class AdjustablePolicy extends java.security.Policy {
691 public static Policy permissivePolicy() { in permissivePolicy()
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp190 void PPCSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy() argument
195 Policy.OnlyTopDown = false; in overrideSchedPolicy()
196 Policy.OnlyBottomUp = false; in overrideSchedPolicy()
201 Policy.ShouldTrackPressure = true; in overrideSchedPolicy()
/external/llvm/lib/Target/AArch64/
DAArch64Subtarget.cpp113 void AArch64Subtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy() argument
118 Policy.OnlyTopDown = false; in overrideSchedPolicy()
119 Policy.OnlyBottomUp = false; in overrideSchedPolicy()
/external/clang/lib/StaticAnalyzer/Checkers/
DDebugCheckers.cpp98 PrintingPolicy Policy(mgr.getLangOpts()); in checkASTCodeBody() local
99 Policy.TerseOutput = true; in checkASTCodeBody()
100 Policy.PolishForDeclaration = true; in checkASTCodeBody()
101 D->print(llvm::errs(), Policy); in checkASTCodeBody()
/external/clang/unittests/AST/
DNamedDeclPrinterTest.cpp49 PrintingPolicy Policy = Result.Context->getPrintingPolicy(); in run() local
50 Policy.SuppressUnwrittenScope = SuppressUnwrittenScope; in run()
51 ND->printQualifiedName(Out, Policy); in run()
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlChangeReporter.java69 public void setPolicy(HtmlSanitizer.Policy policy) { in setPolicy()
75 public HtmlSanitizer.Policy getWrappedPolicy() { return input; } in getWrappedPolicy()
77 private static final class InputChannel<T> implements HtmlSanitizer.Policy {
DPolicyFactory.java54 implements Function<HtmlStreamEventReceiver, HtmlSanitizer.Policy> {
70 public HtmlSanitizer.Policy apply(@Nonnull HtmlStreamEventReceiver out) { in apply()
86 public <CTX> HtmlSanitizer.Policy apply( in apply()
DHtmlSanitizer.java53 public interface Policy extends HtmlStreamEventReceiver { interface in HtmlSanitizer
102 public static void sanitize(@Nullable String html, final Policy policy) { in sanitize()
/external/selinux/policycoreutils/gui/
Dselinux-polgengui.desktop2 Name=SELinux Policy Generation Tool
3 Name[bn_IN]=SELinux Policy নির্মাণের সামগ্রী
30 Name[zh_TW]=SELinux 政策產生工具(SELinux Policy Generation Tool)
/external/selinux/policycoreutils/sepolicy/sepolicy/help/
Dlockdown_unconfined.txt4Policy defined for them, run as initrc_t or init_t. These domains are unconfined by SELinux. Ot…
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/76/1/.cp/ant_tasks/
Dresources-ant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/ ...
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DCertPathReviewerMessages.properties271 CertPathReviewer.policyExtError.title = Policy checking failed
272 CertPathReviewer.policyExtError.text = Policy checking failed: there was an error processing the ce…
274 CertPathReviewer.policyExtError.details = Policy checking failed: there was an error processing the…
277 CertPathReviewer.policyConstExtError.title = Policy checking failed
278 CertPathReviewer.policyConstExtError.text = Policy checking failed: there was an error processing t…
280 CertPathReviewer.policyConstExtError.details = Policy checking failed: there was an error processin…
283 CertPathReviewer.policyMapExtError.title = Policy checking failed
284 CertPathReviewer.policyMapExtError.text = Policy checking failed: there was an error processing the…
286 CertPathReviewer.policyMapExtError.details = Policy checking failed: there was an error processing …
289 CertPathReviewer.policyInhibitExtError.title = Policy checking failed
[all …]

12345678910