Home
last modified time | relevance | path

Searched refs:prev_val (Results 1 – 15 of 15) sorted by relevance

/external/skia/modules/skottie/src/animator/
DVec2KeyframeAnimator.cpp60 auto& prev_val = fValues.back(); in backfill_spatial() local
61 SkASSERT(!prev_val.cmeasure); in backfill_spatial()
63 if (val.v2 == prev_val.v2) { in backfill_spatial()
84 if (check_vecs(val.v2 - prev_val.v2, fTo) && in backfill_spatial()
85 check_vecs(prev_val.v2 - val.v2, fTi)) { in backfill_spatial()
93 p.moveTo (prev_val.v2.x , prev_val.v2.y); in backfill_spatial()
94 p.cubicTo(prev_val.v2.x + fTo.x, prev_val.v2.y + fTo.y, in backfill_spatial()
97 prev_val.cmeasure = SkContourMeasureIter(p.detach(), false).next(); in backfill_spatial()
/external/flatbuffers/src/
Didl_gen_text.cpp124 const Type &type, int indent, const uint8_t *prev_val) { in PrintContainer()
138 if (!PrintOffset(ptr, type, elem_indent, prev_val, in PrintContainer()
151 const uint8_t *prev_val) { in PrintVector()
156 prev_val); in PrintVector()
169 const uint8_t *prev_val, soffset_t vector_index) { in PrintOffset()
174 FLATBUFFERS_ASSERT(prev_val); in PrintOffset()
175 auto union_type_byte = *prev_val; // Always a uint8_t. in PrintOffset()
178 prev_val + ReadScalar<uoffset_t>(prev_val)); in PrintOffset()
204 val, vec_type, indent, prev_val)) { \ in PrintOffset()
260 int indent, const uint8_t *prev_val) { in GenFieldOffset()
[all …]
/external/webrtc/video/
Dquality_threshold.cc41 int prev_val = until_full_ > 0 ? 0 : buffer_[next_index_]; in AddMeasurement() local
45 sum_ += measurement - prev_val; in AddMeasurement()
48 if (prev_val <= low_threshold_) { in AddMeasurement()
50 } else if (prev_val >= high_threshold_) { in AddMeasurement()
/external/python/cpython2/Lib/test/
Dsymlink_support.py9 prev_val = getattr(can_symlink, 'prev_val', None)
10 if prev_val is not None:
11 return prev_val
20 can_symlink.prev_val = can
/external/flatbuffers/include/flatbuffers/
Dminireflect.h122 const TypeTable *type_table, const uint8_t *prev_val, in IterateValue() argument
194 FLATBUFFERS_ASSERT(prev_val); in IterateValue()
195 auto union_type = *prev_val; // Always a uint8_t. in IterateValue()
197 auto type_vec = reinterpret_cast<const Vector<uint8_t> *>(prev_val); in IterateValue()
235 const uint8_t *prev_val = nullptr; in IterateObject() local
262 IterateValue(type, elem_ptr, ref, prev_val, static_cast<soffset_t>(j), in IterateObject()
268 IterateValue(type, val, ref, prev_val, -1, visitor); in IterateObject()
271 prev_val = val; in IterateObject()
/external/webrtc/modules/audio_processing/vad/
Dvad_audio_proc.cc157 static float QuadraticInterpolation(float prev_val, in QuadraticInterpolation() argument
163 prev_val = 1.0f / prev_val; in QuadraticInterpolation()
167 -(next_val - prev_val) * 0.5f / (next_val + prev_val - 2.f * curr_val); in QuadraticInterpolation()
/external/harfbuzz_ng/src/
Dhb-ot-var-gvar-table.hh540 float prev_val = T::get (points[prev]); in infer_delta() local
545 if (prev_val == next_val) in infer_delta()
547 else if (target_val <= hb_min (prev_val, next_val)) in infer_delta()
548 return (prev_val < next_val) ? prev_delta : next_delta; in infer_delta()
549 else if (target_val >= hb_max (prev_val, next_val)) in infer_delta()
550 return (prev_val > next_val) ? prev_delta : next_delta; in infer_delta()
553 float r = (target_val - prev_val) / (next_val - prev_val); in infer_delta()
/external/tensorflow/tensorflow/lite/kernels/
Dacceleration_test_util_internal.h82 auto* prev_val = test_config_ptr.exchange(config); in GetAccelerationTestParam() local
83 delete prev_val; in GetAccelerationTestParam() local
/external/tensorflow/tensorflow/python/training/
Dwarm_starting_util_test.py120 _, prev_val = self._create_prev_run_var(
131 self.assertAllClose(prev_val, fruit_weights.eval(sess))
139 prev_val = np.concatenate([weights[0], weights[1]], axis=0)
149 self.assertAllClose(prev_val, fruit_weights.eval(sess))
152 _, prev_val = self._create_prev_run_var(
171 self.assertAllClose(prev_val, new_val)
179 prev_val = np.concatenate([weights[0], weights[1]], axis=0)
198 self.assertAllClose(prev_val, new_val)
1221 prev_val = [[0.5], [1.], [1.5], [2.]]
1226 initializer=prev_val)
[all …]
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DLibCxxList.cpp335 uint64_t prev_val = m_tail->GetValueAsUnsigned(0); in CalculateNumChildren() local
336 if (next_val == 0 || prev_val == 0) in CalculateNumChildren()
340 if (next_val == prev_val) in CalculateNumChildren()
/external/llvm-project/lldb/examples/synthetic/
Dgnu_libstdcpp.py77 prev_val = self.prev.GetValueAsUnsigned(0)
80 if next_val == 0 or prev_val == 0:
84 if next_val == prev_val:
Dlibcxx.py278 prev_val = self.tail.GetValueAsUnsigned(0)
281 if next_val == 0 or prev_val == 0:
285 if next_val == prev_val:
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_squeezer.py112 prev_val = idleConf.GetOption(configType, section, option)
115 configType, section, option, prev_val)
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp145 QString prev_val = phase2Select->currentText(); in eapChanged() local
177 if (phase2Select->itemText(i).compare(prev_val) == 0) { in eapChanged()
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi_test.py990 prev_val = global_n
992 self.assertGreater(global_n, prev_val)