/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/net/test/ |
test_server_win.cc | 85 DWORD bytes_written = 0; local 88 CHECK(WriteFile(handle, unblock_data.data(), size, &bytes_written, 90 CHECK_EQ(size, bytes_written);
|
/development/host/windows/usb/winusb/ |
adb_winusb_interface.cpp | 75 unsigned long bytes_written;
local 80 sizeof(usb_device_descriptor_), &bytes_written)) {
88 sizeof(usb_config_descriptor_), &bytes_written)) {
170 unsigned long bytes_written;
local 175 ser_num_size, &bytes_written)) {
227 CopyMemory(buffer, ser_num->bString, bytes_written);
|
/external/chromium/base/ |
platform_file_win.cc | 146 DWORD bytes_written; local 147 if (::WriteFile(file, data, size, &bytes_written, &overlapped) != 0) 148 return bytes_written;
|
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/chrome/browser/ |
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)) {
|
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));
|
spellcheck_host_impl.cc | 297 size_t bytes_written = local 299 if (bytes_written != data_.length()) { 303 bytes_written = 306 if (bytes_written == data_.length())
|
/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/dbus/dbus/ |
dbus-file-unix.c | 248 int bytes_written; local 250 bytes_written = _dbus_write (fd, str, total, 253 if (bytes_written <= 0) 262 total += bytes_written;
|
dbus-file-win.c | 290 DWORD bytes_written; local 294 &bytes_written, NULL); 296 if (res == 0 || bytes_written <= 0) 305 total += bytes_written;
|
/external/bluetooth/glib/gio/ |
gdataoutputstream.c | 227 gsize bytes_written; local 233 &bytes_written, 254 gsize bytes_written; local 273 &bytes_written, 294 gsize bytes_written; local 313 &bytes_written, 334 gsize bytes_written; local 353 &bytes_written, 374 gsize bytes_written; local 393 &bytes_written, 414 gsize bytes_written; local 454 gsize bytes_written; local 494 gsize bytes_written; local [all...] |
gbufferedoutputstream.c | 405 gsize bytes_written; local 409 bytes_written = 0; 417 &bytes_written, 421 count = priv->pos - bytes_written; 424 g_memmove (priv->buffer, priv->buffer + bytes_written, count); 426 priv->pos -= bytes_written;
|
glocalfileoutputstream.c | 602 gssize bytes_written; local 629 bytes_written = write (dfd, write_buffer, bytes_to_write); 630 if (bytes_written == -1) 645 bytes_to_write -= bytes_written; 646 write_buffer += bytes_written;
|
/external/bluetooth/glib/gio/win32/ |
gwinhttpfileoutputstream.c | 122 DWORD bytes_written; local 163 (request, buffer, count, &bytes_written)) 172 winhttp_stream->offset += bytes_written; 186 return bytes_written;
|
/external/bluetooth/glib/tests/ |
timeloop.c | 60 gsize bytes_written = 0; local 64 while (bytes_written < len) 66 err = g_io_channel_write (channel, buf + bytes_written, len - bytes_written, &count); 70 bytes_written += count;
|
convert-test.c | 42 gsize bytes_written = 0; local 46 &bytes_read, &bytes_written, &error); 53 g_assert (bytes_written == 10); 65 gsize bytes_written = 0; local 70 &bytes_read, &bytes_written, 75 g_assert (bytes_written == 1); 81 &bytes_read, &bytes_written, 86 g_assert (bytes_written == 0); 94 &bytes_read, &bytes_written, 99 g_assert (bytes_written == 1) 112 gsize bytes_written = 0; local [all...] |
timeloop-basic.c | 59 size_t bytes_written = 0; local 62 while (bytes_written < len) 64 count = write (fd, buf + bytes_written, len - bytes_written); 71 bytes_written += count;
|
timeloop-closure.c | 61 gsize bytes_written = 0; local 65 while (bytes_written < len) 67 err = g_io_channel_write (channel, buf + bytes_written, len - bytes_written, &count); 71 bytes_written += count;
|
/external/chromium/base/test/ |
test_file_util_win.cc | 65 DWORD bytes_read, bytes_written; local 86 if (!::WriteFile(file_handle, buffer, kOneMB, &bytes_written, NULL) || 87 bytes_written != kOneMB) {
|
/external/chromium/chrome/browser/chromeos/ |
plugin_selection_policy_unittest.cc | 89 size_t bytes_written = file_util::WriteFile(policy_file, local 95 return bytes_written == contents.size();
|
/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/chrome/browser/ui/gtk/ |
certificate_dialogs.cc | 34 int bytes_written = file_util::WriteFile(path_, data_.data(), data_.size()); local 35 if (bytes_written != static_cast<ssize_t>(data_.size())) { 37 << data_.size() << "B) returned " << 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/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;
|