HomeSort by relevance Sort by last modified time
    Searched defs:hdr (Results 1 - 25 of 375) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/tcpdump/
print-enc.c 54 const struct enchdr *hdr; local
61 hdr = (struct enchdr *)p;
62 flags = hdr->flags;
70 printf("SPI 0x%08x: ", (u_int32_t)ntohl(hdr->spi));
print-igrp.c 82 register struct igrphdr *hdr; local
86 hdr = (struct igrphdr *)bp;
87 cp = (u_char *)(hdr + 1);
91 TCHECK(*hdr);
92 nint = EXTRACT_16BITS(&hdr->ig_ni);
93 nsys = EXTRACT_16BITS(&hdr->ig_ns);
94 next = EXTRACT_16BITS(&hdr->ig_nx);
97 tok2str(op2str, "op-#%d", IGRP_OP(hdr->ig_vop)),
98 IGRP_V(hdr->ig_vop),
99 hdr->ig_ed
    [all...]
print-pflog.c 98 pflog_print(const struct pfloghdr *hdr)
102 rulenr = ntohl(hdr->rulenr);
103 subrulenr = ntohl(hdr->subrulenr);
107 printf("rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr);
110 tok2str(pf_reasons, "unkn(%u)", hdr->reason),
111 tok2str(pf_actions, "unkn(%u)", hdr->action),
112 tok2str(pf_directions, "unkn(%u)", hdr->dir),
113 hdr->ifname);
122 const struct pfloghdr *hdr; local
132 hdr = (struct pfloghdr *)p
    [all...]
  /system/core/fastboot/
bootimg.c 50 boot_img_hdr *hdr; local
60 hdr = calloc(*bootimg_size, 1);
62 if(hdr == 0) {
63 return hdr;
66 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE);
68 hdr->kernel_size = kernel_size;
69 hdr->ramdisk_size = ramdisk_size;
70 hdr->second_size = second_size;
71 hdr->kernel_addr = base + 0x00008000;
72 hdr->ramdisk_addr = base + 0x01000000
    [all...]
  /external/bluetooth/hcidump/parser/
