Searched defs:Pass (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/extensions/common/
H A Dvalue_builder.h24 // Pass() method.
54 DictionaryBuilder& Pass() { return *this; } function in class:extensions::DictionaryBuilder
57 scoped_ptr<base::DictionaryValue> Build() { return dict_.Pass(); }
83 ListBuilder& Pass() { return *this; } function in class:extensions::ListBuilder
86 scoped_ptr<base::ListValue> Build() { return list_.Pass(); }
H A Dextension_builder.h32 // other functions, e.g. UseBuilder(ExtensionBuilder().Pass())
33 ExtensionBuilder& Pass() { return *this; } function in class:extensions::ExtensionBuilder
/external/clang/test/CodeGenCXX/
H A D2003-11-27-MultipleInheritanceThunk.cpp18 struct Pass { struct
23 struct AliasAnalysisCounter : public Pass, public AliasAnalysis {
H A D2004-09-27-DidntEmitTemplate.cpp7 struct Pass {}; struct
10 Pass *callDefaultCtor() { return new Pass(); }
12 void foo(Pass *(*C)());
22 void baz() { foo(callDefaultCtor<Pass>); }
/external/clang/lib/ARCMigrate/
H A DTransAPIUses.cpp32 MigrationPass &Pass; member in class:__anon17690::APIChecker
39 APIChecker(MigrationPass &pass) : Pass(pass) {
40 SelectorTable &sels = Pass.Ctx.Selectors;
41 IdentifierTable &ids = Pass.Ctx.Idents;
78 Pass.TA.report(parm->getLocStart(),
90 Pass.TA.hasDiagnostic(diag::err_unavailable,
94 Transaction Trans(Pass.TA);
95 Pass.TA.clearDiagnostic(diag::err_unavailable,
98 Pass.TA.replace(E->getSourceRange(), getNilString(Pass
[all...]
H A DTransARCAssign.cpp36 MigrationPass &Pass; member in class:__anon17691::ARCAssignChecker
40 ARCAssignChecker(MigrationPass &pass) : Pass(pass) { }
51 ASTContext &Ctx = Pass.Ctx;
57 Transaction Trans(Pass.TA);
58 if (Pass.TA.clearDiagnostic(diag::err_typecheck_arr_assign_enumeration,
62 Pass.TA.insert(TLoc.getBeginLoc(), "__strong ");
H A DTransUnusedInitDelegate.cpp36 MigrationPass &Pass; member in class:__anon17703::UnusedInitRewriter
42 : Body(nullptr), Pass(pass) { }
53 Pass.TA.hasDiagnostic(diag::err_arc_unused_init_message,
55 Transaction Trans(Pass.TA);
56 Pass.TA.clearDiagnostic(diag::err_arc_unused_init_message,
59 Pass.TA.insert(ExprRange.getBegin(), "if (!(self = ");
61 retStr += getNilString(Pass.Ctx);
62 Pass.TA.insertAfterToken(ExprRange.getEnd(), retStr);
H A DTransBlockObjCVariable.cpp128 MigrationPass &Pass = BodyCtx.getMigrationContext().Pass; local
140 bool useWeak = canApplyWeak(Pass.Ctx, var->getType());
141 SourceManager &SM = Pass.Ctx.getSourceManager();
142 Transaction Trans(Pass.TA);
143 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()),
H A DTransEmptyStatementsAndDealloc.cpp152 MigrationPass &Pass; member in class:__anon17695::EmptyStatementsRemover
155 EmptyStatementsRemover(MigrationPass &pass) : Pass(pass) { }
174 ASTContext &getContext() { return Pass.Ctx; }
179 if (EmptyChecker(Pass.Ctx, Pass.ARCMTMacroLocs).Visit(S)) {
180 Transaction Trans(Pass.TA);
181 Pass.TA.removeStmt(S);
H A DTransZeroOutPropsInDealloc.cpp30 MigrationPass &Pass; member in class:__anon17704::ZeroOutInDeallocRemover
38 ZeroOutInDeallocRemover(MigrationPass &pass) : Pass(pass), SelfD(nullptr) {
40 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize"));
44 ASTContext &Ctx = Pass.Ctx;
45 TransformActions &TA = Pass.TA;
84 Transaction Trans(Pass.TA);
85 Pass.TA.removeStmt(POE);
93 Transaction Trans(Pass.TA);
94 Pass
[all...]
H A DTransProtectedScope.cpp96 MigrationPass &Pass; member in class:__anon17699::ProtectedScopeFixer
103 : Pass(BodyCtx.getMigrationContext().Pass),
104 SM(Pass.Ctx.getSourceManager()) {
111 const CapturedDiagList &DiagList = Pass.getDiags();
131 Transaction Trans(Pass.TA);
143 Pass.TA.clearDiagnostic(diag::err_switch_into_protected_scope, ErrLoc);
158 Pass.TA.clearDiagnostic(Diag.getID(), Diag.getLocation());
175 Pass.TA.insertAfterToken(info.SC->getColonLoc(), " {");
176 Pass
[all...]
H A DTransRetainReleaseDealloc.cpp38 MigrationPass &Pass; member in class:__anon17701::RetainReleaseDeallocRemover
47 : Body(nullptr), Pass(pass) {
49 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("delegate"));
51 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize"));
74 Pass.TA.reportError("it is not safe to remove an unused 'autorelease' "
80 // Pass through.
91 Pass.TA.reportError(err, rec->getLocStart());
100 Pass
[all...]
H A DTransforms.h85 MigrationPass &Pass; member in class:clang::arcmt::trans::MigrationContext
104 explicit MigrationContext(MigrationPass &pass) : Pass(pass) {}
187 MigrationPass &Pass; member in class:clang::arcmt::trans::BodyTransform
192 BodyTransform(MigrationPass &pass) : Pass(pass), ParentD(nullptr) { }
196 BODY_TRANS(Pass).transformBody(rootS, ParentD);
H A DTransAutoreleasePool.cpp73 : Body(nullptr), Pass(pass) {
113 Transaction Trans(Pass.TA);
116 Pass.TA.removeStmt(info.Dcl);
127 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {");
128 Pass.TA.removeStmt(*scope.End);
132 Pass.Ctx);
136 Pass.TA.insertAfterToken(afterSemi, "\n}");
137 Pass.TA.increaseIndentation(
142 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {");
143 Pass
414 MigrationPass &Pass; member in class:__anon17693::AutoreleasePoolRewriter
[all...]
H A DTransProperties.cpp48 MigrationPass &Pass; member in class:__anon17698::PropertiesRewriter
75 : MigrateCtx(MigrateCtx), Pass(MigrateCtx.Pass) { }
137 Transaction Trans(Pass.TA);
150 Transaction Trans(Pass.TA);
212 (Pass.isGCMigration() && !hasGCWeak(props, atLoc)))
226 Pass.TA.clearDiagnostic(diag::err_arc_strong_property_ownership,
234 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props),
235 /*AllowOnUnknownClass=*/Pass.isGCMigration());
237 (Pass
[all...]
H A DTransUnbridgedCasts.cpp61 MigrationPass &Pass; member in class:__anon17702::UnbridgedCastRewriter
70 : Pass(pass), ParentD(nullptr), Body(nullptr) {
71 SelfII = &Pass.Ctx.Idents.get("self");
84 UnbridgedCastRewriter(Pass).transformBody(D->getBody(), D);
105 if (castExpr->isNullPointerConstant(Pass.Ctx,
110 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc))
201 Transaction Trans(Pass.TA);
207 TransformActions &TA = Pass.TA;
230 if (Kind == OBC_Bridge || !Pass.CFBridgingFunctionsDefined()) {
238 newCast += E->getType().getAsString(Pass
[all...]
/external/chromium_org/cc/surfaces/
H A Dsurface_aggregator_test_helpers.h62 struct Pass { struct in namespace:cc::test
63 Pass(Quad* quads, size_t quad_count, RenderPassId id) function in struct:cc::test::Pass
65 Pass(Quad* quads, size_t quad_count) function in struct:cc::test::Pass
81 Pass* passes,
86 void TestPassMatchesExpectations(Pass expected_pass, const RenderPass* pass);
88 void TestPassesMatchExpectations(Pass* expected_passes,
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_resource_manager.h60 FakeResource* Pass() { function in class:FakeResourceTracker
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DDeque.h53 typedef PassTraits<T> Pass; typedef in class:WTF::Deque
348 T oldFirst = Pass::transfer(first());
350 return Pass::transfer(oldFirst);
356 T oldLast = Pass::transfer(last());
358 return Pass::transfer(oldLast);
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dcondition_variable_unittest.cc48 // Pass the baton. Returns false if baton is not picked up in |max_msecs|.
51 bool Pass(uint32_t max_msecs) { function in class:webrtc::__anon16155::Baton
69 // We don't allow polling PassCount() during a Pass()-call since there is
70 // no guarantee that |pass_count_| is incremented until the Pass()-call
122 // part of Pass() at a time.
138 EXPECT_TRUE(the_baton->Pass(kLongWaitMs));
156 // we don't know if it will exit before or after the Pass.
158 // and Pass).
159 ASSERT_TRUE(baton_.Pass(kShortWaitMs));
183 ASSERT_TRUE(baton_.Pass(kShortWaitM
[all...]
/external/llvm/include/llvm/
H A DPass.h1 //===- llvm/Pass.h - Base class for Passes ----------------------*- C++ -*-===//
78 /// Pass interface - Implemented by all 'passes'. Subclass this if you are an
82 class Pass { class in namespace:llvm
86 void operator=(const Pass&) LLVM_DELETED_FUNCTION;
87 Pass(const Pass &) LLVM_DELETED_FUNCTION;
90 explicit Pass(PassKind K, char &pid) function in class:llvm::Pass
92 virtual ~Pass();
128 /// createPrinterPass - Get a Pass appropriate to print the IR this
130 virtual Pass *createPrinterPas
[all...]
/external/webrtc/src/system_wrappers/source/
H A Dcondition_variable_unittest.cc52 // Pass the baton. Returns false if baton is not picked up in |max_msecs|.
55 bool Pass(WebRtc_UWord32 max_msecs) { function in class:webrtc::__anon33521::Baton
64 LOG("Pass count is %d", pass_count_);
76 // We don't allow polling PassCount() during a Pass()-call since there is
77 // no guarantee that |pass_count_| is incremented until the Pass()-call
134 // part of Pass() at a time.
152 EXPECT_TRUE(the_baton->Pass(kLongWaitMs));
172 // we don't know if it will exit before or after the Pass.
174 // and Pass).
175 ASSERT_TRUE(baton_.Pass(kShortWaitM
[all...]
/external/chromium_org/base/
H A Dbind_helpers.h114 // // You can use f.Pass() in place of &f, but it's more verbose.
362 // 1) PassedWrapper supports any type that has a "Pass()" function.
370 explicit PassedWrapper(T scoper) : is_valid_(true), scoper_(scoper.Pass()) {}
372 : is_valid_(other.is_valid_), scoper_(other.scoper_.Pass()) {
374 T Pass() const { function in class:base::internal::PassedWrapper
377 return scoper_.Pass();
432 return o.Pass();
514 // to write Passed(scoper.Pass()).
517 return internal::PassedWrapper<T>(scoper.Pass());
521 return internal::PassedWrapper<T>(scoper->Pass());
[all...]
/external/llvm/include/llvm/Analysis/
H A DCGSCCPassManager.h46 template <typename CGSCCPassT> void addPass(CGSCCPassT Pass) { argument
47 Passes.emplace_back(new CGSCCPassModel<CGSCCPassT>(std::move(Pass)));
59 CGSCCPassModel(PassT Pass) argument
61 std::move(Pass)) {}
305 explicit ModuleToPostOrderCGSCCPassAdaptor(CGSCCPassT Pass) argument
306 : Pass(std::move(Pass)) {}
311 : Pass(Arg.Pass) {}
313 : Pass(st
364 CGSCCPassT Pass; member in class:llvm::ModuleToPostOrderCGSCCPassAdaptor
371 createModuleToPostOrderCGSCCPassAdaptor(CGSCCPassT Pass) argument
526 CGSCCToFunctionPassAdaptor(FunctionPassT Pass) argument
578 FunctionPassT Pass; member in class:llvm::CGSCCToFunctionPassAdaptor
585 createCGSCCToFunctionPassAdaptor(FunctionPassT Pass) argument
[all...]
/external/llvm/lib/IR/
H A DPass.cpp1 //===- Pass.cpp - LLVM Pass Infrastructure Implementation -----------------===//
10 // This file implements the LLVM Pass infrastructure. It is primarily
16 #include "llvm/Pass.h"
28 // Pass Implementation
32 Pass::~Pass() {
39 Pass *ModulePass::createPrinterPass(raw_ostream &O,
48 bool Pass::mustPreserveAnalysisID(char &AID) const {
53 void Pass
[all...]

Completed in 826 milliseconds

12