/external/chromium_org/remoting/protocol/ |
fake_session.h | 56 virtual int Read(net::IOBuffer* buf, int buf_len, 58 virtual int Write(net::IOBuffer* buf, int buf_len, 81 void DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, 83 void DoWrite(net::IOBuffer* buf, int buf_len); 125 virtual int Read(net::IOBuffer* buf, int buf_len, 127 virtual int Write(net::IOBuffer* buf, int buf_len,
|
/external/chromium/net/socket/ |
ssl_server_socket_unittest.cc | 51 virtual int Read(IOBuffer* buf, int buf_len, 56 read_buf_len_ = buf_len; 59 return PropogateData(buf, buf_len); 62 virtual int Write(IOBuffer* buf, int buf_len, 64 data_.push(new net::DrainableIOBuffer(buf, buf_len)); 66 return buf_len; 114 virtual int Read(IOBuffer* buf, int buf_len, 116 return incoming_->Read(buf, buf_len, callback); 119 virtual int Write(IOBuffer* buf, int buf_len, 121 return outgoing_->Write(buf, buf_len, callback) [all...] |
tcp_client_socket_libevent.cc | 381 int buf_len, 389 DCHECK_GT(buf_len, 0); 391 int nread = HANDLE_EINTR(read(socket_, buf->data(), buf_len)); 414 read_buf_len_ = buf_len; 420 int buf_len, 428 DCHECK_GT(buf_len, 0); 430 int nwrite = InternalWrite(buf, buf_len); 451 write_buf_len_ = buf_len; 456 int TCPClientSocketLibevent::InternalWrite(IOBuffer* buf, int buf_len) { 462 buf_len = std::min(kMaxFastOpenSendLength, buf_len) [all...] |
/external/chromium_org/net/base/ |
file_stream.h | 107 // asynchronously. Up to buf_len bytes will be copied into buf. (In 126 virtual int Read(IOBuffer* buf, int buf_len, 130 // synchronously. Up to buf_len bytes will be copied into buf. (In 137 virtual int ReadSync(char* buf, int buf_len); 139 // Performs the same as ReadSync, but ensures that exactly buf_len bytes 144 virtual int ReadUntilComplete(char *buf, int buf_len); 147 // asynchronously. Up to buf_len bytes will be written from buf. (In 168 virtual int Write(IOBuffer* buf, int buf_len, 172 // synchronously. Up to buf_len bytes will be written from buf. (In 181 virtual int WriteSync(const char* buf, int buf_len); [all...] |
/external/chromium_org/webkit/browser/appcache/ |
appcache_response.cc | 110 net::IOBuffer* buf, int buf_len) { 113 index, offset, buf, buf_len, 121 net::IOBuffer* buf, int buf_len) { 124 index, offset, buf, buf_len, 181 void AppCacheResponseReader::ReadData(net::IOBuffer* buf, int buf_len, 186 DCHECK(buf_len >= 0); 191 buffer_len_ = buf_len; 329 net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) { 333 DCHECK(buf_len >= 0); 338 write_amount_ = buf_len; [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_synchronous_entry.cc | 179 buf_len(buf_len_p) {} 187 buf_len(buf_len_p), 280 in_entry_op.buf_len); 302 int buf_len = in_entry_op.buf_len; local 305 bool extending_by_write = offset + buf_len > out_entry_stat->data_size[index]; 318 if (buf_len > 0) { 320 files_[index], file_offset, in_buf->data(), buf_len) != buf_len) { 327 if (!truncate && (buf_len > 0 || !extending_by_write)) [all...] |
simple_entry_impl.h | 78 int buf_len, 83 int buf_len, 88 int buf_len, 92 int buf_len, 170 int buf_len, 176 int buf_len,
|
/external/chromium_org/net/socket/ |
ssl_server_socket_unittest.cc | 64 int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback) { 70 read_buf_len_ = buf_len; 73 return PropogateData(buf, buf_len); 76 int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback) { 87 data_.push(new net::DrainableIOBuffer(buf, buf_len)); 91 return buf_len; 167 virtual int Read(IOBuffer* buf, int buf_len, 170 buf_len = rand() % buf_len + 1; 171 return incoming_->Read(buf, buf_len, callback) [all...] |
tcp_listen_socket_unittest.cc | 170 const int buf_len = 200; local 171 char buf[buf_len+1]; 175 buf + recv_len, buf_len - recv_len, 0)); 201 const int buf_len = sizeof(kHelloWorld); local 204 while (recv_len < buf_len-1) { 206 buf + recv_len, buf_len - 1 - recv_len, 0));
|
/external/chromium/net/base/ |
file_stream_win.cc | 222 char* buf, int buf_len, CompletionCallback* callback) { 240 if (!ReadFile(file_, buf, buf_len, &bytes_read, overlapped)) { 260 int FileStream::ReadUntilComplete(char *buf, int buf_len) { 261 int to_read = buf_len; 276 } while (bytes_total < buf_len); 282 const char* buf, int buf_len, CompletionCallback* callback) { 299 if (!WriteFile(file_, buf, buf_len, &bytes_written, overlapped)) {
|
upload_data_stream_unittest.cc | 53 stream->MarkConsumedAndFillBuffer(stream->buf_len()); 78 read_counter += stream->buf_len(); 79 stream->MarkConsumedAndFillBuffer(stream->buf_len());
|
/external/openssh/ |
ssh-pkcs11-helper.c | 210 u_int buf_len; local 215 buf_len = buffer_len(&iqueue); 216 if (buf_len < 5) 224 if (buf_len < msg_len + 4) 227 buf_len -= 4; 247 if (buf_len < buffer_len(&iqueue)) { 251 consumed = buf_len - buffer_len(&iqueue);
|
/external/chromium_org/net/udp/ |
udp_socket_libevent.h | 56 int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); 61 int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback); 65 // |buf_len| is the maximum amount of data to read. 77 int buf_len, 83 // |buf_len| is the number of bytes to send 91 int buf_len, 215 int buf_len, 220 int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address); 221 int InternalSendTo(IOBuffer* buf, int buf_len, const IPEndPoint* address);
|
udp_socket_win.h | 58 int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); 63 int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback); 67 // |buf_len| is the maximum amount of data to read. 79 int buf_len, 85 // |buf_len| is the number of bytes to send 93 int buf_len, 181 int buf_len, 186 int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address); 187 int InternalSendTo(IOBuffer* buf, int buf_len, const IPEndPoint* address);
|
/external/wpa_supplicant_8/src/ap/ |
peerkey_auth.c | 87 size_t buf_len; local 117 buf_len = kde.rsn_ie_len + 2 + RSN_SELECTOR_LEN + ETH_ALEN; 118 buf = os_malloc(buf_len); 152 size_t buf_len; local 161 buf_len = 2 + RSN_SELECTOR_LEN + ETH_ALEN + 165 pos = buf = os_malloc(buf_len); 205 size_t buf_len; local 214 buf_len = kde->rsn_ie_len + 219 pos = buf = os_malloc(buf_len);
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
webkit_file_stream_writer_impl.cc | 70 int buf_len, 78 return local_file_writer_->Write(buf, buf_len, callback); 89 weak_ptr_factory_.GetWeakPtr(), make_scoped_refptr(buf), buf_len)); 134 int buf_len, 172 int result = local_file_writer_->Write(buf, buf_len, callback);
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
find_pitch_lags_FIX.c | 43 opus_int buf_len, i, scale; local 55 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; 58 silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); 69 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length; 109 silk_LPC_analysis_filter( res, x_buf, A_Q12, buf_len, psEnc->sCmn.pitchEstimationLPCOrder );
|
/external/chromium_org/third_party/opus/src/silk/float/ |
find_pitch_lags_FLP.c | 43 opus_int buf_len; local 55 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; 58 silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); 69 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length; 104 silk_LPC_analysis_filter_FLP( res, A, x_buf, buf_len, psEnc->sCmn.pitchEstimationLPCOrder );
|
/external/dhcpcd/ |
bpf.c | 57 int buf_len = 0; local 94 if (ioctl(fd, BIOCGBLEN, &buf_len) == -1) 96 if (iface->buffer_size != (size_t)buf_len) { 98 iface->buffer_size = buf_len; 99 iface->buffer = xmalloc(buf_len);
|
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_pars_ct.c | 42 static tAVRC_STS avrc_pars_vendor_rsp(tAVRC_MSG_VENDOR *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_len) 116 tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_len) 126 status = avrc_pars_vendor_rsp(&p_msg->vendor, p_result, p_buf, buf_len);
|
/external/chromium/net/tools/dump_cache/ |
cache_dumper.h | 38 net::IOBuffer* buf, int buf_len, 54 net::IOBuffer* buf, int buf_len, 72 net::IOBuffer* buf, int buf_len,
|
cache_dumper.cc | 23 net::IOBuffer* buf, int buf_len, 25 return entry->WriteData(index, offset, buf, buf_len, callback, false); 149 net::IOBuffer* buf, int buf_len, 160 if (!net::HttpCache::ParseResponseInfo(buf->data(), buf_len, 166 return buf_len; 192 len = buf_len;
|
/external/chromium_org/net/tools/dump_cache/ |
cache_dumper.h | 37 net::IOBuffer* buf, int buf_len, 53 net::IOBuffer* buf, int buf_len, 70 net::IOBuffer* buf, int buf_len,
|
/external/chromium_org/webkit/browser/fileapi/ |
local_file_stream_writer.h | 37 virtual int Write(net::IOBuffer* buf, int buf_len, 60 void ReadyToWrite(net::IOBuffer* buf, int buf_len, 64 int InitiateWrite(net::IOBuffer* buf, int buf_len,
|
/external/chromium_org/content/browser/renderer_host/p2p/ |
socket_host_udp_unittest.cc | 55 virtual int RecvFrom(net::IOBuffer* buf, int buf_len, 62 static_cast<int>(incoming_packets_.front().second.size()), buf_len); 70 recv_size_ = buf_len; 76 virtual int SendTo(net::IOBuffer* buf, int buf_len, 80 std::vector<char> data_vector(buffer->data(), buffer->data() + buf_len); 82 return buf_len;
|