hidp.c 139 uint8_t hdr; local
142 hdr = get_u8(frm);
144 switch (hdr & 0xf0) {
146 param = result2str(hdr);
149 param = operation2str(hdr);
153 param = protocol2str(hdr);
159 param = report2str(hdr);
168 printf("HIDP: %s: %s\n", type2str(hdr), param);
cmtp.c 162 uint8_t hdr, bid; local
167 hdr = get_u8(frm);
168 bid = (hdr & 0x3c) >> 2;
170 switch ((hdr & 0xc0) >> 6) {
184 printf("CMTP: %s: id %d len %d\n", bst2str(hdr & 0x03), bid, len);
186 switch (hdr & 0x03) {
  /external/chromium/chrome/browser/ui/window_snapshot/
window_snapshot_win.cc 28 BITMAPINFOHEADER hdr; local
29 gfx::CreateBitmapHeader(width, height, &hdr);
33 reinterpret_cast<BITMAPINFO*>(&hdr),
  /external/openfst/src/extensions/far/
main.cc 86 FarHeader hdr; local
93 if (!hdr.Read(far_fname)) {
98 string atype = hdr.ArcType();
108 FstHeader hdr; local
110 if (!hdr.Read(in, fst_fname)) {
115 return hdr.ArcType();
  /external/valgrind/main/coregrind/m_ume/
script.c 45 Bool VG_(match_script)(Char *hdr, Int len)
47 Char* end = hdr + len;
48 Char* interp = hdr + 2;
52 if (0 != VG_(memcmp)(hdr, "#!", 2)) return False;
81 Char hdr[4096]; local
91 res = VG_(pread)(fd, hdr, len, 0);
99 vg_assert('#' == hdr[0] && '!' == hdr[1]);
101 end = hdr + len;
102 interp = hdr + 2
    [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/e2fsprogs/e2fsck/
mtrace.c 86 __ptr_t hdr; local
89 hdr = (__ptr_t) malloc (size);
93 fprintf (mallstream, "+ %p %d\n", hdr, size);
95 if (hdr == mallwatch)
98 return hdr;
107 __ptr_t hdr; local
115 hdr = (__ptr_t) realloc (ptr, size);
119 if (hdr == NULL)
123 fprintf (mallstream, "< %p\n> %p %d\n", ptr, hdr, size);
125 if (hdr == mallwatch
    [all...]
  /external/ipsec-tools/src/racoon/
privsep.h 54 struct admin_com hdr; member in struct:privsep_com_msg
  /external/openfst/src/lib/
symbol-table-ops.cc 106 FstHeader hdr; local
107 if (!hdr.Read(in, filename)) {
111 if (hdr.GetFlags() & FstHeader::HAS_ISYMBOLS) {
123 if (hdr.GetFlags() & FstHeader::HAS_OSYMBOLS) {
  /external/openfst/src/script/
fst-class.cc 50 FstHeader hdr; local
51 if (!hdr.Read(in, fname)) {
55 FstReadOptions read_options(fname, &hdr);
61 reg->GetReader(hdr.ArcType());
65 << hdr.ArcType() << "\" : " << read_options.source;
  /external/openssh/
monitor_fdpass.c 53 struct cmsghdr hdr; member in union:__anon9869
114 struct cmsghdr hdr; member in union:__anon9870
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
expanded-fst.h 40 FstHeader hdr; local
42 hdr = *opts.header;
44 if (!hdr.Read(strm, opts.source))
46 ropts.header = &hdr;
48 if (!(hdr.Properties() & kExpanded)) {
54 registr->GetReader(hdr.FstType());
56 LOG(ERROR) << "ExpandedFst::Read: Unknown FST type \"" << hdr.FstType()
  /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_) {
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
eap_common.c 40 const struct eap_hdr *hdr; local
44 hdr = wpabuf_head(msg);
46 if (wpabuf_len(msg) < sizeof(*hdr)) {
51 len = be_to_host16(hdr->length);
52 if (len < sizeof(*hdr) + 1 || len > wpabuf_len(msg)) {
57 pos = (const u8 *) (hdr + 1);
62 if (len < sizeof(*hdr) + 8) {
78 *plen = len - sizeof(*hdr) - 8;
85 *plen = len - sizeof(*hdr) - 1;
111 struct eap_hdr *hdr; local
148 struct eap_hdr *hdr; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/tls/
asn1.c 23 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr)
28 os_memset(hdr, 0, sizeof(*hdr));
32 hdr->identifier = *pos++;
33 hdr->class = hdr->identifier >> 6;
34 hdr->constructed = !!(hdr->identifier & (1 << 5));
36 if ((hdr->identifier & 0x1f) == 0x1f) {
37 hdr->tag = 0
91 struct asn1_hdr hdr; local
    [all...]
asn1_test.c 46 struct asn1_hdr hdr; local
60 if (asn1_get_next(pos, end - pos, &hdr) < 0)
64 pos = hdr.payload;
68 prefix, hdr.class, asn1_class_str(hdr.class),
69 hdr.constructed,
70 hdr.constructed ? "Constructed" : "Primitive",
71 hdr.tag, hdr.length);
73 if (hdr.class == ASN1_CLASS_CONTEXT_SPECIFIC &
    [all...]
  /external/wpa_supplicant_8/src/eap_common/
eap_common.c 34 const struct eap_hdr *hdr; local
38 hdr = wpabuf_head(msg);
40 if (wpabuf_len(msg) < sizeof(*hdr)) {
45 len = be_to_host16(hdr->length);
46 if (len < sizeof(*hdr) + 1 || len > wpabuf_len(msg)) {
51 pos = (const u8 *) (hdr + 1);
56 if (len < sizeof(*hdr) + 8) {
72 *plen = len - sizeof(*hdr) - 8;
79 *plen = len - sizeof(*hdr) - 1;
105 struct eap_hdr *hdr; local
142 struct eap_hdr *hdr; local
    [all...]
  /external/wpa_supplicant_8/src/rsn_supp/
wpa_ie.c 43 struct wpa_ie_hdr *hdr; local
45 if (wpa_ie_len < sizeof(*hdr) + WPA_SELECTOR_LEN +
49 hdr = (struct wpa_ie_hdr *) wpa_ie;
50 hdr->elem_id = WLAN_EID_VENDOR_SPECIFIC;
51 RSN_SELECTOR_PUT(hdr->oui, WPA_OUI_TYPE);
52 WPA_PUT_LE16(hdr->version, WPA_VERSION);
53 pos = (u8 *) (hdr + 1);
102 hdr->len = (pos - wpa_ie) - 2;
117 struct rsn_ie_hdr *hdr; local
120 if (rsn_ie_len < sizeof(*hdr) + RSN_SELECTOR_LEN
    [all...]
  /external/wpa_supplicant_8/src/tls/
asn1.c 14 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr)
19 os_memset(hdr, 0, sizeof(*hdr));
23 hdr->identifier = *pos++;
24 hdr->class = hdr->identifier >> 6;
25 hdr->constructed = !!(hdr->identifier & (1 << 5));
27 if ((hdr->identifier & 0x1f) == 0x1f) {
28 hdr->tag = 0
126 struct asn1_hdr hdr; local
    [all...]
pkcs8.c 21 struct asn1_hdr hdr; local
30 if (asn1_get_next(buf, len, &hdr) < 0 ||
31 hdr.class != ASN1_CLASS_UNIVERSAL ||
32 hdr.tag != ASN1_TAG_SEQUENCE) {
37 pos = hdr.payload;
38 end = pos + hdr.length;
41 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
42 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) {
45 hdr.class, hdr.tag)
124 struct asn1_hdr hdr; local
    [all...]
  /system/core/libcutils/
uevent.c 53 struct msghdr hdr = { local
64 ssize_t n = recvmsg(socket, &hdr, 0);
69 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&hdr);

Completed in 2891 milliseconds

1 2 3 4 5 6 7 8 91011>>