Home
last modified time | relevance | path

Searched refs:bytes_transferred (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/core/platform/cloud/
Dram_file_block_cache_test.cc32 size_t bytes_transferred = 0; in ReadCache() local
34 cache->Read(filename, offset, n, out->data(), &bytes_transferred); in ReadCache()
35 EXPECT_LE(bytes_transferred, n); in ReadCache()
36 out->resize(bytes_transferred, n); in ReadCache()
42 char* buffer, size_t* bytes_transferred) { in TEST() argument
60 char* buffer, size_t* bytes_transferred) { in TEST() argument
63 *bytes_transferred = n; in TEST()
93 size_t got_n, char* buffer, size_t* bytes_transferred) { in TEST() argument
99 *bytes_transferred = got_n; in TEST()
125 char* buffer, size_t* bytes_transferred) { in TEST() argument
[all …]
Dram_file_block_cache.cc129 size_t bytes_transferred; in MaybeFetch() local
131 block->data.data(), &bytes_transferred)); in MaybeFetch()
134 block->data.resize(bytes_transferred, 0); in MaybeFetch()
159 char* buffer, size_t* bytes_transferred) { in Read() argument
160 *bytes_transferred = 0; in Read()
167 return block_fetcher_(filename, offset, n, buffer, bytes_transferred); in Read()
191 *bytes_transferred = total_bytes_transferred; in Read()
216 *bytes_transferred = total_bytes_transferred; in Read()
Dfile_block_cache.h48 size_t* bytes_transferred)>
68 char* buffer, size_t* bytes_transferred) = 0;
Dram_file_block_cache.h49 size_t* bytes_transferred)>
91 size_t* bytes_transferred) override;
Dgcs_file_system.cc855 size_t bytes_transferred; in NewRandomAccessFile() local
857 file_block_cache_->Read(fname, offset, n, scratch, &bytes_transferred)); in NewRandomAccessFile()
858 *result = StringPiece(scratch, bytes_transferred); in NewRandomAccessFile()
859 if (bytes_transferred < n) { in NewRandomAccessFile()
886 size_t* bytes_transferred) { in MakeFileBlockCache() argument
888 bytes_transferred); in MakeFileBlockCache()
896 size_t* bytes_transferred) { in LoadBufferFromGCS() argument
897 *bytes_transferred = 0; in LoadBufferFromGCS()
920 *bytes_transferred = bytes_read; in LoadBufferFromGCS()
Dgcs_file_system.h62 size_t bytes_transferred) = 0;
302 char* buffer, size_t* bytes_transferred);
Dgcs_file_system_test.cc3249 size_t bytes_transferred) override { in RecordBlockRetrieved() argument
3251 block_retrieved_bytes_transferred_ = bytes_transferred; in RecordBlockRetrieved()
/external/parameter-framework/asio-1.10.6/include/asio/impl/
Dwrite.hpp45 std::size_t bytes_transferred = s.write_some(tmp, ec); in write() local
46 tmp.consume(bytes_transferred); in write()
47 total_transferred += bytes_transferred; in write()
58 std::size_t bytes_transferred = write(s, buffers, transfer_all(), ec); in write() local
60 return bytes_transferred; in write()
76 std::size_t bytes_transferred = write(s, buffers, completion_condition, ec); in write() local
78 return bytes_transferred; in write()
123 std::size_t bytes_transferred, int start = 0) in operator ()() argument
134 total_transferred_ += bytes_transferred; in operator ()()
135 buffers_.consume(bytes_transferred); in operator ()()
[all …]
Dread.hpp47 std::size_t bytes_transferred = s.read_some(tmp, ec); in read() local
48 tmp.consume(bytes_transferred); in read()
49 total_transferred += bytes_transferred; in read()
60 std::size_t bytes_transferred = read(s, buffers, transfer_all(), ec); in read() local
62 return bytes_transferred; in read()
78 std::size_t bytes_transferred = read(s, buffers, completion_condition, ec); in read() local
80 return bytes_transferred; in read()
125 std::size_t bytes_transferred, int start = 0) in operator ()() argument
136 total_transferred_ += bytes_transferred; in operator ()()
137 buffers_.consume(bytes_transferred); in operator ()()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/
Dcompletion_condition.hpp65 std::size_t operator()(const Error& err, std::size_t bytes_transferred) in operator ()() argument
67 return (!!err || bytes_transferred >= minimum_) in operator ()()
86 std::size_t operator()(const Error& err, std::size_t bytes_transferred) in operator ()() argument
88 return (!!err || bytes_transferred >= size_) ? 0 : in operator ()()
89 (size_ - bytes_transferred < default_max_transfer_size in operator ()()
90 ? size_ - bytes_transferred : std::size_t(default_max_transfer_size)); in operator ()()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dtask_io_service_operation.hpp32 const asio::error_code& ec, std::size_t bytes_transferred) in complete() argument
34 func_(&owner, this, ec, bytes_transferred); in complete()
Dsocket_ops.hpp126 asio::error_code& ec, size_t& bytes_transferred);
141 asio::error_code& ec, size_t& bytes_transferred);
155 asio::error_code& ec, size_t& bytes_transferred);
168 asio::error_code& ec, size_t& bytes_transferred);
183 asio::error_code& ec, size_t& bytes_transferred);
Dhandler_tracking.hpp78 const asio::error_code& ec, std::size_t bytes_transferred);
/external/image_io/src/gcontainer/
Dgcontainer.cc108 size_t bytes_transferred = image_range.GetLength(); in WriteImageAndFiles() local
120 bytes_transferred += tack_on_range.GetLength(); in WriteImageAndFiles()
126 return output_destination.GetBytesTransferred() == bytes_transferred && in WriteImageAndFiles()
/external/image_io/src/jpeg/
Djpeg_apple_depth_builder.cc244 size_t bytes_transferred = in TransferData() local
246 if (bytes_transferred != data_range.GetLength()) { in TransferData()
251 << bytes_transferred << " bytes instead of " in TransferData()
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dhandler_tracking.ipp143 const asio::error_code& ec, std::size_t bytes_transferred)
148 "@asio|%llu.%06llu|>%llu|ec=%.20s:%d,bytes_transferred=%llu\n",
151 static_cast<uint64_t>(bytes_transferred));
Dsocket_ops.ipp624 asio::error_code& ec, size_t& bytes_transferred)
651 bytes_transferred = bytes;
654 bytes_transferred = 0;
715 asio::error_code& ec, size_t& bytes_transferred)
736 bytes_transferred = bytes;
739 bytes_transferred = 0;
800 asio::error_code& ec, size_t& bytes_transferred)
821 bytes_transferred = bytes;
824 bytes_transferred = 0;
888 asio::error_code& ec, size_t& bytes_transferred)
[all …]
/external/iperf3/src/
Diperf_api.c1790 iperf_size_t bytes_transferred; in send_results() local
1853bytes_transferred = sp->sender ? (sp->result->bytes_sent - sp->result->bytes_sent_omit) : sp->resu… in send_results()
1856 cJSON_AddNumberToObject(j_stream, "bytes", bytes_transferred); in send_results()
1910 iperf_size_t bytes_transferred; in get_results() local
1967 bytes_transferred = j_bytes->valueint; in get_results()
1982 sp->result->bytes_received = bytes_transferred; in get_results()
2000 sp->result->bytes_sent = bytes_transferred; in get_results()
2592 …temp.bytes_transferred = sp->sender ? rp->bytes_sent_this_interval : rp->bytes_received_this_inter… in iperf_stats_callback()
2692 printf("interval_len %f bytes_transferred %" PRIu64 "\n", interval_len, irp->bytes_transferred); in iperf_print_intermediate()
2701 irp->bytes_transferred > 0) { in iperf_print_intermediate()
[all …]
Diperf.h75 iperf_size_t bytes_transferred; /* bytes transfered in this interval */ member
/external/u-boot/drivers/net/
Daltera_tse.h145 u32 bytes_transferred; member
Daltera_tse.c342 length = readl(&resp->bytes_transferred); in altera_tse_recv_msgdma()