/third_party/typescript/tests/baselines/reference/ |
D | genericFunctionInference2.types | 4 type Reducer<S> = (state: S) => S; 5 >Reducer : Reducer<S> 8 declare function combineReducers<S>(reducers: { [K in keyof S]: Reducer<S[K]> }): Reducer<S>; 9 >combineReducers : <S>(reducers: { [K in keyof S]: Reducer<S[K]>; }) => Reducer<S> 10 >reducers : { [K in keyof S]: Reducer<S[K]>; } 17 declare const foo: Reducer<MyState['combined']['foo']>; 18 >foo : Reducer<number> 20 const myReducer1: Reducer<MyState> = combineReducers({ 21 >myReducer1 : Reducer<MyState> 22 >combineReducers({ combined: combineReducers({ foo }),}) : Reducer<{ combined: { foo: number; };… [all …]
|
D | genericFunctionInference2.symbols | 4 type Reducer<S> = (state: S) => S; 5 >Reducer : Symbol(Reducer, Decl(genericFunctionInference2.ts, 0, 0)) 11 declare function combineReducers<S>(reducers: { [K in keyof S]: Reducer<S[K]> }): Reducer<S>; 17 >Reducer : Symbol(Reducer, Decl(genericFunctionInference2.ts, 0, 0)) 20 >Reducer : Symbol(Reducer, Decl(genericFunctionInference2.ts, 0, 0)) 28 declare const foo: Reducer<MyState['combined']['foo']>; 30 >Reducer : Symbol(Reducer, Decl(genericFunctionInference2.ts, 0, 0)) 33 const myReducer1: Reducer<MyState> = combineReducers({ 35 >Reducer : Symbol(Reducer, Decl(genericFunctionInference2.ts, 0, 0))
|
D | underscoreTest1.types | 88 …Reducer<T, T>, initialValue?: T, context?: any): T; <T, U>(list: T[], iterator: Reducer<T, U>, ini… 90 …Reducer<T, T>, initialValue?: T, context?: any): T; <T, U>(list: T[], iterator: Reducer<T, U>, ini… 119 …Reducer<T, T>, initialValue?: T, context?: any): T; <T, U>(list: T[], iterator: Reducer<T, U>, ini… 121 …Reducer<T, T>, initialValue?: T, context?: any): T; <T, U>(list: T[], iterator: Reducer<T, U>, ini… 1743 interface Reducer<T, U> { 1960 reduce(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 1961 >reduce : { (iterator: Reducer<T, T>, initialValue?: T, context?: any): T; <U>(iterator: Reducer<T,… 1962 >iterator : Reducer<T, T> 1966 reduce<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 1967 >reduce : { (iterator: Reducer<T, T>, initialValue?: T, context?: any): T; <U>(iterator: Reducer<T,… [all …]
|
D | underscoreTest1.js | 12 interface Reducer<T, U> { 88 reduce(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 89 reduce<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 90 foldl(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 91 foldl<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 92 inject(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 93 inject<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 94 reduceRight(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 95 reduceRight<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 96 foldr(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; [all …]
|
D | genericFunctionInference2.js | 4 type Reducer<S> = (state: S) => S; 5 declare function combineReducers<S>(reducers: { [K in keyof S]: Reducer<S[K]> }): Reducer<S>; 8 declare const foo: Reducer<MyState['combined']['foo']>; 10 const myReducer1: Reducer<MyState> = combineReducers({
|
D | underscoreTest1.errors.txt | 282 interface Reducer<T, U> { 358 reduce(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 359 reduce<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 360 foldl(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 361 foldl<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 362 inject(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 363 inject<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 364 reduceRight(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 365 reduceRight<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 366 foldr(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; [all …]
|
D | underscoreTest1.symbols | 992 interface Reducer<T, U> { 993 >Reducer : Symbol(Reducer, Decl(underscoreTest1_underscore.ts, 6, 1)) 1296 reduce(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 1299 >Reducer : Symbol(Reducer, Decl(underscoreTest1_underscore.ts, 6, 1)) 1307 reduce<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 1311 >Reducer : Symbol(Reducer, Decl(underscoreTest1_underscore.ts, 6, 1)) 1319 foldl(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 1322 >Reducer : Symbol(Reducer, Decl(underscoreTest1_underscore.ts, 6, 1)) 1330 foldl<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 1334 >Reducer : Symbol(Reducer, Decl(underscoreTest1_underscore.ts, 6, 1)) [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
D | reducer.cpp | 38 Reducer::Reducer(spv_target_env target_env) : target_env_(target_env) {} in Reducer() function in spvtools::reduce::Reducer 40 Reducer::~Reducer() = default; 42 void Reducer::SetMessageConsumer(MessageConsumer c) { in SetMessageConsumer() 52 void Reducer::SetInterestingnessFunction( in SetInterestingnessFunction() 53 Reducer::InterestingnessFunction interestingness_function) { in SetInterestingnessFunction() 57 Reducer::ReductionResultStatus Reducer::Run( in Run() 75 return Reducer::ReductionResultStatus::kInitialStateInvalid; in Run() 82 return Reducer::ReductionResultStatus::kInitialStateNotInteresting; in Run() 85 Reducer::ReductionResultStatus result = in Run() 89 if (result == Reducer::ReductionResultStatus::kComplete) { in Run() [all …]
|
D | reducer.h | 29 class Reducer { 62 explicit Reducer(spv_target_env target_env); 65 Reducer(const Reducer&) = delete; 66 Reducer(Reducer&&) = delete; 67 Reducer& operator=(const Reducer&) = delete; 68 Reducer& operator=(Reducer&&) = delete; 71 ~Reducer();
|
/third_party/spirv-tools/source/reduce/ |
D | reducer.cpp | 38 Reducer::Reducer(spv_target_env target_env) : target_env_(target_env) {} in Reducer() function in spvtools::reduce::Reducer 40 Reducer::~Reducer() = default; 42 void Reducer::SetMessageConsumer(MessageConsumer c) { in SetMessageConsumer() 52 void Reducer::SetInterestingnessFunction( in SetInterestingnessFunction() 53 Reducer::InterestingnessFunction interestingness_function) { in SetInterestingnessFunction() 57 Reducer::ReductionResultStatus Reducer::Run( in Run() 75 return Reducer::ReductionResultStatus::kInitialStateInvalid; in Run() 82 return Reducer::ReductionResultStatus::kInitialStateNotInteresting; in Run() 85 Reducer::ReductionResultStatus result = in Run() 89 if (result == Reducer::ReductionResultStatus::kComplete) { in Run() [all …]
|
D | reducer.h | 29 class Reducer { 62 explicit Reducer(spv_target_env target_env); 65 Reducer(const Reducer&) = delete; 66 Reducer(Reducer&&) = delete; 67 Reducer& operator=(const Reducer&) = delete; 68 Reducer& operator=(Reducer&&) = delete; 71 ~Reducer();
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | reducer.cpp | 38 Reducer::Reducer(spv_target_env target_env) : target_env_(target_env) {} in Reducer() function in spvtools::reduce::Reducer 40 Reducer::~Reducer() = default; 42 void Reducer::SetMessageConsumer(MessageConsumer c) { in SetMessageConsumer() 52 void Reducer::SetInterestingnessFunction( in SetInterestingnessFunction() 53 Reducer::InterestingnessFunction interestingness_function) { in SetInterestingnessFunction() 57 Reducer::ReductionResultStatus Reducer::Run( in Run() 75 return Reducer::ReductionResultStatus::kInitialStateInvalid; in Run() 82 return Reducer::ReductionResultStatus::kInitialStateNotInteresting; in Run() 85 Reducer::ReductionResultStatus result = in Run() 89 if (result == Reducer::ReductionResultStatus::kComplete) { in Run() [all …]
|
D | reducer.h | 29 class Reducer { 62 explicit Reducer(spv_target_env target_env); 65 Reducer(const Reducer&) = delete; 66 Reducer(Reducer&&) = delete; 67 Reducer& operator=(const Reducer&) = delete; 68 Reducer& operator=(Reducer&&) = delete; 71 ~Reducer();
|
/third_party/skia/third_party/externals/spirv-tools/test/reduce/ |
D | validation_during_reduction_test.cpp | 212 Reducer reducer(env); in TEST() 233 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 236 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 427 Reducer reducer(env); in TEST() 448 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 451 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 458 void SetupReducerForCheckValidationOptions(Reducer* reducer) { in SetupReducerForCheckValidationOptions() 542 Reducer reducer(env); in TEST() 545 Reducer::ReductionResultStatus status = in TEST() 549 ASSERT_EQ(status, Reducer::ReductionResultStatus::kInitialStateInvalid); in TEST() [all …]
|
D | reducer_test.cpp | 194 Reducer reducer(kEnv); in TEST() 216 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 219 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 514 Reducer reducer(kEnv); in TEST() 531 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 534 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 538 Reducer reducer(kEnv); in TEST() 555 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 558 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 577 Reducer reducer(kEnv); in TEST() [all …]
|
/third_party/spirv-tools/test/reduce/ |
D | validation_during_reduction_test.cpp | 212 Reducer reducer(env); in TEST() 233 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 236 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 427 Reducer reducer(env); in TEST() 448 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 451 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 458 void SetupReducerForCheckValidationOptions(Reducer* reducer) { in SetupReducerForCheckValidationOptions() 542 Reducer reducer(env); in TEST() 545 Reducer::ReductionResultStatus status = in TEST() 549 ASSERT_EQ(status, Reducer::ReductionResultStatus::kInitialStateInvalid); in TEST() [all …]
|
D | reducer_test.cpp | 194 Reducer reducer(kEnv); in TEST() 216 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 219 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 514 Reducer reducer(kEnv); in TEST() 531 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 534 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 538 Reducer reducer(kEnv); in TEST() 555 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 558 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 577 Reducer reducer(kEnv); in TEST() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/ |
D | validation_during_reduction_test.cpp | 212 Reducer reducer(env); in TEST() 233 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 236 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 427 Reducer reducer(env); in TEST() 448 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 451 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 458 void SetupReducerForCheckValidationOptions(Reducer* reducer) { in SetupReducerForCheckValidationOptions() 542 Reducer reducer(env); in TEST() 545 Reducer::ReductionResultStatus status = in TEST() 549 ASSERT_EQ(status, Reducer::ReductionResultStatus::kInitialStateInvalid); in TEST() [all …]
|
D | reducer_test.cpp | 194 Reducer reducer(kEnv); in TEST() 216 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 219 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 514 Reducer reducer(kEnv); in TEST() 531 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 534 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 538 Reducer reducer(kEnv); in TEST() 555 Reducer::ReductionResultStatus status = reducer.Run( in TEST() 558 ASSERT_EQ(status, Reducer::ReductionResultStatus::kComplete); in TEST() 577 Reducer reducer(kEnv); in TEST() [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | underscoreTest1.ts | 10 interface Reducer<T, U> { interface 86 reduce(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 87 reduce<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 88 foldl(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 89 foldl<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 90 inject(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 91 inject<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 92 reduceRight(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; 93 reduceRight<U>(iterator: Reducer<T, U>, initialValue: U, context?: any): U; 94 foldr(iterator: Reducer<T, T>, initialValue?: T, context?: any): T; [all …]
|
D | genericFunctionInference2.ts | 3 type Reducer<S> = (state: S) => S; alias 4 declare function combineReducers<S>(reducers: { [K in keyof S]: Reducer<S[K]> }): Reducer<S>; 7 declare const foo: Reducer<MyState['combined']['foo']>; 9 const myReducer1: Reducer<MyState> = combineReducers({
|
/third_party/node/deps/v8/src/compiler/ |
D | graph-reducer.h | 54 class V8_EXPORT_PRIVATE Reducer { 56 virtual ~Reducer() = default; 81 class AdvancedReducer : public Reducer { 103 static Reduction Replace(Node* node) { return Reducer::Replace(node); } in Replace() 152 void AddReducer(Reducer* reducer); in NON_EXPORTED_BASE() 196 ZoneVector<Reducer*> reducers_; in NON_EXPORTED_BASE()
|
D | graph-reducer.cc | 30 void Reducer::Finalize() {} in Finalize() 32 Reduction Reducer::Reduce(Node* node, in Reduce() 62 void GraphReducer::AddReducer(Reducer* reducer) { in AddReducer() 86 for (Reducer* const reducer : reducers_) reducer->Finalize(); in ReduceNode() 141 return Reducer::NoChange(); in Reduce() 144 return Reducer::Changed(node); in Reduce()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | ReduceInterfaceBlocks.cpp | 24 class Reducer : public TIntermRebuild class 31 Reducer(TCompiler &compiler, IdGen &idGen) in Reducer() function in __anonacdf4f390111::Reducer 121 Reducer reducer(compiler, idGen); in ReduceInterfaceBlocks()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | added_function_reducer.cpp | 61 reduce::Reducer reducer(target_env_); in Run() 89 if (reducer_result != reduce::Reducer::kComplete && in Run() 90 reducer_result != reduce::Reducer::kReachedStepLimit) { in Run()
|