/external/chromium/net/http/ |
http_chunked_decoder.cc | 58 int HttpChunkedDecoder::FilterBuf(char* buf, int buf_len) { 61 while (buf_len) { 63 int num = std::min(chunk_remaining_, buf_len); 65 buf_len -= num; 76 bytes_after_eof_ += buf_len; 80 int bytes_consumed = ScanForChunkRemaining(buf, buf_len); 84 buf_len -= bytes_consumed; 85 if (buf_len) 86 memmove(buf, buf + bytes_consumed, buf_len); 92 int HttpChunkedDecoder::ScanForChunkRemaining(const char* buf, int buf_len) { [all...] |
http_chunked_decoder.h | 87 int FilterBuf(char* buf, int buf_len); 93 int ScanForChunkRemaining(const char* buf, int buf_len);
|
http_basic_stream.cc | 35 int HttpBasicStream::ReadResponseBody(IOBuffer* buf, int buf_len, 37 return parser_->ReadResponseBody(buf, buf_len, callback);
|
http_stream.h | 54 // Reads response body data, up to |buf_len| bytes. |buf_len| should be a 62 virtual int ReadResponseBody(IOBuffer* buf, int buf_len,
|
/external/openssl/crypto/ec/ |
ec_print.c | 65 size_t buf_len=0; local 68 buf_len = EC_POINT_point2oct(group, point, form, 70 if (buf_len == 0) 73 if ((buf = OPENSSL_malloc(buf_len)) == NULL) 76 if (!EC_POINT_point2oct(group, point, form, buf, buf_len, ctx)) 82 ret = BN_bin2bn(buf, buf_len, ret); 94 size_t buf_len=0; local 98 if ((buf_len = BN_num_bytes(bn)) == 0) return NULL; 99 buf = OPENSSL_malloc(buf_len); 120 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ctx) 141 size_t buf_len=0,i; local [all...] |
/external/chromium/net/socket/ |
socket.h | 19 // Reads data, up to buf_len bytes, from the socket. The number of bytes 26 virtual int Read(IOBuffer* buf, int buf_len, 29 // Writes data, up to buf_len bytes, to the socket. Note: only part of the 38 virtual int Write(IOBuffer* buf, int buf_len,
|
tcp_client_socket_win.h | 36 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 37 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_peap_common.h | 20 u8 *buf, size_t buf_len);
|
eap_peap_common.c | 23 u8 *buf, size_t buf_len) 66 extra[0] = buf_len & 0xff; 75 while (pos < buf_len) { 77 plen = buf_len - pos;
|
/external/openssl/crypto/evp/ |
bio_b64.c | 82 int buf_len; member in struct:b64_struct 119 ctx->buf_len=0; 160 ctx->buf_len=0; 167 if (ctx->buf_len > 0) 169 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); 170 i=ctx->buf_len-ctx->buf_off; 178 if (ctx->buf_len == ctx->buf_off) 180 ctx->buf_len=0; 330 ctx->buf_len=0; 333 ctx->buf_len=z [all...] |
bio_ok.c | 147 size_t buf_len; member in struct:ok_struct 184 ctx->buf_len=0; 229 i=ctx->buf_len-ctx->buf_off; 238 if (ctx->buf_len == ctx->buf_off) 245 ctx->buf_len= ctx->buf_len_save- ctx->buf_off_save; 247 ctx->buf_len); 251 ctx->buf_len=0; 261 n=IOBS- ctx->buf_len; 262 i=BIO_read(b->next_bio,&(ctx->buf[ctx->buf_len]),n); 266 ctx->buf_len+= i [all...] |
bio_enc.c | 78 int buf_len; member in struct:enc_struct 116 ctx->buf_len=0; 154 if (ctx->buf_len > 0) 156 i=ctx->buf_len-ctx->buf_off; 163 if (ctx->buf_len == ctx->buf_off) 165 ctx->buf_len=0; 189 &(ctx->buf_len)); 202 (unsigned char *)ctx->buf,&ctx->buf_len, 211 if(ctx->buf_len == 0) continue; 214 if (ctx->buf_len <= outl [all...] |
/external/chromium/net/base/ |
file_stream_posix.cc | 52 int ReadFile(base::PlatformFile file, char* buf, int buf_len) { 56 ssize_t res = HANDLE_EINTR(read(file, buf, static_cast<size_t>(buf_len))); 65 int WriteFile(base::PlatformFile file, const char* buf, int buf_len) { 66 ssize_t res = HANDLE_EINTR(write(file, buf, buf_len)); 76 BackgroundReadTask(base::PlatformFile file, char* buf, int buf_len, 92 base::PlatformFile file, char* buf, int buf_len, 94 : file_(file), buf_(buf), buf_len_(buf_len), callback_(callback) {} 107 BackgroundWriteTask(base::PlatformFile file, const char* buf, int buf_len, 123 base::PlatformFile file, const char* buf, int buf_len, 125 : file_(file), buf_(buf), buf_len_(buf_len), callback_(callback) { [all...] |
file_stream.h | 66 // buf_len bytes will be copied into buf. (In other words, partial reads are 84 int Read(char* buf, int buf_len, CompletionCallback* callback); 86 // Performs the same as Read, but ensures that exactly buf_len bytes 91 int ReadUntilComplete(char *buf, int buf_len); 94 // buf_len bytes will be written from buf. (In other words, partial writes are 112 int Write(const char* buf, int buf_len, CompletionCallback* callback);
|
/external/chromium/net/disk_cache/ |
mem_entry_impl.cc | 100 int buf_len, net::CompletionCallback* completion_callback) { 107 if (offset >= entry_size || offset < 0 || !buf_len) 110 if (buf_len < 0) 113 if (offset + buf_len > entry_size) 114 buf_len = entry_size - offset; 118 memcpy(buf->data() , &(data_[index])[offset], buf_len); 119 return buf_len; 123 int buf_len, net::CompletionCallback* completion_callback, bool truncate) { 129 if (offset < 0 || buf_len < 0) 134 // offset of buf_len could be negative numbers [all...] |
entry_impl.cc | 189 int EntryImpl::ReadData(int index, int offset, net::IOBuffer* buf, int buf_len, 196 if (offset >= entry_size || offset < 0 || !buf_len) 199 if (buf_len < 0) 204 if (offset + buf_len > entry_size) 205 buf_len = entry_size - offset; 213 DCHECK(kMaxBlockSize >= offset + buf_len); 214 memcpy(buf->data() , user_buffers_[index].get() + offset, buf_len); 216 return buf_len; 238 if (!file->Read(buf->data(), buf_len, file_offset, io_callback, &completed)) { 248 return (completed || !completion_callback) ? buf_len : net::ERR_IO_PENDING [all...] |
mem_entry_impl.h | 61 virtual int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len, 63 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, 66 virtual int ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len, 68 virtual int WriteSparseData(int64 offset, net::IOBuffer* buf, int buf_len, 116 void PrepareTarget(int index, int offset, int buf_len);
|
/libcore/luni/src/main/java/java/net/ |
URLDecoder.java | 106 int buf_len = 0; local 111 str_buf[buf_len] = ' '; 131 System.arraycopy(cb.array(), 0, str_buf, buf_len, len); local 132 buf_len += len; 135 str_buf[buf_len] = c; 138 buf_len++; 140 return new String(str_buf, 0, buf_len);
|
/external/clearsilver/cgi/ |
cgiwrap.h | 148 * buf_len - the length of the buffer in buf 152 NEOERR *cgiwrap_write (const char *buf, int buf_len); 160 * buf_len - the size of the pre-allocated buffer 164 void cgiwrap_read (char *buf, int buf_len, int *read_len);
|
/external/chromium/net/ftp/ |
ftp_transaction.h | 62 int buf_len,
|
/external/openssl/crypto/pkcs7/ |
bio_ber.c | 104 int buf_len; member in struct:bio_ber_struct 174 n=ctx->buf_len-j; 180 ctx->buf_len-j; 185 i=BER_BUF_SIZE-ctx->buf_len; 188 i=BIO_read(bio->next_bio,&(ctx->buf[ctx->buf_len]),i); 195 ctx->buf_len+=i; 198 max=ctx->buf_len; 204 if ((ctx->buf_len < BER_BUF_SIZE) && 282 n=ctx->buf_len-ctx->buf_off; 303 (unsigned char *)ctx->buf,&ctx->buf_len, [all...] |
/external/wpa_supplicant/ |
sha256.h | 25 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
sha256.h | 25 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
mschapv2.h | 32 const u8 *buf, size_t buf_len);
|
/external/chromium/net/tools/dump_cache/ |
cache_dumper.h | 34 net::IOBuffer* buf, int buf_len) = 0; 48 net::IOBuffer* buf, int buf_len); 64 net::IOBuffer* buf, int buf_len);
|