HomeSort by relevance Sort by last modified time
    Searched defs:bp (Results 26 - 50 of 176) sorted by null

12 3 4 5 6 7 8

  /external/libmtp/examples/
detect.c 36 uint32_t bp = 0; local
38 while (bp < len) {
39 if (buf[bp+0] == 0xFF && buf[bp+1] == 0xFE) {
41 } else if (buf[bp+0] == 0xFE && buf[bp+1] == 0xff) {
47 tmp = buf[bp+1] << 8 | buf[bp+0];
49 tmp = buf[bp+0] << 8 | buf[bp+1]
    [all...]
  /external/libpcap/
pcap-enet.c 56 register u_char *bp; local
77 bp = buf.p;
79 ph = (struct packet_header *)bp;
92 bp += inc;
pcap-nit.c 103 register u_char *bp, *cp, *ep; local
117 bp = p->buffer;
119 bp = p->bp;
127 ep = bp + cc;
128 while (bp < ep) {
143 p->cc = ep - bp;
144 p->bp = bp;
149 nh = (struct nit_hdr *)bp;
    [all...]
pcap-pf.c 90 register u_char *p, *bp; local
124 bp = pc->buffer + pc->offset;
126 bp = pc->bp;
150 pc->bp = bp;
160 if ((long)bp & 3) {
162 memcpy((char *)sp, (char *)bp, sizeof(*sp));
165 sp = (struct enstamp *)bp;
173 p = bp + sp->ens_stamplen
    [all...]
pcap-snit.c 117 register u_char *bp, *cp, *ep; local
134 bp = p->buffer;
136 bp = p->bp;
142 ep = bp + cc;
143 while (bp < ep) {
158 p->bp = bp;
159 p->cc = ep - bp;
165 cp = bp;
    [all...]
  /external/libppp/src/
async.c 103 async_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp,
112 if (!p || m_length(bp) > HDLCSIZE) {
113 m_freem(bp);
117 oldcnt = m_length(bp);
121 wp = bp;
128 m_freem(bp);
137 m_freem(bp);
138 bp = m_get(cnt, MB_ASYNCOUT);
139 memcpy(MBUF_CTOP(bp), p->async.xbuff, cnt);
140 bp->priv = cnt - oldcnt
149 struct mbuf *bp; local
    [all...]
pap.c 87 struct mbuf *bp; local
101 bp = m_get(plen + sizeof(struct fsmheader), MB_PAPOUT);
102 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader));
103 cp = MBUF_CTOP(bp) + sizeof(struct fsmheader);
109 link_PushPacket(&authp->physical->link, bp, bundle,
117 struct mbuf *bp; local
126 bp = m_get(plen + sizeof(struct fsmheader), MB_PAPOUT);
127 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader));
128 cp = MBUF_CTOP(bp) + sizeof(struct fsmheader);
138 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle
    [all...]
slcompress.c 438 u_short *bp; local
571 bp = (u_short *)&cs->cs_ip;
573 changes += *bp++;
link.c 182 struct mbuf *bp; local
184 for (bp = NULL, pri = LINK_QUEUES(l) - 1; pri >= 0; pri--)
186 bp = m_dequeue(l->Queue + pri);
193 return bp;
248 link_PushPacket(struct link *l, struct mbuf *bp, struct bundle *b, int pri,
263 bp->priv = 0; /* Adjusted by the async layer ! */
264 for (layer = l->nlayers; layer && bp; layer--)
266 bp = (*l->layer[layer - 1]->push)(b, l, bp, pri, &proto);
268 if (bp) {
278 struct mbuf *bp, *lbp[LAYER_MAX], *next; local
    [all...]
ncp.c 218 struct mbuf *bp; local
234 bp = m_get(count + 6, MB_IPOUT);
235 bp->m_offset += 4;
236 bp->m_len -= 6;
237 memcpy(MBUF_CTOP(bp), ptr, count);
238 m_enqueue(ipcp->Queue + pri, bp);
248 bp = m_get(count + 6, MB_IPOUT);
249 bp->m_offset += 4;
250 bp->m_len -= 6;
251 memcpy(MBUF_CTOP(bp), ptr, count)
    [all...]
  /external/oprofile/module/x86/
op_fixmap.c 159 static int __init mpf_table_ok(struct intel_mp_floating * mpf, unsigned long * bp)
161 if (*bp != SMP_MAGIC_IDENT)
165 if (mpf_checksum((unsigned char *)bp, 16))
173 unsigned long * bp = phys_to_virt(base); local
177 mpf = (struct intel_mp_floating *)bp;
178 if (mpf_table_ok(mpf, bp))
180 bp += 4;
  /external/tcpdump/
print-ntp.c 81 register const struct ntpdata *bp; local
84 bp = (struct ntpdata *)cp;
86 TCHECK(bp->status);
88 version = (int)(bp->status & VERSIONMASK) >> 3;
91 mode = bp->status & MODEMASK;
103 leapind = bp->status & LEAPMASK;
108 TCHECK(bp->stratum);
109 printf(", Stratum %u", bp->stratum);
111 TCHECK(bp->ppoll);
112 printf(", poll %us", bp->ppoll)
    [all...]
  /frameworks/compile/libbcc/lib/AndroidBitcode/Mips/
MipsABCExpandVAArg.cpp 48 llvm::Type *bp = llvm::Type::getInt8PtrTy(*mContext); local
49 llvm::Type *bpp = bp->getPointerTo(0);
69 llvm::Value *aligned_addr = builder.CreateBitCast(addr_typed, bp);
  /frameworks/native/libs/gui/
SurfaceControl.cpp 173 sp<IGraphicBufferProducer> bp; local
175 bp = control->mGraphicBufferProducer;
177 return parcel->writeStrongBinder(bp->asBinder());
  /hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
driver_cmd_wext.c 80 int ret, bp; local
91 bp = WEXT_CSCAN_HEADER_SIZE;
92 os_memcpy(buf, WEXT_CSCAN_HEADER, bp);
94 if ((bp + IW_ESSID_MAX_SIZE + 10) >= (int)sizeof(buf))
97 buf[bp++] = WEXT_CSCAN_SSID_SECTION;
98 buf[bp++] = params->ssids[i].ssid_len;
99 os_memcpy(&buf[bp], params->ssids[i].ssid, params->ssids[i].ssid_len);
100 bp += params->ssids[i].ssid_len;
104 buf[bp++] = WEXT_CSCAN_CHANNEL_SECTION;
105 buf[bp++] = 0
134 int bp, i; local
207 int ret = 0, i = 0, bp; local
    [all...]
  /external/chromium/net/http/
md4.cc 79 Uint8 *bp; const Uint32 *wp, *wpend; local
81 bp = out;
85 for (; wp != wpend; ++wp, bp += 4)
87 bp[0] = (Uint8) ((*wp ) & 0xFF);
88 bp[1] = (Uint8) ((*wp >> 8) & 0xFF);
89 bp[2] = (Uint8) ((*wp >> 16) & 0xFF);
90 bp[3] = (Uint8) ((*wp >> 24) & 0xFF);
97 Uint32 *wp; const Uint8 *bp, *bpend; local
100 bp = in;
103 for (; bp != bpend; bp += 4, ++wp
    [all...]
  /external/clang/test/CodeGen/
exprs.c 22 const unsigned char *bp; local
23 bp -= (short)1;
  /external/jpeg/
ansi2knr.c 538 char **bp; local
555 bp = breaks;
563 if ( bp >= btop )
570 *bp++ = p;
629 { *bp++ = "va_alist";
634 if ( bp == breaks + 1 ) /* sole argument */
637 writeblanks(bp[-1] - 1, p);
638 bp--;
643 *bp++ = p+1;
648 *bp = p
    [all...]
  /external/kernel-headers/original/asm-arm/
processor.h 38 struct debug_entry bp[2]; member in struct:debug_info
  /external/openssl/crypto/bn/asm/
sparcv8.S 351 * BN_ULONG bn_add_words(rp,ap,bp,n)
352 * BN_ULONG *rp,*ap,*bp;
439 * BN_ULONG bn_sub_words(rp,ap,bp,n)
440 * BN_ULONG *rp,*ap,*bp;
537 #define bp(I) [%i2+4*I] define
567 ld bp(0),b_0
569 ld bp(1),b_1
592 ld bp(2),b_2
597 ld bp(3),b_3
645 ld bp(4),b_
    [all...]
sparcv8plus.S 468 * BN_ULONG bn_add_words(rp,ap,bp,n)
469 * BN_ULONG *rp,*ap,*bp;
546 * BN_ULONG bn_sub_words(rp,ap,bp,n)
547 * BN_ULONG *rp,*ap,*bp;
644 #define bp(I) [%i2+4*I] define
676 lduw bp(0),b_0 !=
677 lduw bp(1),b_1
702 lduw bp(2),b_2 !=
707 lduw bp(3),b_3
752 lduw bp(4),b_4 !
    [all...]
  /external/ppp/pppd/include/
pcap-int.h 83 u_char *bp; member in struct:pcap
  /external/qemu/distrib/jpeg-6b/
ansi2knr.c 538 char **bp; local
555 bp = breaks;
563 if ( bp >= btop )
570 *bp++ = p;
629 { *bp++ = "va_alist";
634 if ( bp == breaks + 1 ) /* sole argument */
637 writeblanks(bp[-1] - 1, p);
638 bp--;
643 *bp++ = p+1;
648 *bp = p
    [all...]
  /external/qemu/slirp/
bootp.c 106 static void dhcp_decode(const struct bootp_t *bp, int *pmsg_type,
115 p = bp->bp_vend;
148 if (*pmsg_type == DHCPREQUEST && !*preq_addr && bp->bp_ciaddr.s_addr) {
149 *preq_addr = &bp->bp_ciaddr;
153 static void bootp_reply(const struct bootp_t *bp)
165 dhcp_decode(bp, &dhcp_msg_type, &preq_addr);
166 dprintf("bootp packet op=%d msgtype=%d", bp->bp_op, dhcp_msg_type);
179 memcpy(client_ethaddr, bp->bp_hwaddr, 6);
213 bc = find_addr(&daddr.sin_addr, bp->bp_hwaddr);
227 rbp->bp_xid = bp->bp_xid
321 struct bootp_t *bp = mtod(m, struct bootp_t *); local
    [all...]
  /external/qemu/slirp-android/
bootp.c 111 static void dhcp_decode(const struct bootp_t *bp, int *pmsg_type,
120 p = bp->bp_vend;
153 if (*pmsg_type == DHCPREQUEST && !*preq_addr && bp->bp_ciaddr) {
154 *preq_addr = (const ipaddr_t*)&bp->bp_ciaddr;
158 static void bootp_reply(const struct bootp_t *bp)
170 dhcp_decode(bp, &dhcp_msg_type, &preq_addr);
171 dprintf("bootp packet op=%d msgtype=%d", bp->bp_op, dhcp_msg_type);
184 memcpy(client_ethaddr, bp->bp_hwaddr, 6);
218 bc = find_addr(&daddr, bp->bp_hwaddr);
230 rbp->bp_xid = bp->bp_xid
325 struct bootp_t *bp = mtod(m, struct bootp_t *); local
    [all...]

Completed in 6704 milliseconds

12 3 4 5 6 7 8