/external/chromium_org/content/test/net/ |
D | url_request_slow_download_job.cc | 140 int bytes_to_write = std::min(kFirstDownloadSize - bytes_already_sent_, in FillBufferHelper() local 142 for (int i = 0; i < bytes_to_write; ++i) { in FillBufferHelper() 145 *bytes_written = bytes_to_write; in FillBufferHelper() 146 bytes_already_sent_ += bytes_to_write; in FillBufferHelper() 154 int bytes_to_write = in FillBufferHelper() local 157 for (int i = 0; i < bytes_to_write; ++i) { in FillBufferHelper() 160 *bytes_written = bytes_to_write; in FillBufferHelper() 161 bytes_already_sent_ += bytes_to_write; in FillBufferHelper()
|
/external/chromium_org/net/tools/flip_server/ |
D | ring_buffer.cc | 54 int bytes_to_write = size; in Write() local 56 if (bytes_available < bytes_to_write) { in Write() 57 bytes_to_write = bytes_available; in Write() 59 const char* end = bytes + bytes_to_write; in Write() 69 bytes_used_ += bytes_to_write; in Write() 70 return bytes_to_write; in Write()
|
/external/chromium/net/tools/flip_server/ |
D | ring_buffer.cc | 77 int bytes_to_write = size; in Write() local 79 if (bytes_available < bytes_to_write) { in Write() 80 bytes_to_write = bytes_available; in Write() 82 const char* end = bytes + bytes_to_write; in Write() 92 bytes_used_ += bytes_to_write; in Write() 93 return bytes_to_write; in Write()
|
/external/chromium_org/content/child/npapi/ |
D | plugin_stream.cc | 197 int bytes_to_write = instance_->NPP_WriteReady(&stream_); in TryWriteToPlugin() local 198 if (bytes_to_write > bytes_remaining) in TryWriteToPlugin() 199 bytes_to_write = bytes_remaining; in TryWriteToPlugin() 201 if (bytes_to_write == 0) in TryWriteToPlugin() 205 &stream_, data_offset_, bytes_to_write, in TryWriteToPlugin() 218 bytes_consumed = std::min(bytes_consumed, bytes_to_write); in TryWriteToPlugin()
|
/external/chromium_org/base/files/ |
D | file_util_proxy.cc | 163 WriteHelper(const char* buffer, int bytes_to_write) in WriteHelper() argument 164 : buffer_(new char[bytes_to_write]), in WriteHelper() 165 bytes_to_write_(bytes_to_write), in WriteHelper() 167 memcpy(buffer_.get(), buffer, bytes_to_write); in WriteHelper() 323 int bytes_to_write, in Write() argument 325 if (bytes_to_write <= 0 || buffer == NULL) { in Write() 328 WriteHelper* helper = new WriteHelper(buffer, bytes_to_write); in Write()
|
/external/chromium_org/mojo/system/ |
D | raw_channel_posix.cc | 351 size_t bytes_to_write = in WriteFrontMessageNoLock() local 356 bytes_to_write)); in WriteFrontMessageNoLock() 359 PLOG(ERROR) << "write of size " << bytes_to_write; in WriteFrontMessageNoLock() 370 if (static_cast<size_t>(bytes_written) < bytes_to_write) { in WriteFrontMessageNoLock() 375 DCHECK_EQ(static_cast<size_t>(bytes_written), bytes_to_write); in WriteFrontMessageNoLock()
|
/external/zlib/src/contrib/iostream3/ |
D | zfstream.cc | 229 int bytes_to_write = this->pptr() - this->pbase(); in overflow() local 231 if (bytes_to_write > 0) in overflow() 237 if (gzwrite(file, this->pbase(), bytes_to_write) != bytes_to_write) in overflow() 240 this->pbump(-bytes_to_write); in overflow()
|
/external/chromium_org/sandbox/win/src/ |
D | service_resolver_32.cc | 242 size_t bytes_to_write = sizeof(intercepted_code); in PerformPatch() local 256 bytes_to_write = kMinServiceSize; in PerformPatch() 261 bytes_to_write = offsetof(ServiceEntry, mov_edx); in PerformPatch() 283 bytes_to_write, &written)) in PerformPatch() 287 bytes_to_write)) in PerformPatch()
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
D | _stream_base.py | 135 def _write(self, bytes_to_write): argument 141 self._request.connection.write(bytes_to_write)
|
/external/chromium_org/ppapi/c/private/ |
D | ppb_tcp_socket_private.h | 150 int32_t bytes_to_write, 199 int32_t bytes_to_write, 232 int32_t bytes_to_write,
|
/external/chromium_org/ppapi/cpp/private/ |
D | tcp_socket_private.cc | 203 int32_t bytes_to_write, in Write() argument 207 pp_resource(), buffer, bytes_to_write, in Write() 212 pp_resource(), buffer, bytes_to_write, in Write() 217 pp_resource(), buffer, bytes_to_write, in Write()
|
/external/chromium_org/ppapi/cpp/ |
D | tcp_socket.cc | 127 int32_t bytes_to_write, in Write() argument 131 pp_resource(), buffer, bytes_to_write, in Write() 136 pp_resource(), buffer, bytes_to_write, in Write()
|
D | file_io.cc | 134 int32_t bytes_to_write, in Write() argument 138 pp_resource(), offset, buffer, bytes_to_write, in Write() 142 pp_resource(), offset, buffer, bytes_to_write, in Write()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | fake_pepper_interface_html5fs.cc | 100 int32_t bytes_to_write) { in Write() argument 104 size_t new_size = offset + bytes_to_write; in Write() 108 memcpy(contents_.data() + offset, buffer, bytes_to_write); in Write() 110 return bytes_to_write; in Write() 113 int32_t FakeHtml5FsNode::Append(const char* buffer, int32_t bytes_to_write) { in Append() argument 114 return Write(contents_.size(), buffer, bytes_to_write); in Append() 388 int32_t bytes_to_write, in Write() argument 406 result = file_io_resource->node->Append(buffer, bytes_to_write); in Write() 408 result = file_io_resource->node->Write(offset, buffer, bytes_to_write); in Write()
|
D | fake_pepper_interface_html5fs.h | 41 int32_t Write(int64_t offset, const char* buffer, int32_t bytes_to_write); 42 int32_t Append(const char* buffer, int32_t bytes_to_write); 117 int32_t bytes_to_write,
|
/external/chromium_org/ppapi/c/ |
D | ppb_tcp_socket.h | 203 int32_t bytes_to_write, 292 int32_t bytes_to_write,
|
D | ppb_file_io.h | 223 int32_t bytes_to_write, 324 int32_t bytes_to_write,
|
/external/chromium_org/ppapi/proxy/ |
D | tcp_socket_private_resource.cc | 87 int32_t bytes_to_write, in Write() argument 89 return WriteImpl(buffer, bytes_to_write, callback); in Write()
|
D | tcp_socket_resource_base.cc | 247 int32_t bytes_to_write, in WriteImpl() argument 249 if (!buffer || bytes_to_write <= 0) in WriteImpl() 258 if (bytes_to_write > kMaxWriteSize) in WriteImpl() 259 bytes_to_write = kMaxWriteSize; in WriteImpl() 265 PpapiHostMsg_TCPSocket_Write(std::string(buffer, bytes_to_write)), in WriteImpl()
|
D | tcp_socket_resource.cc | 99 int32_t bytes_to_write, in Write() argument 101 return WriteImpl(buffer, bytes_to_write, callback); in Write()
|
/external/chromium_org/google_apis/gcm/base/ |
D | socket_stream_unittest.cc | 144 uint64 bytes_to_write = (static_cast<uint64>(size) < bytes ? size : bytes); in DoOutputStreamWrite() local 147 bytes_to_write); in DoOutputStreamWrite() 148 if (bytes_to_write < static_cast<uint64>(size)) in DoOutputStreamWrite() 149 socket_output_stream_->BackUp(size - bytes_to_write); in DoOutputStreamWrite() 150 total_bytes_written += bytes_to_write; in DoOutputStreamWrite()
|
/external/chromium_org/components/nacl/loader/ |
D | nacl_ipc_adapter.cc | 192 size_t bytes_to_write = std::min(dest_buffer_size, in Read() local 194 if (bytes_to_write == 0) in Read() 197 memcpy(dest_buffer, &data_[data_read_cursor_], bytes_to_write); in Read() 198 data_read_cursor_ += bytes_to_write; in Read() 215 return static_cast<int>(bytes_to_write); in Read()
|
/external/chromium_org/media/base/android/ |
D | webaudio_media_codec_bridge.cc | 184 int bytes_to_write = (count >= PIPE_BUF) ? PIPE_BUF : count; in OnChunkDecoded() local 187 bytes_to_write)); in OnChunkDecoded()
|
/external/chromium_org/ppapi/thunk/ |
D | ppb_tcp_socket_thunk.cc | 95 int32_t bytes_to_write, in Write() argument 102 bytes_to_write, in Write()
|
D | ppb_file_io_thunk.cc | 90 int32_t bytes_to_write, in Write() argument 98 bytes_to_write, in Write()
|