/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 | 91 if (src.TotalBytes() != dst->TotalBytes()) { in PrepareCopy() 92 return errors::Internal("Can't copy ", src.TotalBytes(), in PrepareCopy() 94 dst->TotalBytes(), " bytes buffer."); in PrepareCopy() 96 if ((src.TotalBytes() > 0) && !src.IsInitialized()) { in PrepareCopy() 99 if ((dst->TotalBytes() > 0) && !dst->IsInitialized()) { in PrepareCopy() 152 const int64 total_bytes = is_dead ? 0 : tensor.TotalBytes(); in SetProtoFromGPU() 216 const int64 total_bytes = input->TotalBytes(); in DeviceToDeviceCopy() 283 const int64 total_bytes = gpu_tensor->TotalBytes(); in CopyGPUTensorToCPU() 328 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyCPUTensorToGPU() 375 FLAGS_brain_gpu_util_debug_string_maxlen, tensor->TotalBytes()); in MemoryDebugString() [all …]
|
D | gpu_util.h | 78 perftools::gputools::DeviceMemoryBase(ptr, t.TotalBytes())); in AsDeviceMemory()
|
/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 | 36 perftools::gputools::DeviceMemoryBase(ptr, t.TotalBytes())); in AsDeviceMemory()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | literal_util.cc | 34 size_t total_bytes = host_tensor.TotalBytes(); in HostTensorToLiteral() 57 size_t total_bytes = host_tensor->TotalBytes(); in CopyLiteralToHostTensor()
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | hexagon_graph_execution_test.cc | 188 CHECK_EQ(img_tensor.TotalBytes(), img_floats.size() * sizeof(float)); in BuildImageTensor() 191 img_tensor.TotalBytes()); in BuildImageTensor() 200 CHECK_EQ(img_tensor.TotalBytes(), quantized_img.size() * sizeof(quint8)); in BuildQuantizedImageTensor() 203 img_tensor.TotalBytes()); in BuildQuantizedImageTensor() 313 LOG(INFO) << "Output byte size = " << output_tensor.TotalBytes(); in RunFusedGraph() 316 output_tensor.TotalBytes(), in RunFusedGraph()
|
D | hexagon_control_wrapper.cc | 374 CHECK(output_tensor->TotalBytes() >= std::get<1>(output)) in ReadOutputNode() 375 << output_tensor->TotalBytes() << ", " << std::get<1>(output); in ReadOutputNode() 420 << ", byte syze = " << tensor.TotalBytes(); in FillInputNode()
|
/external/tensorflow/tensorflow/contrib/verbs/ |
D | rdma.cc | 919 if (in.TotalBytes() == 0) { in Checksum() 946 if ((in.TotalBytes() == 8) && (in.dtype() == DT_INT64)) { in ValidateChecksum() 954 << in.shape().DebugString() << " (0x" << in.TotalBytes() in ValidateChecksum() 1074 if ((in.TotalBytes() > 0) && !meta_data_changed_ && in RecvHandler() 1076 (void*)DMAHelper::base(&in), in.TotalBytes()) != nullptr)) { in RecvHandler() 1090 (void*)DMAHelper::base(©), in.TotalBytes(), true); in RecvHandler() 1145 if (can_memcpy && (in.TotalBytes() > 0)) { in Clone() 1151 memcpy(DMAHelper::base(tensor_), DMAHelper::base(&in), in.TotalBytes()); in Clone() 1166 size_t tensor_bytes = (can_memcpy) ? in.TotalBytes() : proto.ByteSize(); in SendMetaData() 1197 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/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/compiler/jit/ |
D | xla_device_context.cc | 70 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyCPUTensorToDevice() 105 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyDeviceTensorToCPU()
|
/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/framework/ |
D | tensor.cc | 156 static int64 TotalBytes(TensorBuffer* in, int64 n) { in TotalBytes() function 192 static int64 TotalBytes(TensorBuffer* in, int n) { in TotalBytes() function 229 static int64 TotalBytes(TensorBuffer* in, int n) { in TotalBytes() function 259 static int64 TotalBytes(TensorBuffer* in, int n) { in TotalBytes() function 859 size_t Tensor::TotalBytes() const { in TotalBytes() function in tensorflow::Tensor 862 CASES(dtype(), return Helper<T>::TotalBytes(buf_, shape_.num_elements())); in TotalBytes() 874 return TotalBytes(); in AllocatedBytes() 1024 return StringPiece(static_cast<char*>(buf_->data()), TotalBytes()); in tensor_data()
|
D | tensor_reference.h | 42 size_t TotalBytes() const { in TotalBytes() function
|
/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/core/distributed_runtime/ |
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/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/contrib/nccl/kernels/ |
D | nccl_manager_test.cc | 146 in_cpu.TotalBytes()); in MakeTestCase() 178 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/contrib/gdr/ |
D | gdr_worker.cc | 95 if (val.TotalBytes() > 0 && (!is_dead) && in GrpcRecvTensorAsync()
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle.cc | 207 *bytes_written = val.TotalBytes(); in WriteTensor() 787 if (entry.size() != ret->TotalBytes()) { in GetValue() 790 "; expected size ", ret->TotalBytes()); in GetValue() 798 const size_t lower_bound = ret->NumElements() + ret->TotalBytes() - in GetValue()
|
/external/tensorflow/tensorflow/compiler/jit/kernels/ |
D | xla_launch_op.cc | 139 if (tensor.TotalBytes() == output_size) { in MakeTensorFromBuffer() 337 const size_t total_bytes = const_tensor.TotalBytes(); in Compute()
|