/system/core/sdcard/ |
sdcard.c | 471 struct fuse_out_header hdr; local 472 hdr.len = sizeof(hdr); 473 hdr.error = err; 474 hdr.unique = unique; 478 write(fuse->fd, &hdr, sizeof(hdr)); 483 struct fuse_out_header hdr; local 487 hdr.len = len + sizeof(hdr); [all...] |
/external/webp/src/dec/ |
quant.c | 73 const VP8SegmentHeader* const hdr = &dec->segment_hdr_; local 78 if (hdr->use_segment_) { 79 q = hdr->quantizer_[i]; 80 if (!hdr->absolute_delta_) {
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
auto_fs4.h | 56 struct autofs_packet_hdr hdr; member in struct:autofs_packet_expire_multi 63 struct autofs_packet_hdr hdr; member in union:autofs_packet_union 71 struct autofs_packet_hdr hdr; member in struct:autofs_v5_packet 89 struct autofs_packet_hdr hdr; member in union:autofs_v5_packet_union
|
auto_fs.h | 59 struct autofs_packet_hdr hdr; member in struct:autofs_packet_missing 67 struct autofs_packet_hdr hdr; member in struct:autofs_packet_expire
|
/external/iproute2/tc/ |
m_ematch.c | 180 struct tcf_ematch_hdr hdr = { local 185 hdr.flags |= TCF_EM_INVERT; 191 addraw_l(n, MAX_MSG, &hdr, sizeof(hdr)); 216 hdr.kind = num; 217 if (e->parse_eopt(n, &hdr, t->args->next) < 0) 341 struct tcf_ematch_tree_hdr hdr = { local 348 addattr_l(n, MAX_MSG, TCA_EMATCH_TREE_HDR, &hdr, sizeof(hdr)); 370 struct tcf_ematch_hdr *hdr; local 470 struct tcf_ematch_tree_hdr *hdr; local [all...] |
/external/qemu/ |
loader.c | 357 static void bswap_uboot_header(uboot_image_header_t *hdr) 360 bswap32s(&hdr->ih_magic); 361 bswap32s(&hdr->ih_hcrc); 362 bswap32s(&hdr->ih_time); 363 bswap32s(&hdr->ih_size); 364 bswap32s(&hdr->ih_load); 365 bswap32s(&hdr->ih_ep); 366 bswap32s(&hdr->ih_dcrc); 462 uboot_image_header_t *hdr = &h; local 470 size = read(fd, hdr, sizeof(uboot_image_header_t)) [all...] |
/bootable/bootloader/legacy/usbloader/ |
main.c | 111 boot_img_hdr *hdr = (void*) raw_header; local 128 if(memcmp(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE)) { 133 n = (hdr->kernel_size + (FLASH_PAGE_SIZE - 1)) & (~(FLASH_PAGE_SIZE - 1)); 134 if(flash_read(p, offset, (void*) hdr->kernel_addr, n)) { 140 n = (hdr->ramdisk_size + (FLASH_PAGE_SIZE - 1)) & (~(FLASH_PAGE_SIZE - 1)); 141 if(flash_read(p, offset, (void*) hdr->ramdisk_addr, n)) { 147 dprintf("\nkernel @ %x (%d bytes)\n", hdr->kernel_addr, hdr->kernel_size); 148 dprintf("ramdisk @ %x (%d bytes)\n\n\n", hdr->ramdisk_addr, hdr->ramdisk_size) [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
fst.h | 43 const FstHeader *hdr = 0, 46 : source(src), header(hdr), isymbols(isym), osymbols(osym) {} 57 bool hdr = true, bool isym = true, 59 : source(src), write_header(hdr), 151 FstHeader hdr; local 153 hdr = *opts.header; 155 if (!hdr.Read(strm, opts.source)) 157 ropts.header = &hdr; 161 registr->GetReader(hdr.FstType()); 163 LOG(ERROR) << "Fst::Read: Unknown FST type \"" << hdr.FstType( [all...] |
/external/ipsec-tools/src/racoon/ |
privsep.c | 363 reply->hdr.ac_cmd = combuf->hdr.ac_cmd; 364 reply->hdr.ac_len = sizeof(*reply); 366 switch(combuf->hdr.ac_cmd) { 393 reply->hdr.ac_errno = errno; 398 reply->hdr.ac_len = sizeof(*reply) + privkey->l; 399 reply = racoon_realloc(reply, reply->hdr.ac_len); 523 reply->hdr.ac_errno = errno; 528 reply->hdr.ac_len = sizeof(*reply) + psk->l; 529 reply = racoon_realloc(reply, reply->hdr.ac_len); [all...] |
/external/bluetooth/bluez/cups/ |
hcrp.c | 84 struct hcrp_pdu_hdr hdr; local 90 hdr.pid = htons(HCRP_PDU_CREDIT_GRANT); 91 hdr.tid = htons(tid); 92 hdr.plen = htons(HCRP_CREDIT_GRANT_CP_SIZE); 94 memcpy(buf, &hdr, HCRP_PDU_HDR_SIZE); 104 memcpy(&hdr, buf, HCRP_PDU_HDR_SIZE); 117 struct hcrp_pdu_hdr hdr; local 122 hdr.pid = htons(HCRP_PDU_CREDIT_REQUEST); 123 hdr.tid = htons(tid); 124 hdr.plen = htons(0) 150 struct hcrp_pdu_hdr hdr; local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/io/pem/ |
PemWriter.java | 57 PemHeader hdr = (PemHeader)it.next(); local 59 size += hdr.getName().length() + ": ".length() + hdr.getValue().length() + nlLength; 84 PemHeader hdr = (PemHeader)it.next(); local 86 this.write(hdr.getName()); 88 this.write(hdr.getValue());
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
httpread.c | 80 char hdr[HTTPREAD_HEADER_MAX_SIZE+1]; /* headers stored here */ member in struct:httpread 100 int chunk_start; /* offset in body of chunk hdr or data */ 101 int chunk_size; /* data of chunk (not hdr or ending CRLF)*/ 232 char *hbp = h->hdr; /* pointer into h->hdr */ 452 hbp = h->hdr + h->hdr_nbytes; 479 wpa_printf(MSG_DEBUG, "httpread bad hdr(%p)", h); 485 "httpread no body hdr end(%p)", h); 500 if (!os_strncasecmp(h->hdr, "SUBSCRIBE", 9) || 501 !os_strncasecmp(h->hdr, "UNSUBSCRIBE", 11) | 844 char *hdr = h->hdr; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
iapp.c | 187 struct iapp_hdr *hdr; local 194 hdr = (struct iapp_hdr *) buf; 195 hdr->version = IAPP_VERSION; 196 hdr->command = IAPP_CMD_ADD_notify; 197 hdr->identifier = host_to_be16(iapp->identifier++); 198 hdr->length = host_to_be16(sizeof(*hdr) + sizeof(*add)); 200 add = (struct iapp_add_notify *) (hdr + 1); 279 struct iapp_hdr *hdr, int len) 281 struct iapp_add_notify *add = (struct iapp_add_notify *) (hdr + 1) 327 struct iapp_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/wps/ |
httpread.c | 80 char hdr[HTTPREAD_HEADER_MAX_SIZE+1]; /* headers stored here */ member in struct:httpread 100 int chunk_start; /* offset in body of chunk hdr or data */ 101 int chunk_size; /* data of chunk (not hdr or ending CRLF)*/ 232 char *hbp = h->hdr; /* pointer into h->hdr */ 452 hbp = h->hdr + h->hdr_nbytes; 479 wpa_printf(MSG_DEBUG, "httpread bad hdr(%p)", h); 485 "httpread no body hdr end(%p)", h); 500 if (!os_strncasecmp(h->hdr, "SUBSCRIBE", 9) || 501 !os_strncasecmp(h->hdr, "UNSUBSCRIBE", 11) | 844 char *hdr = h->hdr; local [all...] |
/system/core/gpttool/ |
gpttool.c | 120 struct efi_header *hdr = &ptbl->header; local 129 if (last > hdr->last_lba) { 256 struct efi_header *hdr = &ptbl.header; local 308 memcpy(hdr->magic, EFI_MAGIC, sizeof(hdr->magic)); 309 hdr->version = EFI_VERSION; 310 hdr->header_sz = sizeof(struct efi_header); 311 hdr->header_lba = 1; 312 hdr->backup_lba = sz - 1; 313 hdr->first_lba = 34 [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
wpa_ie.c | 56 const struct wpa_ie_hdr *hdr; local 82 hdr = (const struct wpa_ie_hdr *) wpa_ie; 84 if (hdr->elem_id != WLAN_EID_VENDOR_SPECIFIC || 85 hdr->len != wpa_ie_len - 2 || 86 RSN_SELECTOR_GET(hdr->oui) != WPA_OUI_TYPE || 87 WPA_GET_LE16(hdr->version) != WPA_VERSION) { 93 pos = (const u8 *) (hdr + 1); 94 left = wpa_ie_len - sizeof(*hdr); 187 struct wpa_ie_hdr *hdr; local 189 if (wpa_ie_len < sizeof(*hdr) + WPA_SELECTOR_LEN 261 struct rsn_ie_hdr *hdr; local [all...] |
/external/qemu/hw/ |
bt-l2cap.c | 49 const l2cap_hdr *hdr, int len); 189 l2cap_cmd_hdr *hdr; local 198 hdr = (void *) (pkt + 0); 201 hdr->code = L2CAP_COMMAND_REJ; 202 hdr->ident = id; 203 memcpy(&hdr->len, &len, sizeof(hdr->len)); 226 l2cap_cmd_hdr *hdr; local 231 hdr = (void *) (pkt + 0); 234 hdr->code = L2CAP_CONN_RSP 250 l2cap_cmd_hdr *hdr; local 278 l2cap_cmd_hdr *hdr; local 303 l2cap_cmd_hdr *hdr; local 325 l2cap_cmd_hdr *hdr; local 346 l2cap_cmd_hdr *hdr; local 942 const l2cap_cmd_hdr *hdr; local 1076 const l2cap_hdr *hdr = (void *) l2cap->frame_in; local 1103 l2cap_hdr *hdr = (void *) l2cap->frame_out; local [all...] |
/bionic/libc/kernel/common/linux/ |
auto_fs.h | 37 struct autofs_packet_hdr hdr; member in struct:autofs_packet_missing 44 struct autofs_packet_hdr hdr; member in struct:autofs_packet_expire
|
/development/ndk/platforms/android-3/include/linux/ |
auto_fs.h | 37 struct autofs_packet_hdr hdr; member in struct:autofs_packet_missing 44 struct autofs_packet_hdr hdr; member in struct:autofs_packet_expire
|
/external/kernel-headers/original/linux/ |
auto_fs.h | 64 struct autofs_packet_hdr hdr; member in struct:autofs_packet_missing 72 struct autofs_packet_hdr hdr; member in struct:autofs_packet_expire
|
/external/qemu/audio/ |
wavcapture.c | 89 uint8_t hdr[] = { local 126 hdr[34] = bits16 ? 0x10 : 0x08; 128 le_store (hdr + 22, as.nchannels, 2); 129 le_store (hdr + 24, freq, 4); 130 le_store (hdr + 28, freq << shift, 4); 131 le_store (hdr + 32, 1 << shift, 2); 146 qemu_put_buffer (wav->f, hdr, sizeof (hdr));
|
/external/wpa_supplicant/ |
radius.c | 53 msg->hdr = (struct radius_hdr *) msg->buf; 54 msg->buf_used = sizeof(*msg->hdr); 61 msg->hdr = NULL; 74 msg->hdr->code = code; 75 msg->hdr->identifier = identifier; 84 msg->hdr = NULL; 207 static void radius_msg_dump_attr(struct radius_attr_hdr *hdr) 213 attr = radius_get_attr_type(hdr->type); 216 hdr->type, attr ? attr->name : "?Unknown?", hdr->length) 456 struct radius_hdr *hdr; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
radius.c | 60 msg->hdr = (struct radius_hdr *) msg->buf; 61 msg->buf_used = sizeof(*msg->hdr); 68 msg->hdr = NULL; 81 msg->hdr->code = code; 82 msg->hdr->identifier = identifier; 90 msg->hdr = NULL; 213 static void radius_msg_dump_attr(struct radius_attr_hdr *hdr) 219 attr = radius_get_attr_type(hdr->type); 222 hdr->type, attr ? attr->name : "?Unknown?", hdr->length) 459 struct radius_hdr *hdr; local [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
auto_fs.h | 37 struct autofs_packet_hdr hdr; member in struct:autofs_packet_missing 44 struct autofs_packet_hdr hdr; member in struct:autofs_packet_expire
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
auto_fs.h | 37 struct autofs_packet_hdr hdr; member in struct:autofs_packet_missing 44 struct autofs_packet_hdr hdr; member in struct:autofs_packet_expire
|