/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 | 89 if (src.TotalBytes() != dst->TotalBytes()) { in PrepareCopy() 90 return errors::Internal("Can't copy ", src.TotalBytes(), in PrepareCopy() 92 dst->TotalBytes(), " bytes buffer."); in PrepareCopy() 94 if ((src.TotalBytes() > 0) && !src.IsInitialized()) { in PrepareCopy() 97 if ((dst->TotalBytes() > 0) && !dst->IsInitialized()) { in PrepareCopy() 150 const int64 total_bytes = is_dead ? 0 : tensor.TotalBytes(); in SetProtoFromGPU() 212 const int64 total_bytes = input->TotalBytes(); in DeviceToDeviceCopy() 279 const int64 total_bytes = gpu_tensor->TotalBytes(); in CopyGPUTensorToCPU() 324 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyCPUTensorToGPU() 371 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 | 48 int64 recv_bytes = to_tensor->TotalBytes(); in RecvFromPeer() 49 CHECK_EQ(recv_bytes, hook->prod_value->TotalBytes()); in RecvFromPeer() 122 int64 bytes = src->TotalBytes(); in MemCpyAsync() 123 DCHECK_EQ(dst->TotalBytes(), bytes); in MemCpyAsync()
|
/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/tensorflow/tensorflow/core/distributed_runtime/ |
D | collective_rma_distributed.cc | 47 req_.set_num_bytes(to_tensor->TotalBytes()); in RecvBufCall() 111 if (num_bytes != to_tensor->TotalBytes()) { in RecvFromPeer() 114 to_tensor->TotalBytes())); in RecvFromPeer()
|
D | tensor_coding_test.cc | 188 strings::StrCat("Bytes: ", response.tensor().TotalBytes())); in BM_TensorResponse() 204 testing::SetLabel(strings::StrCat("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/tensorflow/tensorflow/contrib/verbs/ |
D | rdma.cc | 918 if (in.TotalBytes() == 0) { in Checksum() 945 if ((in.TotalBytes() == 8) && (in.dtype() == DT_INT64)) { in ValidateChecksum() 953 << in.shape().DebugString() << " (0x" << in.TotalBytes() in ValidateChecksum() 1076 if ((in.TotalBytes() > 0) && !meta_data_changed_ && in RecvHandler() 1078 (void*)DMAHelper::base(&in), in.TotalBytes()) != nullptr)) { in RecvHandler() 1092 (void*)DMAHelper::base(©), in.TotalBytes(), true); in RecvHandler() 1147 if (can_memcpy && (in.TotalBytes() > 0)) { in Clone() 1153 memcpy(DMAHelper::base(tensor_), DMAHelper::base(&in), in.TotalBytes()); in Clone() 1168 size_t tensor_bytes = (can_memcpy) ? in.TotalBytes() : proto.ByteSize(); in SendMetaData() 1199 size_t tensor_bytes = (can_memcpy) ? in.TotalBytes() : proto.ByteSize(); in SendContent() [all …]
|
/external/webrtc/webrtc/video/ |
D | vie_channel.cc | 247 static_cast<int>(rtp_rtx.transmitted.TotalBytes() * 8 / elapsed_sec / in UpdateHistograms() 258 static_cast<int>(rtp_rtx.retransmitted.TotalBytes() * 8 / in UpdateHistograms() 263 static_cast<int>(rtx.transmitted.TotalBytes() * 8 / elapsed_sec / in UpdateHistograms() 274 static_cast<int>(rtp_rtx.fec.TotalBytes() * 8 / elapsed_sec / in UpdateHistograms() 310 static_cast<int>(rtp_rtx.transmitted.TotalBytes() * 8 / elapsed_sec / in UpdateHistograms() 321 static_cast<int>(rtp_rtx.retransmitted.TotalBytes() * 8 / in UpdateHistograms() 327 static_cast<int>(rtx.transmitted.TotalBytes() * 8 / elapsed_sec / in UpdateHistograms() 333 static_cast<int>(rtp_rtx.fec.TotalBytes() * 8 / elapsed_sec / in UpdateHistograms()
|
/external/tensorflow/tensorflow/contrib/mpi/ |
D | mpi_rendezvous_mgr.cc | 126 const size_t nBytes = tr.tensor().TotalBytes(); in RecvFromRemoteAsync() 182 const int tensor_size = static_cast<int>(val.TotalBytes()); in AddRequest() 226 if (val.TotalBytes() < 1024) doOptimalTransfer = false; in AddRequest()
|
/external/tensorflow/tensorflow/core/common_runtime/sycl/ |
D | sycl_device_context.cc | 29 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyCPUTensorToDevice() 107 const int64 total_bytes = device_tensor->TotalBytes(); in CopyDeviceTensorToCPU()
|
D | sycl_util.h | 35 const size_t size = src_tensor.TotalBytes(); in SYCLmemcpy()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/ |
D | trt_engine_op.cc | 318 CHECK_EQ(t.TotalBytes(), device_tensor->TotalBytes()); in ExecuteCalibration() 672 CHECK_EQ(t.TotalBytes(), device_tensor->TotalBytes()); in AllocateCalibrationResources() 680 std::pair<void*, size_t>(device_address, device_tensor->TotalBytes())); in AllocateCalibrationResources()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor.cc | 160 static int64 TotalBytes(TensorBuffer* in, int64 n) { in TotalBytes() function 196 static int64 TotalBytes(TensorBuffer* in, int n) { in TotalBytes() function 235 static int64 TotalBytes(TensorBuffer* in, int n) { in TotalBytes() function 267 static int64 TotalBytes(TensorBuffer* in, int n) { in TotalBytes() function 909 size_t Tensor::TotalBytes() const { in TotalBytes() function in tensorflow::Tensor 912 CASES(dtype(), return Helper<T>::TotalBytes(buf_, shape_.num_elements())); in TotalBytes() 924 return TotalBytes(); in AllocatedBytes() 1178 return StringPiece(static_cast<char*>(buf_->data()), TotalBytes()); in tensor_data()
|
D | tensor_reference.h | 42 size_t TotalBytes() const { in TotalBytes() function
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_rtcp_impl_unittest.cc | 421 EXPECT_EQ(rtp.transmitted.TotalBytes(), rtp.transmitted.payload_bytes + in TEST_F() 447 EXPECT_EQ(sum.transmitted.TotalBytes(), in TEST_F() 448 rtp.transmitted.TotalBytes() + rtp2.transmitted.TotalBytes()); in TEST_F()
|
/external/webrtc/webrtc/call/ |
D | rampup_tests.cc | 258 *total_sent += stream.rtp_stats.transmitted.TotalBytes() + in AccumulateStats() 259 stream.rtp_stats.retransmitted.TotalBytes() + in AccumulateStats() 260 stream.rtp_stats.fec.TotalBytes(); in AccumulateStats()
|
/external/tensorflow/tensorflow/core/nccl/ |
D | nccl_manager_test.cc | 130 in_cpu.TotalBytes()); in MakeReductionTestCase() 171 in_cpu.TotalBytes()); in MakeGatherTestCase() 200 out_cpu.TotalBytes()); in VerifyResults()
|
/external/tensorflow/tensorflow/contrib/util/ |
D | convert_graphdef_memmapped_format_lib.cc | 73 if (parsed.TotalBytes() < static_cast<size_t>(min_conversion_size_bytes)) { in ConvertConstantsToImmutable()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | literal_util.cc | 92 size_t total_bytes = host_tensor->TotalBytes(); in CopyLiteralToHostTensor()
|
/external/tensorflow/tensorflow/core/graph/ |
D | costmodel.h | 96 Bytes TotalBytes(const Node* node, int output_slot) const;
|