/external/chromium_org/base/strings/ |
stringprintf_unittest.cc | 138 const int buf_len = string_util_buf_len + 1; local 139 char src[buf_len + 1]; // Need extra one for NULL-terminator. 140 for (int i = 0; i < buf_len; ++i) 142 src[buf_len] = 0;
|
/external/chromium_org/net/tools/quic/ |
quic_socket_utils.cc | 74 int QuicSocketUtils::ReadPacket(int fd, char* buffer, size_t buf_len, 84 iovec iov = {buffer, buf_len}; 131 int QuicSocketUtils::WritePacket(int fd, const char* buffer, size_t buf_len, 140 iovec iov = {const_cast<char*>(buffer), buf_len};
|
/external/chromium_org/net/udp/ |
udp_socket_win.cc | 252 int buf_len, 254 return RecvFrom(buf, buf_len, NULL, callback); 258 int buf_len, 266 DCHECK_GT(buf_len, 0); 268 int nread = InternalRecvFrom(buf, buf_len, address); 278 int buf_len, 280 return SendToOrWrite(buf, buf_len, NULL, callback); 284 int buf_len, 287 return SendToOrWrite(buf, buf_len, &address, callback); 291 int buf_len, [all...] |
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 40 size_t buf_len ) 59 ret = os_snprintf(buf, buf_len, 68 priv_cmd.used_len = buf_len; 69 priv_cmd.total_len = buf_len;
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
pystrtod.h | 13 PyAPI_FUNC(char *) PyOS_ascii_formatd(char *buffer, size_t buf_len,
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
pystrtod.h | 13 PyAPI_FUNC(char *) PyOS_ascii_formatd(char *buffer, size_t buf_len,
|
/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
dh_ameth.c | 321 size_t buf_len=0; local 337 update_buflen(x->p, &buf_len); 339 if (buf_len == 0) 345 update_buflen(x->g, &buf_len); 346 update_buflen(pub_key, &buf_len); 347 update_buflen(priv_key, &buf_len); 356 m= OPENSSL_malloc(buf_len+10);
|
/external/openssl/crypto/dh/ |
dh_ameth.c | 321 size_t buf_len=0; local 337 update_buflen(x->p, &buf_len); 339 if (buf_len == 0) 345 update_buflen(x->g, &buf_len); 346 update_buflen(pub_key, &buf_len); 347 update_buflen(priv_key, &buf_len); 356 m= OPENSSL_malloc(buf_len+10);
|
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
rsa_ameth.c | 189 size_t buf_len=0; local 191 update_buflen(x->n, &buf_len); 192 update_buflen(x->e, &buf_len); 196 update_buflen(x->d, &buf_len); 197 update_buflen(x->p, &buf_len); 198 update_buflen(x->q, &buf_len); 199 update_buflen(x->dmp1, &buf_len); 200 update_buflen(x->dmq1, &buf_len); 201 update_buflen(x->iqmp, &buf_len); 204 m=(unsigned char *)OPENSSL_malloc(buf_len+10) [all...] |
/external/openssl/crypto/rsa/ |
rsa_ameth.c | 189 size_t buf_len=0; local 191 update_buflen(x->n, &buf_len); 192 update_buflen(x->e, &buf_len); 196 update_buflen(x->d, &buf_len); 197 update_buflen(x->p, &buf_len); 198 update_buflen(x->q, &buf_len); 199 update_buflen(x->dmp1, &buf_len); 200 update_buflen(x->dmq1, &buf_len); 201 update_buflen(x->iqmp, &buf_len); 204 m=(unsigned char *)OPENSSL_malloc(buf_len+10) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
evp_enc.c | 255 ctx->buf_len=0; 328 if(ctx->buf_len == 0 && (inl&(ctx->block_mask)) == 0) 341 i=ctx->buf_len; 349 ctx->buf_len+=inl; 376 ctx->buf_len=i; 409 bl=ctx->buf_len; 479 if (b > 1 && !ctx->buf_len) 520 if(ctx->buf_len) 530 if (ctx->buf_len || !ctx->final_used)
|
/external/openssl/crypto/evp/ |
evp_enc.c | 255 ctx->buf_len=0; 328 if(ctx->buf_len == 0 && (inl&(ctx->block_mask)) == 0) 341 i=ctx->buf_len; 349 ctx->buf_len+=inl; 376 ctx->buf_len=i; 409 bl=ctx->buf_len; 479 if (b > 1 && !ctx->buf_len) 520 if(ctx->buf_len) 530 if (ctx->buf_len || !ctx->final_used)
|
/external/chromium/net/http/ |
http_stream_parser.cc | 135 int HttpStreamParser::ReadResponseBody(IOBuffer* buf, int buf_len, 140 DCHECK_LE(buf_len, kMaxBufSize); 146 user_read_buf_len_ = buf_len; 304 int buf_len = static_cast<int>(request_body_->buf_len()); local 310 } else if (buf_len) { 312 std::string chunk_header = StringPrintf("%X\r\n", buf_len); 316 memcpy(chunk_ptr, request_body_->buf()->data(), buf_len); 317 chunk_ptr += buf_len; 319 chunk_length_without_encoding_ = buf_len; 334 int buf_len = static_cast<int>(request_body_->buf_len()); local [all...] |
http_proxy_client_socket.h | 89 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 90 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
ecparam.c | 479 size_t buf_len = 0, tmp_len = 0; local 525 if ((tmp_len = (size_t)BN_num_bytes(ec_p)) > buf_len) 526 buf_len = tmp_len; 527 if ((tmp_len = (size_t)BN_num_bytes(ec_a)) > buf_len) 528 buf_len = tmp_len; 529 if ((tmp_len = (size_t)BN_num_bytes(ec_b)) > buf_len) 530 buf_len = tmp_len; 531 if ((tmp_len = (size_t)BN_num_bytes(ec_gen)) > buf_len) 532 buf_len = tmp_len; 533 if ((tmp_len = (size_t)BN_num_bytes(ec_order)) > buf_len) [all...] |
/external/openssl/apps/ |
ecparam.c | 479 size_t buf_len = 0, tmp_len = 0; local 525 if ((tmp_len = (size_t)BN_num_bytes(ec_p)) > buf_len) 526 buf_len = tmp_len; 527 if ((tmp_len = (size_t)BN_num_bytes(ec_a)) > buf_len) 528 buf_len = tmp_len; 529 if ((tmp_len = (size_t)BN_num_bytes(ec_b)) > buf_len) 530 buf_len = tmp_len; 531 if ((tmp_len = (size_t)BN_num_bytes(ec_gen)) > buf_len) 532 buf_len = tmp_len; 533 if ((tmp_len = (size_t)BN_num_bytes(ec_order)) > buf_len) [all...] |
/external/chromium_org/jingle/glue/ |
pseudotcp_adapter_unittest.cc | 115 virtual int Read(net::IOBuffer* buf, int buf_len, 123 static_cast<int>(incoming_packets_.front().size()), buf_len); 130 read_buffer_size_ = buf_len; 135 virtual int Write(net::IOBuffer* buf, int buf_len, 143 std::vector<char>(buf->data(), buf->data() + buf_len)), 147 return buf_len;
|
/external/chromium_org/net/quic/ |
quic_http_stream.cc | 157 IOBuffer* buf, int buf_len, const CompletionCallback& callback) { 159 CHECK(buf_len); 165 while (!response_body_.empty() && buf_len > 0) { 167 const int bytes_to_copy = std::min(buf_len, data->size()); 169 buf_len -= bytes_to_copy; 196 user_buffer_len_ = buf_len;
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_wext.c | 131 static int wpa_driver_wext_set_cscan_params(char *buf, size_t buf_len, char *cmd) 160 if ((size_t)(bp + 12) >= buf_len) 281 int wpa_driver_wext_driver_cmd( void *priv, char *cmd, char *buf, size_t buf_len ) 288 wpa_printf(MSG_DEBUG, "%s %s len = %d", __func__, cmd, buf_len); 325 iwr.u.data.length = buf_len; 330 iwr.u.data.length = wpa_driver_wext_set_cscan_params(buf, buf_len, cmd);
|
/external/chromium/net/socket/ |
socket_test_util.cc | 710 int MockTCPClientSocket::Read(net::IOBuffer* buf, int buf_len, 720 pending_buf_len_ = buf_len; 743 int MockTCPClientSocket::Write(net::IOBuffer* buf, int buf_len, 746 DCHECK_GT(buf_len, 0); 751 std::string data(buf->data(), buf_len); 831 int buf_len = pending_buf_len_; local 842 result = std::min(buf_len, read_data_.data_len - read_offset_); 913 net::IOBuffer* buf, int buf_len, net::CompletionCallback* callback) { 915 DCHECK_GT(buf_len, 0); 920 std::string data(buf->data(), buf_len); [all...] |
socks5_client_socket.h | 71 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 72 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
|
socks_client_socket.h | 68 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 69 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
|
ssl_client_socket_mac.h | 66 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 67 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
socket.py | 362 buf_len = buf.tell() 363 if buf_len >= size: 373 left = size - buf_len 388 if n == size and not buf_len: 401 buf_len += n 403 #assert buf_len == buf.tell() 466 buf_len = buf.tell() 467 if buf_len >= size: 483 left = size - buf_len 490 if buf_len [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
socket.py | 362 buf_len = buf.tell() 363 if buf_len >= size: 373 left = size - buf_len 388 if n == size and not buf_len: 401 buf_len += n 403 #assert buf_len == buf.tell() 466 buf_len = buf.tell() 467 if buf_len >= size: 483 left = size - buf_len 490 if buf_len [all...] |