/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/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/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/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/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);
|
/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/chrome/browser/extensions/api/serial/ |
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);
|
/external/chromium_org/chrome/browser/extensions/ |
app_background_page_apitest.cc | 48 int bytes_written = file_util::WriteFile(manifest_path, local 51 if (bytes_written != static_cast<int>(app_manifest.size())) { 53 << bytes_written;
|
/external/chromium_org/chrome/browser/media_galleries/linux/ |
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)) {
|
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/common/media_galleries/ |
pmp_test_util.cc | 81 size_t bytes_written = file_util::WriteFile(path, &data[0], data.size()); local 82 return (bytes_written == data.size());
|
/external/chromium_org/chrome_frame/test/ |
url_request_test.cc | 25 ULONG bytes_written; local 33 ASSERT_HRESULT_SUCCEEDED(s->Write(buffer, cb, &bytes_written)); 34 ASSERT_EQ(cb, bytes_written);
|
/external/chromium_org/device/bluetooth/ |
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) {
|
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) {
|
/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/sandbox/linux/suid/ |
process_util_linux.c | 72 ssize_t bytes_written = write(fd, buf, len); local 74 return (bytes_written == len);
|
/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/ui/events/keycodes/ |
keyboard_code_conversion_x.cc | 450 int bytes_written = XLookupString(&xev->xkey, buf, 6, NULL, NULL); local 451 DCHECK_LE(bytes_written, 6); 454 return (bytes_written > 0 && UTF8ToUTF16(buf, bytes_written, &result) &&
|
/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;
|
/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)) {
|
/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_org/chrome/browser/ui/ |
certificate_dialogs.cc | 28 int bytes_written = file_util::WriteFile(path, data.data(), data.size()); local 29 if (bytes_written != static_cast<ssize_t>(data.size())) { 31 << data.size() << "B) returned " << bytes_written;
|
/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/test/spawned_test_server/ |
local_test_server_win.cc | 36 DWORD bytes_written = 0; local 39 CHECK(WriteFile(handle, unblock_data.data(), size, &bytes_written, 41 CHECK_EQ(size, bytes_written);
|