/external/chromium_org/net/http/ |
H A D | http_chunked_decoder.cc | 69 int HttpChunkedDecoder::FilterBuf(char* buf, int buf_len) { argument 72 while (buf_len) { 74 int num = std::min(chunk_remaining_, buf_len); 76 buf_len -= num; 87 bytes_after_eof_ += buf_len; 91 int bytes_consumed = ScanForChunkRemaining(buf, buf_len); 95 buf_len -= bytes_consumed; 96 if (buf_len) 97 memmove(buf, buf + bytes_consumed, buf_len); 103 int HttpChunkedDecoder::ScanForChunkRemaining(const char* buf, int buf_len) { argument [all...] |
H A D | http_chunked_decoder.h | 97 int FilterBuf(char* buf, int buf_len); 103 int ScanForChunkRemaining(const char* buf, int buf_len);
|
/external/chromium/net/http/ |
H A D | http_chunked_decoder.cc | 63 int HttpChunkedDecoder::FilterBuf(char* buf, int buf_len) { argument 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) { argument [all...] |
H A D | http_chunked_decoder.h | 92 int FilterBuf(char* buf, int buf_len); 98 int ScanForChunkRemaining(const char* buf, int buf_len);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_symbolizer_linux.cc | 30 uptr ReadBinaryName(/*out*/char *buf, uptr buf_len) { 32 "/proc/self/exe", buf, buf_len); 34 if (internal_iserror(buf_len, &readlink_error)) { 37 CHECK_LE(proc_self_exe_cache_len, buf_len); 38 internal_strncpy(buf, proc_self_exe_cache_str, buf_len); 45 module_name_len = internal_snprintf(buf, buf_len, "/proc/self/exe"); 47 CHECK_LT(module_name_len, buf_len);
|
/external/chromium_org/net/base/ |
H A D | mock_file_stream.cc | 30 int buf_len, 32 return ReturnError(FileStream::Read(buf, buf_len, callback)); 35 int MockFileStream::ReadSync(char* buf, int buf_len) { argument 36 return ReturnError(FileStream::ReadSync(buf, buf_len)); 39 int MockFileStream::ReadUntilComplete(char *buf, int buf_len) { argument 40 return ReturnError(FileStream::ReadUntilComplete(buf, buf_len)); 44 int buf_len, 46 return ReturnError(FileStream::Write(buf, buf_len, callback)); 49 int MockFileStream::WriteSync(const char* buf, int buf_len) { argument 50 return ReturnError(FileStream::WriteSync(buf, buf_len)); 29 Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback) argument 43 Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback) argument [all...] |
H A D | zap.cc | 9 void ZapBuf(void* buf, size_t buf_len) { argument 10 memset(buf, 0x0, buf_len);
|
H A D | zap.h | 17 void ZapBuf(void* buf, size_t buf_len);
|
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
H A D | 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, ct 141 size_t buf_len=0,i; local [all...] |
/external/openssl/crypto/ec/ |
H A D | 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, ct 141 size_t buf_len=0,i; local [all...] |
/external/chromium_org/net/tools/quic/ |
H A D | quic_default_packet_writer.cc | 17 const char* buffer, size_t buf_len, 21 return QuicSocketUtils::WritePacket(fd_, buffer, buf_len, 16 WritePacket( const char* buffer, size_t buf_len, const net::IPAddressNumber& self_address, const net::IPEndPoint& peer_address, QuicBlockedWriterInterface* blocked_writer) argument
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | aes-eax.c | 33 size_t buf_len; local 39 buf_len = nonce_len; 41 buf_len = data_len; 42 if (hdr_len > buf_len) 43 buf_len = hdr_len; 44 buf_len += 16; 46 buf = os_malloc(buf_len); 97 size_t buf_len; local 103 buf_len = nonce_len; 105 buf_len [all...] |
/external/wpa_supplicant_8/src/crypto/ |
H A D | aes-eax.c | 33 size_t buf_len; local 39 buf_len = nonce_len; 41 buf_len = data_len; 42 if (hdr_len > buf_len) 43 buf_len = hdr_len; 44 buf_len += 16; 46 buf = os_malloc(buf_len); 97 size_t buf_len; local 103 buf_len = nonce_len; 105 buf_len [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | aes-eax.c | 33 size_t buf_len; local 39 buf_len = nonce_len; 41 buf_len = data_len; 42 if (hdr_len > buf_len) 43 buf_len = hdr_len; 44 buf_len += 16; 46 buf = os_malloc(buf_len); 97 size_t buf_len; local 103 buf_len = nonce_len; 105 buf_len [all...] |
/external/chromium/net/udp/ |
H A D | 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); 24 Read(IOBuffer* buf, int buf_len, CompletionCallback* callback) argument 30 Write(IOBuffer* buf, int buf_len, CompletionCallback* callback) argument
|
H A D | 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); 21 RecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address, CompletionCallback* callback) argument 28 SendTo(IOBuffer* buf, int buf_len, const IPEndPoint& address, CompletionCallback* callback) argument
|
H A D | 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,
|
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_peap_common.h | 14 u8 *buf, size_t buf_len);
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_peap_common.h | 14 u8 *buf, size_t buf_len);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_peap_common.h | 14 u8 *buf, size_t buf_len);
|
/external/chromium/net/socket/ |
H A D | 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,
|
/external/chromium_org/net/socket/ |
H A D | socket.h | 20 // Reads data, up to |buf_len| bytes, from the socket. The number of bytes 31 virtual int Read(IOBuffer* buf, int buf_len, 34 // Writes data, up to |buf_len| bytes, to the socket. Note: data may be 46 virtual int Write(IOBuffer* buf, int buf_len,
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
H A D | 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 [all...] |
H A D | 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 [all...] |
/external/openssl/crypto/evp/ |
H A D | 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 [all...] |