HomeSort by relevance Sort by last modified time
    Searched refs:bytes_written (Results 1 - 25 of 206) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/chrome/browser/media_galleries/linux/
snapshot_file_details.cc 48 bool SnapshotFileDetails::AddBytesWritten(uint32 bytes_written) {
49 if ((bytes_written == 0) ||
50 (bytes_written_ > kuint32max - bytes_written) ||
51 (bytes_written_ + bytes_written > file_info_.size))
54 bytes_written_ += bytes_written;
mtp_read_file_worker.cc 29 int bytes_written = local
32 return (static_cast<int>(data.size()) == bytes_written) ?
33 base::checked_numeric_cast<uint32>(bytes_written) : 0;
71 snapshot_file_details_ptr->bytes_written(),
107 uint32 bytes_written) {
110 if (snapshot_file_details->AddBytesWritten(bytes_written)) {
  /external/chromium_org/chrome/browser/media_galleries/win/
snapshot_file_details.cc 59 bool SnapshotFileDetails::AddBytesWritten(DWORD bytes_written) {
60 if ((bytes_written == 0) ||
61 (bytes_written_ > kuint64max - bytes_written) ||
62 (bytes_written_ + bytes_written > file_info_.size))
65 bytes_written_ += bytes_written;
  /external/chromium_org/tools/android/forwarder2/
common.h 71 const int bytes_written = vsnprintf( variable
74 if (bytes_written > 0)
75 write_ptr_ += bytes_written;
76 return bytes_written;
  /external/chromium_org/media/audio/sounds/
wav_audio_handler_unittest.cc 28 size_t bytes_written; local
29 ASSERT_TRUE(handler.CopyTo(bus.get(), 0, &bytes_written));
30 ASSERT_EQ(static_cast<size_t>(handler.size()), bytes_written); local
  /external/chromium_org/device/bluetooth/
bluetooth_socket_win.cc 96 int bytes_written; local
98 bytes_written = send(fd_, buffer->data(), buffer->BytesRemaining(), 0);
99 if (bytes_written > 0)
100 buffer->DidConsume(bytes_written);
101 } while (buffer->BytesRemaining() > 0 && bytes_written > 0);
104 if (bytes_written < 0 && error_code != WSAEWOULDBLOCK) {
bluetooth_socket_chromeos.cc 131 ssize_t bytes_written; local
133 bytes_written =
135 if (bytes_written > 0)
136 buffer->DidConsume(bytes_written);
137 } while (buffer->BytesRemaining() > 0 && bytes_written > 0);
139 if (bytes_written < 0) {
  /external/linux-tools-perf/scripts/perl/
rw-by-file.pl 45 $writes{$fd}{bytes_written} += $count;
66 printf("%6s %10s %10s\n", "fd", "# writes", "bytes_written");
69 foreach my $fd (sort {$writes{$b}{bytes_written} <=>
70 $writes{$a}{bytes_written}} keys %writes) {
72 my $bytes_written = $writes{$fd}{bytes_written};
73 printf("%6u %10u %10u\n", $fd, $total_writes, $bytes_written);
rw-by-pid.pl 68 $writes{$common_pid}{bytes_written} += $count;
119 "# writes", "bytes_written");
123 foreach my $pid (sort { ($writes{$b}{bytes_written} || 0) <=>
124 ($writes{$a}{bytes_written} || 0)} keys %writes) {
127 my $bytes_written = $writes{$pid}{bytes_written} || 0;
130 $total_writes, $bytes_written);
rwtop.pl 86 $writes{$common_pid}{bytes_written} += $count;
152 "# writes", "bytes_written");
156 foreach my $pid (sort { ($writes{$b}{bytes_written} || 0) <=>
157 ($writes{$a}{bytes_written} || 0)} keys %writes) {
160 my $bytes_written = $writes{$pid}{bytes_written} || 0;
163 $total_writes, $bytes_written);
  /development/host/windows/usb/api/
adb_endpoint_object.cpp 65 ULONG* bytes_written,
71 bytes_written,
89 ULONG* bytes_written,
94 bytes_written,
  /external/chromium/chrome/browser/sessions/
base_session_service.cc 28 // |pickle|, if and only if |str| fits within (|max_bytes| - |*bytes_written|).
29 // |bytes_written| is incremented to reflect the data written.
30 void WriteStringToPickle(Pickle& pickle, int* bytes_written, int max_bytes,
33 if (*bytes_written + num_bytes < max_bytes) {
34 *bytes_written += num_bytes;
42 void WriteString16ToPickle(Pickle& pickle, int* bytes_written, int max_bytes,
45 if (*bytes_written + num_bytes < max_bytes) {
46 *bytes_written += num_bytes;
156 int bytes_written = 0; local
158 WriteStringToPickle(pickle, &bytes_written, max_state_size
195 int bytes_written = 0; local
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/socket/
socket.cc 54 DCHECK(request.byte_count >= request.bytes_written);
56 request.io_buffer->data() + request.bytes_written);
59 request.byte_count - request.bytes_written,
72 request.bytes_written += result;
73 if (request.bytes_written < request.byte_count) {
77 DCHECK(request.bytes_written == request.byte_count);
78 result = request.bytes_written;
150 bytes_written(0) {
  /external/chromium_org/chrome/tools/safe_browsing/
sb_sigutil.cc 47 int bytes_written = file_util::WriteFile( local
51 if (bytes_written != static_cast<int>(serialized_info.size())) {
  /external/webrtc/test/testsupport/
frame_writer.cc 57 int bytes_written = fwrite(frame_buffer, 1, frame_length_in_bytes_, local
59 if (bytes_written != frame_length_in_bytes_) {
  /external/chromium/net/base/
nss_memio.h 79 * If bytes_written is < 0, it is treated as an NSPR error code.
84 void memio_PutWriteResult(memio_Private *secret, int bytes_written);
  /external/chromium_org/base/
sync_socket_nacl.cc 40 const ssize_t bytes_written = write(handle_, buffer, length); local
41 return bytes_written > 0 ? bytes_written : 0;
  /external/chromium_org/content/renderer/
mhtml_generator.cc 59 int bytes_written = base::WritePlatformFile(file_, total_bytes_written, local
62 if (bytes_written == -1)
64 total_bytes_written += bytes_written;
  /external/chromium_org/net/quic/crypto/
crypto_utils.cc 38 size_t bytes_written = sizeof(gmt_unix_time); local
40 memcpy(&(*nonce)[bytes_written], orbit.data(), orbit.size());
41 bytes_written += orbit.size();
43 random_generator->RandBytes(&(*nonce)[bytes_written],
44 kNonceSize - bytes_written);
  /external/chromium_org/webkit/browser/fileapi/
file_writer_delegate.cc 183 void FileWriterDelegate::OnProgress(int bytes_written, bool done) {
184 DCHECK(bytes_written + bytes_written_backlog_ >= bytes_written_backlog_);
190 bytes_written += bytes_written_backlog_;
195 FlushForCompletion(base::PLATFORM_FILE_OK, bytes_written,
198 write_callback_.Run(base::PLATFORM_FILE_OK, bytes_written,
203 bytes_written_backlog_ += bytes_written;
213 int bytes_written,
217 error, bytes_written, progress_status));
219 OnFlushed(error, bytes_written, progress_status, flush_error);
223 int bytes_written,
    [all...]
  /external/chromium/net/tools/flip_server/
ring_buffer.cc 61 int bytes_written = 0; local
67 memcpy(wptr, bytes + bytes_written, wsize);
68 bytes_written += wsize;
73 return bytes_written;
256 int bytes_written = 0; local
266 memcpy(new_buffer + bytes_written, ptr, size);
267 bytes_written += size;
  /external/chromium_org/net/tools/flip_server/
ring_buffer.cc 38 int bytes_written = 0; local
44 memcpy(wptr, bytes + bytes_written, wsize);
45 bytes_written += wsize;
50 return bytes_written;
218 int bytes_written = 0; local
229 memcpy(new_buffer + bytes_written, ptr, size);
230 bytes_written += size;
  /external/chromium/chrome/browser/extensions/
app_background_page_apitest.cc 32 int bytes_written = file_util::WriteFile(manifest_path, local
35 if (bytes_written != static_cast<int>(app_manifest.size())) {
37 << bytes_written;
  /external/chromium_org/chrome/browser/extensions/api/serial/
serial_io_handler.h 35 typedef base::Callback<void(int bytes_written, api::serial::SendError error)>
102 void WriteCompleted(int bytes_written, api::serial::SendError error);
112 void QueueWriteCompleted(int bytes_written, api::serial::SendError error);
serial_io_handler_posix.cc 83 int bytes_written = HANDLE_EINTR(write(file(), local
86 if (bytes_written < 0) {
89 WriteCompleted(bytes_written, api::serial::SEND_ERROR_NONE);

Completed in 2067 milliseconds

1 2 3 4 5 6 7 8 9