/external/chromium/net/http/ |
http_chunked_decoder.cc | 63 int HttpChunkedDecoder::FilterBuf(char* buf, int buf_len) { 66 while (buf_len) { 68 int num = std::min(chunk_remaining_, buf_len); 70 buf_len -= num; 81 bytes_after_eof_ += buf_len; 85 int bytes_consumed = ScanForChunkRemaining(buf, buf_len); 89 buf_len -= bytes_consumed; 90 if (buf_len) 91 memmove(buf, buf + bytes_consumed, buf_len); 97 int HttpChunkedDecoder::ScanForChunkRemaining(const char* buf, int buf_len) { [all...] |
http_chunked_decoder.h | 92 int FilterBuf(char* buf, int buf_len); 98 int ScanForChunkRemaining(const char* 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 | 20 // Reads data, up to buf_len bytes, from the socket. The number of bytes read 31 virtual int Read(IOBuffer* buf, int buf_len, 34 // Writes data, up to buf_len bytes, to the socket. Note: only part of the 46 virtual int Write(IOBuffer* buf, int buf_len,
|
ssl_server_socket_openssl.cc | 24 virtual int Read(IOBuffer* buf, int buf_len, 30 virtual int Write(IOBuffer* buf, int buf_len,
|
/external/chromium/net/udp/ |
datagram_server_socket.h | 28 // |buf_len| is the maximum amount of data to read. 40 int buf_len, 46 // |buf_len| is the number of bytes to send 54 int buf_len,
|
udp_client_socket.cc | 25 int buf_len, 27 return socket_.Read(buf, buf_len, callback); 31 int buf_len, 33 return socket_.Write(buf, buf_len, callback);
|
udp_server_socket.cc | 22 int buf_len, 25 return socket_.RecvFrom(buf, buf_len, address, callback); 29 int buf_len, 32 return socket_.SendTo(buf, buf_len, address, callback);
|
udp_client_socket.h | 26 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 27 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
|
udp_server_socket.h | 28 int buf_len, 32 int buf_len,
|
udp_socket_libevent.h | 54 int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 59 int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 63 // |buf_len| is the maximum amount of data to read. 75 int buf_len, 81 // |buf_len| is the number of bytes to send 89 int buf_len, 149 int buf_len, 153 int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address); 154 int InternalSendTo(IOBuffer* buf, int buf_len, const IPEndPoint* address);
|
udp_socket_win.h | 56 int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 61 int Write(IOBuffer* buf, int buf_len, 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, 137 int buf_len, 141 int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address); 142 int InternalSendTo(IOBuffer* buf, int buf_len, const IPEndPoint* address);
|
/external/wpa_supplicant_8/src/crypto/ |
aes-eax.c | 39 size_t buf_len; local 45 buf_len = nonce_len; 47 buf_len = data_len; 48 if (hdr_len > buf_len) 49 buf_len = hdr_len; 50 buf_len += 16; 52 buf = os_malloc(buf_len); 103 size_t buf_len; local 109 buf_len = nonce_len; 111 buf_len = data_len [all...] |
sha1-tprf.c | 29 * @buf_len: Number of bytes of key to generate 36 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) 57 output_len[0] = (buf_len >> 8) & 0xff; 58 output_len[1] = buf_len & 0xff; 60 while (pos < buf_len) { 62 plen = buf_len - pos;
|
/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/wpa_supplicant_8/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/disk_cache/ |
mem_entry_impl.h | 101 virtual int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len, 103 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, 106 virtual int ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len, 108 virtual int WriteSparseData(int64 offset, net::IOBuffer* buf, int buf_len, 127 int InternalReadData(int index, int offset, net::IOBuffer* buf, int buf_len); 128 int InternalWriteData(int index, int offset, net::IOBuffer* buf, int buf_len, 130 int InternalReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len); 131 int InternalWriteSparseData(int64 offset, net::IOBuffer* buf, int buf_len); 137 void PrepareTarget(int index, int offset, int buf_len);
|
mem_entry_impl.cc | 170 int buf_len, net::CompletionCallback* completion_callback) { 175 new ReadWriteDataParameters(index, offset, buf_len, false))); 178 int result = InternalReadData(index, offset, buf, buf_len); 189 int buf_len, net::CompletionCallback* completion_callback, bool truncate) { 194 new ReadWriteDataParameters(index, offset, buf_len, truncate))); 197 int result = InternalWriteData(index, offset, buf, buf_len, truncate); 207 int MemEntryImpl::ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len, 213 new SparseOperationParameters(offset, buf_len))); 215 int result = InternalReadSparseData(offset, buf, buf_len); 221 int MemEntryImpl::WriteSparseData(int64 offset, net::IOBuffer* buf, int buf_len, [all...] |
/external/chromium/net/base/ |
file_stream_posix.cc | 61 int ReadFile(base::PlatformFile file, char* buf, int buf_len) { 66 ssize_t res = HANDLE_EINTR(read(file, buf, static_cast<size_t>(buf_len))); 74 int buf_len, 76 callback->Run(ReadFile(file, buf, buf_len)); 82 int WriteFile(base::PlatformFile file, const char* buf, int buf_len) { 84 ssize_t res = HANDLE_EINTR(write(file, buf, buf_len)); 92 int buf_len, 94 callback->Run(WriteFile(file, buf, buf_len)); 140 base::PlatformFile file, char* buf, int buf_len, 143 base::PlatformFile file, const char* buf, int buf_len, [all...] |
file_stream.h | 69 // buf_len bytes will be copied into buf. (In other words, partial reads are 87 int Read(char* buf, int buf_len, CompletionCallback* callback); 89 // Performs the same as Read, but ensures that exactly buf_len bytes 94 int ReadUntilComplete(char *buf, int buf_len); 97 // buf_len bytes will be written from buf. (In other words, partial writes are 115 int Write(const char* buf, int buf_len, CompletionCallback* callback);
|