Home
last modified time | relevance | path

Searched refs:reducer (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/skia/tests/
DPathOpsCubicReduceOrderTest.cpp65 SkReduceOrder reducer; in DEF_TEST() local
114 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
125 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
128 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
137 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
148 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
159 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
170 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
173 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
182 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
[all …]
DPathOpsQuadReduceOrderTest.cpp25 SkReduceOrder reducer; in oneOffTest() local
26 SkDEBUGCODE(int result = ) reducer.reduce(quad); in oneOffTest()
33 SkReduceOrder reducer; in standardTestCases() local
55 order = reducer.reduce(quad); in standardTestCases()
64 order = reducer.reduce(quad); in standardTestCases()
/third_party/skia/third_party/externals/spirv-tools/test/reduce/
Dvalidation_during_reduction_test.cpp212 Reducer reducer(env); in TEST() local
213 reducer.SetMessageConsumer(NopDiagnostic); in TEST()
216 reducer.SetInterestingnessFunction( in TEST()
219 reducer.AddReductionPass( in TEST()
233 Reducer::ReductionResultStatus status = reducer.Run( in TEST()
427 Reducer reducer(env); in TEST() local
428 reducer.SetMessageConsumer(NopDiagnostic); in TEST()
431 reducer.SetInterestingnessFunction( in TEST()
434 reducer.AddReductionPass( in TEST()
448 Reducer::ReductionResultStatus status = reducer.Run( in TEST()
[all …]
Dreducer_test.cpp194 Reducer reducer(kEnv); in TEST() local
196 reducer.SetMessageConsumer(kMessageConsumer); in TEST()
197 reducer.SetInterestingnessFunction( in TEST()
201 reducer.AddReductionPass( in TEST()
203 reducer.AddReductionPass( in TEST()
216 Reducer::ReductionResultStatus status = reducer.Run( in TEST()
514 Reducer reducer(kEnv); in TEST() local
516 reducer.SetInterestingnessFunction(InterestingWhileIMulReachable); in TEST()
517 reducer.AddDefaultReductionPasses(); in TEST()
518 reducer.SetMessageConsumer(kMessageConsumer); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/
Dvalidation_during_reduction_test.cpp212 Reducer reducer(env); in TEST() local
213 reducer.SetMessageConsumer(NopDiagnostic); in TEST()
216 reducer.SetInterestingnessFunction( in TEST()
219 reducer.AddReductionPass( in TEST()
233 Reducer::ReductionResultStatus status = reducer.Run( in TEST()
427 Reducer reducer(env); in TEST() local
428 reducer.SetMessageConsumer(NopDiagnostic); in TEST()
431 reducer.SetInterestingnessFunction( in TEST()
434 reducer.AddReductionPass( in TEST()
448 Reducer::ReductionResultStatus status = reducer.Run( in TEST()
[all …]
Dreducer_test.cpp194 Reducer reducer(kEnv); in TEST() local
196 reducer.SetMessageConsumer(kMessageConsumer); in TEST()
197 reducer.SetInterestingnessFunction( in TEST()
201 reducer.AddReductionPass( in TEST()
203 reducer.AddReductionPass( in TEST()
216 Reducer::ReductionResultStatus status = reducer.Run( in TEST()
514 Reducer reducer(kEnv); in TEST() local
516 reducer.SetInterestingnessFunction(InterestingWhileIMulReachable); in TEST()
517 reducer.AddDefaultReductionPasses(); in TEST()
518 reducer.SetMessageConsumer(kMessageConsumer); in TEST()
[all …]
/third_party/spirv-tools/test/reduce/
Dvalidation_during_reduction_test.cpp212 Reducer reducer(env); in TEST() local
213 reducer.SetMessageConsumer(NopDiagnostic); in TEST()
216 reducer.SetInterestingnessFunction( in TEST()
219 reducer.AddReductionPass( in TEST()
233 Reducer::ReductionResultStatus status = reducer.Run( in TEST()
427 Reducer reducer(env); in TEST() local
428 reducer.SetMessageConsumer(NopDiagnostic); in TEST()
431 reducer.SetInterestingnessFunction( in TEST()
434 reducer.AddReductionPass( in TEST()
448 Reducer::ReductionResultStatus status = reducer.Run( in TEST()
[all …]
Dreducer_test.cpp194 Reducer reducer(kEnv); in TEST() local
196 reducer.SetMessageConsumer(kMessageConsumer); in TEST()
197 reducer.SetInterestingnessFunction( in TEST()
201 reducer.AddReductionPass( in TEST()
203 reducer.AddReductionPass( in TEST()
216 Reducer::ReductionResultStatus status = reducer.Run( in TEST()
514 Reducer reducer(kEnv); in TEST() local
516 reducer.SetInterestingnessFunction(InterestingWhileIMulReachable); in TEST()
517 reducer.AddDefaultReductionPasses(); in TEST()
518 reducer.SetMessageConsumer(kMessageConsumer); in TEST()
[all …]
/third_party/typescript/tests/baselines/reference/
DtypeGuardOfFormTypeOfFunction.js77 function configureStore<S extends object>(reducer: (() => void) | Record<keyof S, () => void>) {
79 if (typeof reducer === 'function') {
80 rootReducer = reducer;
154 function configureStore(reducer) {
156 if (typeof reducer === 'function') {
157 rootReducer = reducer;
DgenericFunctionsWithOptionalParameters3.types18 mapReduce<T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V): Collection<V>;
19 >mapReduce : <T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V) => Collection<V>
23 >reducer : (y: U) => V
37 >utils.mapReduce : <T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V) => Collec…
39 >mapReduce : <T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V) => Collection<V>
52 >utils.mapReduce : <T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V) => Collec…
54 >mapReduce : <T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V) => Collection<V>
80 >utils.mapReduce : <T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V) => Collec…
82 >mapReduce : <T, U, V>(c: Collection<T>, mapper: (x: T) => U, reducer: (y: U) => V) => Collection<V>
DtypeGuardOfFormTypeOfFunction.types187 function configureStore<S extends object>(reducer: (() => void) | Record<keyof S, () => void>) {
188 >configureStore : <S extends object>(reducer: (() => void) | Record<keyof S, () => void>) => void
189 >reducer : Record<keyof S, () => void> | (() => void)
194 if (typeof reducer === 'function') {
195 >typeof reducer === 'function' : boolean
196 >typeof reducer : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | …
197 >reducer : Record<keyof S, () => void> | (() => void)
200 rootReducer = reducer;
201 >rootReducer = reducer : () => void
203 >reducer : () => void
DtypeGuardOfFormTypeOfFunction.symbols162 function configureStore<S extends object>(reducer: (() => void) | Record<keyof S, () => void>) {
165 >reducer : Symbol(reducer, Decl(typeGuardOfFormTypeOfFunction.ts, 75, 42))
172 if (typeof reducer === 'function') {
173 >reducer : Symbol(reducer, Decl(typeGuardOfFormTypeOfFunction.ts, 75, 42))
175 rootReducer = reducer;
177 >reducer : Symbol(reducer, Decl(typeGuardOfFormTypeOfFunction.ts, 75, 42))
DbluebirdStaticThis.types448 …U>(dit: typeof Promise, values: Promise.Thenable<Promise.Thenable<R>[]>, reducer: (total: U, curre…
449reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable<U>, initia…
455 >reducer : (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable<U>
463 …U>(dit: typeof Promise, values: Promise.Thenable<Promise.Thenable<R>[]>, reducer: (total: U, curre…
464reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable<U>, initia…
470 >reducer : (total: U, current: R, index: number, arrayLength: number) => U
477 …static reduce<R, U>(dit: typeof Promise, values: Promise.Thenable<R[]>, reducer: (total: U, curren…
478reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable<U>, initia…
483 >reducer : (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable<U>
491 …static reduce<R, U>(dit: typeof Promise, values: Promise.Thenable<R[]>, reducer: (total: U, curren…
[all …]
DrecursiveArrayNotCircular.js21 function reducer(action: ReducerAction): void {
33 action.payload.map(reducer);
50 function reducer(action) { function
62 action.payload.map(reducer);
DrecursiveArrayNotCircular.types49 function reducer(action: ReducerAction): void {
50 >reducer : (action: ReducerAction) => void
99 action.payload.map(reducer);
100 >action.payload.map(reducer) : void[]
106 >reducer : (action: ReducerAction) => void
DrecursiveArrayNotCircular.symbols62 function reducer(action: ReducerAction): void {
63 >reducer : Symbol(reducer, Decl(recursiveArrayNotCircular.ts, 17, 1))
113 action.payload.map(reducer);
119 >reducer : Symbol(reducer, Decl(recursiveArrayNotCircular.ts, 17, 1))
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/
DtypeGuardOfFormTypeOfFunction.ts77 function configureStore<S extends object>(reducer: (() => void) | Record<keyof S, () => void>) {
79 if (typeof reducer === 'function') {
80 rootReducer = reducer;
/third_party/skia/src/pathops/
DSkReduceOrder.cpp249 SkReduceOrder reducer; in Quad() local
250 int order = reducer.reduce(quad); in Quad()
253 *reducePts++ = reducer.fLine[index].asSkPoint(); in Quad()
275 SkReduceOrder reducer; in Cubic() local
276 int order = reducer.reduce(cubic, kAllow_Quadratics); in Cubic()
279 *reducePts++ = reducer.fQuad[index].asSkPoint(); in Cubic()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dadded_function_reducer.cpp61 reduce::Reducer reducer(target_env_); in Run() local
62 reducer.SetMessageConsumer(consumer_); in Run()
63 reducer.AddDefaultReductionPasses(); in Run()
64 reducer.SetInterestingnessFunction( in Run()
87 reducer.Run(std::move(binary_to_reduce), &reduced_binary, reducer_options, in Run()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dadded_function_reducer.cpp61 reduce::Reducer reducer(target_env_); in Run() local
62 reducer.SetMessageConsumer(consumer_); in Run()
63 reducer.AddDefaultReductionPasses(); in Run()
64 reducer.SetInterestingnessFunction( in Run()
87 reducer.Run(std::move(binary_to_reduce), &reduced_binary, reducer_options, in Run()
/third_party/spirv-tools/source/fuzz/
Dadded_function_reducer.cpp61 reduce::Reducer reducer(target_env_); in Run() local
62 reducer.SetMessageConsumer(consumer_); in Run()
63 reducer.AddDefaultReductionPasses(); in Run()
64 reducer.SetInterestingnessFunction( in Run()
87 reducer.Run(std::move(binary_to_reduce), &reduced_binary, reducer_options, in Run()
/third_party/typescript/tests/cases/compiler/
DbluebirdStaticThis.ts89 …U>(dit: typeof Promise, values: Promise.Thenable<Promise.Thenable<R>[]>, reducer: (total: U, curre…
90 …U>(dit: typeof Promise, values: Promise.Thenable<Promise.Thenable<R>[]>, reducer: (total: U, curre…
92 …static reduce<R, U>(dit: typeof Promise, values: Promise.Thenable<R[]>, reducer: (total: U, curren…
93 …static reduce<R, U>(dit: typeof Promise, values: Promise.Thenable<R[]>, reducer: (total: U, curren…
95 …static reduce<R, U>(dit: typeof Promise, values: Promise.Thenable<R>[], reducer: (total: U, curren…
96 …static reduce<R, U>(dit: typeof Promise, values: Promise.Thenable<R>[], reducer: (total: U, curren…
98 …static reduce<R, U>(dit: typeof Promise, values: R[], reducer: (total: U, current: R, index: numbe…
99 …static reduce<R, U>(dit: typeof Promise, values: R[], reducer: (total: U, current: R, index: numbe…
/third_party/skia/third_party/externals/spirv-tools/tools/reduce/
Dreduce.cpp291 spvtools::reduce::Reducer reducer(target_env); in main() local
300 reducer.SetInterestingnessFunction( in main()
316 reducer.AddDefaultReductionPasses(); in main()
318 reducer.SetMessageConsumer(spvtools::utils::CLIMessageConsumer); in main()
349 const auto reduction_status = reducer.Run(std::move(binary_in), &binary_out, in main()
/third_party/spirv-tools/tools/reduce/
Dreduce.cpp291 spvtools::reduce::Reducer reducer(target_env); in main() local
300 reducer.SetInterestingnessFunction( in main()
316 reducer.AddDefaultReductionPasses(); in main()
318 reducer.SetMessageConsumer(spvtools::utils::CLIMessageConsumer); in main()
349 const auto reduction_status = reducer.Run(std::move(binary_in), &binary_out, in main()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/reduce/
Dreduce.cpp291 spvtools::reduce::Reducer reducer(target_env); in main() local
300 reducer.SetInterestingnessFunction( in main()
316 reducer.AddDefaultReductionPasses(); in main()
318 reducer.SetMessageConsumer(spvtools::utils::CLIMessageConsumer); in main()
349 const auto reduction_status = reducer.Run(std::move(binary_in), &binary_out, in main()

1234