Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_summary.h279 size_t next_idx = cur_idx + 1; in GenerateQuantiles() local
280 while (next_idx < entries_.size() && in GenerateQuantiles()
281 d_2 >= entries_[next_idx].min_rank + entries_[next_idx].max_rank) { in GenerateQuantiles()
282 ++next_idx; in GenerateQuantiles()
284 cur_idx = next_idx - 1; in GenerateQuantiles()
287 if (next_idx == entries_.size() || in GenerateQuantiles()
289 entries_[next_idx].PrevMaxRank()) { in GenerateQuantiles()
292 output.push_back(entries_[next_idx].value); in GenerateQuantiles()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/
Dweighted_quantiles_summary.h271 size_t next_idx = cur_idx + 1; in GenerateQuantiles() local
272 while (next_idx < entries_.size() && in GenerateQuantiles()
273 d_2 >= entries_[next_idx].min_rank + entries_[next_idx].max_rank) { in GenerateQuantiles()
274 ++next_idx; in GenerateQuantiles()
276 cur_idx = next_idx - 1; in GenerateQuantiles()
279 if (next_idx == entries_.size() || in GenerateQuantiles()
281 entries_[next_idx].PrevMaxRank()) { in GenerateQuantiles()
284 output.push_back(entries_[next_idx].value); in GenerateQuantiles()
/external/libxcam/xcore/interface/
Dstitcher.cpp299 uint32_t next_idx = (idx + 1) % _camera_num; in estimate_overlap() local
301 const RoundViewSlice &right = _round_view_slices[next_idx]; in estimate_overlap()
303 const CenterMark &right_center = _center_marks[next_idx]; in estimate_overlap()
305 const ImageCropInfo &right_img_crop = _crop_info[next_idx]; in estimate_overlap()
312 …er estimate_coarse_seam failed and there is no seam between slice %d and slice %d", idx, next_idx); in estimate_overlap()
320 …itcher estimate_coarse_seam failed and left slice(%d)over covered right slice(%d)", idx, next_idx); in estimate_overlap()
345 …stimate_overlap failed and there is no overlap area between slice %d and slice %d", idx, next_idx); in estimate_overlap()
382 right_img_seam.pos_y = _crop_info[next_idx].top; in estimate_overlap()
384 … right_img_seam.height = right.height - _crop_info[next_idx].top - _crop_info[next_idx].bottom; in estimate_overlap()
387 XCAM_ASSERT (right_img_seam.pos_x + right_img_seam.width > _crop_info[next_idx].left); in estimate_overlap()
[all …]
/external/u-boot/drivers/net/fsl-mc/dpio/
Dqbman_portal.c83 p->dqrr.next_idx = 0; in qbman_swp_init()
377 dq = qbman_cena_read(&s->sys, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); in qbman_swp_dqrr_next()
390 QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); in qbman_swp_dqrr_next()
395 s->dqrr.next_idx++; in qbman_swp_dqrr_next()
396 s->dqrr.next_idx &= s->dqrr.dqrr_size - 1;/* Wrap around at dqrr_size */ in qbman_swp_dqrr_next()
399 if (!s->dqrr.next_idx) in qbman_swp_dqrr_next()
412 QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); in qbman_swp_dqrr_next()
Dqbman_portal.h71 uint32_t next_idx; member
/external/python/cpython2/Modules/
D_json.c899 Py_ssize_t next_idx; in _parse_object_str() local
919 key = scanstring_str(pystr, idx + 1, encoding, strict, &next_idx); in _parse_object_str()
922 idx = next_idx; in _parse_object_str()
934 val = scan_once_str(s, pystr, idx, &next_idx); in _parse_object_str()
948 idx = next_idx; in _parse_object_str()
1025 Py_ssize_t next_idx; in _parse_object_unicode() local
1045 key = scanstring_unicode(pystr, idx + 1, strict, &next_idx); in _parse_object_unicode()
1048 idx = next_idx; in _parse_object_unicode()
1060 val = scan_once_unicode(s, pystr, idx, &next_idx); in _parse_object_unicode()
1074 idx = next_idx; in _parse_object_unicode()
[all …]
/external/skia/src/compute/skc/
Dsuballocator.c284 skc_uint const next_idx = next->idx; in skc_suballocator_subbuf_free() local
288 if (last_idx != next_idx) in skc_suballocator_subbuf_free()
293 suballocator->ids[next_idx] = last_id; in skc_suballocator_subbuf_free()
294 last->idx = next_idx; in skc_suballocator_subbuf_free()
/external/skqp/src/compute/skc/
Dsuballocator.c284 skc_uint const next_idx = next->idx; in skc_suballocator_subbuf_free() local
288 if (last_idx != next_idx) in skc_suballocator_subbuf_free()
293 suballocator->ids[next_idx] = last_id; in skc_suballocator_subbuf_free()
294 last->idx = next_idx; in skc_suballocator_subbuf_free()
/external/python/cpython3/Modules/
D_json.c717 Py_ssize_t next_idx; in _parse_object_unicode() local
746 key = scanstring_unicode(pystr, idx + 1, s->strict, &next_idx); in _parse_object_unicode()
759 idx = next_idx; in _parse_object_unicode()
771 val = scan_once_unicode(s, pystr, idx, &next_idx); in _parse_object_unicode()
793 idx = next_idx; in _parse_object_unicode()
848 Py_ssize_t next_idx; in _parse_array_unicode() local
869 val = scan_once_unicode(s, pystr, idx, &next_idx); in _parse_array_unicode()
877 idx = next_idx; in _parse_array_unicode()
1171 Py_ssize_t next_idx = -1; in scanner_call() local
1180 rval = scan_once_unicode(s, pystr, idx, &next_idx); in scanner_call()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_serialize.c43 uintptr_t next_idx; member
57 uintptr_t next_idx; member
73 uintptr_t index = ctx->next_idx++; in write_add_object()
94 assert(ctx->next_idx < ctx->idx_table_len); in read_add_object()
95 ctx->idx_table[ctx->next_idx++] = obj; in read_add_object()
1102 ctx.next_idx = 0; in nir_serialize()
1146 *(uintptr_t *)(blob->data + idx_size_offset) = ctx.next_idx; in nir_serialize()
1162 ctx.next_idx = 0; in nir_deserialize()
/external/perfetto/src/trace_processor/
Devent_tracker.cc126 auto next_idx = slices->AddSlice(cpu, ts, 0 /* duration */, next_utid, in PushSchedSwitch() local
130 prev_slice->storage_index = next_idx; in PushSchedSwitch()
/external/f2fs-tools/fsck/
Dfsck.c1217 int next_idx = 0; in print_dentry() local
1227 next_idx = idx + (name_len + F2FS_SLOT_LEN - 1) / F2FS_SLOT_LEN; in print_dentry()
1229 bit_offset = find_next_bit_le(bitmap, max, next_idx); in print_dentry()
/external/libvpx/libvpx/third_party/libwebm/mkvparser/
Dmkvparser.cc2696 const long next_idx = pCurr->m_index + 1; in ParseNext() local
2698 if (next_idx < m_clusterCount) { in ParseNext()
2699 pResult = m_clusters[next_idx]; in ParseNext()
/external/libvpx/libwebm/mkvparser/
Dmkvparser.cc2696 const long next_idx = pCurr->m_index + 1; in ParseNext() local
2698 if (next_idx < m_clusterCount) { in ParseNext()
2699 pResult = m_clusters[next_idx]; in ParseNext()
/external/libaom/libaom/third_party/libwebm/mkvparser/
Dmkvparser.cc2696 const long next_idx = pCurr->m_index + 1; in ParseNext() local
2698 if (next_idx < m_clusterCount) { in ParseNext()
2699 pResult = m_clusters[next_idx]; in ParseNext()