Home
last modified time | relevance | path

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

12345678910>>...17

/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() function
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.h35 class Action {
76 Action(ActionClass Kind, types::ID Type) in Action() function
78 Action(ActionClass Kind, std::unique_ptr<Action> Input, types::ID Type) in Action() function
81 Action(ActionClass Kind, std::unique_ptr<Action> Input) in Action() function
84 Action(ActionClass Kind, const ActionList &Inputs, types::ID Type) in Action() function
87 virtual ~Action();
89 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName()
108 class InputAction : public Action {
117 static bool classof(const Action *A) { in classof()
122 class BindArchAction : public Action {
[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.cpp16 Action::~Action() { in ~Action()
23 const char *Action::getClassName(ActionClass AC) { in getClassName()
49 : Action(InputClass, _Type), Input(_Input) { in InputAction()
54 BindArchAction::BindArchAction(std::unique_ptr<Action> Input, in BindArchAction()
56 : Action(BindArchClass, std::move(Input)), ArchName(_ArchName) {} in BindArchAction()
60 CudaDeviceAction::CudaDeviceAction(std::unique_ptr<Action> Input, in CudaDeviceAction()
62 : Action(CudaDeviceClass, std::move(Input)), GpuArchName(ArchName), in CudaDeviceAction()
67 CudaHostAction::CudaHostAction(std::unique_ptr<Action> Input, in CudaHostAction()
69 : Action(CudaHostClass, std::move(Input)), DeviceActions(DeviceActions) {} in CudaHostAction()
78 JobAction::JobAction(ActionClass Kind, std::unique_ptr<Action> Input, in JobAction()
[all …]
/external/gmock/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<MyGlobalFunction> action = MakeAction(new MyActionImpl); in TEST()
354 Action<MyGlobalFunction> action(new MyActionImpl); in TEST()
359 const Action<MyGlobalFunction> action(new MyActionImpl); in TEST()
367 Action<MyGlobalFunction> a1(new MyActionImpl); in TEST()
368 Action<MyGlobalFunction> 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/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/llvm/lib/LineEditor/
DLineEditor.cpp55 CompletionAction Action; in complete() local
58 Action.Kind = CompletionAction::AK_ShowCompletions; in complete()
59 return Action; in complete()
70 Action.Kind = CompletionAction::AK_ShowCompletions; in complete()
73 Action.Completions.push_back(I->DisplayText); in complete()
75 Action.Kind = CompletionAction::AK_Insert; in complete()
76 Action.Text = CommonPrefix; in complete()
79 return Action; in complete()
85 CompletionAction Action; in getCompletionAction() local
86 Action.Kind = CompletionAction::AK_ShowCompletions; in getCompletionAction()
[all …]
/external/gmock/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/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/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()
Dstatic_size_generator.hh28 template <int SIZE,template<class> class Perf_Analyzer, template<class> class Action, template<clas…
34 Perf_Analyzer<Action<Interface<REAL_TYPE,SIZE> > > perf_action; in go()
37 static_size_generator<SIZE-1,Perf_Analyzer,Action,Interface>::go(tab_sizes,tab_mflops); in go()
43 template <template<class> class Perf_Analyzer, template<class> class Action, template<class,int> cl…
44 struct static_size_generator<1,Perf_Analyzer,Action,Interface>{
48 Perf_Analyzer<Action<Interface<REAL_TYPE,1> > > perf_action; in go()
/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/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()
DMode.java36 Task executeActionTask(Action action, boolean useLargeTimeout); in executeActionTask()
41 Set<Task> installActionTasks(Action action, File jar); in installActionTasks()
47 Set<Task> cleanupTasks(Action action); in cleanupTasks()
56 VmCommandBuilder newVmCommandBuilder(Action action, File workingDirectory); in newVmCommandBuilder()
62 Classpath getRuntimeClasspath(Action action); in getRuntimeClasspath()
/external/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp132 ActionEntry Action = { ValueForTypeID, NextAction, PrevAction }; in computeActionsTable() local
133 Actions.push_back(Action); in computeActionsTable()
286 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable()
385 CallSiteTableLength += getULEB128Size(CallSites[i].Action); in emitExceptionTable()
516 if (S.Action == 0) in emitExceptionTable()
520 Twine((S.Action - 1) / 2 + 1)); in emitExceptionTable()
522 Asm->EmitULEB128(S.Action); in emitExceptionTable()
594 if (S.Action == 0) in emitExceptionTable()
598 Twine((S.Action - 1) / 2 + 1)); in emitExceptionTable()
600 Asm->EmitULEB128(S.Action); in emitExceptionTable()
[all …]
/external/vogar/src/vogar/android/
DActivityMode.java23 import vogar.Action;
46 @Override public Set<Task> installActionTasks(Action action, File jar) { in installActionTasks()
50 @Override public Task executeActionTask(Action action, boolean useLargeTimeout) { in executeActionTask()
54 @Override public Set<Task> cleanupTasks(Action action) { in cleanupTasks()
61 @Override public VmCommandBuilder newVmCommandBuilder(Action action, File workingDirectory) { in newVmCommandBuilder()
65 @Override public Classpath getRuntimeClasspath(Action action) { in getRuntimeClasspath()
DInstallApkTask.java22 import vogar.Action;
33 private final Action action;
37 public InstallApkTask(Run run, Action action, File jar) { in InstallApkTask()
64 private File createDex(Action action, File actionJar) { in createDex()
77 private File createApk (Action action, File dex) { in createApk()
116 public static String packageName(Action action) { in packageName()
134 private void installApk(Action action, File apkSigned) { in installApk()
/external/webrtc/webrtc/test/
Drtp_rtcp_observer.h33 enum Action { enum
42 virtual Action OnSendRtp(const uint8_t* packet, size_t length) { in OnSendRtp()
46 virtual Action OnSendRtcp(const uint8_t* packet, size_t length) { in OnSendRtcp()
50 virtual Action OnReceiveRtp(const uint8_t* packet, size_t length) { in OnReceiveRtp()
54 virtual Action OnReceiveRtcp(const uint8_t* packet, size_t length) { in OnReceiveRtcp()
95 RtpRtcpObserver::Action action; in SendRtp()
115 RtpRtcpObserver::Action action; in SendRtcp()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DMultiSynch.java29 public interface Action { interface in MultiSynch
45 public static void run(Object[] params, Set synchSet, Action action) { in run()
54 public static void run(Object[] params, List synchList, Action action) { in run()
63 public static void run(Object[] params, Object[] synchArr, Action action) { in run()
74 private static void run(Object[] params, Object[] synchArr, Action action, int depth) { in run()
/external/llvm/test/CodeGen/X86/
Dfold-call-3.ll4 %"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", %"struct.clang::Action"* %Actions, i64 0, i32 0, i32 0…
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/ASTMatchers/
DASTMatchFinder.cpp909 MatchCallback *Action) { in addMatcher() argument
910 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher()
911 Matchers.AllCallbacks.insert(Action); in addMatcher()
915 MatchCallback *Action) { in addMatcher() argument
916 Matchers.Type.emplace_back(NodeMatch, Action); in addMatcher()
917 Matchers.AllCallbacks.insert(Action); in addMatcher()
921 MatchCallback *Action) { in addMatcher() argument
922 Matchers.DeclOrStmt.emplace_back(NodeMatch, Action); in addMatcher()
923 Matchers.AllCallbacks.insert(Action); in addMatcher()
927 MatchCallback *Action) { in addMatcher() argument
[all …]

12345678910>>...17