Home
last modified time | relevance | path

Searched refs:Action (Results 1 – 25 of 521) sorted by relevance

12345678910>>...21

/external/libchrome/base/posix/
Dfile_descriptor_shuffle_unittest.cc17 struct Action { struct
24 Action(Type in_type, int in_fd1, int in_fd2 = -1) in Action() argument
30 bool operator==(const Action& other) const { in operator ==() argument
49 actions_.push_back(Action(Action::DUPLICATE, *result, fd)); in Duplicate()
54 actions_.push_back(Action(Action::MOVE, src, dest)); in Move()
58 void Close(int fd) override { actions_.push_back(Action(Action::CLOSE, fd)); } in Close()
60 const std::vector<Action>& actions() const { return actions_; } in actions()
64 std::vector<Action> actions_;
100 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
111 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
[all …]
/external/clang/include/clang/Driver/
DAction.h42 class Action {
98 Action(ActionClass Kind, types::ID Type) : Action(Kind, ActionList(), Type) {} in Action() function
99 Action(ActionClass Kind, Action *Input, types::ID Type) in Action() function
100 : Action(Kind, ActionList({Input}), Type) {} in Action()
101 Action(ActionClass Kind, Action *Input) in Action() function
102 : Action(Kind, ActionList({Input}), Input->getType()) {} in Action()
103 Action(ActionClass Kind, const ActionList &Inputs, types::ID Type) in Action() function
107 virtual ~Action();
109 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName()
129 class InputAction : public Action {
[all …]
DCompilation.h50 std::multimap<Action::OffloadKind, const ToolChain *>
62 std::vector<std::unique_ptr<Action>> AllActions;
102 auto It = OrderedOffloadingToolchains.find(Action::OFK_Host); in getOffloadingHostToolChain()
107 unsigned isOffloadingHostKind(Action::OffloadKind Kind) const { in isOffloadingHostKind()
112 typedef const std::multimap<Action::OffloadKind,
119 template <Action::OffloadKind Kind>
126 template <Action::OffloadKind Kind>
138 Action::OffloadKind OffloadKind) { in addOffloadDeviceToolChain()
139 assert(OffloadKind != Action::OFK_Host && OffloadKind != Action::OFK_None && in addOffloadDeviceToolChain()
162 AllActions.push_back(std::unique_ptr<Action>(RawPtr)); in MakeAction()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCallingConvEmitter.cpp32 void EmitAction(Record *Action, unsigned Indent, raw_ostream &O);
81 void CallingConvEmitter::EmitAction(Record *Action, in EmitAction() argument
85 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction()
88 if (Action->isSubClassOf("CCIfType")) { in EmitAction()
89 ListInit *VTs = Action->getValueAsListInit("VTs"); in EmitAction()
96 } else if (Action->isSubClassOf("CCIf")) { in EmitAction()
97 O << Action->getValueAsString("Predicate"); in EmitAction()
99 errs() << *Action; in EmitAction()
104 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction()
107 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCallingConvEmitter.cpp62 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/llvm/utils/TableGen/
DCallingConvEmitter.cpp32 void EmitAction(Record *Action, unsigned Indent, raw_ostream &O);
81 void CallingConvEmitter::EmitAction(Record *Action, in EmitAction() argument
85 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction()
88 if (Action->isSubClassOf("CCIfType")) { in EmitAction()
89 ListInit *VTs = Action->getValueAsListInit("VTs"); in EmitAction()
96 } else if (Action->isSubClassOf("CCIf")) { in EmitAction()
97 O << Action->getValueAsString("Predicate"); in EmitAction()
99 Action->dump(); in EmitAction()
104 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction()
107 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction()
[all …]
/external/clang/lib/Driver/
DAction.cpp18 Action::~Action() {} in ~Action()
20 const char *Action::getClassName(ActionClass AC) { in getClassName()
46 : Action(InputClass, _Type), Input(_Input) { in InputAction()
51 BindArchAction::BindArchAction(Action *Input, const char *_ArchName) in BindArchAction()
52 : Action(BindArchClass, Input), ArchName(_ArchName) {} in BindArchAction()
56 CudaDeviceAction::CudaDeviceAction(Action *Input, clang::CudaArch Arch, in CudaDeviceAction()
58 : Action(CudaDeviceClass, Input), GpuArch(Arch), AtTopLevel(AtTopLevel) {} in CudaDeviceAction()
62 CudaHostAction::CudaHostAction(Action *Input, const ActionList &DeviceActions) in CudaHostAction()
63 : Action(CudaHostClass, Input), DeviceActions(DeviceActions) {} in CudaHostAction()
67 JobAction::JobAction(ActionClass Kind, Action *Input, types::ID Type) in JobAction()
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-generated-actions_test.cc54 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 …]
Dgmock-more-actions_test.cc55 using testing::Action;
235 Action<int()> a = Invoke(Nullary); // NOLINT in TEST()
241 Action<bool(int)> a = Invoke(Unary); // NOLINT in TEST()
248 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT in TEST()
255 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT in TEST()
261 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT in TEST()
267 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT in TEST()
273 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT in TEST()
283 Action<string(const char*, const char*, const char*, const char*, in TEST()
294 Action<string(const char*, const char*, const char*, const char*, in TEST()
[all …]
Dgmock-actions_test.cc56 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/googletest/googlemock/test/
Dgmock-more-actions_test.cc50 using testing::Action;
229 Action<int()> a = Invoke(Nullary); // NOLINT in TEST()
235 Action<bool(int)> a = Invoke(Unary); // NOLINT in TEST()
242 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT in TEST()
249 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT in TEST()
255 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT in TEST()
261 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT in TEST()
267 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT in TEST()
278 Action<std::string(const char*, const char*, const char*, const char*, in TEST()
289 Action<std::string(const char*, const char*, const char*, const char*, in TEST()
[all …]
Dgmock-generated-actions_test.cc50 using testing::Action;
142 Action<int(int, int(*)())> a = InvokeArgument<1>(); // NOLINT in TEST()
148 Action<int(UnaryFunctor)> a = InvokeArgument<0>(true); // NOLINT in TEST()
154 Action<int(int(*)(int, int, int, int, int))> a = // NOLINT in TEST()
161 Action<int(SumOf5Functor)> a = // NOLINT in TEST()
168 Action<int(int(*)(int, int, int, int, int, int))> a = // NOLINT in TEST()
175 Action<int(SumOf6Functor)> a = // NOLINT in TEST()
182 Action<std::string(std::string(*)(const char*, const char*, const char*, in TEST()
191 Action<std::string(std::string(*)(const char*, const char*, const char*, in TEST()
200 Action<std::string(std::string(*)(const char*, const char*, const char*, in TEST()
[all …]
Dgmock-actions_test.cc58 using testing::Action;
390 Action<MyGlobalFunction> action = MakeAction(new MyActionImpl); in TEST()
403 Action<MyGlobalFunction> action(new MyActionImpl); in TEST()
408 const Action<MyGlobalFunction> action(new MyActionImpl); in TEST()
416 Action<MyGlobalFunction> a1(new MyActionImpl); in TEST()
417 Action<MyGlobalFunction> a2(a1); // Tests the copy constructor. in TEST()
449 const Action<bool(int)> a1(new IsNotZero); // NOLINT in TEST()
450 const Action<int(char)> a2 = Action<int(char)>(a1); // NOLINT in TEST()
502 Action<int(bool, int, double)> a1 = ReturnSecondArgument(); // NOLINT in TEST()
509 Action<int()> a1 = ReturnZeroFromNullaryFunction(); in TEST()
[all …]
/external/autotest/server/cros/cfm/configurable_test/
Dactions.py11 class Action(object): class
43 class MuteMicrophone(Action):
50 class UnmuteMicrophone(Action):
57 class WaitForMeetingsLandingPage(Action):
64 class JoinMeeting(Action):
83 class CreateMeeting(Action):
90 class LeaveMeeting(Action):
97 class RebootDut(Action):
119 class RepeatTimes(Action):
141 class AssertFileDoesNotContain(Action):
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LineEditor/
DLineEditor.cpp57 CompletionAction Action; in complete() local
60 Action.Kind = CompletionAction::AK_ShowCompletions; in complete()
61 return Action; in complete()
72 Action.Kind = CompletionAction::AK_ShowCompletions; in complete()
75 Action.Completions.push_back(I->DisplayText); in complete()
77 Action.Kind = CompletionAction::AK_Insert; in complete()
78 Action.Text = CommonPrefix; in complete()
81 return Action; in complete()
87 CompletionAction Action; in getCompletionAction() local
88 Action.Kind = CompletionAction::AK_ShowCompletions; in getCompletionAction()
[all …]
/external/llvm/lib/LineEditor/
DLineEditor.cpp57 CompletionAction Action; in complete() local
60 Action.Kind = CompletionAction::AK_ShowCompletions; in complete()
61 return Action; in complete()
72 Action.Kind = CompletionAction::AK_ShowCompletions; in complete()
75 Action.Completions.push_back(I->DisplayText); in complete()
77 Action.Kind = CompletionAction::AK_Insert; in complete()
78 Action.Text = CommonPrefix; in complete()
81 return Action; in complete()
87 CompletionAction Action; in getCompletionAction() local
88 Action.Kind = CompletionAction::AK_ShowCompletions; in getCompletionAction()
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-actions.h280 class Action {
287 Action() : impl_(NULL) {} in Action() function
291 explicit Action(ActionInterface<F>* impl) : impl_(impl) {} in Action() function
294 Action(const Action& action) : impl_(action.impl_) {} in Action() function
301 explicit Action(const Action<Func>& action);
357 operator Action<F>() const {
358 return Action<F>(new MonomorphicImpl<F>(impl_));
388 Action<F> MakeAction(ActionInterface<F>* impl) { in MakeAction()
389 return Action<F>(impl); in MakeAction()
414 explicit ActionAdaptor(const Action<F2>& from) : impl_(from.impl_) {} in ActionAdaptor()
[all …]
/external/python/cpython2/Lib/email/test/data/
Dmsg_43.txt46 Action: failed
52 Action: failed
58 Action: failed
64 Action: failed
70 Action: failed
76 Action: failed
82 Action: failed
88 Action: failed
94 Action: failed
100 Action: failed
[all …]
/external/python/cpython3/Lib/test/test_email/data/
Dmsg_43.txt46 Action: failed
52 Action: failed
58 Action: failed
64 Action: failed
70 Action: failed
76 Action: failed
82 Action: failed
88 Action: failed
94 Action: failed
100 Action: failed
[all …]
/external/protobuf/benchmarks/
DProtoBench.java104 benchmark("Serialize to byte string", inputData.length, new Action() { in runTest()
107 benchmark("Serialize to byte array", inputData.length, new Action() { in runTest()
110 benchmark("Serialize to memory stream", inputData.length, new Action() { in runTest()
116 benchmark("Serialize to /dev/null with FileOutputStream", inputData.length, new Action() { in runTest()
121 … benchmark("Serialize to /dev/null reusing FileOutputStream", inputData.length, new Action() { in runTest()
128 benchmark("Deserialize from byte string", inputData.length, new Action() { in runTest()
133 benchmark("Deserialize from byte array", inputData.length, new Action() { in runTest()
139 benchmark("Deserialize from memory stream", inputData.length, new Action() { in runTest()
156 private static void benchmark(String name, long dataSize, Action action) throws IOException { in benchmark()
180 private static long timeAction(Action action, int iterations) throws IOException { in timeAction()
[all …]
/external/clang/lib/Sema/
DSemaAttr.cpp80 PragmaMsStackAction Action = Sema::PSK_Reset; in ActOnPragmaOptionsAlign() local
89 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
96 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
106 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
113 Action = Sema::PSK_Pop; in ActOnPragmaOptionsAlign()
116 Action = Sema::PSK_Reset; in ActOnPragmaOptionsAlign()
126 PackStack.Act(PragmaLoc, Action, StringRef(), Alignment); in ActOnPragmaOptionsAlign()
129 void Sema::ActOnPragmaPack(SourceLocation PragmaLoc, PragmaMsStackAction Action, in ActOnPragmaPack() argument
151 if (Action == Sema::PSK_Show) { in ActOnPragmaPack()
165 if (Action & Sema::PSK_Pop) { in ActOnPragmaPack()
[all …]
/external/eigen/bench/btl/generic_bench/static/
Dbench_static.hh36 template <template<class> class Perf_Analyzer, template<class> class Action, template<class,int> cl…
39 if (BtlConfig::skipAction(Action<Interface<REAL_TYPE,10> >::name())) in bench_static()
42 string filename = "bench_" + Action<Interface<REAL_TYPE,10> >::name() + ".dat"; in bench_static()
51 static_size_generator<max_size,Perf_Analyzer,Action,Interface>::go(tab_sizes,tab_mflops); in bench_static()
57 template <template<class> class Action, template<class,int> class Interface>
60 bench_static<Portable_Perf_Analyzer,Action,Interface>(); in bench_static()
/external/vogar/src/vogar/
DActionFinder.java28 private final Map<String, Action> actions;
31 public ActionFinder(Log log, Map<String, Action> actions, Map<String, Outcome> outcomes) { in ActionFinder()
59 Action action = fileToAction(file); in findActionsRecursive()
62 String actionName = Action.nameForJavaFile(file); in findActionsRecursive()
63 Action action = new Action(actionName, null, null, null, file); in findActionsRecursive()
76 private Action fileToAction(File javaFile) { in fileToAction()
80 return new Action(dotJavaFile.getActionName(), dotJavaFile.getClassName(), resourcesDir, in fileToAction()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-actions.h355 class Action {
362 Action() : impl_(NULL) {}
366 explicit Action(ActionInterface<F>* impl) : impl_(impl) {}
369 Action(const Action& action) : impl_(action.impl_) {}
376 explicit Action(const Action<Func>& action);
432 operator Action<F>() const {
433 return Action<F>(new MonomorphicImpl<F>(impl_));
463 Action<F> MakeAction(ActionInterface<F>* impl) {
464 return Action<F>(impl);
489 explicit ActionAdaptor(const Action<F2>& from) : impl_(from.impl_) {}
[all …]
/external/googletest/googlemock/include/gmock/
Dgmock-actions.h341 class Action {
361 Action() {}
369 Action(G&& fun) : fun_(::std::forward<G>(fun)) {} // NOLINT
372 explicit Action(ActionInterface<F>* impl)
379 explicit Action(const Action<Func>& action) : fun_(action.fun_) {}
399 friend class Action;
432 operator Action<F>() const {
433 return Action<F>(new MonomorphicImpl<F>(impl_));
463 Action<F> MakeAction(ActionInterface<F>* impl) {
464 return Action<F>(impl);
[all …]

12345678910>>...21