/external/tensorflow/tensorflow/core/common_runtime/sycl/ |
D | sycl_device_context.cc | 29 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyCPUTensorToDevice() local 30 if (total_bytes > 0) { in CopyCPUTensorToDevice() 37 total_bytes); in CopyCPUTensorToDevice() 42 static_cast<const double *>(src_ptr), total_bytes); in CopyCPUTensorToDevice() 47 total_bytes); in CopyCPUTensorToDevice() 52 total_bytes); in CopyCPUTensorToDevice() 57 static_cast<const Eigen::half *>(src_ptr), total_bytes); in CopyCPUTensorToDevice() 62 static_cast<const std::complex<float> *>(src_ptr), total_bytes); in CopyCPUTensorToDevice() 67 static_cast<const std::complex<double> *>(src_ptr), total_bytes); in CopyCPUTensorToDevice() 72 total_bytes); in CopyCPUTensorToDevice() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_util.cc | 152 const int64 total_bytes = is_dead ? 0 : tensor.TotalBytes(); in SetProtoFromGPU() local 153 if (total_bytes > 0) { in SetProtoFromGPU() 156 buf = alloc->Allocate<char>(total_bytes); in SetProtoFromGPU() 160 total_bytes, buf, alloc); in SetProtoFromGPU() 163 DeviceMemoryBase gpu_src_ptr(src_ptr, total_bytes); in SetProtoFromGPU() 164 send_device_to_host_stream->ThenMemcpy(buf, gpu_src_ptr, total_bytes); in SetProtoFromGPU() 170 total_bytes, alloc, tensor_ref]() { in SetProtoFromGPU() 175 if (total_bytes > 0) { in SetProtoFromGPU() 177 total_bytes); in SetProtoFromGPU() 183 alloc->Deallocate<char>(buf, total_bytes); in SetProtoFromGPU() [all …]
|
/external/curl/tests/python_dependencies/impacket/ |
D | spnego.py | 118 decode_data, total_bytes = asn1decode(data) 125 uuid, total_bytes = asn1decode(decode_data) 128 self['Payload'] = decode_data[total_bytes:] 190 decode_data, total_bytes = asn1decode(payload) 195 decode_data, total_bytes = asn1decode(decode_data) 204 decode_data2, total_bytes = asn1decode(decode_data2) 211 decode_data = decode_data[total_bytes:] 223 decode_data2, total_bytes = asn1decode(decode_data2) 232 decode_data = decode_data[total_bytes:] 238 decode_data, total_bytes = asn1decode(decode_data) [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | literal_util.cc | 34 size_t total_bytes = host_tensor.TotalBytes(); in HostTensorToLiteral() local 35 if (total_bytes > 0) { in HostTensorToLiteral() 38 memcpy(dst_ptr, src_ptr, total_bytes); in HostTensorToLiteral() 57 size_t total_bytes = host_tensor->TotalBytes(); in CopyLiteralToHostTensor() local 58 if (total_bytes > 0) { in CopyLiteralToHostTensor() 61 memcpy(dst_ptr, src_ptr, total_bytes); in CopyLiteralToHostTensor()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_device_context.cc | 70 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyCPUTensorToDevice() local 72 se::DeviceMemoryBase dev_dst_ptr(dst_ptr, total_bytes); in CopyCPUTensorToDevice() 75 stream_->ThenMemcpy(&dev_dst_ptr, src_ptr, total_bytes); in CopyCPUTensorToDevice() 105 const int64 total_bytes = cpu_tensor->TotalBytes(); in CopyDeviceTensorToCPU() local 107 se::DeviceMemoryBase dev_src_ptr(src_ptr, total_bytes); in CopyDeviceTensorToCPU() 111 stream_->ThenMemcpy(dst_ptr, dev_src_ptr, total_bytes); in CopyDeviceTensorToCPU()
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
D | model_analyzer.py | 98 total_bytes = 0 104 total_bytes += var_bytes 110 print('Total bytes of variables: %d' % total_bytes) 111 return total_size, total_bytes
|
/external/autotest/client/bin/result_tools/ |
D | view.py | 310 def _get_size_percent(size_original, total_bytes): argument 319 if total_bytes == 0: 321 return '%.1f%%' % (100*float(size_original)/total_bytes) 324 def _get_dirs_html(dirs, parent_path, total_bytes, indentation): argument 348 total_bytes),
|
/external/ltp/testcases/kernel/sched/sched_stress/ |
D | sched_tc6.c | 318 long total_bytes; in read_file() local 326 total_bytes = 0; in read_file() 334 total_bytes = total_bytes + bytes_read; in read_file() 340 printf("\r\ttotal bytes read = %ld", total_bytes); in read_file() 343 total_bytes = 0; in read_file()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv84_video_bsp.c | 94 unsigned total_bytes = 0; in nv84_decoder_bsp() local 193 assert(total_bytes + num_bytes[i] < dec->bitstream->size / 2 - 0x700); in nv84_decoder_bsp() 194 memcpy(dec->bitstream->map + 0x700 + total_bytes, data[i], num_bytes[i]); in nv84_decoder_bsp() 195 total_bytes += num_bytes[i]; in nv84_decoder_bsp() 197 memcpy(dec->bitstream->map + 0x700 + total_bytes, end, sizeof(end)); in nv84_decoder_bsp() 198 total_bytes += sizeof(end); in nv84_decoder_bsp() 199 more_params[1] = total_bytes; in nv84_decoder_bsp()
|
/external/libmojo/mojo/edk/js/ |
D | drain_data.cc | 81 size_t total_bytes = 0; in DeliverData() local 83 total_bytes += data_buffers_[i]->size(); in DeliverData() 88 v8::ArrayBuffer::New(isolate_, total_bytes); in DeliverData() 91 CHECK_EQ(total_bytes, buffer.num_bytes()); in DeliverData()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_tpacket.c | 112 static unsigned int total_packets, total_bytes; variable 262 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_v1_v2_rx() 268 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_v1_v2_rx() 291 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v1_v2_rx() 449 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_tx() 459 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_tx() 471 total_bytes += tx->tp_snaplen; in walk_tx() 588 total_bytes += bytes; in __v3_walk_block() 635 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v3_rx() 721 total_bytes = 0; in setup_ring()
|
/external/libchrome/base/ |
D | sys_info_posix.cc | 103 int64_t* total_bytes) { in GetDiskSpaceInfo() argument 122 if (total_bytes) { in GetDiskSpaceInfo() 123 *total_bytes = zero_size_means_unlimited in GetDiskSpaceInfo()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | human_readable_profile_builder.cc | 79 int64 total_bytes = 0; in ToString() local 84 total_bytes += op.bytes_accessed; in ToString() 90 total_transcendentals, total_bytes, optimal_seconds_sum}); in ToString()
|
/external/syslinux/extlinux/ |
D | btrfs.h | 67 uint64_t total_bytes; member 86 uint64_t total_bytes; member 161 __u64 total_bytes; /* out */ member
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_tensor_coding.cc | 226 size_t total_bytes = 0; in EncodeTensorToByteBuffer() local 228 total_bytes += slices[i].size(); in EncodeTensorToByteBuffer() 230 CHECK_EQ(total_bytes, expected_size); in EncodeTensorToByteBuffer()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tracking_allocator.cc | 163 size_t total_bytes; in GetSizes() local 168 total_bytes = total_bytes_; in GetSizes() 171 return std::make_tuple(total_bytes, high_watermark, still_live_bytes); in GetSizes()
|
/external/python/cpython3/Lib/http/ |
D | client.py | 574 total_bytes = 0 580 return total_bytes 585 return total_bytes + n 590 total_bytes += n 594 raise IncompleteRead(bytes(b[0:total_bytes])) 621 total_bytes = 0 623 while total_bytes < len(b): 630 raise IncompleteRead(bytes(mvb[0:total_bytes]), len(b)) 632 total_bytes += n 633 return total_bytes
|
/external/syslinux/gpxe/src/net/udp/ |
D | slam.c | 138 unsigned long total_bytes; member 433 &slam->total_bytes ) ) != 0 ) in slam_pull_header() 445 slam->num_blocks = ( ( slam->total_bytes + slam->block_size - 1 ) / in slam_pull_header() 449 "blocks %ld\n", slam, slam->total_bytes, slam->block_size, in slam_pull_header() 468 xfer_seek ( &slam->xfer, slam->total_bytes, SEEK_SET ); in slam_pull_header()
|
/external/tensorflow/tensorflow/python/client/ |
D | timeline.py | 587 total_bytes = 0 592 total_bytes += num_bytes 598 if total_bytes > alloc_maxes[allocator].num_bytes: 601 num_bytes=total_bytes, 606 total_bytes)
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | stats_dataset_ops.cc | 195 size_t total_bytes = 0; in GetNextInternal() local 197 total_bytes += t.TotalBytes(); in GetNextInternal() 200 dataset()->tag_, {static_cast<double>(total_bytes)}); in GetNextInternal()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | step_stats_collector.cc | 34 int64 total_bytes = 0; member 317 dev_allocs_stats.total_bytes += cur_bytes; in ReportAllocsOnResourceExhausted() 344 dev_allocs_stats.total_bytes * kMaxAllocReportFraction) { in ReportAllocsOnResourceExhausted() 352 int64 remain_bytes = dev_allocs_stats.total_bytes - reported_bytes; in ReportAllocsOnResourceExhausted()
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdbtool.c | 363 static int total_bytes; variable 367 total_bytes += dbuf.dsize; in traverse_fn() 374 total_bytes = 0; in info_tdb() 378 printf("%d records totalling %d bytes\n", count, total_bytes); in info_tdb()
|
/external/tensorflow/tensorflow/compiler/jit/kernels/ |
D | xla_launch_op.cc | 337 const size_t total_bytes = const_tensor.TotalBytes(); in Compute() local 338 if (stream && total_bytes > 0) { in Compute() 347 gpu::DeviceMemoryBase gpu_dst_ptr(dst_ptr, total_bytes); in Compute() 348 stream->ThenMemcpy(&gpu_dst_ptr, src_ptr, total_bytes); in Compute()
|
/external/libcups/cups/ |
D | string.c | 535 size_t *total_bytes) /* O - Total string bytes */ in _cupsStrStatistics() argument 574 if (total_bytes) in _cupsStrStatistics() 575 *total_bytes = tbytes; in _cupsStrStatistics()
|
/external/syslinux/core/fs/btrfs/ |
D | btrfs.h | 67 __le64 total_bytes; member 98 __le64 total_bytes; member
|