Home
last modified time | relevance | path

Searched refs:total_bytes (Results 1 – 25 of 55) sorted by relevance

123

/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_device_context.cc29 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/
Dgpu_util.cc150 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 …]
Dgpu_process_state.cc82 size_t total_bytes) { in GetGPUAllocator() argument
115 new GPUBFCAllocator(sub_allocator, total_bytes, options, in GetGPUAllocator()
/external/curl/tests/python_dependencies/impacket/
Dspnego.py118 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/
Dandroid_je_mallinfo.c18 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/
Dmodel_analyzer.py98 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/
Dview.py310 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/
Dsched_tc6.c318 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/
Dhuman_readable_profile_builder.cc105 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/
Dnv84_video_bsp.c94 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/
Dgunzip.c92 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/
Dpsock_tpacket.c114 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/
Dliteral_util.cc92 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/
Dsys_info_posix.cc108 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/
Dtcp_posix_test.cc113 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/
Dgrpc_tensor_coding.cc234 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/
Dtracking_allocator.cc163 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/
Dclient.py572 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/
Dconv-funcs.h122 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,
Dctree.h121 __u64 total_bytes; member
157 __u64 total_bytes; member
/external/tensorflow/tensorflow/python/client/
Dtimeline.py587 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/
Dstats_dataset_ops.cc219 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/
Dtdbtool.c363 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/
Dstep_stats_collector.cc39 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/
Dstring.c535 size_t *total_bytes) /* O - Total string bytes */ in _cupsStrStatistics() argument
574 if (total_bytes) in _cupsStrStatistics()
575 *total_bytes = tbytes; in _cupsStrStatistics()

123