/external/chromium_org/media/base/ |
fake_text_track_stream.cc | 48 const int data_len = static_cast<int>(content.size()); local 59 buffer = DecoderBuffer::CopyFrom(data_buf, data_len, sd_buf, sd_len);
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
rtpdump.h | 193 // data_len is its length. 194 talk_base::StreamResult WriteRtpPacket(const void* data, size_t data_len) { 195 return WritePacket(data, data_len, GetElapsedTime(), false); 197 talk_base::StreamResult WriteRtcpPacket(const void* data, size_t data_len) { 198 return WritePacket(data, data_len, GetElapsedTime(), true); 216 talk_base::StreamResult WritePacket(const void* data, size_t data_len, 218 size_t FilterPacket(const void* data, size_t data_len, bool rtcp); 219 talk_base::StreamResult WriteToStream(const void* data, size_t data_len);
|
rtpdump.cc | 135 uint16 data_len; local 143 buf.ReadUInt16(&data_len); 144 packet->original_data_len = data_len; 353 const void* data, size_t data_len, uint32 elapsed, bool rtcp) { 354 if (!stream_ || !data || 0 == data_len) return talk_base::SR_ERROR; 367 size_t write_len = FilterPacket(data, data_len, rtcp); 376 buf.WriteUInt16(static_cast<uint16>(rtcp ? 0 : data_len)); 387 size_t RtpDumpWriter::FilterPacket(const void* data, size_t data_len, 393 filtered_len = data_len; 397 if (GetRtpHeaderLen(data, data_len, &header_len)) 419 << data_len << " bytes."; local [all...] |
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ip_queue.h | 33 size_t data_len; /* Length of packet data */ member in struct:ipq_packet_msg 46 size_t data_len; /* Length of replacement data */ member in struct:ipq_verdict_msg
|
/external/qemu/ |
gen-skin.py | 35 data_len = len(data) 40 print "static const unsigned char %s[%d] = {" % (data_name, data_len + data_add)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter_ipv4/ |
ip_queue.h | 25 size_t data_len; /* Length of packet data */ member in struct:ipq_packet_msg 38 size_t data_len; /* Length of replacement data */ member in struct:ipq_verdict_msg
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter_ipv4/ |
ip_queue.h | 25 size_t data_len; /* Length of packet data */ member in struct:ipq_packet_msg 38 size_t data_len; /* Length of replacement data */ member in struct:ipq_verdict_msg
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter_ipv4/ |
ip_queue.h | 25 size_t data_len; /* Length of packet data */ member in struct:ipq_packet_msg 38 size_t data_len; /* Length of replacement data */ member in struct:ipq_verdict_msg
|
/external/chromium/chrome/browser/download/ |
base_file.cc | 63 bool BaseFile::AppendDataToFile(const char* data, size_t data_len) { 71 if (data_len == 0) 74 bytes_so_far_ += data_len; 77 size_t written = file_stream_->Write(data, data_len, NULL); 78 if (written != data_len) 82 secure_hash_->Update(data, data_len);
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
rtpdump.h | 169 // data_len is its length. 170 talk_base::StreamResult WriteRtpPacket(const void* data, size_t data_len) { 171 return WritePacket(data, data_len, GetElapsedTime(), false); 173 talk_base::StreamResult WriteRtcpPacket(const void* data, size_t data_len) { 174 return WritePacket(data, data_len, GetElapsedTime(), true); 192 talk_base::StreamResult WritePacket(const void* data, size_t data_len,
|
/external/chromium/webkit/glue/ |
webcursor.cc | 74 int type, hotspot_x, hotspot_y, size_x, size_y, data_len; local 84 !pickle->ReadData(iter, &data, &data_len)) 98 if (size_x * size_y * 4 > data_len) 108 if (data_len > 0) { 109 custom_data_.resize(data_len); 110 memcpy(&custom_data_[0], data, data_len);
|
/external/chromium_org/webkit/common/cursors/ |
webcursor.cc | 82 int type, hotspot_x, hotspot_y, size_x, size_y, data_len; local 93 !iter->ReadData(&data, &data_len)) 113 if (size_x * size_y * 4 > data_len) 124 if (data_len > 0) { 125 custom_data_.resize(data_len); 126 memcpy(&custom_data_[0], data, data_len);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
stream.cc | 58 StreamResult StreamInterface::WriteAll(const void* data, size_t data_len, 62 while (total_written < data_len) { 64 data_len - total_written, ¤t_written, error); 203 StreamResult StreamTap::Write(const void* data, size_t data_len, 209 StreamResult res = StreamAdapterInterface::Write(data, data_len, 320 StreamResult NullStream::Write(const void* data, size_t data_len, 322 if (written) *written = data_len; 412 StreamResult FileStream::Write(const void* data, size_t data_len, 416 size_t result = fwrite(data, 1, data_len, file_); 417 if ((result == 0) && (data_len > 0)) [all...] |
sslstreamadapter_unittest.cc | 148 talk_base::StreamResult WriteData(const void* data, size_t data_len, 150 return out_->Write(data, data_len, written, error); 154 virtual talk_base::StreamResult Write(const void* data, size_t data_len, 320 size_t data_len, size_t *written, 324 LOG(LS_INFO) << "Randomly dropping packet, size=" << data_len; 325 *written = data_len; 328 if (dtls_ && (data_len > mtu_)) { 329 LOG(LS_INFO) << "Dropping packet > mtu, size=" << data_len; 330 *written = data_len; 338 std::vector<char> buf(data_len); [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
stream.h | 75 // data_len bytes stored in data. The variables read and write are set only 89 virtual StreamResult Write(const void* data, size_t data_len, 131 // The buffer contains data_len bytes. NULL is returned if no data is 137 virtual const void* GetReadData(size_t* data_len) { return NULL; } 154 // Write data_len bytes found in data, circumventing any throttling which 164 //virtual bool ForceWrite(const void* data, size_t data_len, int* error) { 211 StreamResult WriteAll(const void* data, size_t data_len, 256 virtual StreamResult Write(const void* data, size_t data_len, 258 return stream_->Write(data, data_len, written, error); 270 virtual const void* GetReadData(size_t* data_len) { [all...] |
opensslstreamadapter.cc | 207 StreamResult OpenSSLStreamAdapter::Write(const void* data, size_t data_len, 209 LOG(LS_INFO) << "OpenSSLStreamAdapter::Write(" << data_len << ")"; 214 return StreamAdapterInterface::Write(data, data_len, written, error); 232 if (data_len == 0) { 240 int code = SSL_write(ssl_, data, data_len); 244 ASSERT(0 < code && static_cast<unsigned>(code) <= data_len); 266 StreamResult OpenSSLStreamAdapter::Read(void* data, size_t data_len, 268 LOG(LS_INFO) << "OpenSSLStreamAdapter::Read(" << data_len << ")"; 272 return StreamAdapterInterface::Read(data, data_len, read, error); 292 if (data_len == 0) [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_gpsk_common.c | 39 const u8 *data /* Z */, size_t data_len, 53 vlen[1] = data_len; 74 const u8 *data /* Z */, size_t data_len, 88 vlen[1] = data_len; 116 size_t data_len, mk_len; local 139 data_len = 2 + psk_len + 6 + seed_len; 140 data = os_malloc(data_len); 154 data, data_len); 156 if (gkdf(psk, data, data_len, mk, mk_len) < 0) { 349 size_t data_len; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
preauth_test.c | 48 const void *data, u16 data_len, 53 *msg_len = sizeof(*hdr) + data_len; 60 hdr->length = htons(data_len); 63 os_memcpy(hdr + 1, data, data_len); 65 os_memset(hdr + 1, 0, data_len); 75 const void *data, u16 data_len, 78 return wpa_alloc_eapol(wpa_s, type, data, data_len, msg_len, data_pos);
|
/external/chromium/net/spdy/ |
spdy_frame_builder.h | 36 SpdyFrameBuilder(const char* data, int data_len); 75 bool WriteBytes(const void* data, uint16 data_len); 84 bool WriteBytesToOffset(int offset, const void* data, uint32 data_len) { 85 if (offset + data_len > length_) 88 memcpy(ptr, data, data_len);
|
/external/chromium_org/net/spdy/ |
spdy_frame_builder.cc | 134 bool SpdyFrameBuilder::WriteBytes(const void* data, uint32 data_len) { 135 if (!CanWrite(data_len)) { 139 char* dest = GetWritableBuffer(data_len); 140 memcpy(dest, data, data_len); 141 Seek(data_len);
|
/external/chromium_org/third_party/openssl/openssl/crypto/hmac/ |
hmactest.c | 87 int data_len; member in struct:test_st 137 ebcdic2ascii(test[0].data, test[0].data, test[0].data_len); 138 ebcdic2ascii(test[1].data, test[1].data, test[1].data_len); 140 ebcdic2ascii(test[2].data, test[2].data, test[2].data_len); 147 test[i].data, test[i].data_len,
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
nfc_hal_api.c | 189 void HAL_NfcWrite (UINT16 data_len, UINT8 *p_data) 196 if (data_len > (NCI_MAX_CTRL_SIZE + NCI_MSG_HDR_SIZE)) 198 HAL_TRACE_ERROR1 ("HAL_NfcWrite (): too many bytes (%d)", data_len); 207 p_msg->len = data_len; 208 memcpy ((UINT8 *)(p_msg+1) + p_msg->offset, p_data, data_len);
|
/external/openssl/crypto/hmac/ |
hmactest.c | 87 int data_len; member in struct:test_st 137 ebcdic2ascii(test[0].data, test[0].data, test[0].data_len); 138 ebcdic2ascii(test[1].data, test[1].data, test[1].data_len); 140 ebcdic2ascii(test[2].data, test[2].data, test[2].data_len); 147 test[i].data, test[i].data_len,
|
/external/bluetooth/bluedroid/stack/hcic/ |
hciblecmds.c | 215 BOOLEAN btsnd_hcic_ble_set_adv_data (UINT8 data_len, UINT8 *p_data) 233 if (p_data != NULL && data_len > 0) 235 if (data_len > HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA) 236 data_len = HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA; 238 UINT8_TO_STREAM (pp, data_len); 240 ARRAY_TO_STREAM (pp, p_data, data_len); 246 BOOLEAN btsnd_hcic_ble_set_scan_rsp_data (UINT8 data_len, UINT8 *p_scan_rsp) 264 if (p_scan_rsp != NULL && data_len > 0) 267 if (data_len > HCIC_PARAM_SIZE_BLE_WRITE_SCAN_RSP ) 268 data_len = HCIC_PARAM_SIZE_BLE_WRITE_SCAN_RSP [all...] |
/external/chromium/chrome/browser/ui/ |
window_sizer_linux.cc | 68 gint data_len = 0; local 77 &data_len, // returned data len 83 if (data_len < static_cast<gint>(4 * sizeof(glong))) {
|