/external/chromium_org/net/http/ |
http_chunked_decoder.cc | 69 int HttpChunkedDecoder::FilterBuf(char* buf, int buf_len) { 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) { [all...] |
http_chunked_decoder.h | 97 int FilterBuf(char* buf, int buf_len); 103 int ScanForChunkRemaining(const char* buf, int buf_len);
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
mtp_device_async_delegate.cc | 10 uint32 file_id, net::IOBuffer* buf, int64 offset, int buf_len, 16 buf_len(buf_len),
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
open_memstream.cc | 29 size_t buf_len; local 30 fprintf(stderr, " &buf %p, &buf_len %p\n", &buf, &buf_len); 31 FILE *fp = open_memstream(&buf, &buf_len); 35 check_mem_is_good(&buf_len, sizeof(buf_len)); 36 check_mem_is_good(buf, buf_len); 45 fprintf(stderr, " %p addr %p, len %zu\n", &buf, buf, buf_len); 47 check_mem_is_good(&buf_len, sizeof(buf_len)); [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/libunwind/src/ptrace/ |
_UPT_get_proc_name.c | 31 char *buf, size_t buf_len, unw_word_t *offp, void *arg) 36 return _Uelf64_get_proc_name (as, ui->pid, ip, buf, buf_len, offp); 38 return _Uelf32_get_proc_name (as, ui->pid, ip, buf, buf_len, offp);
|
/external/chromium_org/net/base/ |
zap.cc | 9 void ZapBuf(void* buf, size_t buf_len) { 10 memset(buf, 0x0, buf_len);
|
zap.h | 17 void ZapBuf(void* buf, size_t buf_len);
|
file_stream.cc | 57 int buf_len, 63 DCHECK_GT(buf_len, 0); 65 return context_->Read(buf, buf_len, callback); 69 int buf_len, 74 DCHECK_GE(buf_len, 0); 75 return context_->Write(buf, buf_len, callback);
|
file_stream_context_posix.cc | 43 int buf_len, 51 base::Bind(&Context::ReadFileImpl, base::Unretained(this), buf, buf_len), 62 int buf_len, 70 base::Bind(&Context::WriteFileImpl, base::Unretained(this), buf, buf_len), 95 int buf_len) { 96 int res = file_.ReadAtCurrentPosNoBestEffort(buf->data(), buf_len); 105 int buf_len) { 106 int res = file_.WriteAtCurrentPosNoBestEffort(buf->data(), buf_len);
|
/external/chromium_org/net/socket/ |
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/libunwind/src/coredump/ |
_UCD_get_proc_name.c | 34 char *buf, size_t buf_len, unw_word_t *offp) 52 ret = elf_w (get_proc_name_in_image) (as, &ui->edi.ei, segbase, mapoff, ip, buf, buf_len, offp); 59 char *buf, size_t buf_len, unw_word_t *offp, void *arg) 64 return _Uelf64_CD_get_proc_name (ui, as, ip, buf, buf_len, offp); 66 return _Uelf32_CD_get_proc_name (ui, as, ip, buf, buf_len, offp);
|
/external/libunwind/src/mi/ |
Gget_proc_name.c | 31 unw_word_t addr, char *buf, size_t buf_len, void *arg) 36 for (i = 0; i < buf_len; ++i) 44 buf[buf_len - 1] = '\0'; /* ensure string is NUL terminated */ 50 char *buf, size_t buf_len, unw_word_t *offp, void *arg) 69 ret = intern_string (as, a, di->u.pi.name_ptr, buf, buf_len, arg); 93 return (*a->get_proc_name) (as, ip, buf, buf_len, offp, arg); 99 unw_get_proc_name (unw_cursor_t *cursor, char *buf, size_t buf_len, 104 return get_proc_name (tdep_get_as (c), tdep_get_ip (c), buf, buf_len, offp, 111 size_t buf_len, unw_word_t *offp, void *as_arg) 113 return get_proc_name (as, ip, buf, buf_len, offp, as_arg) [all...] |
/bionic/libc/bionic/ |
strerror_r.cpp | 47 int strerror_r(int error_number, char* buf, size_t buf_len) { 53 length = strlcpy(buf, error_name, buf_len); 55 length = __libc_format_buffer(buf, buf_len, "Unknown error %d", error_number); 57 if (length >= buf_len) { 65 extern "C" __LIBC_HIDDEN__ const char* __strsignal(int signal_number, char* buf, size_t buf_len) { 76 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); 77 if (length >= buf_len) {
|
/external/chromium_org/net/quic/ |
quic_packet_writer.h | 27 const char* buffer, size_t buf_len,
|
quic_server_packet_writer.cc | 31 size_t buf_len, 37 WriteResult result = WritePacket(buffer, buf_len, self_address, peer_address); 67 size_t buf_len, 71 new StringIOBuffer(std::string(buffer, buf_len))); 75 if (buf_len <= static_cast<size_t>(std::numeric_limits<int>::max())) { 77 static_cast<int>(buf_len),
|
/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; 331 ctx->buf_len=0; 334 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...] |
/external/chromium_org/net/disk_cache/memory/ |
mem_entry_impl.h | 96 virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, 98 virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, 101 virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, 103 virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, 122 int InternalReadData(int index, int offset, IOBuffer* buf, int buf_len); 123 int InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, 125 int InternalReadSparseData(int64 offset, IOBuffer* buf, int buf_len); 126 int InternalWriteSparseData(int64 offset, IOBuffer* buf, int buf_len); 132 void PrepareTarget(int index, int offset, int buf_len);
|
mem_entry_impl.cc | 186 int MemEntryImpl::ReadData(int index, int offset, IOBuffer* buf, int buf_len, 191 CreateNetLogReadWriteDataCallback(index, offset, buf_len, false)); 194 int result = InternalReadData(index, offset, buf, buf_len); 204 int MemEntryImpl::WriteData(int index, int offset, IOBuffer* buf, int buf_len, 209 CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate)); 212 int result = InternalWriteData(index, offset, buf, buf_len, truncate); 222 int MemEntryImpl::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, 227 CreateNetLogSparseOperationCallback(offset, buf_len)); 229 int result = InternalReadSparseData(offset, buf, buf_len); 235 int MemEntryImpl::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, [all...] |
/external/chromium_org/net/tools/quic/ |
quic_default_packet_writer.cc | 20 size_t buf_len, 25 fd_, buffer, buf_len, self_address, peer_address);
|
quic_packet_writer_wrapper.cc | 21 size_t buf_len, 24 return writer_->WritePacket(buffer, buf_len, self_address, peer_address);
|
quic_per_connection_packet_writer.cc | 23 size_t buf_len, 27 buf_len,
|
/external/chromium_org/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 | 26 int buf_len, 28 return socket_.Read(buf, buf_len, callback); 32 int buf_len, 34 return socket_.Write(buf, buf_len, callback);
|