/external/llvm-project/compiler-rt/lib/xray/ |
D | xray_utils.cpp | 51 auto TotalBytes = std::distance(Begin, End); in WriteAll() local 56 if (RoundUpTo(Offset, PageSize) != RoundUpTo(Offset + TotalBytes, PageSize)) { in WriteAll() 58 zx_status_t Status = _zx_vmo_set_size(Vmo, Offset + TotalBytes); in WriteAll() 66 zx_status_t Status = _zx_vmo_write(Vmo, Begin, Offset, TotalBytes); in WriteAll() 71 Offset += TotalBytes; in WriteAll() 142 auto TotalBytes = std::distance(Begin, End); 143 while (auto Written = write(Fd, Begin, TotalBytes)) { 150 TotalBytes -= Written; 151 if (TotalBytes == 0)
|
/external/ltp/testcases/kernel/io/disktest/ |
D | dump.c | 43 static size_t TotalBytes = 0; in format_str() local 48 TotalBytes = 0; in format_str() 56 sprintf(buff, "%08lX", (long)TotalBytes); in format_str() 79 TotalBytes += iBytes; in format_str() 87 static size_t TotalBytes = 0; in format_raw() local 91 TotalBytes = 0; in format_raw() 99 sprintf(buff, "%08lX ", (long)TotalBytes); in format_raw() 105 TotalBytes += iBytes; in format_raw() 179 OFF_T TargetLBA, TotalBytes = 0; in do_dump() local 215 TotalBytes += (OFF_T) NumBytes; in do_dump() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_util.cc | 87 if (src.TotalBytes() != dst->TotalBytes()) { in PrepareCopy() 88 return errors::Internal("Can't copy ", src.TotalBytes(), in PrepareCopy() 90 dst->TotalBytes(), " bytes buffer."); in PrepareCopy() 92 if ((src.TotalBytes() > 0) && !src.IsInitialized()) { in PrepareCopy() 95 if ((dst->TotalBytes() > 0) && !dst->IsInitialized()) { in PrepareCopy() 148 const int64 total_bytes = is_dead ? 0 : tensor.TotalBytes(); in SetProtoFromGPU() 211 const int64 total_bytes = input->TotalBytes(); in DeviceToDeviceCopy() 278 const int64 total_bytes = gpu_tensor->TotalBytes(); in CopyGPUTensorToCPU() 325 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyCPUTensorToGPU() 372 FLAGS_brain_gpu_util_debug_string_maxlen, tensor->TotalBytes()); in MemoryDebugString() [all …]
|
D | gpu_util.h | 75 return se::DeviceMemory<T>(se::DeviceMemoryBase(ptr, t.TotalBytes())); in AsDeviceMemory()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | collective_rma_local.cc | 65 int64 recv_bytes = to_tensor->TotalBytes(); in RecvFromPeer() 66 CHECK_EQ(recv_bytes, hook->prod_value->TotalBytes()); in RecvFromPeer() 157 int64 bytes = src->TotalBytes(); in MemCpyAsync() 158 DCHECK_EQ(dst->TotalBytes(), bytes); in MemCpyAsync()
|
D | simple_propagator_state.cc | 130 ", bytes: ", tensor->TotalBytes(), ">"); in DumpState() 131 total_bytes += tensor->TotalBytes(); in DumpState()
|
/external/tensorflow/tensorflow/core/util/ |
D | memmapped_file_system_test.cc | 87 ASSERT_GE(memory_region->length(), test_tensor.TotalBytes()); in TEST() 90 test_tensor.TotalBytes())); in TEST() 94 EXPECT_EQ(test_tensor.TotalBytes(), file_size); in TEST() 99 EXPECT_EQ(test_tensor.TotalBytes(), stat.length); in TEST()
|
D | stream_executor_util.h | 35 return se::DeviceMemory<T>(se::DeviceMemoryBase(ptr, t.TotalBytes())); in AsDeviceMemory()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | quarantine.h | 136 uptr TotalBytes = 0; in getStats() local 140 TotalBytes += Batch.Size; in getStats() 150 const uptr TotalQuarantinedBytes = TotalBytes - TotalOverheadBytes; in getStats() 158 BatchCount, TotalBytes, TotalQuarantinedBytes, TotalQuarantineChunks, in getStats()
|
/external/scudo/standalone/ |
D | quarantine.h | 136 uptr TotalBytes = 0; in getStats() local 140 TotalBytes += Batch.Size; in getStats() 150 const uptr TotalQuarantinedBytes = TotalBytes - TotalOverheadBytes; in getStats() 158 BatchCount, TotalBytes, TotalQuarantinedBytes, TotalQuarantineChunks, in getStats()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/ |
D | trt_engine_utils.h | 41 size_t TotalBytes() const { return tensor.TotalBytes(); } in TotalBytes() function
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | collective_rma_distributed.cc | 49 req_.set_num_bytes(to_tensor->TotalBytes()); in RecvBufCall() 114 const int64 total_bytes = to_tensor->TotalBytes(); in RecvFromPeer() 118 to_tensor->TotalBytes())); in RecvFromPeer()
|
D | tensor_coding_test.cc | 187 bytes = response.tensor().TotalBytes(); in BM_TensorResponse() 203 bytes = t.TotalBytes(); in BM_TensorViaTensorProto()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | ops.cc | 104 std::copy_n(elem.tensor_data().data(), elem.TotalBytes(), in Initializer() 106 offset += elem.TotalBytes(); in Initializer()
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | hexagon_graph_execution_test.cc | 190 CHECK_EQ(img_tensor.TotalBytes(), img_floats.size() * sizeof(float)); in BuildImageTensor() 193 img_tensor.TotalBytes()); in BuildImageTensor() 202 CHECK_EQ(img_tensor.TotalBytes(), quantized_img.size() * sizeof(quint8)); in BuildQuantizedImageTensor() 205 img_tensor.TotalBytes()); in BuildQuantizedImageTensor() 315 LOG(INFO) << "Output byte size = " << output_tensor.TotalBytes(); in RunFusedGraph() 318 output_tensor.TotalBytes(), in RunFusedGraph()
|
D | hexagon_control_wrapper.cc | 373 CHECK(output_tensor->TotalBytes() >= std::get<1>(output)) in ReadOutputNode() 374 << output_tensor->TotalBytes() << ", " << std::get<1>(output); in ReadOutputNode() 419 << ", byte syze = " << tensor.TotalBytes(); in FillInputNode()
|
/external/llvm-project/llvm/lib/Target/AVR/ |
D | AVRISelLowering.cpp | 923 unsigned TotalBytes = VT.getStoreSize(); in analyzeArguments() local 928 TotalBytes += Args[j].VT.getStoreSize(); in analyzeArguments() 931 TotalBytes = alignTo(TotalBytes, 2); in analyzeArguments() 933 if (TotalBytes == 0) in analyzeArguments() 936 unsigned RegIdx = RegLastIdx + TotalBytes; in analyzeArguments() 974 unsigned TotalBytes = 0; in getTotalArgumentsSizeInBytes() local 977 TotalBytes += Arg.VT.getStoreSize(); in getTotalArgumentsSizeInBytes() 979 return TotalBytes; in getTotalArgumentsSizeInBytes() 989 unsigned TotalBytes = getTotalArgumentsSizeInBytes(Args); in analyzeReturnValues() local 991 assert(TotalBytes <= 8 && "return values greater than 8 bytes cannot be lowered"); in analyzeReturnValues() [all …]
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_tensor_coding.cc | 145 if (val.TotalBytes() > kProtoBufLimitBytes) { in EncodeTensorToByteBuffer() 146 size_t exceeded_bytes = val.TotalBytes() - kProtoBufLimitBytes; in EncodeTensorToByteBuffer()
|
D | grpc_response_cache.cc | 76 << "Status: " << status << ", tensor size " << tensor.TotalBytes() in OnRequestFinished()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor.cc | 186 static int64 TotalBytes(TensorBuffer* in, int64 n) { in TotalBytes() function 222 static int64 TotalBytes(TensorBuffer* in, int n) { in TotalBytes() function 261 static int64 TotalBytes(TensorBuffer* in, int n) { in TotalBytes() function 293 static int64 TotalBytes(TensorBuffer* in, int n) { in TotalBytes() function 963 size_t Tensor::TotalBytes() const { in TotalBytes() function in tensorflow::Tensor 966 CASES(dtype(), return Helper<T>::TotalBytes(buf_, shape_.num_elements())); in TotalBytes() 977 return TotalBytes(); in AllocatedBytes() 1237 return StringPiece(static_cast<char*>(buf_->data()), TotalBytes()); in tensor_data()
|
/external/webrtc/video/ |
D | send_statistics_proxy.cc | 202 total_byte_counter_.SetLast(it.second.rtp_stats.transmitted.TotalBytes(), in InitializeBitrateCounters() 207 it.second.rtp_stats.retransmitted.TotalBytes(), ssrc); in InitializeBitrateCounters() 208 fec_byte_counter_.SetLast(it.second.rtp_stats.fec.TotalBytes(), ssrc); in InitializeBitrateCounters() 215 rtx_byte_counter_.SetLast(it.second.rtp_stats.transmitted.TotalBytes(), in InitializeBitrateCounters() 1329 uma_container_->total_byte_counter_.Set(counters.transmitted.TotalBytes(), in DataCountersUpdated() 1334 counters.retransmitted.TotalBytes(), ssrc); in DataCountersUpdated() 1335 uma_container_->fec_byte_counter_.Set(counters.fec.TotalBytes(), ssrc); in DataCountersUpdated() 1342 uma_container_->rtx_byte_counter_.Set(counters.transmitted.TotalBytes(), in DataCountersUpdated()
|
/external/webrtc/call/ |
D | rampup_tests.cc | 353 *total_sent += stream.rtp_stats.transmitted.TotalBytes() + in AccumulateStats() 354 stream.rtp_stats.retransmitted.TotalBytes() + in AccumulateStats() 355 stream.rtp_stats.fec.TotalBytes(); in AccumulateStats() 513 flex_fec_bytes += kv.second.rtp_stats.fec.TotalBytes(); in GetFecBytes()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_rtcp_impl2_unittest.cc | 401 EXPECT_EQ(rtp.transmitted.TotalBytes(), rtp.transmitted.payload_bytes + in TEST_F() 427 EXPECT_EQ(sum.transmitted.TotalBytes(), in TEST_F() 428 rtp.transmitted.TotalBytes() + rtp2.transmitted.TotalBytes()); in TEST_F()
|
D | rtp_rtcp_impl_unittest.cc | 389 EXPECT_EQ(rtp.transmitted.TotalBytes(), rtp.transmitted.payload_bytes + in TEST_F() 415 EXPECT_EQ(sum.transmitted.TotalBytes(), in TEST_F() 416 rtp.transmitted.TotalBytes() + rtp2.transmitted.TotalBytes()); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/ |
D | trt_engine_op.cc | 508 CHECK_EQ(t.TotalBytes(), device_tensor->TotalBytes()); in ExecuteCalibration() 1035 CHECK_EQ(t.TotalBytes(), device_tensor->TotalBytes()); in AllocateCalibrationResources() 1043 std::pair<void*, size_t>(device_address, device_tensor->TotalBytes())); in AllocateCalibrationResources()
|