/external/chromium/base/ |
D | file_descriptor_shuffle_unittest.cc | 20 struct Action { struct 27 Action(Type in_type, int in_fd1, int in_fd2 = -1) in Action() argument 33 bool operator==(const Action& other) const { in operator ==() argument 52 actions_.push_back(Action(Action::DUPLICATE, *result, fd)); in Duplicate() argument 57 actions_.push_back(Action(Action::MOVE, src, dest)); in Move() 62 actions_.push_back(Action(Action::CLOSE, fd)); in Close() 65 const std::vector<Action>& actions() const { return actions_; } in actions() 69 std::vector<Action> actions_; 105 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST() 116 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST() [all …]
|
/external/llvm/utils/TableGen/ |
D | CallingConvEmitter.cpp | 62 void CallingConvEmitter::EmitAction(Record *Action, in EmitAction() argument 66 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction() 69 if (Action->isSubClassOf("CCIfType")) { in EmitAction() 70 ListInit *VTs = Action->getValueAsListInit("VTs"); in EmitAction() 77 } else if (Action->isSubClassOf("CCIf")) { in EmitAction() 78 O << Action->getValueAsString("Predicate"); in EmitAction() 80 Action->dump(); in EmitAction() 85 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction() 88 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction() 89 Record *CC = Action->getValueAsDef("CC"); in EmitAction() [all …]
|
/external/clang/include/clang/Driver/ |
D | Action.h | 32 class Action { 67 Action(ActionClass _Kind, types::ID _Type) in Action() function 69 Action(ActionClass _Kind, Action *Input, types::ID _Type) in Action() function 71 Action(ActionClass _Kind, const ActionList &_Inputs, types::ID _Type) in Action() function 74 virtual ~Action(); 76 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName() 94 static bool classof(const Action *) { return true; } in classof() argument 97 class InputAction : public Action { 104 static bool classof(const Action *A) { in classof() 110 class BindArchAction : public Action { [all …]
|
D | Job.h | 50 const Action &Source; 63 Command(const Action &_Source, const Tool &_Creator, const char *_Executable, 67 const Action &getSource() const { return Source; } in getSource()
|
D | Util.h | 19 class Action; variable 25 typedef llvm::SmallVector<Action*, 3> ActionList;
|
D | Driver.h | 32 class Action; variable 317 Action *ConstructPhaseAction(const ArgList &Args, phases::ID Phase, 318 Action *Input) const; 324 const Action *A,
|
/external/chromium/testing/gmock/test/ |
D | gmock-generated-actions_test.cc | 54 using testing::Action; 171 Action<int(int, int(*)())> a = InvokeArgument<1>(); // NOLINT in TEST() 177 Action<int(UnaryFunctor)> a = InvokeArgument<0>(true); // NOLINT in TEST() 183 Action<int(int(*)(int, int, int, int, int))> a = // NOLINT in TEST() 190 Action<int(SumOf5Functor)> a = // NOLINT in TEST() 197 Action<int(int(*)(int, int, int, int, int, int))> a = // NOLINT in TEST() 204 Action<int(SumOf6Functor)> a = // NOLINT in TEST() 211 Action<string(string(*)(const char*, const char*, const char*, in TEST() 220 Action<string(string(*)(const char*, const char*, const char*, in TEST() 229 Action<string(string(*)(const char*, const char*, const char*, in TEST() [all …]
|
D | gmock-more-actions_test.cc | 55 using testing::Action; 234 Action<int()> a = Invoke(Nullary); // NOLINT in TEST() 240 Action<bool(int)> a = Invoke(Unary); // NOLINT in TEST() 247 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT in TEST() 254 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT in TEST() 260 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT in TEST() 266 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT in TEST() 272 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT in TEST() 282 Action<string(const char*, const char*, const char*, const char*, in TEST() 293 Action<string(const char*, const char*, const char*, const char*, in TEST() [all …]
|
D | gmock-actions_test.cc | 56 using testing::Action; 341 Action<MyFunction> action = MakeAction(new MyActionImpl); in TEST() 354 Action<MyFunction> action(new MyActionImpl); in TEST() 359 const Action<MyFunction> action(new MyActionImpl); in TEST() 367 Action<MyFunction> a1(new MyActionImpl); in TEST() 368 Action<MyFunction> a2(a1); // Tests the copy constructor. in TEST() 406 const Action<bool(int)> a1(new IsNotZero); // NOLINT in TEST() 407 const Action<int(char)> a2 = Action<int(char)>(a1); // NOLINT in TEST() 456 Action<int(bool, int, double)> a1 = ReturnSecondArgument(); // NOLINT in TEST() 463 Action<int()> a1 = ReturnZeroFromNullaryFunction(); in TEST() [all …]
|
/external/clang/lib/Driver/ |
D | Action.cpp | 15 Action::~Action() { in ~Action() 22 const char *Action::getClassName(ActionClass AC) { in getClassName() 41 : Action(InputClass, _Type), Input(_Input) { in InputAction() 44 BindArchAction::BindArchAction(Action *Input, const char *_ArchName) in BindArchAction() 45 : Action(BindArchClass, Input, Input->getType()), ArchName(_ArchName) { in BindArchAction() 48 JobAction::JobAction(ActionClass Kind, Action *Input, types::ID Type) in JobAction() 49 : Action(Kind, Input, Type) { in JobAction() 53 : Action(Kind, Inputs, Type) { in JobAction() 56 PreprocessJobAction::PreprocessJobAction(Action *Input, types::ID OutputType) in PreprocessJobAction() 60 PrecompileJobAction::PrecompileJobAction(Action *Input, types::ID OutputType) in PrecompileJobAction() [all …]
|
D | ToolChains.cpp | 205 Action::ActionClass Key; in SelectTool() 216 Key = Action::AnalyzeJobClass; in SelectTool() 233 case Action::InputClass: in SelectTool() 234 case Action::BindArchClass: in SelectTool() 236 case Action::PreprocessJobClass: in SelectTool() 238 case Action::AnalyzeJobClass: in SelectTool() 240 case Action::PrecompileJobClass: in SelectTool() 241 case Action::CompileJobClass: in SelectTool() 243 case Action::AssembleJobClass: { in SelectTool() 250 case Action::LinkJobClass: in SelectTool() [all …]
|
/external/chromium/testing/gmock/include/gmock/ |
D | gmock-actions.h | 278 class Action { 285 Action() : impl_(NULL) {} in Action() function 289 explicit Action(ActionInterface<F>* impl) : impl_(impl) {} in Action() function 292 Action(const Action& action) : impl_(action.impl_) {} in Action() function 299 explicit Action(const Action<Func>& action); 355 operator Action<F>() const { 356 return Action<F>(new MonomorphicImpl<F>(impl_)); 386 Action<F> MakeAction(ActionInterface<F>* impl) { in MakeAction() 387 return Action<F>(impl); in MakeAction() 412 explicit ActionAdaptor(const Action<F2>& from) : impl_(from.impl_) {} in ActionAdaptor() [all …]
|
D | gmock-spec-builders.h | 311 OnCallSpec& WillByDefault(const Action<F>& action) { in WillByDefault() 329 const Action<F>& GetAction() const { in GetAction() 352 Action<F> action_; 889 delete static_cast<const Action<F>*>(*it); in ~TypedExpectation() 981 TypedExpectation& WillOnce(const Action<F>& action) { in WillOnce() 987 untyped_actions_.push_back(new Action<F>(action)); in WillOnce() 995 TypedExpectation& WillRepeatedly(const Action<F>& action) { in WillRepeatedly() 1045 const Action<F>& repeated_action() const { return repeated_action_; } in repeated_action() 1138 const Action<F>& GetCurrentAction(const FunctionMockerBase<F>* mocker, in GetCurrentAction() 1162 *static_cast<const Action<F>*>(untyped_actions_[count - 1]) : in GetCurrentAction() [all …]
|
/external/chromium/chrome/browser/net/ |
D | passive_log_collector.h | 141 enum Action { enum 158 virtual Action DoAddEntry(const ChromeNetLog::Entry& entry, 204 virtual Action DoAddEntry(const ChromeNetLog::Entry& entry, 218 virtual Action DoAddEntry(const ChromeNetLog::Entry& entry, 233 virtual Action DoAddEntry(const ChromeNetLog::Entry& entry, 249 virtual Action DoAddEntry(const ChromeNetLog::Entry& entry, 264 virtual Action DoAddEntry(const ChromeNetLog::Entry& entry, 279 virtual Action DoAddEntry(const ChromeNetLog::Entry& entry, 294 virtual Action DoAddEntry(const ChromeNetLog::Entry& entry, 309 virtual Action DoAddEntry(const ChromeNetLog::Entry& entry, [all …]
|
D | passive_log_collector.cc | 204 Action result = DoAddEntry(entry, &info); in OnAddEntry() 384 PassiveLogCollector::SourceTracker::Action 415 PassiveLogCollector::SourceTracker::Action 447 PassiveLogCollector::SourceTracker::Action 484 PassiveLogCollector::SourceTracker::Action 507 PassiveLogCollector::SourceTracker::Action 530 PassiveLogCollector::SourceTracker::Action 553 PassiveLogCollector::SourceTracker::Action 576 PassiveLogCollector::SourceTracker::Action 601 PassiveLogCollector::SourceTracker::Action [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfException.cpp | 159 ActionEntry Action = { ValueForTypeID, NextAction, PrevAction }; in ComputeActionsTable() local 160 Actions.push_back(Action); in ComputeActionsTable() 295 if (Site.PadLabel == Prev.PadLabel && Site.Action == Prev.Action) { in ComputeCallSiteTable() 404 CallSiteTableLength += MCAsmInfo::getULEB128Size(CallSites[i].Action); in EmitExceptionTable() 536 if (S.Action == 0) in EmitExceptionTable() 540 llvm::utostr((S.Action - 1) / 2 + 1)); in EmitExceptionTable() 552 Asm->EmitULEB128(S.Action); in EmitExceptionTable() 611 if (S.Action == 0) in EmitExceptionTable() 615 llvm::utostr((S.Action - 1) / 2 + 1)); in EmitExceptionTable() 637 Asm->EmitULEB128(S.Action); in EmitExceptionTable() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | fold-call-3.ll | 4 %"struct.clang::Action" = type { %"struct.clang::ActionBase" } 8 @llvm.used = appending global [1 x i8*] [ i8* bitcast (void (i8*, %"struct.clang::Action"*)* @_Z25R… 10 define void @_Z25RawPointerPerformanceTestPvRN5clang6ActionE(i8* %Val, %"struct.clang::Action"* %Ac… 18 …%3 = getelementptr %"struct.clang::Action"* %Actions, i64 0, i32 0, i32 0 ; <i32 (...)***> [#uses… 31 … i32 (...)* %8 to { i64, i64 } (%"struct.clang::Action"*, i8*)* ; <{ i64, i64 } (%"struct.clang::… 32 …%10 = call { i64, i64 } %9(%"struct.clang::Action"* %Actions, i8* %Val_addr.02) nounwind ; <{ i64…
|
/external/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 82 bool AddEmitPasses(BackendAction Action, formatted_raw_ostream &OS); 99 void EmitAssembly(BackendAction Action, raw_ostream *OS); 190 bool EmitAssemblyHelper::AddEmitPasses(BackendAction Action, in AddEmitPasses() argument 317 if (Action == Backend_EmitObj) in AddEmitPasses() 319 else if (Action == Backend_EmitMCNull) in AddEmitPasses() 322 assert(Action == Backend_EmitAssembly && "Invalid action!"); in AddEmitPasses() 339 void EmitAssemblyHelper::EmitAssembly(BackendAction Action, raw_ostream *OS) { in EmitAssembly() argument 344 switch (Action) { in EmitAssembly() 359 if (!AddEmitPasses(Action, FormattedOS)) in EmitAssembly() 395 BackendAction Action, raw_ostream *OS) { in EmitBackendOutput() argument [all …]
|
/external/llvm/lib/Analysis/ |
D | Analysis.cpp | 77 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, in LLVMVerifyModule() argument 82 static_cast<VerifierFailureAction>(Action), in LLVMVerifyModule() 91 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { in LLVMVerifyFunction() argument 93 static_cast<VerifierFailureAction>(Action)); in LLVMVerifyFunction()
|
/external/llvm/include/llvm/CompilerDriver/ |
D | Tool.h | 43 virtual int GenerateAction (Action& Out, 52 virtual int GenerateAction (Action& Out, 83 int GenerateAction(Action& Out, in GenerateAction()
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 229 void setTypeAction(EVT VT, LegalizeTypeAction Action) { in setTypeAction() argument 231 ValueTypeActions[I] = Action; in setTypeAction() 458 LegalizeAction Action = (LegalizeAction) in getCondCodeAction() local 460 assert(Action != Promote && "Can't promote condition code!"); in getCondCodeAction() 461 return Action; in getCondCodeAction() 1019 LegalizeAction Action) { in setOperationAction() argument 1021 OpActions[(unsigned)VT.SimpleTy][Op] = (uint8_t)Action; in setOperationAction() 1027 LegalizeAction Action) { in setLoadExtAction() argument 1030 LoadExtActions[VT.SimpleTy][ExtType] = (uint8_t)Action; in setLoadExtAction() 1036 LegalizeAction Action) { in setTruncStoreAction() argument [all …]
|
/external/chromium/chrome/browser/sync/glue/ |
D | autofill_profile_change_processor.h | 60 sync_api::SyncManager::ChangeRecord::Action action_; 64 sync_api::SyncManager::ChangeRecord::Action action, in AutofillProfileChangeRecord() 103 sync_api::SyncManager::ChangeRecord::Action action,
|
/external/llvm/include/llvm-c/ |
D | Analysis.h | 39 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, 44 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action);
|
/external/llvm/lib/ExecutionEngine/JIT/ |
D | JITDwarfEmitter.cpp | 192 unsigned Action; member 279 ActionEntry Action = {ValueForTypeID, NextAction, PrevAction}; in EmitExceptionTable() local 280 Actions.push_back(Action); in EmitExceptionTable() 355 if (Site.PadLabel == Prev.PadLabel && Site.Action == Prev.Action) { in EmitExceptionTable() 379 SizeSites += MCAsmInfo::getULEB128Size(CallSites[i].Action); in EmitExceptionTable() 438 JCE->emitULEB128Bytes(S.Action); in EmitExceptionTable() 444 ActionEntry &Action = Actions[I]; in EmitExceptionTable() local 446 JCE->emitSLEB128Bytes(Action.ValueForTypeID); in EmitExceptionTable() 448 JCE->emitSLEB128Bytes(Action.NextAction); in EmitExceptionTable()
|
/external/clang/tools/scan-build/ |
D | c++-analyzer | 395 my $Action = 'link'; 441 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; } 442 elsif ($Arg eq '-c') { $Action = 'compile'; } 587 if ($Action eq 'compile' or $Action eq 'link') {
|