/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 | 150 const int64 total_bytes = is_dead ? 0 : tensor.TotalBytes(); in SetProtoFromGPU() local 151 if (total_bytes > 0) { in SetProtoFromGPU() 154 buf = alloc->Allocate<char>(total_bytes); in SetProtoFromGPU() 158 total_bytes, buf, alloc); in SetProtoFromGPU() 161 DeviceMemoryBase gpu_src_ptr(src_ptr, total_bytes); in SetProtoFromGPU() 162 send_device_to_host_stream->ThenMemcpy(buf, gpu_src_ptr, total_bytes); in SetProtoFromGPU() 168 total_bytes, alloc, tensor_ref]() { in SetProtoFromGPU() 173 if (total_bytes > 0) { in SetProtoFromGPU() 175 total_bytes); in SetProtoFromGPU() 181 alloc->Deallocate<char>(buf, total_bytes); in SetProtoFromGPU() [all …]
|
D | gpu_process_state.cc | 82 size_t total_bytes) { in GetGPUAllocator() argument 115 new GPUBFCAllocator(sub_allocator, total_bytes, options, in GetGPUAllocator()
|
/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/jemalloc_new/src/ |
D | android_je_mallinfo.c | 18 size_t total_bytes = 0; in accumulate_large_allocs() local 29 total_bytes += sz_index2size(NBINS + j) * allocs; in accumulate_large_allocs() 31 return total_bytes; in accumulate_large_allocs() 35 size_t total_bytes = 0; in accumulate_small_allocs() local 41 total_bytes += bin_infos[j].reg_size * bin->stats.curregs; in accumulate_small_allocs() 44 return total_bytes; in accumulate_small_allocs()
|
/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/tensorflow/tensorflow/compiler/xla/service/ |
D | human_readable_profile_builder.cc | 105 int64 total_bytes = 0; in ToString() local 119 total_bytes += std::max(op.bytes_accessed, int64{0}); in ToString() 126 total_bytes, static_cast<float>(optimal_seconds_sum)}, in ToString() 201 if (total_bytes > 0) { in ToString() 215 table.MakeReport(static_cast<double>(total_bytes) / (1 << 20))); in ToString()
|
/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/u-boot/lib/ |
D | gunzip.c | 92 u64 total_bytes) in gzwrite_progress() argument 95 printf("%llu/%llu\r", bytes_written, total_bytes); in gzwrite_progress() 101 u64 total_bytes, in gzwrite_progress_finish() argument 107 total_bytes, calculated_crc); in gzwrite_progress_finish() 111 bytes_written, total_bytes, in gzwrite_progress_finish()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_tpacket.c | 114 static unsigned int total_packets, total_bytes; variable 264 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_v1_v2_rx() 270 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_v1_v2_rx() 293 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v1_v2_rx() 451 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_tx() 461 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_tx() 473 total_bytes += tx->tp_snaplen; in walk_tx() 590 total_bytes += bytes; in __v3_walk_block() 637 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v3_rx() 723 total_bytes = 0; in setup_ring()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | literal_util.cc | 92 size_t total_bytes = host_tensor->TotalBytes(); in CopyLiteralToHostTensor() local 93 if (total_bytes > 0) { in CopyLiteralToHostTensor() 96 memcpy(dst_ptr, src_ptr, total_bytes); in CopyLiteralToHostTensor()
|
/external/libchrome/base/ |
D | sys_info_posix.cc | 108 int64_t* total_bytes) { in GetDiskSpaceInfo() argument 127 if (total_bytes) { in GetDiskSpaceInfo() 128 *total_bytes = zero_size_means_unlimited in GetDiskSpaceInfo()
|
/external/grpc-grpc/test/core/iomgr/ |
D | tcp_posix_test.cc | 113 ssize_t total_bytes = 0; in fill_socket() local 122 total_bytes += write_bytes; in fill_socket() 126 return total_bytes; in fill_socket() 131 size_t total_bytes = 0; in fill_socket_partial() local 139 write_bytes = write(fd, buf, bytes - total_bytes); in fill_socket_partial() 141 total_bytes += static_cast<size_t>(write_bytes); in fill_socket_partial() 143 } while ((write_bytes >= 0 || errno == EINTR) && bytes > total_bytes); in fill_socket_partial() 147 return total_bytes; in fill_socket_partial()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_tensor_coding.cc | 234 size_t total_bytes = 0; in EncodeTensorToByteBuffer() local 236 total_bytes += slices[i].size(); in EncodeTensorToByteBuffer() 238 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 | 572 total_bytes = 0 578 return total_bytes 583 return total_bytes + n 588 total_bytes += n 592 raise IncompleteRead(bytes(b[0:total_bytes])) 619 total_bytes = 0 621 while total_bytes < len(b): 628 raise IncompleteRead(bytes(mvb[0:total_bytes]), len(b)) 630 total_bytes += n 631 return total_bytes
|
/external/u-boot/fs/btrfs/ |
D | conv-funcs.h | 122 DEFINE_CONV(btrfs_dev_item, devid, total_bytes, bytes_used, io_align, io_width, 162 dev_root, dev_root_gen, csum_root, csum_root_gen, total_bytes, 165 chunk_root, log_root, log_root_transid, total_bytes, bytes_used,
|
D | ctree.h | 121 __u64 total_bytes; member 157 __u64 total_bytes; member
|
/external/tensorflow/tensorflow/python/client/ |
D | timeline.py | 587 total_bytes = 0 593 total_bytes += num_bytes 599 if total_bytes > alloc_maxes[allocator].num_bytes: 602 num_bytes=total_bytes, 607 total_bytes)
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | stats_dataset_ops.cc | 219 size_t total_bytes = 0; in GetNextInternal() local 221 total_bytes += t.TotalBytes(); in GetNextInternal() 224 dataset()->tag_, {static_cast<double>(total_bytes)}); in GetNextInternal()
|
/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/core/common_runtime/ |
D | step_stats_collector.cc | 39 int64 total_bytes = 0; member 64 int64 tot = all.total_bytes(); in Done() 472 dev_allocs_stats.total_bytes += cur_bytes; in ReportAllocsOnResourceExhausted() 499 dev_allocs_stats.total_bytes * kMaxAllocReportFraction) { in ReportAllocsOnResourceExhausted() 507 int64 remain_bytes = dev_allocs_stats.total_bytes - reported_bytes; in ReportAllocsOnResourceExhausted()
|
/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()
|