Home
last modified time | relevance | path

Searched refs:last_index (Results 1 – 25 of 40) sorted by relevance

12

/external/google-fruit/include/fruit/impl/util/
Dhash_codes.defn.h32 template <typename Tuple, int last_index>
35 template <int last_index>
36 struct HashTupleHelper<std::tuple<>, last_index> {
49 template <typename... Args, int last_index>
50 struct HashTupleHelper<std::tuple<Args...>, last_index> {
52 return combineHashes(hashTupleElement<std::tuple<Args...>, last_index - 1>(x),
53 HashTupleHelper<std::tuple<Args...>, last_index - 1>()(x));
/external/webrtc/modules/video_coding/utility/
Ddecoded_frames_history.cc54 int last_index = PictureIdToIndex(*history.last_picture_id); in InsertDecoded() local
58 } else if (new_index > last_index) { in InsertDecoded()
59 std::fill(history.buffer.begin() + last_index + 1, in InsertDecoded()
62 std::fill(history.buffer.begin() + last_index + 1, history.buffer.end(), in InsertDecoded()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_queryobj.c183 for (i = 0; i < query->last_index; i++) { in brw_queryobj_get_results()
193 for (i = 0; i < query->last_index; i++) { in brw_queryobj_get_results()
299 query->last_index = -1; in brw_begin_query()
436 if (!query->bo || query->last_index * 2 + 1 >= 4096 / sizeof(uint64_t)) { in ensure_bo_has_space()
447 query->last_index = 0; in ensure_bo_has_space()
485 brw_write_depth_count(brw, query->bo, query->last_index * 2); in brw_emit_query_begin()
504 brw_write_depth_count(brw, query->bo, query->last_index * 2 + 1); in brw_emit_query_end()
507 query->last_index++; in brw_emit_query_end()
/external/mesa3d/src/util/
Dsoftfloat.c243 unsigned index, last_index; in _mesa_short_shift_left_m() local
248 last_index = index_word_lo(size_words); in _mesa_short_shift_left_m()
250 while (index != last_index) { in _mesa_short_shift_left_m()
321 unsigned index, last_index; in _mesa_short_shift_right_m() local
326 last_index = index_word_hi(size_words); in _mesa_short_shift_right_m()
328 while (index != last_index) { in _mesa_short_shift_right_m()
354 unsigned index, last_index; in _mesa_short_shift_right_jam_m() local
359 last_index = index_word_hi(size_words); in _mesa_short_shift_right_jam_m()
364 while (index != last_index) { in _mesa_short_shift_right_jam_m()
580 unsigned index, last_index; in _mesa_neg_x_m() local
[all …]
/external/libtextclassifier/native/utils/tflite/
Dstring_projection.cc163 size_t last_index = in SplitBySpaceInternal() local
167 while (start < last_index && input_ptr[start] == kSpace) { in SplitBySpaceInternal()
170 auto end = FindNextSpace(input_ptr, start, last_index); in SplitBySpaceInternal()
179 end = FindNextSpace(input_ptr, start, last_index); in SplitBySpaceInternal()
181 auto length = end == kInvalid ? (last_index - start) : (end - start); in SplitBySpaceInternal()
291 size_t last_index = in Tokenize() local
295 while (start < last_index && input_ptr[start] == kSpace) { in Tokenize()
298 auto end = FindNextSeparator(input_ptr, start, last_index); in Tokenize()
312 end = FindNextSeparator(input_ptr, end + 1, last_index); in Tokenize()
314 auto length = end == kInvalid ? (last_index - start) : (end - start); in Tokenize()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_literals.cpp74 int last_index = operand.offset + operand.num_words - 1; in LiteralsPass() local
75 const uint32_t upper_word = inst->word(last_index); in LiteralsPass()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dvalidate_literals.cpp74 int last_index = operand.offset + operand.num_words - 1; in LiteralsPass() local
75 const uint32_t upper_word = inst->word(last_index); in LiteralsPass()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_literals.cpp74 int last_index = operand.offset + operand.num_words - 1; in LiteralsPass() local
75 const uint32_t upper_word = inst->word(last_index); in LiteralsPass()
/external/curl/lib/
Dhash.c323 int last_index = -1;
334 if(iter.slot_index != last_index) {
336 if(last_index >= 0) {
339 last_index = iter.slot_index;
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dcollection_ops_util.cc250 int64_t last_index = -1; in GetFirstIfIndicesAreContiguous() local
253 if (last_index == -1) { in GetFirstIfIndicesAreContiguous()
254 last_index = ind.getSExtValue(); in GetFirstIfIndicesAreContiguous()
255 first_index = last_index; in GetFirstIfIndicesAreContiguous()
258 if (last_index + 1 != ind.getSExtValue()) return -1; in GetFirstIfIndicesAreContiguous()
259 last_index++; in GetFirstIfIndicesAreContiguous()
/external/openscreen/util/
Dyet_another_bit_vector.cc98 const int last_index = array_size() - 1; in SetAll() local
99 uint64_t* const last = &bits_.as_array[last_index]; in SetAll()
101 *last = MakeBitmask(0, size_ - (last_index * kBitsPerInteger)); in SetAll()
/external/tensorflow/tensorflow/core/framework/
Dtensor_util.cc286 int64 last_index = 0; in CompressRepeatedField() local
287 for (int64 i = num_proto_values - 2; i >= 0 && last_index == 0; --i) { in CompressRepeatedField()
290 last_index = i + 1; in CompressRepeatedField()
293 const int64 num_truncated_proto_values = last_index + 1; in CompressRepeatedField()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dimplementation_selector.cc207 int last_index; in UpdateNodeDef() local
208 if (!::absl::SimpleAtoi(name_index[1], &last_index)) { in UpdateNodeDef()
214 node_def->add_input(strings::StrCat(node_name, ":", i + last_index)); in UpdateNodeDef()
/external/pdfium/core/fpdfapi/render/
Dcpdf_rendershading.cpp476 int last_index = 0; in DrawLatticeGouraudShading() local
478 vertices[1 - last_index] = stream.ReadVertexRow(mtObject2Bitmap, row_verts); in DrawLatticeGouraudShading()
479 if (vertices[1 - last_index].empty()) in DrawLatticeGouraudShading()
484 triangle[0] = vertices[last_index][i]; in DrawLatticeGouraudShading()
485 triangle[1] = vertices[1 - last_index][i - 1]; in DrawLatticeGouraudShading()
486 triangle[2] = vertices[last_index][i - 1]; in DrawLatticeGouraudShading()
488 triangle[2] = vertices[1 - last_index][i]; in DrawLatticeGouraudShading()
491 last_index = 1 - last_index; in DrawLatticeGouraudShading()
/external/llvm-project/lldb/source/Target/
DThreadPlanStepRange.cpp337 uint32_t last_index = instructions->GetSize() - 1; in SetNextBranchBreakpoint() local
338 if (last_index - pc_index > 1) { in SetNextBranchBreakpoint()
340 instructions->GetInstructionAtIndex(last_index); in SetNextBranchBreakpoint()
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view_internal.h628 const int last_index = v->size() - 1; in ResizeByTrimmingEndForValue() local
629 for (int i = last_index; i >= 0; --i) { in ResizeByTrimmingEndForValue()
636 if (curr_index <= last_index) { in ResizeByTrimmingEndForValue()
715 const int last_index = in IsWellFormed() local
718 for (int i = 0; i <= last_index; ++i) { in IsWellFormed()
/external/yapf/yapf/yapflib/
Dreformatter.py240 last_index = -1
243 last_index = -2
247 not any(tok.is_comment for tok in uwline.tokens[:last_index]))
/external/tensorflow/tensorflow/core/kernels/
Dragged_tensor_to_variant_op.cc91 int last_index = ragged_component_splits_vec[j - 1].size() - 1; in UnbatchRaggedZerothDim() local
92 split_size = ragged_component_splits_vec[j - 1](last_index) + 1; in UnbatchRaggedZerothDim()
/external/skia/src/shaders/gradients/
DSk4fGradientBase.cpp194 const int last_index = count - 1 - first_index; in init() local
225 const Sk4f clamp_color = pack_color(xformedColors.fColors[last_index], in init()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.cpp194 const int last_index = count - 1 - first_index; in init() local
225 const Sk4f clamp_color = pack_color(xformedColors.fColors[last_index], in init()
/external/python/cpython3/Lib/
Dpprint.py355 last_index = len(items) - 1
362 last = i == last_index
377 last_index = len(items) - 1
379 last = i == last_index
/external/python/cpython2/Lib/test/
Dtest_multibytecodec.py261 last_index = len(self.text) - 1
263 encoder.encode(char, index == last_index)
/external/harfbuzz_ng/src/
Dhb-uniscribe.cc662 unsigned int last_index = 0; in _hb_uniscribe_shape() local
667 if (event->index != last_index) in _hb_uniscribe_shape()
692 range->index_first = last_index; in _hb_uniscribe_shape()
695 last_index = event->index; in _hb_uniscribe_shape()
Dhb-coretext.cc515 unsigned int last_index = 0; in _hb_coretext_shape() local
520 if (event->index != last_index) in _hb_coretext_shape()
575 range->index_first = last_index; in _hb_coretext_shape()
578 last_index = event->index; in _hb_coretext_shape()
/external/rust/crates/smallvec/src/
Dlib.rs778 let last_index = *len_ptr - 1; in pop() localVariable
779 *len_ptr = last_index; in pop()
780 Some(ptr::read(ptr.add(last_index))) in pop()
935 let last_index = *len_ptr - 1; in truncate() localVariable
936 *len_ptr = last_index; in truncate()
937 ptr::drop_in_place(ptr.add(last_index)); in truncate()

12