/external/libchrome/base/posix/ |
D | file_descriptor_shuffle_unittest.cc | 17 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/ |
D | Action.h | 35 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/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/ |
D | ParallelAction.java | 19 import com.badlogic.gdx.scenes.scene2d.Action; 26 public class ParallelAction extends Action { 27 Array<Action> actions = new Array(4); 33 public ParallelAction (Action action1) { in ParallelAction() 37 public ParallelAction (Action action1, Action action2) { in ParallelAction() 42 public ParallelAction (Action action1, Action action2, Action action3) { in ParallelAction() 48 public ParallelAction (Action action1, Action action2, Action action3, Action action4) { in ParallelAction() 55 …public ParallelAction (Action action1, Action action2, Action action3, Action action4, Action acti… in ParallelAction() 69 Array<Action> actions = this.actions; in act() 71 Action currentAction = actions.get(i); in act() [all …]
|
D | SequenceAction.java | 19 import com.badlogic.gdx.scenes.scene2d.Action; 30 public SequenceAction (Action action1) { in SequenceAction() 34 public SequenceAction (Action action1, Action action2) { in SequenceAction() 39 public SequenceAction (Action action1, Action action2, Action action3) { in SequenceAction() 45 public SequenceAction (Action action1, Action action2, Action action3, Action action4) { in SequenceAction() 52 …public SequenceAction (Action action1, Action action2, Action action3, Action action4, Action acti… in SequenceAction()
|
D | Actions.java | 21 import com.badlogic.gdx.scenes.scene2d.Action; 32 static public <T extends Action> T action (Class<T> type) { in action() 39 static public AddAction addAction (Action action) { in addAction() 45 static public AddAction addAction (Action action, Actor targetActor) { in addAction() 52 static public RemoveAction removeAction (Action action) { in removeAction() 58 static public RemoveAction removeAction (Action action, Actor targetActor) { in removeAction() 319 static public DelayAction delay (float duration, Action delayedAction) { in delay() 326 static public TimeScaleAction timeScale (float scale, Action scaledAction) { in timeScale() 333 static public SequenceAction sequence (Action action1) { in sequence() 339 static public SequenceAction sequence (Action action1, Action action2) { in sequence() [all …]
|
D | RemoveAction.java | 19 import com.badlogic.gdx.scenes.scene2d.Action; 24 public class RemoveAction extends Action { 25 private Action action; 32 public Action getAction () { in getAction() 36 public void setAction (Action action) { in setAction()
|
D | AddAction.java | 19 import com.badlogic.gdx.scenes.scene2d.Action; 24 public class AddAction extends Action { 25 private Action action; 32 public Action getAction () { in getAction() 36 public void setAction (Action action) { in setAction()
|
/external/llvm/utils/TableGen/ |
D | CallingConvEmitter.cpp | 32 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/ |
D | Action.cpp | 16 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/ |
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; 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 …]
|
D | gmock-actions_test.cc | 56 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/ |
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; 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 …]
|
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/llvm/lib/LineEditor/ |
D | LineEditor.cpp | 55 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/eigen/bench/btl/generic_bench/static/ |
D | bench_static.hh | 36 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()
|
D | static_size_generator.hh | 28 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/gmock/include/gmock/ |
D | gmock-actions.h | 280 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/ |
D | gmock-actions.h | 280 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/protobuf/benchmarks/ |
D | ProtoBench.java | 104 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/ |
D | ActionFinder.java | 28 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()
|
D | Mode.java | 36 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/vogar/src/vogar/android/ |
D | ActivityMode.java | 23 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()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | EHStreamer.cpp | 132 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 …]
|