Home
last modified time | relevance | path

Searched refs:TotalBytes (Results 1 – 25 of 48) sorted by relevance

12

/external/ltp/testcases/kernel/io/disktest/
Ddump.c43 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/
Dgpu_util.cc91 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 …]
Dgpu_util.h78 perftools::gputools::DeviceMemoryBase(ptr, t.TotalBytes())); in AsDeviceMemory()
/external/tensorflow/tensorflow/core/util/
Dmemmapped_file_system_test.cc87 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()
Dstream_executor_util.h36 perftools::gputools::DeviceMemoryBase(ptr, t.TotalBytes())); in AsDeviceMemory()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dliteral_util.cc34 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/
Dhexagon_graph_execution_test.cc188 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()
Dhexagon_control_wrapper.cc374 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/
Drdma.cc919 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(&copy), 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/
Dvie_channel.cc247 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/
Dops.cc104 std::copy_n(elem.tensor_data().data(), elem.TotalBytes(), in Initializer()
106 offset += elem.TotalBytes(); in Initializer()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_context.cc70 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyCPUTensorToDevice()
105 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyDeviceTensorToCPU()
/external/tensorflow/tensorflow/contrib/mpi/
Dmpi_rendezvous_mgr.cc126 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/
Dtensor.cc156 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()
Dtensor_reference.h42 size_t TotalBytes() const { in TotalBytes() function
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_device_context.cc29 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyCPUTensorToDevice()
107 const int64 total_bytes = device_tensor->TotalBytes(); in CopyDeviceTensorToCPU()
Dsycl_util.h35 const size_t size = src_tensor.TotalBytes(); in SYCLmemcpy()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dtensor_coding_test.cc188 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/
Drtp_rtcp_impl_unittest.cc421 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/
Drampup_tests.cc258 *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/
Dnccl_manager_test.cc146 in_cpu.TotalBytes()); in MakeTestCase()
178 out_cpu.TotalBytes()); in VerifyResults()
/external/tensorflow/tensorflow/contrib/util/
Dconvert_graphdef_memmapped_format_lib.cc73 if (parsed.TotalBytes() < static_cast<size_t>(min_conversion_size_bytes)) { in ConvertConstantsToImmutable()
/external/tensorflow/tensorflow/contrib/gdr/
Dgdr_worker.cc95 if (val.TotalBytes() > 0 && (!is_dead) && in GrpcRecvTensorAsync()
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle.cc207 *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/
Dxla_launch_op.cc139 if (tensor.TotalBytes() == output_size) { in MakeTensorFromBuffer()
337 const size_t total_bytes = const_tensor.TotalBytes(); in Compute()

12