Home
last modified time | relevance | path

Searched refs:reduction (Results 1 - 25 of 68) sorted by relevance

123

/third_party/skia/src/pathops/
H A DSkReduceOrder.cpp17 static int coincident_line(const SkDQuad& quad, SkDQuad& reduction) { in coincident_line() argument
18 reduction[0] = reduction[1] = quad[0]; in coincident_line()
22 static int reductionLineCount(const SkDQuad& reduction) { in reductionLineCount() argument
23 return 1 + !reduction[0].approximatelyEqual(reduction[1]); in reductionLineCount()
26 static int vertical_line(const SkDQuad& quad, SkDQuad& reduction) { in vertical_line() argument
27 reduction[0] = quad[0]; in vertical_line()
28 reduction[1] = quad[2]; in vertical_line()
29 return reductionLineCount(reduction); in vertical_line()
32 horizontal_line(const SkDQuad& quad, SkDQuad& reduction) horizontal_line() argument
38 check_linear(const SkDQuad& quad, int minX, int maxX, int minY, int maxY, SkDQuad& reduction) check_linear() argument
103 coincident_line(const SkDCubic& cubic, SkDCubic& reduction) coincident_line() argument
108 reductionLineCount(const SkDCubic& reduction) reductionLineCount() argument
112 vertical_line(const SkDCubic& cubic, SkDCubic& reduction) vertical_line() argument
118 horizontal_line(const SkDCubic& cubic, SkDCubic& reduction) horizontal_line() argument
125 check_quadratic(const SkDCubic& cubic, SkDCubic& reduction) check_quadratic() argument
151 check_linear(const SkDCubic& cubic, int minX, int maxX, int minY, int maxY, SkDCubic& reduction) check_linear() argument
[all...]
/third_party/node/deps/v8/src/compiler/
H A Ddead-code-elimination.cc201 Reduction reduction = PropagateDeadControl(node); in ReduceNode() local
202 if (reduction.Changed()) return reduction; in ReduceNode()
216 Reduction reduction = PropagateDeadControl(node); in ReducePhi() local
217 if (reduction.Changed()) return reduction; in ReducePhi()
236 Reduction reduction = PropagateDeadControl(node); in ReduceEffectPhi() local
237 if (reduction.Changed()) return reduction; in ReduceEffectPhi()
256 reduction in ReduceEffectPhi()
274 Reduction reduction = PropagateDeadControl(node); ReduceUnreachableOrIfException() local
317 Reduction reduction = PropagateDeadControl(node); ReduceDeoptimizeOrReturnOrTerminateOrTailCall() local
351 Reduction reduction = PropagateDeadControl(node); ReduceBranchOrSwitch() local
[all...]
H A Dgraph-reducer.cc34 Reduction reduction = Reduce(node); in Reduce() local
35 if (V8_UNLIKELY(observe_node_manager && reduction.Changed())) { in Reduce()
37 reduction.replacement()); in Reduce()
39 return reduction; in Reduce()
105 Reduction reduction = (*i)->Reduce(node, observe_node_manager_); in Reduce() local
106 if (!reduction.Changed()) { in Reduce()
108 } else if (reduction.replacement() == node) { in Reduce()
109 // {replacement} == {node} represents an in-place reduction. Rerun in Reduce()
111 // opportunities for reduction. in Reduce()
131 << *(reduction in Reduce()
[all...]
H A Dmemory-optimizer.cc301 Reduction reduction = memory_lowering()->ReduceAllocateRaw( in VisitAllocateRaw() local
303 CHECK(reduction.Changed() && reduction.replacement() != node); in VisitAllocateRaw()
305 ReplaceUsesAndKillNode(node, reduction.replacement()); in VisitAllocateRaw()
314 Reduction reduction = memory_lowering()->ReduceLoadFromObject(node); in VisitLoadFromObject() local
316 if (V8_MAP_PACKING_BOOL && reduction.replacement() != node) { in VisitLoadFromObject()
317 ReplaceUsesAndKillNode(node, reduction.replacement()); in VisitLoadFromObject()
338 Reduction reduction = memory_lowering()->ReduceLoadField(node); in VisitLoadField() local
339 DCHECK(reduction.Changed()); in VisitLoadField()
349 reduction in VisitLoadField()
[all...]
H A Descape-analysis.cc70 // Keeps track of the changes to the current node during reduction.
78 explicit ReduceScope(Node* node, Reduction* reduction) in ReduceScope() argument
79 : current_node_(node), reduction_(reduction) {} in ReduceScope()
81 void SetValueChanged() { reduction()->set_value_changed(); } in SetValueChanged()
85 Reduction* reduction() { return reduction_; } in reduction() function in v8::internal::compiler::ReduceScope
135 Scope(VariableTracker* tracker, Node* node, Reduction* reduction);
184 Node* node, Reduction* reduction) in Scope()
185 : VariableTracker::Scope(&tracker->variable_states_, node, reduction), in Scope()
254 reduction()->set_value_changed(); in ~Scope()
333 Reduction reduction; in ReduceFrom() local
183 Scope(EffectGraphReducer* reducer, EscapeAnalysisTracker* tracker, Node* node, Reduction* reduction) Scope() argument
378 Scope(VariableTracker* states, Node* node, Reduction* reduction) Scope() argument
849 Reduce(Node* node, Reduction* reduction) Reduce() argument
[all...]
H A Dvalue-numbering-reducer.cc100 Reduction reduction = ReplaceIfTypesMatch(node, other_entry); in Reduce()
101 if (reduction.Changed()) { in Reduce()
111 return reduction; in Reduce()
H A Djs-inlining-heuristic.cc306 Reduction const reduction = InlineCandidate(candidate, false); in Finalize() local
307 if (reduction.Changed()) return; in Finalize()
709 Reduction const reduction = inliner_.ReduceJSCall(node); in InlineCandidate() local
710 if (reduction.Changed()) { in InlineCandidate()
713 return reduction; in InlineCandidate()
776 Reduction const reduction = inliner_.ReduceJSCall(call); in InlineCandidate() local
777 if (reduction.Changed()) { in InlineCandidate()
H A Dmachine-operator-reducer.cc208 Reduction const reduction = ReduceWord32And(node); in Word32And() local
209 return reduction.Changed() ? reduction.replacement() : node; in Word32And()
228 Reduction const reduction = ReduceWord64And(node); in Word64And() local
229 return reduction.Changed() ? reduction.replacement() : node; in Word64And()
234 Reduction const reduction = ReduceInt32Add(node); in Int32Add() local
235 return reduction.Changed() ? reduction.replacement() : node; in Int32Add()
240 Reduction const reduction in Int32Sub() local
288 Reduction const reduction = ReduceTruncateInt64ToInt32(node); TruncateInt64ToInt32() local
1884 Reduction reduction = ReduceWordNAnd<Word32Adapter>(node); ReduceWord32And() local
2321 Reduction reduction = NoChange(); ReduceConditional() local
[all...]
/third_party/node/deps/v8/tools/testrunner/outproc/
H A Dbase.py22 def process(self, output, reduction=None):
26 return self._create_result(has_unexpected_output, output, reduction)
34 def _create_result(self, has_unexpected_output, output, reduction):
35 """Creates Result instance. When reduction is passed it tries to drop some
37 across process boundary. None disables reduction and full result is created.
39 if reduction == DROP_RESULT:
41 if reduction == DROP_OUTPUT:
44 if reduction == DROP_PASS_OUTPUT:
46 if reduction == DROP_PASS_STDOUT:
/third_party/python/Lib/multiprocessing/
H A Dpopen_forkserver.py4 from .context import reduction, set_spawning_popen namespace
5 if not reduction.HAVE_SEND_HANDLE:
46 reduction.dump(prep_data, buf)
47 reduction.dump(process_obj, buf)
H A Dpopen_spawn_win32.py7 from .context import reduction, get_spawning_popen, set_spawning_popen namespace
93 reduction.dump(prep_data, to_child)
94 reduction.dump(process_obj, to_child)
100 return reduction.duplicate(handle, self.sentinel)
H A Dpopen_spawn_posix.py4 from .context import reduction, set_spawning_popen namespace
46 reduction.dump(prep_data, fp)
47 reduction.dump(process_obj, fp)
H A Dspawn.py18 from .context import reduction namespace
111 new_handle = reduction.duplicate(pipe_handle,
128 preparation_data = reduction.pickle.load(from_parent)
130 self = reduction.pickle.load(from_parent)
H A Dcontext.py6 from . import reduction namespace
207 return globals().get('reduction')
210 def reducer(self, reduction):
211 globals()['reduction'] = reduction
265 if reduction.HAVE_SEND_HANDLE:
314 if not reduction.HAVE_SEND_HANDLE:
H A Dresource_sharer.py18 from .context import reduction namespace
50 reduction.send_handle(conn, new_fd, pid)
58 return reduction.recv_handle(conn)
H A Dconnection.py26 from .context import reduction namespace
27 _ForkingPickler = reduction.ForkingPickler
953 reduction.register(Connection, reduce_connection)
958 dh = reduction.DupHandle(conn.fileno(), access)
963 reduction.register(PipeConnection, reduce_pipe_connection)
967 df = reduction.DupFd(conn.fileno())
972 reduction.register(Connection, reduce_connection)
H A Dheap.py18 from .context import reduction, assert_spawning namespace
104 return rebuild_arena, (a.size, reduction.DupFd(a.fd))
109 reduction.register(Arena, reduce_arena)
H A Dforkserver.py13 from .context import reduction namespace
95 reduction.sendfds(client, allfds)
258 fds = reduction.recvfds(s, MAXFDS_TO_SEND + 1)
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DSamplerD3D12.cpp72 D3D12_FILTER_REDUCTION_TYPE reduction = in Sampler() local
81 mSamplerDesc.Filter = D3D12_ENCODE_ANISOTROPIC_FILTER(reduction); in Sampler()
84 D3D12_ENCODE_BASIC_FILTER(minFilter, magFilter, mipmapFilter, reduction); in Sampler()
/third_party/skia/src/core/
H A DSkStroke.cpp238 static ReductionType CheckConicLinear(const SkConic& , SkPoint* reduction);
239 static ReductionType CheckCubicLinear(const SkPoint cubic[4], SkPoint reduction[3],
241 static ReductionType CheckQuadLinear(const SkPoint quad[3], SkPoint* reduction);
638 SkPoint reduction[3], const SkPoint** tangentPtPtr) {
661 SkEvalCubicAt(cubic, t, &reduction[rCount], nullptr, nullptr);
662 if (reduction[rCount] != cubic[0] && reduction[rCount] != cubic[3]) {
677 SkPoint* reduction) {
695 conic.evalAt(t, reduction, nullptr);
700 SkPoint* reduction) {
[all...]
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/crypto/modes/
H A Dghashv8-armx.S86 INST(0x26,0x4e,0xe0,0xf2) @ pmull q10,q0,q11 @ 1st phase of reduction
92 vext.8 q10,q0,q0,#8 @ 2nd phase of reduction
179 INST(0x26,0x4e,0xe0,0xf2) @ pmull q10,q0,q11 @ 1st phase of reduction
192 vext.8 q10,q0,q0,#8 @ 2nd phase of reduction
219 INST(0x26,0x4e,0xe0,0xf2) @ pmull q10,q0,q11 @ 1st phase of reduction
225 vext.8 q10,q0,q0,#8 @ 2nd phase of reduction
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/modes/
H A Dghashv8-armx.S86 INST(0x26,0x4e,0xe0,0xf2) @ pmull q10,q0,q11 @ 1st phase of reduction
92 vext.8 q10,q0,q0,#8 @ 2nd phase of reduction
179 INST(0x26,0x4e,0xe0,0xf2) @ pmull q10,q0,q11 @ 1st phase of reduction
192 vext.8 q10,q0,q0,#8 @ 2nd phase of reduction
219 INST(0x26,0x4e,0xe0,0xf2) @ pmull q10,q0,q11 @ 1st phase of reduction
225 vext.8 q10,q0,q0,#8 @ 2nd phase of reduction
/third_party/node/deps/v8/tools/testrunner/testproc/
H A Dexecution.py35 reduction = process_ctx.result_reduction if not self.keep_output else None
36 result = self.outproc.process(output, reduction)
/third_party/node/deps/base64/base64/lib/
H A Dlib_openmp.c52 #pragma omp for firstprivate(state) private(s) reduction(+:sum) schedule(static,1) in base64_encode_openmp()
113 #pragma omp for firstprivate(state) private(s) reduction(+:sum, result) schedule(static,1) in base64_decode_openmp()
/third_party/ffmpeg/libavcodec/
H A Daacpsy.c563 float thr_avg, reduction; in calc_reduction_3gpp() local
569 reduction = exp2f((a - desired_pe) / (4.0f * active_lines)) - thr_avg; in calc_reduction_3gpp()
571 return FFMAX(reduction, 0.0f); in calc_reduction_3gpp()
575 float reduction) in calc_reduced_thr_3gpp()
581 thr = sqrtf(thr) + reduction; in calc_reduced_thr_3gpp()
658 float desired_bits, desired_pe, delta_pe, reduction= NAN, spread_en[128] = {0}; in psy_3gpp_analyze_channel() local
742 /* 5.6.1.3.4 "First Estimation of the reduction value" */ in psy_3gpp_analyze_channel()
744 reduction = calc_reduction_3gpp(a, desired_pe, pe, active_lines); in psy_3gpp_analyze_channel()
751 band->thr = calc_reduced_thr_3gpp(band, coeffs[g].min_snr, reduction); in psy_3gpp_analyze_channel()
759 /* 5.6.1.3.5 "Second Estimation of the reduction valu in psy_3gpp_analyze_channel()
574 calc_reduced_thr_3gpp(AacPsyBand *band, float min_snr, float reduction) calc_reduced_thr_3gpp() argument
[all...]

Completed in 25 milliseconds

123