Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dsample_vector.cc139 size_t dest_index = GetBucketIndex(min); in AddSubtractImpl() local
154 index_offset = dest_index - iter_index; in AddSubtractImpl()
155 if (dest_index >= counts_size()) in AddSubtractImpl()
169 dest_index, op == HistogramSamples::ADD ? count : -count)) { in AddSubtractImpl()
185 if (min != bucket_ranges_->range(dest_index) || in AddSubtractImpl()
186 max != bucket_ranges_->range(dest_index + 1)) { in AddSubtractImpl()
188 << "; range=" << bucket_ranges_->range(dest_index) << "," in AddSubtractImpl()
189 << bucket_ranges_->range(dest_index + 1); in AddSubtractImpl()
195 &counts()[dest_index], op == HistogramSamples::ADD ? count : -count); in AddSubtractImpl()
204 dest_index = iter_index + index_offset; in AddSubtractImpl()
[all …]
/external/libchrome/mojo/public/cpp/system/
Dwait_set.cc196 size_t dest_index = waitable_index_shift_++; in Wait() local
197 events.container()[dest_index] = &handle_event_; in Wait()
199 dest_index = (dest_index + 1) % events.container().size(); in Wait()
200 events.container()[dest_index] = e; in Wait()
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode.cpp543 size_t dest_index = 0; in PDF_EncodeText() local
548 dest_buf[dest_index++] = 0xfe; in PDF_EncodeText()
549 dest_buf[dest_index++] = 0xff; in PDF_EncodeText()
551 dest_buf[dest_index++] = str[j] >> 8; in PDF_EncodeText()
552 dest_buf[dest_index++] = static_cast<uint8_t>(str[j]); in PDF_EncodeText()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc605 const xla::ShapeIndex& dest_index) { in AliasBufferFrom() argument
607 XRTBufferAllocation* dest_buffer = buffers_.element(dest_index); in AliasBufferFrom()
618 dest_index.ToString(), ": ", source_buffer->allocation().size(), in AliasBufferFrom()
625 xla::ShapeUtil::GetSubshape(on_device_shape(), dest_index); in AliasBufferFrom()
633 *buffers_.mutable_element(dest_index) = source_buffer; in AliasBufferFrom()
Dxrt_state.h216 const xla::ShapeIndex& dest_index);
/external/webrtc/modules/audio_processing/utility/
Ddelay_estimator.cc345 int dest_index = 0; in WebRtc_SoftResetBinaryDelayEstimatorFarend() local
355 dest_index = abs_shift; in WebRtc_SoftResetBinaryDelayEstimatorFarend()
362 memmove(&self->binary_far_history[dest_index], in WebRtc_SoftResetBinaryDelayEstimatorFarend()
367 memmove(&self->far_bit_counts[dest_index], &self->far_bit_counts[src_index], in WebRtc_SoftResetBinaryDelayEstimatorFarend()
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/
Dgather_op_test.py164 for source_index, dest_index in enumerate(indices.flat):
165 dest_slice = ((slice(None),) * outer_dims + (dest_index,) +
233 for source_index, dest_index in enumerate(indices.flat):
234 dest_slice = ((slice(None),) * outer_dims + (dest_index,) +
/external/tensorflow/tensorflow/compiler/xla/
Dliteral.cc312 int64 dest_index = linear_index(shape(), dest_indexes); in CopySliceFromInternal() local
315 StridedCopy(this->data<NativeT>(), dest_index, stride_config.dest_stride, in CopySliceFromInternal()
330 absl::Span<const int64> dest_index) { in CopyElementFrom() argument
335 IndexUtil::MultidimensionalIndexToLinearIndex(shape(), dest_index); in CopyElementFrom()
615 ShapeIndex dest_index = dest_shape_index; in MoveFrom() local
617 dest_index.push_back(i); in MoveFrom()
619 Piece& dest_piece = piece(dest_index); in MoveFrom()
806 int64 dest_index = IndexUtil::MultidimensionalIndexToLinearIndex( in Broadcast() local
810 memcpy(dest_data + primitive_size * dest_index, in Broadcast()
Dliteral.h641 absl::Span<const int64> dest_index);
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_ra.c217 ra_set_node_reg(g, live_map[dest_index(impl, dest)], reg); in etna_ra_assign()
Detnaviv_compiler_nir_liveness.c138 unsigned idx = dest_index(impl, dest); in etna_live_defs()
Detnaviv_compiler_nir.h91 dest_index(nir_function_impl *impl, nir_dest *dest) in dest_index() function
Detnaviv_compiler_nir.c435 unsigned r = ra_get_node_reg(c->g, c->live_map[dest_index(c->impl, dest)]); in ra_dest()
/external/tensorflow/tensorflow/compiler/xla/service/
Dconditional_code_motion.cc251 Boundary& boundary, int64 dest_index, HloComputation* parent, in CopyInOrOutOfConditional() argument
253 CHECK(dest_index == 0 || boundary.IsOutsideBranch()); in CopyInOrOutOfConditional()
261 FindOrDie(hoisted_instructions, op_i).operands()[dest_index]; in CopyInOrOutOfConditional()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc2178 llvm_ir::IrArray::Index dest_index(linear_index, data_array.GetShape(), in HandleSliceToDynamic() local
2180 data_array.EmitWriteArrayElement(dest_index, source_element, &b_); in HandleSliceToDynamic()