/external/blktrace/ |
H A D | blktrace.c | 837 static int net_send_data(int fd, void *buf, unsigned int buf_len) argument 840 unsigned int bytes_left = buf_len; 853 return buf_len - bytes_left;
|
/external/bluetooth/bluedroid/bta/hf_client/ |
H A D | bta_hf_client_at.c | 107 static void bta_hf_client_queue_at(tBTA_HF_CLIENT_AT_CMD cmd, const char *buf, UINT16 buf_len) argument 116 new_cmd->buf_len = buf_len; 118 memcpy(new_cmd->buf, buf, buf_len); 169 static void bta_hf_client_send_at(tBTA_HF_CLIENT_AT_CMD cmd, char *buf, UINT16 buf_len) argument 178 APPL_TRACE_DEBUG("%s %.*s", __FUNCTION__, buf_len - 1, buf); 182 PORT_WriteData(bta_hf_client_cb.scb.conn_handle, buf, buf_len, &len); 189 bta_hf_client_queue_at(cmd, buf, buf_len); 203 bta_hf_client_send_at(cur->cmd, cur->buf, cur->buf_len);
|
H A D | bta_hf_client_at.h | 84 UINT16 buf_len; member in struct:queued_at_cmd
|
/external/bluetooth/bluedroid/stack/avct/ |
H A D | avct_lcb_act.c | 58 UINT16 buf_len; local 118 buf_len = GKI_get_buf_size(p_lcb->p_rx_msg) - sizeof(BT_HDR); 125 if ((p_lcb->p_rx_msg->offset + p_buf->len) > buf_len)
|
/external/bluetooth/bluedroid/stack/avdt/ |
H A D | avdt_api.c | 1307 AVDT_API extern UINT16 AVDT_SetMediaBuf(UINT8 handle, UINT8 *p_buf, UINT32 buf_len) argument 1326 p_scb->media_buf_len = buf_len;
|
H A D | avdt_msg.c | 1361 UINT16 buf_len; local 1421 buf_len = GKI_get_buf_size(p_ccb->p_rx_msg) - sizeof(BT_HDR); 1428 if ((p_ccb->p_rx_msg->offset + p_buf->len) > buf_len)
|
/external/bluetooth/bluedroid/stack/avrc/ |
H A D | avrc_api.c | 359 UINT16 buf_len; local 435 buf_len = GKI_get_buf_size (p_rcb->p_rmsg) - sizeof(BT_HDR); 440 if ((p_rcb->p_rmsg->offset + p_pkt->len) > buf_len) 443 p_pkt->len = buf_len - p_rcb->p_rmsg->offset;
|
H A D | avrc_pars_ct.c | 117 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 D | avrc_pars_tg.c | 42 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/bluetooth/bluedroid/stack/gatt/ |
H A D | gatt_sr.c | 837 UINT16 s_hdl = 0, e_hdl = 0, buf_len; local 847 buf_len = (UINT16)(sizeof(BT_HDR) + p_tcb->payload_size + L2CAP_MIN_OFFSET); 849 if ((p_msg = (BT_HDR *)GKI_getbuf(buf_len)) == NULL) 857 memset(p_msg, 0, buf_len); 862 buf_len = p_tcb->payload_size - 2; 874 reason = gatt_build_find_info_rsp(p_rcb, p_msg, &buf_len, s_hdl, e_hdl); 980 buf_len, local 1018 buf_len = p_tcb->payload_size - 2; 1044 &buf_len, 1183 UINT16 buf_len local [all...] |
/external/chromium_org/base/strings/ |
H A D | 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/base/third_party/symbolize/ |
H A D | symbolize.cc | 398 explicit LineReader(int fd, char *buf, int buf_len) : fd_(fd), argument 399 buf_(buf), buf_len_(buf_len), bol_(buf), eol_(buf), eod_(buf) {
|
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/ |
H A D | webkit_file_stream_writer_impl.cc | 70 int buf_len, 78 return local_file_writer_->Write(buf, buf_len, callback); 89 weak_ptr_factory_.GetWeakPtr(), make_scoped_refptr(buf), buf_len)); 134 int buf_len, 176 int result = local_file_writer_->Write(buf, buf_len, callback); 69 Write(net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) argument 132 WriteAfterCreateWritableSnapshotFile( net::IOBuffer* buf, int buf_len, base::File::Error open_result, const base::FilePath& local_path, const base::Closure& close_callback_on_ui_thread) argument
|
/external/chromium_org/chrome/browser/devtools/ |
H A D | devtools_network_transaction.cc | 195 int buf_len, 199 int rv = network_transaction_->Read(buf, buf_len, proxy_callback_); 193 Read( net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) argument
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
H A D | mtp_device_async_delegate.cc | 10 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 D | mtp_device_async_delegate.h | 53 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 D | mtp_file_stream_reader.cc | 47 int buf_len, 60 buf_len, 84 int MTPFileStreamReader::Read(net::IOBuffer* buf, int buf_len, argument 96 if (current_offset_ == 0 && buf_len >= net::kMaxBytesToSniff) { 100 header_buf_len = buf_len; 115 buf_len, 121 ReadBytes(url_, buf, current_offset_, buf_len, 149 net::IOBuffer* buf, int buf_len, 171 ReadBytes(url_, buf, current_offset_, buf_len, 43 ReadBytes( const storage::FileSystemURL& url, const scoped_refptr<net::IOBuffer>& buf, int64 offset, int buf_len, const MTPDeviceAsyncDelegate::ReadBytesSuccessCallback& success_callback, const net::CompletionCallback& error_callback) argument 147 FinishValidateMediaHeader( net::IOBuffer* header_buf, net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback, const base::File::Info& file_info, int header_bytes_read) argument
|
H A D | readahead_file_stream_reader.cc | 33 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/chromium_org/chrome/browser/media_galleries/linux/ |
H A D | mtp_device_delegate_impl_linux.cc | 415 int buf_len, 426 buf_len, 554 net::IOBuffer* buf, int64 offset, int buf_len, 562 file_id, buf, offset, buf_len, 411 ReadBytes( const base::FilePath& device_file_path, const scoped_refptr<net::IOBuffer>& buf, int64 offset, int buf_len, const ReadBytesSuccessCallback& success_callback, const ErrorCallback& error_callback) argument 552 ReadBytesInternal( const base::FilePath& device_file_path, net::IOBuffer* buf, int64 offset, int buf_len, const ReadBytesSuccessCallback& success_callback, const ErrorCallback& error_callback) argument
|
/external/chromium_org/chrome/browser/media_galleries/win/ |
H A D | mtp_device_delegate_impl_win.cc | 453 int buf_len, 449 ReadBytes( const base::FilePath& device_file_path, const scoped_refptr<net::IOBuffer>& buf, int64 offset, int buf_len, const ReadBytesSuccessCallback& success_callback, const ErrorCallback& error_callback) argument
|
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
H A D | goobsdiff.c | 238 /* Recompress buf of size buf_len using bzip2 or gzip. The smallest version is 244 static char make_small(u_char **buf, off_t *buf_len) argument 247 off_t source_len = *buf_len; 263 if (bz2_len < *buf_len) { 266 *buf_len = bz2_len; 282 if (gz_len < *buf_len) { 285 *buf_len = gz_len; 310 if (lzma_pos < *buf_len) { 313 *buf_len = lzma_pos;
|
/external/chromium_org/content/browser/appcache/ |
H A D | appcache_response.cc | 110 net::IOBuffer* buf, int buf_len) { 113 index, offset, buf, buf_len, 121 net::IOBuffer* buf, int buf_len) { 124 index, offset, buf, buf_len, 181 void AppCacheResponseReader::ReadData(net::IOBuffer* buf, int buf_len, argument 186 DCHECK(buf_len >= 0); 191 buffer_len_ = buf_len; 329 net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) { 333 DCHECK(buf_len >= 0); 338 write_amount_ = buf_len; 109 ReadRaw(int index, int offset, net::IOBuffer* buf, int buf_len) argument 120 WriteRaw(int index, int offset, net::IOBuffer* buf, int buf_len) argument 328 WriteData( net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) argument [all...] |
H A D | appcache_response_unittest.cc | 184 void WriteResponseBody(scoped_refptr<IOBuffer> io_buffer, int buf_len) { argument 187 expected_write_result_ = buf_len; 189 buf_len, 194 void ReadResponseBody(scoped_refptr<IOBuffer> io_buffer, int buf_len) { argument 197 expected_read_result_ = buf_len; 199 buf_len,
|
H A D | appcache_url_request_job_unittest.cc | 322 void WriteResponseBody(scoped_refptr<IOBuffer> io_buffer, int buf_len) { argument 325 expected_write_result_ = buf_len; 327 buf_len, 332 void ReadResponseBody(scoped_refptr<IOBuffer> io_buffer, int buf_len) { argument 335 expected_read_result_ = buf_len; 337 buf_len,
|
H A D | view_appcache_internals_job.cc | 267 void EmitHexDump(const char *buf, size_t buf_len, size_t total_len, argument 271 static_cast<int>(buf_len), static_cast<int>(total_len)); 272 net::ViewCacheHelper::HexDump(buf, buf_len, out); 273 if (buf_len < total_len)
|