Searched defs:buf_len (Results 1 - 25 of 273) sorted by relevance

1234567891011

/external/chromium_org/net/base/
H A Dzap.cc9 void ZapBuf(void* buf, size_t buf_len) { argument
10 memset(buf, 0x0, buf_len);
H A Dfile_stream_context_posix.cc43 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);
42 Read(IOBuffer* in_buf, int buf_len, const CompletionCallback& callback) argument
61 Write(IOBuffer* in_buf, int buf_len, const CompletionCallback& callback) argument
93 ReadFileImpl( scoped_refptr<IOBuffer> buf, int buf_len) argument
103 WriteFileImpl( scoped_refptr<IOBuffer> buf, int buf_len) argument
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dmtp_device_async_delegate.cc10 uint32 file_id, net::IOBuffer* buf, int64 offset, int buf_len,
16 buf_len(buf_len),
9 ReadBytesRequest( uint32 file_id, net::IOBuffer* buf, int64 offset, int buf_len, const ReadBytesSuccessCallback& success_callback, const ErrorCallback& error_callback) argument
H A Dmtp_device_async_delegate.h53 net::IOBuffer* buf, int64 offset, int buf_len,
61 int buf_len; member in struct:MTPDeviceAsyncDelegate::ReadBytesRequest
92 // Reads up to |buf_len| bytes from |device_file_path| into |buf|. Invokes the
98 int buf_len,
H A Dreadahead_file_stream_reader.cc33 net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) {
40 new net::DrainableIOBuffer(buf, buf_len);
32 Read( net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) argument
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dopen_memstream.cc29 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/libunwind/src/ptrace/
H A D_UPT_get_proc_name.c31 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);
30 _UPT_get_proc_name(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *arg) argument
/external/chromium_org/net/tools/quic/
H A Dquic_default_packet_writer.cc20 size_t buf_len,
25 fd_, buffer, buf_len, self_address, peer_address);
18 WritePacket( const char* buffer, size_t buf_len, const IPAddressNumber& self_address, const IPEndPoint& peer_address) argument
H A Dquic_per_connection_packet_writer.cc23 size_t buf_len,
27 buf_len,
21 WritePacket( const char* buffer, size_t buf_len, const IPAddressNumber& self_address, const IPEndPoint& peer_address) argument
/external/chromium_org/third_party/libsrtp/srtp/crypto/test/
H A Dstat_driver.c71 unsigned int buf_len = 2500; local
112 err_check(cipher_encrypt(c, buffer, &buf_len));
127 err_check(cipher_encrypt(c, buffer, &buf_len));
146 err_check(cipher_encrypt(c, buffer, &buf_len));
161 err_check(cipher_encrypt(c, buffer, &buf_len));
/external/chromium_org/third_party/opus/src/silk/float/
H A Dfind_pitch_lags_FLP.c44 opus_int buf_len; local
56 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length;
59 silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length );
70 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length;
105 silk_LPC_analysis_filter_FLP( res, A, x_buf, buf_len, psEnc->sCmn.pitchEstimationLPCOrder );
/external/libopus/silk/float/
H A Dfind_pitch_lags_FLP.c44 opus_int buf_len; local
56 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length;
59 silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length );
70 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length;
105 silk_LPC_analysis_filter_FLP( res, A, x_buf, buf_len, psEnc->sCmn.pitchEstimationLPCOrder );
/external/libunwind/src/coredump/
H A D_UCD_get_proc_name.c34 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);
33 CD_get_proc_name(struct UCD_info *ui, unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp) argument
58 _UCD_get_proc_name(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *arg) argument
/external/srtp/crypto/test/
H A Dstat_driver.c36 unsigned int buf_len = 2500; local
75 err_check(cipher_encrypt(c, buffer, &buf_len));
90 err_check(cipher_encrypt(c, buffer, &buf_len));
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dsha1-prf.c24 * @buf_len: Number of bytes of key to generate
31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len)
48 while (pos < buf_len) {
49 plen = buf_len - pos;
30 sha1_prf(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, u8 *buf, size_t buf_len) argument
H A Dsha1-tprf.c23 * @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;
29 sha1_t_prf(const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
/external/wpa_supplicant_8/src/crypto/
H A Dsha1-prf.c24 * @buf_len: Number of bytes of key to generate
31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len)
48 while (pos < buf_len) {
49 plen = buf_len - pos;
30 sha1_prf(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, u8 *buf, size_t buf_len) argument
H A Dsha1-tprf.c23 * @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;
29 sha1_t_prf(const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dsha1-prf.c24 * @buf_len: Number of bytes of key to generate
31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len)
48 while (pos < buf_len) {
49 plen = buf_len - pos;
30 sha1_prf(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, u8 *buf, size_t buf_len) argument
H A Dsha1-tprf.c23 * @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;
29 sha1_t_prf(const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
/external/bluetooth/bluedroid/stack/avrc/
H A Davrc_pars_ct.c117 tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_len) argument
122 UNUSED(buf_len);
H A Davrc_pars_tg.c42 UINT8 *p_buf, UINT16 buf_len)
126 for (xx=0; ((xx< p_result->set_app_val.num_val) && (buf_len > size_needed)); xx++)
282 tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len) argument
292 status = avrc_pars_vendor_cmd(&p_msg->vendor, p_result, p_buf, buf_len);
41 avrc_pars_vendor_cmd(tAVRC_MSG_VENDOR *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len) argument
/external/chromium_org/base/strings/
H A Dstringprintf_unittest.cc138 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/http/
H A Dhttp_chunked_decoder.cc69 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...]
/external/chromium_org/net/quic/
H A Dquic_default_packet_writer.cc27 const char* buffer, size_t buf_len,
31 new StringIOBuffer(std::string(buffer, buf_len)));
34 buf_len,
26 WritePacket( const char* buffer, size_t buf_len, const net::IPAddressNumber& self_address, const net::IPEndPoint& peer_address) argument

Completed in 470 milliseconds

1234567891011