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

12 3 4 5 6 7 8 9

  /external/chromium/base/
platform_file_unittest.cc 41 int bytes_written; local
43 bytes_written = base::WritePlatformFile(
47 if ((bytes_written == 0) && (size == 0))
50 if ((bytes_written <= 0) || (bytes_written > size - total_bytes_written))
53 total_bytes_written += bytes_written;
146 int bytes_written = WriteFully(file, 0, data_to_write, 0); local
147 EXPECT_EQ(0, bytes_written);
150 bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize);
151 EXPECT_EQ(kTestDataSize, bytes_written);
217 int bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); local
281 int bytes_written = WriteFully(file, 0, data, kTestDataSize); local
    [all...]
  /external/chromium_org/base/files/
file_unittest.cc 117 int bytes_written = file.Write(0, data_to_write, 0); local
118 EXPECT_EQ(0, bytes_written);
121 bytes_written = file.Write(0, data_to_write, kTestDataSize);
122 EXPECT_EQ(kTestDataSize, bytes_written);
155 bytes_written = file.Write(kOffsetBeyondEndOfFile,
157 EXPECT_EQ(kPartialWriteLength, bytes_written);
187 int bytes_written = file.Write(0, data_to_write, 0); local
188 EXPECT_EQ(0, bytes_written);
191 bytes_written = file.Write(0, data_to_write, kTestDataSize);
192 EXPECT_EQ(kTestDataSize, bytes_written);
236 int bytes_written = file.Write(0, data_to_write, kTestDataSize); local
299 int bytes_written = file.Write(0, data, kTestDataSize); local
    [all...]
file_posix.cc 302 int bytes_written = 0; local
305 rv = HANDLE_EINTR(pwrite(file_, data + bytes_written,
306 size - bytes_written, offset + bytes_written));
310 bytes_written += rv;
311 } while (bytes_written < size);
313 return bytes_written ? bytes_written : rv;
322 int bytes_written = 0; local
329 bytes_written += rv
    [all...]
important_file_writer.cc 76 int bytes_written = WritePlatformFile( local
86 if (bytes_written < static_cast<int>(data.length())) {
87 LogFailure(path, FAILED_WRITING, "error writing, bytes_written=" +
88 IntToString(bytes_written));
  /external/chromium_org/base/
platform_file_unittest.cc 161 int bytes_written = WriteFully(file, 0, data_to_write, 0); local
162 EXPECT_EQ(0, bytes_written);
165 bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize);
166 EXPECT_EQ(kTestDataSize, bytes_written);
200 bytes_written = WriteFully(file, kOffsetBeyondEndOfFile,
202 EXPECT_EQ(kPartialWriteLength, bytes_written);
239 int bytes_written = WriteFully(file, 0, data_to_write, 0); local
240 EXPECT_EQ(0, bytes_written);
243 bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize);
244 EXPECT_EQ(kTestDataSize, bytes_written);
292 int bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); local
361 int bytes_written = WriteFully(file, 0, data, kTestDataSize); local
    [all...]
platform_file_posix.cc 302 int bytes_written = 0; local
305 rv = HANDLE_EINTR(pwrite(file, data + bytes_written,
306 size - bytes_written, offset + bytes_written));
310 bytes_written += rv;
311 } while (bytes_written < size);
313 return bytes_written ? bytes_written : rv;
322 int bytes_written = 0; local
329 bytes_written += rv
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/serial/
serial_io_handler.cc 67 void SerialIoHandler::WriteCompleted(int bytes_written,
71 write_complete_.Run(bytes_written, error);
112 void SerialIoHandler::QueueWriteCompleted(int bytes_written,
116 bytes_written, error));
  /external/chromium_org/chrome/browser/media_galleries/linux/
