/external/tcpdump/ |
print-ip6opts.c | 45 ip6_sopt_print(netdissect_options *ndo, const u_char *bp, int len) 51 if (bp[i] == IP6OPT_PAD1) 55 optlen = bp[i + 1] + 2; 62 switch (bp[i]) { 75 ND_PRINT((ndo, ", sopt_type %d: trunc)", bp[i])); 78 ND_PRINT((ndo, ", sopt_type 0x%02x: len=%d", bp[i], bp[i + 1])); 89 ip6_opt_print(netdissect_options *ndo, const u_char *bp, int len) 97 if (bp[i] == IP6OPT_PAD1) 101 optlen = bp[i + 1] + 2 [all...] |
print-mobility.c | 116 const u_char *bp, const unsigned len) 121 ND_TCHECK(bp[i]); 122 if (bp[i] == IP6MOPT_PAD1) 126 ND_TCHECK(bp[i + 1]); 127 optlen = bp[i + 1] + 2; 134 ND_TCHECK(bp[i + optlen]); 136 switch (bp[i]) { 153 ND_TCHECK_16BITS(&bp[i+2]); 155 EXTRACT_16BITS(&bp[i+2]) << 2)); 162 ND_TCHECK_128BITS(&bp[i+2]) [all...] |
print-vjc.c | 86 vjc_print(netdissect_options *ndo, register const char *bp, u_short proto _U_) 90 switch (bp[0] & 0xf0) { 103 if (bp[1] & (0x80 >> i)) 106 if (bp[1]) 108 ND_PRINT((ndo, "C=0x%02x ", bp[2])); 109 ND_PRINT((ndo, "sum=0x%04x ", *(const u_short *)&bp[3])); 117 ND_PRINT((ndo, "(vjc type=0x%02x) ", bp[0] & 0xf0));
|
print-geneve.c | 103 geneve_opts_print(netdissect_options *ndo, const u_char *bp, u_int len) 115 opt_class = EXTRACT_16BITS(bp); 116 opt_type = *(bp + 2); 117 opt_len = 4 + ((*(bp + 3) & OPT_LEN_MASK) * 4); 129 const uint32_t *data = (const uint32_t *)(bp + 4); 140 bp += opt_len; 146 geneve_print(netdissect_options *ndo, const u_char *bp, u_int len) 158 ND_TCHECK2(*bp, 8); 160 ver_opt = *bp; 161 bp += 1 [all...] |
print-rx.c | 526 register const u_char *bp, int length, int sport, int dport, 533 if (ndo->ndo_snapend - bp < (int)sizeof (struct rx_header)) { 538 rxh = (const struct rx_header *) bp; 593 rx_cache_insert(ndo, bp, (const struct ip *) bp2, dport); 597 fs_print(ndo, bp, length); 600 cb_print(ndo, bp, length); 603 prot_print(ndo, bp, length); 606 vldb_print(ndo, bp, length); 609 kauth_print(ndo, bp, length); 612 vol_print(ndo, bp, length) [all...] |
print-bootp.c | 286 register const struct bootp *bp; local 290 bp = (const struct bootp *)cp; 291 ND_TCHECK(bp->bp_op); 294 tok2str(bootp_op_values, "unknown (0x%02x)", bp->bp_op))); 296 ND_TCHECK(bp->bp_hlen); 297 if (bp->bp_htype == 1 && bp->bp_hlen == 6 && bp->bp_op == BOOTPREQUEST) { 298 ND_TCHECK2(bp->bp_chaddr[0], 6); 299 ND_PRINT((ndo, " from %s", etheraddr_string(ndo, bp->bp_chaddr))) [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/i386/ |
mpx-inval-2.s | 7 bndcu (%bp,%si), %bnd0 8 bndldx (%bp,%di), %bnd0 10 bndmov (%bp), %bnd0 16 bndcu %bp, %bnd3 20 bndcn bnd0, [bp] 25 bndmov [bp+si], bnd0 26 bndstx [bp+di], bnd0 37 bndcu (%bp,%si), %bnd0 38 bndldx (%bp,%di), %bnd0 40 bndmov (%bp), %bnd [all...] |
/external/clang/test/Sema/ |
block-misc.c | 163 void (^bp)(int); 166 void *vp = bp; 168 f(1 ? bp : vp); 169 f(1 ? vp : bp); 170 f(1 ? bp : bp1); 171 (void)(bp > rp); // expected-error {{invalid operands}} 172 (void)(bp > 0); // expected-error {{invalid operands}} 173 (void)(bp > bp); // expected-error {{invalid operands}} 174 (void)(bp > vp); // expected-error {{invalid operands} [all...] |
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/ |
uninitialized_fill.pass.cpp | 56 B* bp = (B*)pool; local 61 std::uninitialized_fill(bp, bp+N, B()); 70 std::uninitialized_fill(bp, bp+2, B()); 72 assert(bp[i].data_ == 1); 78 Nasty* bp = (Nasty*)pool; local 81 std::uninitialized_fill(bp, bp+N, Nasty()); 83 assert(bp[i].i_ == 23) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/ |
uninitialized_fill.pass.cpp | 56 B* bp = (B*)pool; local 61 std::uninitialized_fill(bp, bp+N, B()); 70 std::uninitialized_fill(bp, bp+2, B()); 72 assert(bp[i].data_ == 1); 78 Nasty* bp = (Nasty*)pool; local 81 std::uninitialized_fill(bp, bp+N, Nasty()); 83 assert(bp[i].i_ == 23) [all...] |
/external/syslinux/gpxe/src/arch/i386/core/ |
gdbmach.c | 62 static void gdbmach_commit_hwbp ( struct hwbp *bp ) { 63 unsigned int regnum = bp - hwbps; 69 __asm__ __volatile__ ( "movl %0, %%dr0\n" : : "r" ( bp->addr ) ); 72 __asm__ __volatile__ ( "movl %0, %%dr1\n" : : "r" ( bp->addr ) ); 75 __asm__ __volatile__ ( "movl %0, %%dr2\n" : : "r" ( bp->addr ) ); 78 __asm__ __volatile__ ( "movl %0, %%dr3\n" : : "r" ( bp->addr ) ); 84 dr7 |= bp->type << ( 16 + 4 * regnum ); 88 dr7 |= bp->len << ( 18 + 4 * regnum ); 92 dr7 |= bp->enabled << 2 * regnum; 96 struct hwbp *bp; local [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
MimeBodyPartTest.java | 40 MimeBodyPart bp = new MimeBodyPart(); local 43 assertNull(bp.getContentId()); 47 bp.setHeader(MimeHeader.HEADER_CONTENT_ID, cid1); 48 assertEquals(cid1, bp.getContentId()); 51 bp.setHeader(MimeHeader.HEADER_CONTENT_ID, "<" + cid1 + ">"); 52 assertEquals(cid1, bp.getContentId());
|
/external/boringssl/src/crypto/x509/ |
t_x509.c | 94 int X509_print(BIO *bp, X509 *x) 96 return X509_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); 99 int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, 121 if (BIO_write(bp, "Certificate:\n", 13) <= 0) 123 if (BIO_write(bp, " Data:\n", 10) <= 0) 128 if (BIO_printf(bp, "%8sVersion: %lu (0x%lx)\n", "", l + 1, l) <= 0) 133 if (BIO_write(bp, " Serial Number:", 22) <= 0) 145 if (BIO_printf(bp, " %s%lu (%s0x%lx)\n", neg, l, neg, l) <= 0) 149 if (BIO_printf(bp, "\n%12s%s", "", neg) <= 0) 153 if (BIO_printf(bp, "%02x%c", bs->data[i] [all...] |
/external/boringssl/src/crypto/asn1/ |
f_enum.c | 63 int i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a) 73 if (BIO_write(bp, "00", 2) != 2) 79 if (BIO_write(bp, "\\\n", 2) != 2) 85 if (BIO_write(bp, buf, 2) != 2)
|
f_string.c | 61 int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) 71 if (BIO_write(bp, "0", 1) != 1) 77 if (BIO_write(bp, "\\\n", 2) != 2) 83 if (BIO_write(bp, buf, 2) != 2)
|
f_int.c | 61 int i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a) 71 if (BIO_write(bp, "-", 1) != 1) 77 if (BIO_write(bp, "00", 2) != 2) 83 if (BIO_write(bp, "\\\n", 2) != 2) 89 if (BIO_write(bp, buf, 2) != 2)
|
/external/google-breakpad/src/common/mac/ |
bootstrap_compat.h | 48 kern_return_t BootstrapRegister(mach_port_t bp,
|
/external/libcxxabi/test/ |
test_aux_runtime.pass.cpp | 30 B *bp = NULL; local 31 try {bool b = typeid(*bp) == typeid (A); ((void)b); } 46 B *bp = (B*)&d; // cast needed to break protection local 47 try { D &dr = dynamic_cast<D&> (*bp); ((void)dr); }
|
/external/syslinux/com32/lib/syslinux/ |
initramfs_file.c | 66 char *bp = buffer; local 85 bp += sprintf(bp, "070701%08x%08x%08x%08x%08x%08x%08x%08x%08x" 88 memcpy(bp, filename, len); 89 bp += len; 91 memset(bp, 0, pad); 92 bp += pad; 112 char *buffer, *bp; local 122 bp = buffer = malloc(bytes); 127 bp += initramfs_mkdirs(filename, bp, bytes) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++abi/test/ |
test_aux_runtime.pass.cpp | 30 B *bp = NULL; local 31 try {bool b = typeid(*bp) == typeid (A); ((void)b); } 46 B *bp = (B*)&d; // cast needed to break protection local 47 try { D &dr = dynamic_cast<D&> (*bp); ((void)dr); }
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_android.c | 81 int ret = 0, i = 0, bp; local 84 bp = WEXT_PNOSETUP_HEADER_SIZE; 85 os_memcpy(buf, WEXT_PNOSETUP_HEADER, bp); 86 buf[bp++] = WEXT_PNO_TLV_PREFIX; 87 buf[bp++] = WEXT_PNO_TLV_VERSION; 88 buf[bp++] = WEXT_PNO_TLV_SUBVERSION; 89 buf[bp++] = WEXT_PNO_TLV_RESERVED; 94 if ((bp + WEXT_PNO_SSID_HEADER_SIZE + MAX_SSID_LEN + 100 buf[bp++] = WEXT_PNO_SSID_SECTION; 101 buf[bp++] = params->ssids[i].ssid_len [all...] |
/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/clang/test/CXX/expr/expr.cast/ |
p4.cpp | 8 void casting_away_constness(const B &b, const C &c, const B *bp, const C *cp) { 19 // CHECK: DeclRefExpr {{.*}} ParmVar {{.*}} 'bp' 20 (void)(C*)bp;
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
uninitialized_fill_n.pass.cpp | 55 B* bp = (B*)pool; local 60 std::uninitialized_fill_n(bp, 5, B()); 69 B* r = std::uninitialized_fill_n(bp, 2, B()); 70 assert(r == bp + 2); 72 assert(bp[i].data_ == 1); 79 Nasty* bp = (Nasty*)pool; local 82 std::uninitialized_fill_n(bp, N, Nasty()); 84 assert(bp[i].i_ == 23);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
uninitialized_fill_n.pass.cpp | 55 B* bp = (B*)pool; local 60 std::uninitialized_fill_n(bp, 5, B()); 69 B* r = std::uninitialized_fill_n(bp, 2, B()); 70 assert(r == bp + 2); 72 assert(bp[i].data_ == 1); 79 Nasty* bp = (Nasty*)pool; local 82 std::uninitialized_fill_n(bp, N, Nasty()); 84 assert(bp[i].i_ == 23);
|