/prebuilts/go/darwin-x86/src/archive/tar/ |
writer_test.go | 264 hdr, err := FileInfoHeader(fileinfo, "") 270 contents := strings.Repeat(" ", int(hdr.Size)) 271 hdr.Name = longName 274 if err := writer.WriteHeader(hdr); err != nil { 289 hdr, err = reader.Next() 293 if hdr.Name != longName { 304 hdr, err := FileInfoHeader(fileinfo, "") 305 hdr.Typeflag = TypeSymlink 311 hdr.Linkname = longLinkname 313 hdr.Size = [all...] |
/prebuilts/go/linux-x86/src/archive/tar/ |
writer_test.go | 264 hdr, err := FileInfoHeader(fileinfo, "") 270 contents := strings.Repeat(" ", int(hdr.Size)) 271 hdr.Name = longName 274 if err := writer.WriteHeader(hdr); err != nil { 289 hdr, err = reader.Next() 293 if hdr.Name != longName { 304 hdr, err := FileInfoHeader(fileinfo, "") 305 hdr.Typeflag = TypeSymlink 311 hdr.Linkname = longLinkname 313 hdr.Size = [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
FirmwareVolumeBuffer.c | 399 EFI_FIRMWARE_VOLUME_HEADER* hdr;
local 410 hdr = (EFI_FIRMWARE_VOLUME_HEADER*)*Fv;
411 blk = hdr->BlockMap;
442 hdr = (EFI_FIRMWARE_VOLUME_HEADER*)NewFv;
443 hdr->FvLength = NewSize;
444 blk = hdr->BlockMap;
462 (hdr->Attributes & EFI_FVB2_ERASE_POLARITY) ? 0xFF : 0
496 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv;
local 506 (UINT8*)hdr + hdr->HeaderLength, 537 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; local 582 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; local 737 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; local 956 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; local 1601 EFI_FIRMWARE_VOLUME_HEADER *hdr = (EFI_FIRMWARE_VOLUME_HEADER*)Fv; local [all...] |
/external/syslinux/core/lwip/src/netif/ |
etharp.c | 670 struct etharp_hdr *hdr; local 694 hdr = (struct etharp_hdr *)((u8_t*)ethhdr + SIZEOF_ETH_HDR); 697 hdr = (struct etharp_hdr *)(((u8_t*)ethhdr) + SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR); 702 if ((hdr->hwtype != PP_HTONS(HWTYPE_ETHERNET)) || 703 (hdr->hwlen != ETHARP_HWADDR_LEN) || 704 (hdr->protolen != sizeof(ip_addr_t)) || 705 (hdr->proto != PP_HTONS(ETHTYPE_IP))) { 708 hdr->hwtype, hdr->hwlen, hdr->proto, hdr->protolen)) 1125 struct etharp_hdr *hdr; local [all...] |
/external/syslinux/efi/ |
main.c | 777 static void handover_boot(struct linux_header *hdr, struct boot_params *bp) 779 unsigned long address = hdr->code32_start + hdr->handover_offset; 790 if (!valid_pecoff_image((char *)hdr)) 793 if (hdr->version >= 0x20c) { 794 if (hdr->xloadflags & XLF_EFI_HANDOVER_32) 797 if (hdr->xloadflags & XLF_EFI_HANDOVER_64) 805 static int check_linux_header(struct linux_header *hdr) 807 if (hdr->version < 0x205) 808 hdr->relocatable_kernel = 0 1063 struct linux_header *hdr; local [all...] |
wrapper.c | 55 struct header hdr; local 68 memset(&hdr, 0, sizeof(hdr)); 69 hdr.msdos_signature = MSDOS_SIGNATURE; 76 hdr.relocs_ptr = 0x40; 78 hdr.pe_hdr = OFFSETOF(struct header, pe_signature); 79 hdr.pe_signature = PE_SIGNATURE; 80 fwrite(&hdr, sizeof(hdr), 1, f);
|
/external/syslinux/core/ |
rllpack.c | 40 uint8_t *hdr = NULL; local 54 hdr = --o; 58 *hdr = ++vrun;
|
/system/core/libcutils/ |
uevent.c | 57 struct msghdr hdr = { local 68 ssize_t n = recvmsg(socket, &hdr, 0); 73 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&hdr);
|
/system/nfc/src/nfa/rw/ |
nfa_rw_main.c | 119 msg.hdr.event = NFA_RW_ACTIVATE_NTF_EVT; 127 msg.hdr.event = NFA_RW_DEACTIVATE_NTF_EVT; 151 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT;
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
setup.h | 126 struct tag_header hdr; member in struct:tag 150 #define tag_member_present(tag,member) ((unsigned long) (& ((struct tag *) 0L)->member + 1) <= (tag)->hdr.size * 4) 151 #define tag_next(t) ((struct tag *) ((__u32 *) (t) + (t)->hdr.size)) 154 #define for_each_tag(t,base) for(t = base; t->hdr.size; t = tag_next(t))
|
/bionic/libc/kernel/uapi/linux/ |
atm_tcp.h | 37 struct atmtcp_hdr hdr; member in struct:atmtcp_control
|
/development/ndk/platforms/android-21/arch-arm/include/asm/ |
setup.h | 126 struct tag_header hdr; member in struct:tag 150 #define tag_member_present(tag,member) ((unsigned long)(&((struct tag *)0L)->member + 1) <= (tag)->hdr.size * 4) 151 #define tag_next(t) ((struct tag *)((__u32 *)(t) + (t)->hdr.size)) 154 #define for_each_tag(t,base) for (t = base; t->hdr.size; t = tag_next(t))
|
/development/ndk/platforms/android-21/include/linux/ |
atm_tcp.h | 37 struct atmtcp_hdr hdr; member in struct:atmtcp_control
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/ |
grant_table.h | 231 grant_entry_header_t hdr;
member in union:grant_entry_v2 236 * -- hdr.type is GTF_accept_transfer, or
237 * -- hdr.type is GTF_permit_access and GTF_sub_page is not set.
243 grant_entry_header_t hdr;
member in struct:grant_entry_v2::__anon11348 254 grant_entry_header_t hdr;
member in struct:grant_entry_v2::__anon11349 270 grant_entry_header_t hdr;
member in struct:grant_entry_v2::__anon11350
|
/external/ipsec-tools/src/racoon/ |
isakmp_frag.c | 86 struct isakmp *hdr; local 103 hdr = (struct isakmp *)buf->v; 104 etype = hdr->etype; 111 (sizeof(*hdr) + sizeof(*fraghdr) + sizeof(trailer)); 124 fraglen = sizeof(*hdr) 135 hdr = (struct isakmp *)frag->v; 136 hdr->etype = etype; 138 fraghdr = (struct isakmp_frag *)(hdr + 1); 140 fraghdr->len = htons(fraglen - sizeof(*hdr));
|
privsep.h | 54 struct admin_com hdr; member in struct:privsep_com_msg
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
setup.h | 147 struct tag_header hdr; member in struct:tag 178 <= (tag)->hdr.size * 4) 180 #define tag_next(t) ((struct tag *)((__u32 *)(t) + (t)->hdr.size)) 184 for (t = base; t->hdr.size; t = tag_next(t))
|
/external/kernel-headers/original/uapi/linux/ |
atm_tcp.h | 35 struct atmtcp_hdr hdr; /* must be first */ member in struct:atmtcp_control 45 * Messge type dir. hdr.v?i type addr qos vcc result
|
/external/libchrome/sandbox/linux/services/ |
credentials.cc | 179 struct cap_hdr hdr = {}; local 180 hdr.version = _LINUX_CAPABILITY_VERSION_3; 193 return sys_capset(&hdr, data) == 0; 211 struct cap_hdr hdr = {}; local 212 hdr.version = _LINUX_CAPABILITY_VERSION_3; 215 PCHECK(sys_capget(&hdr, data) == 0); 227 struct cap_hdr hdr = {}; local 228 hdr.version = _LINUX_CAPABILITY_VERSION_3; 231 PCHECK(sys_capget(&hdr, data) == 0);
|
/external/libmicrohttpd/src/testcurl/ |
test_process_headers.c | 93 const char *hdr; local 107 hdr = MHD_lookup_connection_value (connection, MHD_HEADER_KIND, "NotFound"); 108 if (hdr != NULL) 110 hdr = MHD_lookup_connection_value (connection, 112 if ((hdr == NULL) || (0 != strcmp (hdr, "*/*"))) 114 hdr = MHD_lookup_connection_value (connection, 116 if ((hdr == NULL) || (0 != strcmp (hdr, "127.0.0.1:21080"))) 120 hdr = MHD_lookup_connection_value (connection [all...] |
/external/swiftshader/third_party/LLVM/lib/Archive/ |
ArchiveWriter.cpp | 81 Archive::fillHeader(const ArchiveMember &mbr, ArchiveMemberHeader& hdr, 85 hdr.init(); 88 memcpy(hdr.mode,buffer,8); 90 memcpy(hdr.uid,buffer,6); 92 memcpy(hdr.gid,buffer,6); 97 memcpy(hdr.date,buffer,12); 110 memcpy(hdr.name,ARFILE_STRTAB_NAME,16); 112 memcpy(hdr.name,ARFILE_SVR4_SYMTAB_NAME,16); 114 memcpy(hdr.name,ARFILE_BSD4_SYMTAB_NAME,16); 116 memcpy(hdr.name,ARFILE_LLVM_SYMTAB_NAME,16) [all...] |
/external/vboot_reference/firmware/include/ |
gbb_access.h | 56 * @param hdr The header is placed in this block 60 struct BmpBlockHeader *hdr);
|
/external/wpa_supplicant_8/src/crypto/ |
aes-eax.c | 21 * @hdr: Header data to be authenticity protected 29 const u8 *hdr, size_t hdr_len, 58 os_memcpy(buf + 16, hdr, hdr_len); 85 * @hdr: Header data to be authenticity protected 93 const u8 *hdr, size_t hdr_len, 124 os_memcpy(buf + 16, hdr, hdr_len);
|
/external/wpa_supplicant_8/src/radius/ |
radius.c | 28 * hdr - Pointer to the RADIUS header in buf 30 struct radius_hdr *hdr; member in struct:radius_msg 54 return msg->hdr; 74 msg->hdr->code = code; 75 msg->hdr->identifier = identifier; 115 msg->hdr = wpabuf_put(msg->buf, sizeof(struct radius_hdr)); 278 static void radius_msg_dump_attr(struct radius_attr_hdr *hdr) 285 attr = radius_get_attr_type(hdr->type); 288 hdr->type, attr ? attr->name : "?Unknown?", hdr->length) 673 struct radius_hdr *hdr; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
atm_tcp.h | 35 struct atmtcp_hdr hdr; /* must be first */ member in struct:atmtcp_control 45 * Messge type dir. hdr.v?i type addr qos vcc result
|