/external/libnl/lib/netfilter/ |
nfnl.c | 42 * hdr = nfnlmsg_put(msg, PID, SEQ, SUBSYS, TYPE, NLM_F_ECHO, 110 struct nfgenmsg hdr = { local 117 &hdr, sizeof(hdr));
|
/external/libnl/tests/ |
test-genl.c | 75 void *hdr; local 94 hdr = genlmsg_put(msg, NL_AUTO_PORT, NL_AUTO_SEQ, ops.o_id, 96 if (hdr == NULL)
|
/external/libvncserver/libvncclient/ |
zlib.c | 38 rfbZlibHeader hdr; local 62 if (!ReadFromRFBServer(client, (char *)&hdr, sz_rfbZlibHeader)) 65 remaining = rfbClientSwap32IfLE(hdr.nBytes);
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_monitor.c | 28 struct ieee80211_hdr *hdr; local 32 hdr = (struct ieee80211_hdr *) buf; 33 fc = le_to_host16(hdr->frame_control); 38 event.tx_status.dst = hdr->addr1; 49 struct ieee80211_hdr *hdr = (void *)buf; local 53 if (len < sizeof(*hdr)) 56 fc = le_to_host16(hdr->frame_control); 59 event.rx_from_unknown.bssid = get_hdr_bssid(hdr, len); 60 event.rx_from_unknown.addr = hdr->addr2; 70 struct ieee80211_hdr *hdr; local [all...] |
/system/bt/bta/pan/ |
bta_pan_api.cc | 61 p_buf->hdr.event = BTA_PAN_API_ENABLE_EVT; 103 p_buf->hdr.event = BTA_PAN_API_SET_ROLE_EVT; 150 p_buf->hdr.event = BTA_PAN_API_OPEN_EVT;
|
/system/core/fastboot/ |
usb_linux.cpp | 128 struct usb_descriptor_header *hdr = (struct usb_descriptor_header *)_desc; local 131 if(hdr->bLength < size) return -1; 132 if(hdr->bLength > len) return -1; 133 if(hdr->bDescriptorType != type) return -1; 207 struct usb_descriptor_header *hdr = (struct usb_descriptor_header *)ptr; local 208 if (check(hdr, len, USB_DT_INTERFACE, USB_DT_INTERFACE_SIZE) == 0) 210 len -= hdr->bLength; 211 ptr += hdr->bLength; 229 struct usb_descriptor_header *hdr = (struct usb_descriptor_header *)ptr; local 230 if (check(hdr, len, USB_DT_ENDPOINT, USB_DT_ENDPOINT_SIZE) == 0 [all...] |
/prebuilts/go/darwin-x86/src/debug/macho/ |
file.go | 253 var hdr DylibCmd 255 if err := binary.Read(b, bo, &hdr); err != nil { 259 if hdr.Name >= uint32(len(cmddat)) { 260 return nil, &FormatError{offset, "invalid name in dynamic library command", hdr.Name} 262 l.Name = cstring(cmddat[hdr.Name:]) 263 l.Time = hdr.Time 264 l.CurrentVersion = hdr.CurrentVersion 265 l.CompatVersion = hdr.CompatVersion 270 var hdr SymtabCmd 272 if err := binary.Read(b, bo, &hdr); err != nil [all...] |
/prebuilts/go/linux-x86/src/debug/macho/ |
file.go | 253 var hdr DylibCmd 255 if err := binary.Read(b, bo, &hdr); err != nil { 259 if hdr.Name >= uint32(len(cmddat)) { 260 return nil, &FormatError{offset, "invalid name in dynamic library command", hdr.Name} 262 l.Name = cstring(cmddat[hdr.Name:]) 263 l.Time = hdr.Time 264 l.CurrentVersion = hdr.CurrentVersion 265 l.CompatVersion = hdr.CompatVersion 270 var hdr SymtabCmd 272 if err := binary.Read(b, bo, &hdr); err != nil [all...] |
/external/pdfium/third_party/libjpeg/ |
fpdfapi_jmemmgr.c | 98 } hdr; member in union:small_pool_struct 109 } hdr; member in union:large_pool_struct 202 lhdr_ptr = lhdr_ptr->hdr.next) { 204 (long) lhdr_ptr->hdr.bytes_used); 208 shdr_ptr = shdr_ptr->hdr.next) { 210 (long) shdr_ptr->hdr.bytes_used, 211 (long) shdr_ptr->hdr.bytes_left); 282 if (hdr_ptr->hdr.bytes_left >= sizeofobject) 285 hdr_ptr = hdr_ptr->hdr.next; 310 hdr_ptr->hdr.next = NULL [all...] |
/external/syslinux/core/fs/xfs/ |
xfs_dir2.c | 176 uint8_t count = sf->hdr.i8count ? sf->hdr.i8count : sf->hdr.count; 183 xfs_debug("count %hhu i8count %hhu", sf->hdr.count, sf->hdr.i8count); 186 (!sf->hdr.i8count ? 4 : 0)); 200 (sf->hdr.i8count ? 8 : 4)); 255 xfs_dir2_data_hdr_t *hdr; local 269 hdr = (xfs_dir2_data_hdr_t *)dirblk_buf; 270 if (be32_to_cpu(hdr->magic) != XFS_DIR2_BLOCK_MAGIC) [all...] |
/bionic/libc/bionic/ |
net_if.cpp | 96 static void __if_nameindex_callback(void* context, nlmsghdr* hdr) { 98 if (hdr->nlmsg_type == RTM_NEWLINK) { 99 ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr)); 107 size_t rta_len = IFLA_PAYLOAD(hdr);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
uu.py | 106 hdr = in_file.readline()
107 if not hdr:
109 if not hdr.startswith('begin'):
111 hdrfields = hdr.split(' ', 2)
|
/external/blktrace/btreplay/ |
btrecord.h | 55 * @hdr: Header describing stall and how many IO packets follow 59 struct io_bunch_hdr hdr; member in struct:io_bunch
|
/external/clang/test/CodeGen/ |
2009-01-21-InvalidIterator.c | 72 const struct unw_eh_frame_hdr *hdr; local
|
/external/clang/test/Sema/ |
gnu-flags.c | 151 // expected-warning@+8 {{field 'hdr' with variable sized type 'struct vst' not at the end of a struct or class is a GNU extension}} 159 struct vst hdr; member in struct:vstnae
|
struct-decl.c | 32 struct pppoe_tag hdr; //expected-warning{{field 'hdr' with variable sized type 'struct pppoe_tag' not at the end of a struct or class is a GNU extension}} member in struct:datatag
|
/external/iproute2/tc/ |
em_canid.c | 92 static int canid_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr, 138 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); 148 static int canid_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data,
|
em_cmp.c | 40 static int cmp_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr, 137 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); 144 static int cmp_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data,
|
em_nbyte.c | 40 static int nbyte_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr, 99 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); 107 static int nbyte_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data,
|
em_u32.c | 36 static int u32_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr, 145 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); 152 static int u32_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data,
|
/external/libunwind/src/ia64/ |
Gtables.c | 142 unw_word_t hdr_addr, info_addr, hdr, directives, pers, cookie, off; local 197 if ((ret = read_mem (as, hdr_addr, &hdr, arg)) < 0) 200 if (IA64_UNW_VER (hdr) != 1 201 || IA64_UNW_FLAG_EHANDLER (hdr) || IA64_UNW_FLAG_UHANDLER (hdr)) 206 if (IA64_UNW_LENGTH (hdr) != 1) 255 unw_word_t addr, hdr_addr, info_addr, info_end_addr, hdr, *wp; local 313 if ((ret = read_mem (as, hdr_addr, &hdr, arg)) < 0) 316 if (IA64_UNW_VER (hdr) != 1) 318 Debug (1, "Unknown header version %ld (hdr word=0x%lx @ 0x%lx)\n" [all...] |
/external/linux-kselftest/tools/testing/selftests/net/ |
psock_tpacket.c | 187 static inline int __v1_rx_kernel_ready(struct tpacket_hdr *hdr) 189 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); 192 static inline void __v1_rx_user_ready(struct tpacket_hdr *hdr) 194 hdr->tp_status = TP_STATUS_KERNEL; 198 static inline int __v2_rx_kernel_ready(struct tpacket2_hdr *hdr) 200 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); 203 static inline void __v2_rx_user_ready(struct tpacket2_hdr *hdr) 205 hdr->tp_status = TP_STATUS_KERNEL; 294 static inline int __v1_tx_kernel_ready(struct tpacket_hdr *hdr) 296 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)) [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_program.h | 35 uint32_t hdr[20]; member in struct:nvc0_program
|
/external/syslinux/core/lwip/src/include/ipv4/lwip/ |
autoip.h | 105 void autoip_arp_reply(struct netif *netif, struct etharp_hdr *hdr);
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtp_format_vp8_test_helper.h | 32 explicit RtpFormatVp8TestHelper(const RTPVideoHeaderVP8* hdr);
|