/external/syslinux/core/fs/pxe/ |
bios.c | 395 struct bootp_t *bp; local 398 bp = lmalloc(dhcp_max_packet); 399 if (!bp) { 416 pkt_len = pxe_get_cached_info(1, bp, dhcp_max_packet); 417 parse_dhcp(bp, pkt_len); 434 pkt_len = pxe_get_cached_info(2, bp, dhcp_max_packet); 435 parse_dhcp(bp, pkt_len); 441 MAC_len = bp->hardlen > 16 ? 0 : bp->hardlen; 442 MAC_type = bp->hardware [all...] |
/external/boringssl/src/crypto/x509v3/ |
v3_ncons.c | 75 BIO *bp, int ind); 77 STACK_OF(GENERAL_SUBTREE) *trees, BIO *bp, 79 static int print_nc_ipadd(BIO *bp, ASN1_OCTET_STRING *ip); 163 BIO *bp, int ind) 167 bp, ind, "Permitted"); 169 bp, ind, "Excluded"); 175 BIO *bp, int ind, const char *name) 180 BIO_printf(bp, "%*s%s:\n", ind, "", name); 183 BIO_printf(bp, "%*s", ind + 2, ""); 185 print_nc_ipadd(bp, tree->base->d.ip) [all...] |
/external/syslinux/gpxe/src/drivers/net/ |
b44.h | 400 #define B44_RX_RING_LEN_BYTES ( sizeof bp->rx[0] * B44_RING_SIZE ) 401 #define B44_TX_RING_LEN_BYTES ( sizeof bp->tx[0] * B44_RING_SIZE ) 434 static void ssb_core_reset ( struct b44_private *bp ); 435 static void ssb_core_disable ( struct b44_private *bp ); 436 static u32 ssb_pci_setup ( struct b44_private *bp, u32 cores ); 438 static void b44_chip_reset ( struct b44_private *bp, int reset_kind ); 439 static void b44_init_hw ( struct b44_private *bp, int reset_kind ); 440 static void b44_cam_write ( struct b44_private *bp, u8 *data, int index ); 441 static void b44_set_mac_addr ( struct b44_private *bp ); 445 static int b44_phy_reset ( struct b44_private *bp ); [all...] |
/external/zopfli/src/zopflipng/lodepng/ |
lodepng_util.cpp | 362 size_t bp = 0, pos = 0; //bit pointer and byte pointer local 368 size_t bpstart = bp; 369 if(bp >> 3 >= in.size()) { error = 52; return; } //error, bit pointer will jump past memory 370 BFINAL = readBitFromStream(bp, &in[inpos]); 371 unsigned long BTYPE = readBitFromStream(bp, &in[inpos]); BTYPE += 2 * readBitFromStream(bp, &in[inpos]); 375 else if(BTYPE == 0) inflateNoCompression(out, &in[inpos], bp, pos, in.size()); 376 else inflateHuffmanBlock(out, &in[inpos], bp, pos, in.size(), BTYPE); 378 zlibinfo->back().compressedbits = bp - bpstart; 394 unsigned long huffmanDecodeSymbol(const unsigned char* in, size_t& bp, const HuffmanTree& codetree, size_t inlength [all...] |
/device/linaro/bootloader/edk2/DuetPkg/BootSector/ |
bs16.S | 81 movw %sp, %bp # bp = 0x7c00
84 movb %dl, PhysicalDrive(%bp) # BBS defines that BIOS would pass the booting driver number to the loader through DL
94 cmpw $0xaa55, SectorSignature(%bp) # Verify Boot Sector Signature
96 movw RootEntries(%bp), %cx # cx = RootEntries
103 movb NoFats(%bp), %al # al = NoFats
105 mulw SectorsPerFat(%bp) # ax = NoFats * SectorsPerFat
106 addw ReservedSectors(%bp), %ax # ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
112 movw %ax, (%bp) # Save FirstClusterLBA (FirstDataSector) for later use
164 movb SectorsPerCluster(%bp), %bl # bx = SectorsPerCluster [all...] |
bs32.asm | 94 mov bp,sp ; bp = 0x7c00
97 mov byte ptr [bp+PhysicalDrive],dl ; BBS defines that BIOS would pass the booting driver number to the loader through DL
107 cmp word ptr [bp+SectorSignature],0aa55h ; Verify Boot Sector Signature
109 mov cx,word ptr [bp+RootEntries] ; cx = RootEntries
116 mov al,byte ptr [bp+NoFats] ; al = NoFats
118 mul word ptr [bp+SectorsPerFat32] ; ax = NoFats * SectorsPerFat
119 add ax,word ptr [bp+ReservedSectors] ; ax = NoFats * SectorsPerFat + ReservedSectors = RootLBA
121 mov word ptr [bp],ax ; Save FirstClusterLBA for later use
123 mov ax,word ptr [bp+RootCluster] ; ax = StartCluster of Root Directory [all...] |
/external/syslinux/com32/lib/libpng/ |
pngwtran.c | 261 png_bytep bp = row; 273 for (i = 0; i < row_bytes; i++, bp++) 278 v = *bp; 279 *bp = 0; 283 *bp |= (png_byte)((v << j) & 0xff); 285 *bp |= (png_byte)((v >> (-j)) & mask); 291 png_bytep bp = row; 295 for (i = 0; i < istop; i++, bp++) 302 v = *bp; 303 *bp = 0 [all...] |
/external/tcpdump/ |
print-icmp6.c | 695 const u_char *bp, u_int length) 697 const struct nd_rpl_dio *dio = (const struct nd_rpl_dio *)bp; 724 const u_char *bp, u_int length) 726 const struct nd_rpl_dao *dao = (const struct nd_rpl_dao *)bp; 733 bp += ND_RPL_DAO_MIN_LEN; 740 bp += DAGID_LEN; 753 const struct rpl_dio_genoption *opt = (const struct rpl_dio_genoption *)bp; 769 const u_char *bp, u_int length) 771 const struct nd_rpl_daoack *daoack = (const struct nd_rpl_daoack *)bp; 778 bp += ND_RPL_DAOACK_MIN_LEN [all...] |
print-atalk.c | 95 register const u_char *bp, u_int length) 107 if (!ND_TTEST2(*bp, sizeof(*lp))) { 111 lp = (const struct LAP *)bp; 112 bp += sizeof(*lp); 122 if (!ND_TTEST2(*bp, ddpSSize)) { 126 sdp = (const struct atShortDDP *)bp; 131 bp += ddpSSize; 134 ddp_print(ndo, bp, length, sdp->type, 0, lp->src, sdp->srcSkt); 142 if (!ND_TTEST2(*bp, ddpSize)) { 146 dp = (const struct atDDP *)bp; [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getnetbydns.c | 127 char *in, *st, *pauxt, *bp, **ap;
local 150 bp = netbuf;
167 n = dn_expand(answer->buf, eom, cp, bp, buflen);
168 if ((n < 0) || !res_dnok(bp))
172 (void)strncpy(&ans[0], bp, sizeof(ans) - 1);
179 n = dn_expand(answer->buf, eom, cp, bp, buflen);
180 if ((n < 0) || !res_hnok(bp)) {
185 *ap++ = bp;
186 bp += strlen(bp) + 1; [all...] |
Socklib_internals.h | 40 void _map_v4v6_hostent (struct hostent *hp, char **bp, int *len);
|
/external/boringssl/src/include/openssl/ |
pem.h | 162 OPENSSL_EXPORT type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\ 164 return (type *)PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \ 168 OPENSSL_EXPORT int PEM_write_bio_##name(BIO *bp, type *x) \ 170 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL); \ 174 OPENSSL_EXPORT int PEM_write_bio_##name(BIO *bp, const type *x) \ 176 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,NULL,NULL,0,NULL,NULL); \ 180 OPENSSL_EXPORT int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \ 183 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); \ 187 OPENSSL_EXPORT int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \ 190 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,enc,kstr,klen,cb,u); [all...] |
/external/pdfium/third_party/libtiff/ |
tif_fax3.c | 844 find0span(unsigned char* bp, int32 bs, int32 be) 849 bp += bs>>3; 854 span = zeroruns[(*bp << n) & 0xff]; 862 bp++; 870 while (!isAligned(bp, long)) { 871 if (*bp != 0x00) 872 return (span + zeroruns[*bp]); 875 bp++; 877 lp = (long*) bp; 883 bp = (unsigned char*) lp [all...] |
/external/pdfium/third_party/lcms/src/ |
cmsgmt.c | 429 cmsTACestimator* bp = (cmsTACestimator*) Cargo;
local 436 cmsDoTransform(bp->hRoundTrip, In, RoundTrip, 1);
439 for (Sum=0, i=0; i < bp ->nOutputChans; i++)
443 if (Sum > bp ->MaxTAC) {
445 bp ->MaxTAC = Sum;
447 for (i=0; i < bp ->nOutputChans; i++) {
448 bp ->MaxInput[i] = In[i];
461 cmsTACestimator bp;
local 475 bp.nOutputChans = T_CHANNELS(dwFormatter);
476 bp.MaxTAC = 0; // Initial TAC is 0 [all...] |
/external/syslinux/com32/gdbstub/ |
gdbstub.c | 131 static void gdbmach_commit_hwbp(struct hwbp *bp) 133 int regnum = bp - hwbps; 138 __asm__ __volatile__("movl %0, %%dr0\n": :"r"(bp->addr)); 141 __asm__ __volatile__("movl %0, %%dr1\n": :"r"(bp->addr)); 144 __asm__ __volatile__("movl %0, %%dr2\n": :"r"(bp->addr)); 147 __asm__ __volatile__("movl %0, %%dr3\n": :"r"(bp->addr)); 153 dr7 |= bp->type << (16 + 4 * regnum); 157 dr7 |= bp->len << (18 + 4 * regnum); 161 dr7 |= bp->enabled << 2 * regnum; 166 struct hwbp *bp; local [all...] |
/external/boringssl/src/crypto/pem/ |
pem_all.c | 153 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, 157 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u); 197 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, 201 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u); 237 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, 241 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
|
/external/syslinux/core/fs/xfs/ |
xfs_ag.h | 114 #define XFS_BUF_TO_AGF(bp) ((xfs_agf_t *)((bp)->b_addr)) 141 #define XFS_BUF_TO_AGI(bp) ((xfs_agi_t *)((bp)->b_addr)) 153 #define XFS_BUF_TO_AGFL(bp) ((xfs_agfl_t *)((bp)->b_addr))
|
/build/soong/ |
soong_ui.bash | 25 local TOPFILE=build/soong/root.bp
|
/external/boringssl/src/crypto/x509/ |
internal.h | 41 * parameters in |sigalg| to |bp|. It returns one on success and zero on 43 int x509_print_rsa_pss_params(BIO *bp, const X509_ALGOR *sigalg, int indent,
|
/external/ipsec-tools/src/racoon/ |
vmbuf.h | 38 * bp v 49 caddr_t bp; /* pointer to the buffer */ member in struct:_vchar_t_
|
/external/syslinux/gpxe/src/arch/i386/interface/pxe/ |
pxe_entry.S | 204 pushw %bp 205 movw %sp, %bp 206 andb $~0x01, 8(%bp) /* Clear CF on return */ 207 popw %bp
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/v850/ |
branch.s | 18 bp bcc
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_poly.cpp | 30 double bp,bp2,cp,dp,q,r,srq; local 43 bp=b/a; 44 bp2=bp*bp; 49 r=(2.0*bp2*bp-9.0*bp*cp+27.0*dp)/54.0; 57 bp_through3=bp/3.0; 76 bp_through3=bp/3.0; 83 bp_through3=bp/3.0;
|
/prebuilts/go/darwin-x86/src/go/internal/srcimporter/ |
srcimporter.go | 64 var bp *build.Package 71 bp, err = p.ctxt.Import(path, srcDir, build.FindOnly) 75 bp, err = p.ctxt.ImportDir(filepath.Join(srcDir, path), build.FindOnly) 85 if bp.ImportPath == "unsafe" { 90 pkg := p.packages[bp.ImportPath] 93 return nil, fmt.Errorf("import cycle through package %q", bp.ImportPath) 100 return pkg, fmt.Errorf("reimported partially imported package %q", bp.ImportPath) 105 p.packages[bp.ImportPath] = &importing 111 if p.packages[bp.ImportPath] == &importing { 112 p.packages[bp.ImportPath] = ni [all...] |
/prebuilts/go/linux-x86/src/go/internal/srcimporter/ |
srcimporter.go | 64 var bp *build.Package 71 bp, err = p.ctxt.Import(path, srcDir, build.FindOnly) 75 bp, err = p.ctxt.ImportDir(filepath.Join(srcDir, path), build.FindOnly) 85 if bp.ImportPath == "unsafe" { 90 pkg := p.packages[bp.ImportPath] 93 return nil, fmt.Errorf("import cycle through package %q", bp.ImportPath) 100 return pkg, fmt.Errorf("reimported partially imported package %q", bp.ImportPath) 105 p.packages[bp.ImportPath] = &importing 111 if p.packages[bp.ImportPath] == &importing { 112 p.packages[bp.ImportPath] = ni [all...] |