/external/chromium_org/net/base/ |
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) { 36 return ReturnError(FileStream::ReadSync(buf, buf_len)); 39 int MockFileStream::ReadUntilComplete(char *buf, int buf_len) { 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) { 50 return ReturnError(FileStream::WriteSync(buf, buf_len)); [all...] |
zap.cc | 9 void ZapBuf(void* buf, size_t buf_len) { 10 memset(buf, 0x0, buf_len);
|
mock_file_stream.h | 37 int buf_len, 39 virtual int ReadSync(char* buf, int buf_len) OVERRIDE; 40 virtual int ReadUntilComplete(char *buf, int buf_len) OVERRIDE; 42 int buf_len, 44 virtual int WriteSync(const char* buf, int buf_len) OVERRIDE;
|
/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...] |
/external/chromium/net/udp/ |
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.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_socket_libevent.cc | 126 int buf_len, 128 return RecvFrom(buf, buf_len, NULL, callback); 132 int buf_len, 140 DCHECK_GT(buf_len, 0); 142 int nread = InternalRecvFrom(buf, buf_len, address); 154 read_buf_len_ = buf_len; 161 int buf_len, 163 return SendToOrWrite(buf, buf_len, NULL, callback); 167 int buf_len, 170 return SendToOrWrite(buf, buf_len, &address, callback) [all...] |
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,
|
/external/chromium_org/net/http/ |
http_chunked_decoder.cc | 67 int HttpChunkedDecoder::FilterBuf(char* buf, int buf_len) { 70 while (buf_len) { 72 int num = std::min(chunk_remaining_, buf_len); 74 buf_len -= num; 85 bytes_after_eof_ += buf_len; 89 int bytes_consumed = ScanForChunkRemaining(buf, buf_len); 93 buf_len -= bytes_consumed; 94 if (buf_len) 95 memmove(buf, buf + bytes_consumed, buf_len); 101 int HttpChunkedDecoder::ScanForChunkRemaining(const char* buf, int buf_len) { [all...] |
/external/wpa_supplicant_8/src/crypto/ |
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 = data_len [all...] |
sha1-tprf.c | 23 * @buf_len: Number of bytes of key to generate 30 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) 51 output_len[0] = (buf_len >> 8) & 0xff; 52 output_len[1] = buf_len & 0xff; 54 while (pos < buf_len) { 56 plen = buf_len - pos;
|
sha1.h | 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len); 21 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len);
|
sha256-prf.c | 24 * @buf_len: Number of bytes of key to generate 30 const u8 *data, size_t data_len, u8 *buf, size_t buf_len) 32 sha256_prf_bits(key, key_len, label, data, data_len, buf, buf_len * 8); 44 * @buf_len: Number of bits of key to generate 47 * given key. If the requested buf_len is not divisible by eight, the least 61 size_t buf_len = (buf_len_bits + 7) / 8; local 74 while (pos < buf_len) { 75 plen = buf_len - pos;
|
/bionic/libc/bionic/ |
strerror_r.cpp | 46 int strerror_r(int error_number, char* buf, size_t buf_len) { 52 length = snprintf(buf, buf_len, "%s", error_name); 54 length = snprintf(buf, buf_len, "Unknown error %d", error_number); 56 if (length >= buf_len) { 64 extern "C" __LIBC_HIDDEN__ const char* __strsignal(int signal_number, char* buf, size_t buf_len) { 75 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); 76 if (length >= buf_len) {
|
/external/chromium_org/third_party/openssl/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/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_org/third_party/openssl/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...] |
/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...] |
/external/chromium_org/net/udp/ |
udp_client_socket.cc | 26 int buf_len, 28 return socket_.Read(buf, buf_len, callback); 32 int buf_len, 34 return socket_.Write(buf, buf_len, callback);
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_peap_common.h | 14 u8 *buf, size_t buf_len);
|
/external/compiler-rt/lib/sanitizer_common/ |
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/disk_cache/ |
tracing_cache_backend.cc | 23 virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, 25 virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, 28 virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, 30 virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, 46 int buf_len; member in struct:disk_cache::EntryProxy::RwOpExtra 93 int EntryProxy::ReadData(int index, int offset, IOBuffer* buf, int buf_len, 99 extra.buf_len = buf_len; 102 index, offset, buf, buf_len, 111 int EntryProxy::WriteData(int index, int offset, IOBuffer* buf, int buf_len, [all...] |
/external/chromium_org/net/disk_cache/flash/ |
log_store_entry.cc | 78 int buf_len) { 84 if (offset >= stream_size || offset < 0 || buf_len == 0) 86 if (offset + buf_len > stream_size) 87 buf_len = stream_size - offset; 91 if (store_->ReadData(id_, buf->data(), buf_len, offset)) 92 return buf_len; 95 memcpy(buf->data(), &streams_[index].write_buffer[offset], buf_len); 96 return buf_len; 100 int buf_len) { 105 DCHECK(offset >= 0 && buf_len >= 0) [all...] |
/external/chromium/net/socket/ |
ssl_server_socket_openssl.cc | 24 virtual int Read(IOBuffer* buf, int buf_len, 30 virtual int Write(IOBuffer* buf, int buf_len,
|