/external/chromium/net/http/ |
partial_data.h | 86 // Reads up to |data_len| bytes from the cache and stores them in the provided 91 int CacheRead(disk_cache::Entry* entry, IOBuffer* data, int data_len, 94 // Writes |data_len| bytes to cache. This is basically a wrapper around the 96 int CacheWrite(disk_cache::Entry* entry, IOBuffer* data, int data_len,
|
http_cache_transaction.h | 239 int ReadFromNetwork(IOBuffer* data, int data_len); 242 int ReadFromEntry(IOBuffer* data, int data_len); 247 int WriteToEntry(int index, int offset, IOBuffer* data, int data_len, 256 int AppendResponseDataToEntry(IOBuffer* data, int data_len,
|
partial_data.cc | 279 int data_len, CompletionCallback* callback) { 280 int read_len = std::min(data_len, cached_min_len_); 299 int data_len, CompletionCallback* callback) { 301 return entry->WriteSparseData(current_range_start_, data, data_len, 308 data, data_len, callback, true);
|
/external/qemu/ |
gen-skin.py | 35 data_len = len(data) 40 print "static const unsigned char %s[%d] = {" % (data_name, data_len + data_add)
|
/external/wpa_supplicant/ |
rc4.c | 28 * @data_len: buf length 35 u8 *data, size_t data_len) 64 for (k = 0; k < data_len; k++) {
|
sha1.h | 22 void hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, 25 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
eap_gpsk_common.c | 48 const u8 *data /* Z */, size_t data_len, 62 vlen[1] = data_len; 82 const u8 *data /* Z */, size_t data_len, 96 vlen[1] = data_len; 124 size_t data_len, mk_len; local 125 int (*gkdf)(const u8 *psk, const u8 *data, size_t data_len, 147 data_len = 2 + psk_len + 6 + seed_len; 148 data = os_malloc(data_len); 162 data, data_len); 164 if (gkdf(psk, data, data_len, mk, mk_len) < 0) [all...] |
preauth_test.c | 60 const void *data, u16 data_len, 65 *msg_len = sizeof(*hdr) + data_len; 72 hdr->length = htons(data_len); 75 os_memcpy(hdr + 1, data, data_len); 77 os_memset(hdr + 1, 0, data_len); 87 const void *data, u16 data_len, 90 return wpa_alloc_eapol(wpa_s, type, data, data_len, msg_len, data_pos);
|
ndis_events.c | 200 char *data, size_t data_len) 212 if (2 + data_len > (size_t) (end - pos)) { 214 "data (%d)", data_len); 217 *pos++ = data_len >> 8; 218 *pos++ = data_len & 0xff; 219 os_memcpy(pos, data, data_len); 220 pos += data_len; 254 size_t data_len; local 270 data_len = upper - lower + 1; 271 data = os_malloc(data_len); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
rc4.c | 28 * @data_len: buf length 35 u8 *data, size_t data_len) 64 for (k = 0; k < data_len; k++) {
|
sha1.h | 22 void hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, 25 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
/external/chromium/net/socket/ |
socket_test_util.h | 53 MockRead() : async(false), result(0), data(NULL), data_len(0) {} 57 data_len(0) { } 61 data_len(strlen(data)) { } 65 data_len(strlen(data)) { } 68 MockRead(bool async, const char* data, int data_len) : async(async), 69 result(0), data(data), data_len(data_len) { } 74 int data_len; member in struct:net::MockRead 79 // by {data, data_len}, and the return value of Write() is controlled by 138 bool at_read_eof() const { return reads_[read_index_].data_len == 0; [all...] |
socket_test_util.cc | 186 if (read_data_.data_len - read_offset_ > 0) { 187 result = std::min(buf_len, read_data_.data_len - read_offset_); 190 if (read_offset_ == read_data_.data_len) { 289 reads_[read_index_].data_len != 0) 311 std::string expected_data(w->data, w->data_len); 313 std::string actual_data(data.substr(0, w->data_len)); 318 result = w->data_len; 337 if (short_read_limit_ == 0 || result.data_len <= short_read_limit_) { 340 result.data_len = short_read_limit_; 341 reads_.front().data += result.data_len; [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
preauth_test.c | 59 const void *data, u16 data_len, 64 *msg_len = sizeof(*hdr) + data_len; 71 hdr->length = htons(data_len); 74 os_memcpy(hdr + 1, data, data_len); 76 os_memset(hdr + 1, 0, data_len); 86 const void *data, u16 data_len, 89 return wpa_alloc_eapol(wpa_s, type, data, data_len, msg_len, data_pos);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_gpsk_common.c | 48 const u8 *data /* Z */, size_t data_len, 62 vlen[1] = data_len; 83 const u8 *data /* Z */, size_t data_len, 97 vlen[1] = data_len; 125 size_t data_len, mk_len; local 148 data_len = 2 + psk_len + 6 + seed_len; 149 data = os_malloc(data_len); 163 data, data_len); 165 if (gkdf(psk, data, data_len, mk, mk_len) < 0) {
|
/external/kernel-headers/original/linux/ |
ipmi_smi.h | 148 unsigned int data_len, 159 if (data_len >= 15) {
|
/external/chromium/net/disk_cache/ |
disk_cache_perftest.cc | 34 int data_len; member in struct:__anon2413::TestEntry 63 entry.data_len = rand() % kMaxSize; 75 ret = cache_entry->WriteData(1, 0, buffer2, entry.data_len, &callback, 79 else if (entry.data_len != ret) 121 ret = cache_entry->ReadData(1, 0, buffer2, entries[i].data_len, &callback); 124 else if (entries[i].data_len != ret)
|
/external/grub/stage2/ |
boot.c | 46 unsigned long flags = 0, text_len = 0, data_len = 0, bss_len = 0; local 151 data_len = 0; 210 data_len = pu.aout->a_data; 267 data_len = setup_sects << 9; 268 text_len = filemax - data_len - SECTOR_SIZE; 284 (big_linux ? "bzImage" : "zImage"), data_len, text_len); 376 /* It is possible that DATA_LEN + SECTOR_SIZE is greater than 378 if (data_len + SECTOR_SIZE <= MULTIBOOT_SEARCH) 380 data_len + SECTOR_SIZE); 385 data_len + SECTOR_SIZE - MULTIBOOT_SEARCH) [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
tipc_config.h | 395 void *data, __u16 data_len) 400 msg_len = TCM_LENGTH(data_len); 405 if (data_len && data) 406 memcpy(TCM_DATA(msg), data, data_len); local 407 return TCM_SPACE(data_len);
|
ipmi.h | 168 unsigned short data_len; member in struct:ipmi_msg 176 unsigned short data_len; member in struct:kernel_ipmi_msg
|
/external/iproute2/tc/ |
em_nbyte.c | 108 int data_len) 114 if (data_len < sizeof(*nb)) { 119 if (data_len < sizeof(*nb) + nb->len) {
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
ndis_events.c | 200 char *data, size_t data_len) 212 if (2 + data_len > (size_t) (end - pos)) { 214 "data (%d)", data_len); 217 *pos++ = data_len >> 8; 218 *pos++ = data_len & 0xff; 219 os_memcpy(pos, data, data_len); 220 pos += data_len; 254 size_t data_len; local 270 data_len = upper - lower + 1; 271 data = os_malloc(data_len); [all...] |
/external/chromium/base/ |
pickle.cc | 42 Pickle::Pickle(const char* data, int data_len) 44 header_size_(data_len - header_->payload_size), 314 bool Pickle::WriteBytes(const void* data, int data_len) { 317 char* dest = BeginWrite(data_len); 321 memcpy(dest, data, data_len); 323 EndWrite(dest, data_len);
|
/external/iptables/libipq/ |
libipq.c | 315 size_t data_len, 332 pm.msg.verdict.data_len = data_len; 339 if (data_len && buf) { 341 iov[2].iov_len = data_len; 342 tlen += data_len;
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_psk.c | 191 size_t buflen, left, data_len, len, plen; local 316 data_len = 1; 318 data_len++; 319 plen = sizeof(*hdr4) + 4 + 16 + data_len; 329 rpchannel = wpabuf_put(resp, 4 + 16 + data_len); 350 rpchannel + 4 + 16, data_len); 354 rpchannel + 4 + 16, data_len, rpchannel + 4)) { 360 rpchannel, 4 + 16 + data_len);
|