/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | RefBaseTests.cpp | 22 enum class Action { class 30 Action action; 37 case Action::kReference: in operator <<() 40 case Action::kRelease: in operator <<() 43 case Action::kAssign: in operator <<() 46 case Action::kMarker: in operator <<() 69 mEvents->emplace_back(Event{Action::kReference, mId}); in Reference() 73 mEvents->emplace_back(Event{Action::kRelease, mId}); in Release() 79 events->emplace_back(Event{Action::kAssign, mId, other.mId}); in operator =() 123 EXPECT_THAT(events, testing::ElementsAre(Event{Action in TEST() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | arrayLiteralTypeInference.js | 2 class Action { 6 class ActionA extends Action { 10 class ActionB extends Action { 14 var x1: Action[] = [ 19 var x2: Action[] = [ 24 var x3: Action[] = [ 25 new Action(), 44 new Action(), 70 var Action = /** @class */ (function () {
71 function Action() {
[all...] |
H A D | coAndContraVariantInferences.js | 17 interface Action<TName extends string,TPayload> { 22 const actionA = { payload: 'any-string' } as Action<'ACTION_A', string>; 23 const actionB = { payload: true } as Action<'ACTION_B', boolean>; 26 action: Action<TName,TPayload>, 27 fn: (action: Action<TName,TPayload>)=> any, 67 interface Action<TName extends string, TPayload> {
71 declare const actionA: Action<"ACTION_A", string>;
72 declare const actionB: Action<"ACTION_B", boolean>;
73 declare function call<TName extends string, TPayload>(action: Action<TName, TPayload>, fn: (action: Action<TNam [all...] |
H A D | recursiveArrayNotCircular.js | 2 type Action<T, P> = P extends void ? { type : T } : { type: T, payload: P } 12 | Action<ActionType.Bar, number> 13 | Action<ActionType.Baz, boolean> 14 | Action<ActionType.Foo, string> 15 | Action<ActionType.Batch, ReducerAction[]>
|
H A D | contextuallyTypedSymbolNamedProperties.js | 7 type Action = 11 declare const ab: Action; 38 type Action = {
45 declare const ab: Action;
|
H A D | dependentDestructuredVariables.js | 2 type Action = 6 function f10({ kind, payload }: Action) { 15 function f11(action: Action) { 25 function f12({ kind, payload }: Action) { 39 function f13<T extends Action>({ kind, payload }: T) { 48 function f14<T extends Action>(t: T) { 693 type Action = {
700 declare function f10({ kind, payload }: Action): void;
701 declare function f11(action: Action): void;
702 declare function f12({ kind, payload }: Action) [all...] |
/third_party/googletest/googlemock/test/ |
H A D | gmock-more-actions_test.cc | 55 using testing::Action; 193 Action<int()> a = Invoke(Nullary); // NOLINT in TEST() 199 Action<bool(int)> a = Invoke(Unary); // NOLINT in TEST() 206 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT in TEST() 213 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT in TEST() 219 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT in TEST() 225 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT in TEST() 231 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT in TEST() 242 Action<std::string(const char*, const char*, const char*, const char*, in TEST() 253 Action<st in TEST() [all...] |
H A D | gmock-actions_test.cc | 529 Action<MyGlobalFunction> action = MakeAction(new MyActionImpl); in TEST() 531 // When exercising the Perform() method of Action<F>, we must pass in TEST() 539 // Tests that Action<F> can be constructed from a pointer to 542 Action<MyGlobalFunction> action(new MyActionImpl); in TEST() 545 // Tests that Action<F> delegates actual work to ActionInterface<F>. 547 const Action<MyGlobalFunction> action(new MyActionImpl); in TEST() 553 // Tests that Action<F> can be copied. 555 Action<MyGlobalFunction> a1(new MyActionImpl); in TEST() 556 Action<MyGlobalFunction> a2(a1); // Tests the copy constructor. in TEST() 577 // Tests that an Action<Fro [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LineEditor/ |
H A D | LineEditor.cpp | 56 CompletionAction Action; in complete() local 59 Action.Kind = CompletionAction::AK_ShowCompletions; in complete() 60 return Action; in complete() 71 Action.Kind = CompletionAction::AK_ShowCompletions; in complete() 74 Action.Completions.push_back(I->DisplayText); in complete() 76 Action.Kind = CompletionAction::AK_Insert; in complete() 77 Action.Text = CommonPrefix; in complete() 80 return Action; in complete() 86 CompletionAction Action; in getCompletionAction() local 87 Action in getCompletionAction() 145 LineEditor::CompletionAction Action = Data->LE->getCompletionAction( ElCompletionFn() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
H A D | EHStreamer.cpp | 143 ActionEntry Action = { ValueForTypeID, NextAction, PrevAction }; local 144 Actions.push_back(Action); 295 if (Site.LPad == Prev.LPad && Site.Action == Prev.Action) { in computeCallSiteTable() 481 if (S.Action == 0) in emitExceptionTable() 482 Asm->OutStreamer->AddComment(" Action: cleanup"); in emitExceptionTable() 484 Asm->OutStreamer->AddComment(" Action: " + in emitExceptionTable() 485 Twine((S.Action - 1) / 2 + 1)); in emitExceptionTable() 487 Asm->EmitULEB128(S.Action); in emitExceptionTable() 551 if (S.Action in emitExceptionTable() 566 const ActionEntry &Action = *I; emitExceptionTable() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizerInfo.h | 96 raw_ostream &operator<<(raw_ostream &OS, LegalizeActions::LegalizeAction Action); 149 LegalizeAction Action; member 155 LegalizeActionStep(LegalizeAction Action, unsigned TypeIdx, in LegalizeActionStep() 157 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep() 160 return std::tie(Action, TypeIdx, NewType) == in operator ==() 161 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType); in operator ==() 295 LegalizeAction Action; member in LegalizeRule 299 LegalizeRule(LegalityPredicate Predicate, LegalizeAction Action, in LegalizeRule() argument 301 : Predicate(Predicate), Action(Actio in LegalizeRule() 376 actionIf(LegalizeAction Action, LegalityPredicate Predicate) actionIf() argument 383 actionIf(LegalizeAction Action, LegalityPredicate Predicate, LegalizeMutation Mutation) actionIf() argument 390 actionFor(LegalizeAction Action, std::initializer_list<LLT> Types) actionFor() argument 397 actionFor(LegalizeAction Action, std::initializer_list<LLT> Types, LegalizeMutation Mutation) actionFor() argument 406 actionFor(LegalizeAction Action, std::initializer_list<std::pair<LLT, LLT>> Types) actionFor() argument 414 actionFor(LegalizeAction Action, std::initializer_list<std::pair<LLT, LLT>> Types, LegalizeMutation Mutation) actionFor() argument 424 actionForTypeWithAnyImm(LegalizeAction Action, std::initializer_list<LLT> Types) actionForTypeWithAnyImm() argument 433 actionForCartesianProduct(LegalizeAction Action, std::initializer_list<LLT> Types) actionForCartesianProduct() argument 444 actionForCartesianProduct(LegalizeAction Action, std::initializer_list<LLT> Types0, std::initializer_list<LLT> Types1) actionForCartesianProduct() argument 455 actionForCartesianProduct( LegalizeAction Action, std::initializer_list<LLT> Types0, std::initializer_list<LLT> Types1, std::initializer_list<LLT> Types2) actionForCartesianProduct() argument [all...] |
/third_party/vixl/src/aarch64/ |
H A D | debugger-aarch64.h | 68 virtual DebugReturn Action(const std::vector<std::string>& args) = 0; 87 // Command word that, when given to the interactive debugger, calls Action. 108 DebugReturn Action(const std::vector<std::string>& args) override; 121 DebugReturn Action(const std::vector<std::string>& args) override; 134 DebugReturn Action(const std::vector<std::string>& args) override; 147 DebugReturn Action(const std::vector<std::string>& args) override; 161 DebugReturn Action(const std::vector<std::string>& args) override; 174 DebugReturn Action(const std::vector<std::string>& args) override; 187 DebugReturn Action(const std::vector<std::string>& args) override;
|
H A D | debugger-aarch64.cc | 278 return cmd->Action(args); in ExecDebugCommand() 328 DebugReturn HelpCmd::Action(const std::vector<std::string>& args) { in Action() function in vixl::aarch64::HelpCmd 335 DebugReturn BreakCmd::Action(const std::vector<std::string>& args) { in Action() function in vixl::aarch64::BreakCmd 364 DebugReturn StepCmd::Action(const std::vector<std::string>& args) { in Action() function in vixl::aarch64::StepCmd 411 DebugReturn ContinueCmd::Action(const std::vector<std::string>& args) { in Action() function in vixl::aarch64::ContinueCmd 425 DebugReturn PrintCmd::Action(const std::vector<std::string>& args) { in Action() function in vixl::aarch64::PrintCmd 485 DebugReturn TraceCmd::Action(const std::vector<std::string>& args) { in Action() function in vixl::aarch64::TraceCmd 506 DebugReturn GdbCmd::Action(const std::vector<std::string>& args) { in Action() function in vixl::aarch64::GdbCmd
|
/third_party/googletest/googlemock/include/gmock/ |
H A D | gmock-actions.h | 158 // 2. a factory function that creates an Action object from a 163 // management as Action objects can now be copied like plain values. 720 class Action; 722 // An Action<R(Args...)> is a copyable and IMMUTABLE (except by assignment) 724 // R(Args...) is called. The implementation of Action<T> is just a 725 // std::shared_ptr to const ActionInterface<T>. Don't inherit from Action! You 727 // (including its current state), and an Action<F> object as a handle to it. 729 class Action<R(Args...)> { class 733 // Adapter class to allow constructing Action from a legacy ActionInterface. 753 // Constructs a null Action 755 Action() {} Action() function in testing::Action 765 Action(G&& fun) { // NOLINT Action() function in testing::Action 770 explicit Action(ActionInterface<F>* impl) Action() function in testing::Action 777 Action(const Action<Func>& action) // NOLINT Action() function in testing::Action [all...] |
H A D | gmock-spec-builders.h | 307 OnCallSpec& WillByDefault(const Action<F>& action) { 325 const Action<F>& GetAction() const { 348 Action<F> action_; 902 delete static_cast<const Action<F>*>(*it); 999 // converted to a OnceAction, except for Action<F> objects themselves. 1004 return WillOnce(Action<F>(ActionAdaptor{ 1009 // Fallback overload: accept Action<F> objects and those actions that define 1010 // `operator Action<F>` but not `operator OnceAction<F>`. 1015 TypedExpectation& WillOnce(Action<F> action) { 1021 untyped_actions_.push_back(new Action< [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | Analysis.cpp | 98 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, in LLVMVerifyModule() argument 100 raw_ostream *DebugOS = Action != LLVMReturnStatusAction ? &errs() : nullptr; in LLVMVerifyModule() 110 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyModule() 119 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { in LLVMVerifyFunction() argument 121 *unwrap<Function>(Fn), Action != LLVMReturnStatusAction ? &errs() in LLVMVerifyFunction() 124 if (Action == LLVMAbortProcessAction && Result) in LLVMVerifyFunction()
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | ReflectionUtil.cs | 103 internal static Action<IMessage, object> CreateActionIMessageObject(MethodInfo method) => 112 internal static Action<IMessage> CreateActionIMessage(MethodInfo method) => 142 Action<IMessage> CreateActionIMessage(MethodInfo method); in CreateActionIMessage() 144 Action<IMessage, object> CreateActionIMessageObject(MethodInfo method); in CreateActionIMessageObject() 183 public Action<IMessage> CreateActionIMessage(MethodInfo method) in CreateActionIMessage() 185 var del = (Action<T1>) method.CreateDelegate(typeof(Action<T1>)); in CreateActionIMessage() 195 public Action<IMessage, object> CreateActionIMessageObject(MethodInfo method) in CreateActionIMessageObject() 197 var del = (Action<T1, T2>) method.CreateDelegate(typeof(Action<T in CreateActionIMessageObject() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerInfo.cpp | 45 raw_ostream &llvm::operator<<(raw_ostream &OS, LegalizeAction Action) { in operator <<() argument 46 switch (Action) { in operator <<() 303 const LegalizeAction Action = LLT2Action.second; in computeTables() local 305 auto SizeAction = std::make_pair(Type.getSizeInBits(), Action); in computeTables() 460 if (Step.Action != LegalizeAction::UseLegacyRules) { in getAction() 465 auto Action = getAspectAction({Query.Opcode, i, Query.Types[i]}); in getAction() local 466 if (Action.first != Legal) { in getAction() 467 LLVM_DEBUG(dbgs() << ".. (legacy) Type " << i << " Action=" in getAction() 468 << Action.first << ", " << Action in getAction() 516 auto Action = getAction(MI, MRI).Action; isLegalOrCustom() local 575 LegalizeAction Action = Vec[VecIdx].second; findAction() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | DFAPacketizer.cpp | 58 unsigned Action = ItinActions[MID->getSchedClass()]; in canReserveResources() local 59 if (MID->getSchedClass() == 0 || Action == 0) in canReserveResources() 61 return A.canAdd(Action); in canReserveResources() 67 unsigned Action = ItinActions[MID->getSchedClass()]; in reserveResources() local 68 if (MID->getSchedClass() == 0 || Action == 0) in reserveResources() 70 A.add(Action); in reserveResources()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
H A D | IntermRebuild.cpp | 50 : mAction(Action::ReplaceSingle), mVisit(visit), mSingle(&node) in BaseResult() 54 : mAction(node ? Action::ReplaceSingle : Action::Drop), in BaseResult() 60 : mAction(Action::Drop), mVisit(VisitBits::Neither), mSingle(nullptr) in BaseResult() 64 : mAction(Action::Fail), mVisit(VisitBits::Neither), mSingle(nullptr) in BaseResult() 68 : mAction(Action::ReplaceMulti), in BaseResult() 91 return mAction == Action::Fail; in isFail() 96 return mAction == Action::Drop; in isDrop() 106 if (mAction == Action::ReplaceMulti) in multi() 234 if (result.mAction == Action in traverseAnyAs() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Passes/ |
H A D | PassBuilder.h | 37 std::string ProfileRemappingFile = "", PGOAction Action = NoAction, in PGOOptions() 40 ProfileRemappingFile(ProfileRemappingFile), Action(Action), in PGOOptions() 42 SamplePGOSupport(SamplePGOSupport || Action == SampleUse) { in PGOOptions() 43 // Note, we do allow ProfileFile.empty() for Action=IRUse LTO can in PGOOptions() 48 (this->Action != IRInstr && this->Action != SampleUse)); in PGOOptions() 55 assert(this->CSAction != CSIRUse || this->Action == IRUse); in PGOOptions() 57 // If neither Action nor CSAction, SamplePGOSupport needs to be true. in PGOOptions() 58 assert(this->Action ! in PGOOptions() 64 PGOAction Action; global() member [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | memory-reducer.h | 89 enum Action { kDone, kWait, kRun }; enum in v8::internal::MemoryReducer 92 State(Action action, int started_gcs, double next_gc_start_ms, in State() 99 Action action;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 771 void setTypeAction(MVT VT, LegalizeTypeAction Action) { in setTypeAction() argument 772 ValueTypeActions[VT.SimpleTy] = Action; in setTypeAction() 924 auto Action = getOperationAction(Op, VT); in getFixedPointOperationAction() local 925 if (Action != Legal) in getFixedPointOperationAction() 926 return Action; in getFixedPointOperationAction() 944 return Supported ? Action : Expand; in getFixedPointOperationAction() 1180 LegalizeAction Action = (LegalizeAction) ((Value >> Shift) & 0xF); 1181 assert(Action != Promote && "Can't promote condition code!"); 1182 return Action; 1879 LegalizeTypeAction Action in shouldNormalizeToSelectSequence() 2003 setOperationAction(unsigned Op, MVT VT, LegalizeAction Action) setOperationAction() argument 2825 setIndexedModeAction(unsigned IdxMode, MVT VT, unsigned Shift, LegalizeAction Action) setIndexedModeAction() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
H A D | Analysis.h | 44 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, 49 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action);
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | MessageParsingHelpers.cs | 42 public static void AssertReadingMessage<T>(MessageParser<T> parser, byte[] bytes, Action<T> assert) where T : IMessage<T> 57 public static void AssertReadingMessage(MessageParser parser, byte[] bytes, Action<IMessage> assert) in AssertReadingMessage() 81 public static void AssertRoundtrip<T>(MessageParser<T> parser, T message, Action<T> additionalAssert = null) where T : IMessage<T>
|