/external/chromium_org/net/tools/flip_server/ |
H A D | ring_buffer.cc | 54 int bytes_to_write = size; 56 if (bytes_available < bytes_to_write) { 57 bytes_to_write = bytes_available; 59 const char* end = bytes + bytes_to_write; 69 bytes_used_ += bytes_to_write; 70 return bytes_to_write;
|
/external/chromium_org/ppapi/proxy/ |
H A D | file_io_resource.cc | 83 int32_t bytes_to_write, 88 bytes_to_write_(bytes_to_write), 268 int32_t bytes_to_write, 272 if (offset < 0 || bytes_to_write < 0) 289 increase = bytes_to_write; 291 uint64_t max_offset = offset + bytes_to_write; 300 scoped_ptr<char[]> copy(new char[bytes_to_write]); 301 memcpy(copy.get(), buffer, bytes_to_write); 309 bytes_to_write, 316 append_mode_write_amount_ += bytes_to_write; 80 WriteOp(scoped_refptr<FileHolder> file_holder, int64_t offset, scoped_ptr<char[]> buffer, int32_t bytes_to_write, bool append) argument 266 Write(int64_t offset, const char* buffer, int32_t bytes_to_write, scoped_refptr<TrackedCallback> callback) argument 487 WriteValidated( int64_t offset, const char* buffer, int32_t bytes_to_write, scoped_refptr<TrackedCallback> callback) argument 579 OnRequestWriteQuotaComplete( int64_t offset, scoped_ptr<char[]> buffer, int32_t bytes_to_write, scoped_refptr<TrackedCallback> callback, int64_t granted) argument [all...] |
H A D | tcp_socket_private_resource.cc | 87 int32_t bytes_to_write, 89 return WriteImpl(buffer, bytes_to_write, callback); 85 Write( const char* buffer, int32_t bytes_to_write, scoped_refptr<TrackedCallback> callback) argument
|
H A D | tcp_socket_resource.cc | 99 int32_t bytes_to_write, 101 return WriteImpl(buffer, bytes_to_write, callback); 98 Write(const char* buffer, int32_t bytes_to_write, scoped_refptr<TrackedCallback> callback) argument
|
H A D | file_io_resource.h | 57 int32_t bytes_to_write, 158 int32_t bytes_to_write, 178 int32_t bytes_to_write, 191 int32_t bytes_to_write,
|
/external/chromium_org/content/test/net/ |
H A D | url_request_slow_download_job.cc | 140 int bytes_to_write = std::min(kFirstDownloadSize - bytes_already_sent_, local 142 for (int i = 0; i < bytes_to_write; ++i) { 145 *bytes_written = bytes_to_write; 146 bytes_already_sent_ += bytes_to_write; 154 int bytes_to_write = local 157 for (int i = 0; i < bytes_to_write; ++i) { 160 *bytes_written = bytes_to_write; 161 bytes_already_sent_ += bytes_to_write;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
H A D | _stream_base.py | 135 def _write(self, bytes_to_write): 141 self._request.connection.write(bytes_to_write)
|
/external/chromium_org/mojo/common/test/ |
H A D | test_utils.h | 25 size_t bytes_to_write,
|
H A D | test_utils_posix.cc | 19 size_t bytes_to_write, 27 ssize_t result = HANDLE_EINTR(write(handle.fd, buffer, bytes_to_write)); 17 BlockingWrite(const embedder::PlatformHandle& handle, const void* buffer, size_t bytes_to_write, size_t* bytes_written) argument
|
H A D | test_utils_win.cc | 21 size_t bytes_to_write, 26 if (!WriteFile(handle.handle, buffer, static_cast<DWORD>(bytes_to_write), 19 BlockingWrite(const embedder::PlatformHandle& handle, const void* buffer, size_t bytes_to_write, size_t* bytes_written) argument
|
/external/chromium_org/ppapi/cpp/private/ |
H A D | tcp_socket_private.h | 46 int32_t bytes_to_write,
|
H A D | tcp_socket_private.cc | 203 int32_t bytes_to_write, 207 pp_resource(), buffer, bytes_to_write, 212 pp_resource(), buffer, bytes_to_write, 217 pp_resource(), buffer, bytes_to_write, 202 Write(const char* buffer, int32_t bytes_to_write, const CompletionCallback& callback) argument
|
/external/chromium_org/ppapi/c/ |
H A D | ppb_tcp_socket.h | 194 * @param[in] bytes_to_write The number of bytes to write. 203 int32_t bytes_to_write, 292 int32_t bytes_to_write,
|
H A D | ppb_file_io.h | 209 * @param[in] bytes_to_write The number of bytes to write to 223 int32_t bytes_to_write, 324 int32_t bytes_to_write,
|
/external/chromium_org/content/child/npapi/ |
H A D | plugin_stream.cc | 197 int bytes_to_write = instance_->NPP_WriteReady(&stream_); local 198 if (bytes_to_write > bytes_remaining) 199 bytes_to_write = bytes_remaining; 201 if (bytes_to_write == 0) 205 &stream_, data_offset_, bytes_to_write, 218 bytes_consumed = std::min(bytes_consumed, bytes_to_write);
|
/external/chromium_org/base/files/ |
H A D | file_proxy.cc | 205 const char* buffer, int bytes_to_write) 207 buffer_(new char[bytes_to_write]), 208 bytes_to_write_(bytes_to_write), 210 memcpy(buffer_.get(), buffer, bytes_to_write); 315 int bytes_to_write, 318 if (bytes_to_write <= 0 || buffer == NULL) 322 new WriteHelper(this, file_.Pass(), buffer, bytes_to_write); 203 WriteHelper(FileProxy* proxy, File file, const char* buffer, int bytes_to_write) argument 313 Write(int64 offset, const char* buffer, int bytes_to_write, const WriteCallback& callback) argument
|
H A D | file_proxy.h | 110 // This returns false if |bytes_to_write| is less than or equal to zero, 114 int bytes_to_write,
|
/external/chromium_org/chrome/utility/image_writer/ |
H A D | image_writer.cc | 126 int bytes_to_write = bytes_read + (kMemoryAlignment - 1) - local 128 DCHECK_EQ(0, bytes_to_write % kMemoryAlignment); 130 device_file_.Write(bytes_processed_, buffer.get(), bytes_to_write);
|
/external/chromium_org/ppapi/c/private/ |
H A D | ppb_tcp_socket_private.h | 144 * This method won't write more than 1 megabyte, so if |bytes_to_write| 150 int32_t bytes_to_write, 199 int32_t bytes_to_write, 232 int32_t bytes_to_write,
|
/external/chromium_org/ppapi/cpp/ |
H A D | tcp_socket.cc | 127 int32_t bytes_to_write, 131 pp_resource(), buffer, bytes_to_write, 136 pp_resource(), buffer, bytes_to_write, 126 Write(const char* buffer, int32_t bytes_to_write, const CompletionCallback& callback) argument
|
H A D | file_io.h | 183 /// @param[in] bytes_to_write The number of bytes to write to 194 int32_t bytes_to_write,
|
H A D | tcp_socket.h | 148 /// @param[in] bytes_to_write The number of bytes to write. 155 int32_t bytes_to_write,
|
/external/chromium_org/ppapi/thunk/ |
H A D | ppb_file_io_api.h | 41 int32_t bytes_to_write,
|
H A D | ppb_tcp_socket_api.h | 32 int32_t bytes_to_write,
|
H A D | ppb_tcp_socket_private_api.h | 40 int32_t bytes_to_write,
|