mtp_read_file_worker.h 72 // If the write operation succeeds, |bytes_written| is set to a non-zero
75 // If the write operation fails, |bytes_written| is set to zero.
78 uint32 bytes_written);
snapshot_file_details.h 58 uint32 bytes_written() const { function in class:SnapshotFileDetails
81 // Adds |bytes_written| to |bytes_written_|.
82 // |bytes_written| specifies the total number of bytes transferred during the
84 // If |bytes_written| is valid, returns true and adds |bytes_written| to
86 // If |bytes_written| is invalid, returns false and does not add
87 // |bytes_written| to |bytes_written_|.
88 bool AddBytesWritten(uint32 bytes_written);
  /external/chromium_org/chrome/browser/sessions/
base_session_service.cc 30 // |pickle|, if and only if |str| fits within (|max_bytes| - |*bytes_written|).
31 // |bytes_written| is incremented to reflect the data written.
32 void WriteStringToPickle(Pickle& pickle, int* bytes_written, int max_bytes,
35 if (*bytes_written + num_bytes < max_bytes) {
36 *bytes_written += num_bytes;
168 int bytes_written = 0; local
170 WriteStringToPickle(pickle, &bytes_written, max_id_size, extension_id);
188 int bytes_written = 0; local
190 WriteStringToPickle(pickle, &bytes_written, max_user_agent_size,
208 int bytes_written = 0 local
    [all...]
  /external/chromium_org/net/base/
nss_memio.h 90 * If bytes_written is < 0, it is treated as an NSPR error code.
95 void memio_PutWriteResult(memio_Private *secret, int bytes_written);
  /development/host/windows/usb/api/
adb_endpoint_object.h 137 @param[out] bytes_written Number of bytes written. Can be NULL.
149 ULONG* bytes_written,
173 @param[out] bytes_written Number of bytes written. Can be NULL.
182 ULONG* bytes_written,
  /external/chromium/chrome/browser/safe_browsing/
bloom_filter.cc 165 int bytes_written = filter.Write(reinterpret_cast<char*>(&version), local
167 if (bytes_written != sizeof(version))
172 bytes_written = filter.Write(reinterpret_cast<char*>(&num_keys),
174 if (bytes_written != sizeof(num_keys))
178 bytes_written = filter.Write(reinterpret_cast<const char*>(&hash_keys_[i]),
180 if (bytes_written != sizeof(hash_keys_[i]))
185 bytes_written = filter.Write(data_.get(), byte_size_, NULL);
186 if (bytes_written != byte_size_)
  /external/chromium_org/sandbox/linux/suid/
process_util_linux.c 72 ssize_t bytes_written = write(fd, buf, len); local
74 return (bytes_written == len);
  /external/chromium/chrome/browser/
browser_main_posix.cc 47 size_t bytes_written = 0; local
51 reinterpret_cast<const char*>(&signal) + bytes_written,
52 sizeof(signal) - bytes_written));
54 bytes_written += rv;
55 } while (bytes_written < sizeof(signal));
plugin_download_helper.cc 106 int bytes_written = download_file_->Write(download_file_buffer_->data(), local
108 DCHECK((bytes_written < 0) || (bytes_written == request_bytes_read));
110 if ((bytes_written < 0) || (bytes_written != request_bytes_read)) {
  /external/chromium_org/chrome/browser/extensions/api/image_writer_private/
operation_linux.cc 69 int64 bytes_written) {
81 int percent_prev = kProgressComplete * bytes_written / image_size;
82 int percent_curr = kProgressComplete * (bytes_written + len) / image_size;
95 bytes_written + len));
101 if (bytes_written == image_size) {
  /external/chromium_org/components/sessions/
serialized_navigation_entry.cc 161 // |*bytes_written|). |bytes_written| is incremented to reflect the
167 int* bytes_written,
171 if (*bytes_written + num_bytes < max_bytes) {
172 *bytes_written += num_bytes;
183 int* bytes_written,
187 if (*bytes_written + num_bytes < max_bytes) {
188 *bytes_written += num_bytes;
229 int bytes_written = 0; local
231 WriteStringToPickle(pickle, &bytes_written, max_size
    [all...]
  /external/chromium_org/third_party/icu/source/common/
ucnv_lmb.c 852 int32_t bytes_written; local
894 bytes_written = 0;
    [all...]
  /external/icu4c/common/
ucnv_lmb.c 852 int32_t bytes_written; local
894 bytes_written = 0;
    [all...]
  /external/chromium_org/net/socket/
tcp_socket_unittest.cc 228 size_t bytes_written = 0; local
229 while (bytes_written < message.size()) {
231 new IOBufferWithSize(message.size() - bytes_written));
232 memmove(write_buffer->data(), message.data() + bytes_written,
233 message.size() - bytes_written);
240 bytes_written += write_result;
241 ASSERT_TRUE(bytes_written <= message.size());
  /external/chromium_org/content/browser/fileapi/
file_system_operation_impl_write_unittest.cc 100 int64 bytes_written() const { return bytes_written_; } function in class:fileapi::FileSystemOperationImplWriteTest
185 EXPECT_EQ(14, bytes_written());
199 EXPECT_EQ(0, bytes_written());
214 EXPECT_EQ(0, bytes_written());
230 EXPECT_EQ(0, bytes_written());
251 EXPECT_EQ(0, bytes_written());
272 EXPECT_EQ(10, bytes_written());
294 EXPECT_EQ(0, bytes_written());
318 EXPECT_EQ(0, bytes_written());
file_writer_delegate_unittest.cc 47 int64 bytes_written() const { return bytes_written_; } function in class:fileapi::__anon7683::Result
248 EXPECT_EQ(kDataSize, result.bytes_written());
268 EXPECT_EQ(kAllowedGrowth, result.bytes_written());
288 EXPECT_EQ(kAllowedGrowth, result.bytes_written());
309 EXPECT_EQ(kAllowedGrowth, result.bytes_written());
350 EXPECT_EQ(kDataSize, result.bytes_written());
352 EXPECT_EQ(kDataSize, result2.bytes_written());
376 EXPECT_EQ(kDataSize, result.bytes_written());
391 EXPECT_EQ(kDataSize, result.bytes_written());
411 EXPECT_EQ(kDataSize, result.bytes_written());
    [all...]
  /external/chromium/chrome/common/
important_file_writer.cc 46 size_t bytes_written = fwrite(data_.data(), 1, data_.length(), tmp_file); local
52 if (bytes_written < data_.length()) {
53 LogFailure("error writing, bytes_written=" +
54 base::Uint64ToString(bytes_written));
  /external/chromium/net/tools/flip_server/
sm_connection.cc 179 ssize_t bytes_written = 0; local
187 const char* ptr = &(data[bytes_written]);
205 bytes_written += rv;
212 if (bytes_written > 0)
213 rv = bytes_written;
573 ssize_t bytes_written = Send(bytes, size, flags); local
575 if (bytes_written == -1) {
592 } else if (bytes_written > 0) {
594 << bytes_written << " bytes"; local
595 data_frame->index += bytes_written;
    [all...]

Completed in 254 milliseconds

12 3 4 5 6 7 8 9