/macosx-10.10.1/xnu-2782.1.97/bsd/dev/ |
H A D | memdev.c | 235 static void mdevstrategy(struct buf *bp) { argument 242 devid = minor(buf_device(bp)); /* Get minor device number */ 245 buf_seterror(bp, ENXIO); 246 buf_biodone(bp); 250 buf_setresid(bp, buf_count(bp)); /* Set byte count */ 252 blkoff = buf_blkno(bp) * mdev[devid].mdSecsize; /* Get offset into file */ 261 buf_seterror(bp, EINVAL); /* Yeah, this is an error */ 263 buf_biodone(bp); /* Return */ 267 if ((blkoff + buf_count(bp)) > (mde [all...] |
/macosx-10.10.1/postfix-255/postfix/src/util/ |
H A D | events.c | 342 #define EVENT_GET_FD(bp) ((bp)->ident) 343 #define EVENT_GET_TYPE(bp) ((bp)->filter) 344 #define EVENT_TEST_READ(bp) (EVENT_GET_TYPE(bp) == EVFILT_READ) 345 #define EVENT_TEST_WRITE(bp) (EVENT_GET_TYPE(bp) == EVFILT_WRITE) 417 #define EVENT_GET_FD(bp) ((bp) 1009 EVENT_BUFFER *bp; local [all...] |
H A D | dict_cache.c | 769 static void make_tagged_key(VSTRING *bp, DICT_CACHE_SREQ *cp) argument 775 vstring_sprintf(bp, "%d-%s", 837 static void run_requests(DICT_CACHE_TEST *tp, DICT_CACHE *dp, VSTRING *bp) argument 855 cp->action(cp, dp, bp); 897 static void query_action(DICT_CACHE_SREQ *cp, DICT_CACHE *dp, VSTRING *bp) argument 901 make_tagged_key(bp, cp); 902 if ((lookup = dict_cache_lookup(dp, STR(bp))) == 0) { 904 msg_warn("query_action: query failed: %s: %m", STR(bp)); 906 msg_warn("query_action: query failed: %s", STR(bp)); 907 } else if (strcmp(STR(bp), looku 916 update_action(DICT_CACHE_SREQ *cp, DICT_CACHE *dp, VSTRING *bp) argument 930 delete_action(DICT_CACHE_SREQ *cp, DICT_CACHE *dp, VSTRING *bp) argument 944 iter_action(DICT_CACHE_SREQ *cp, DICT_CACHE *dp, VSTRING *bp) argument [all...] |
/macosx-10.10.1/msdosfs-209.1.1/msdosfs.kextproj/msdosfs.kmodproj/ |
H A D | msdosfs_vfsops.c | 333 struct buf *bp; local 367 bp = NULL; /* both used in error_exit */ 376 error = (int)buf_meta_bread(devvp, 0, 4096, vfs_context_ucred(context), &bp); 379 buf_markaged(bp); 380 bsp = (union bootsector *)buf_dataptr(bp); 751 buf_brelse(bp); 752 bp = NULL; 803 error = buf_meta_bread(devvp, pmp->pm_fsinfo_sector, pmp->pm_fsinfo_size, vfs_context_ucred(context), &bp); 806 fp = (struct fsinfo *)(buf_dataptr(bp) + pmp->pm_fsinfo_offset); 817 buf_brelse(bp); 1337 struct buf *bp = NULL; local 1621 struct buf *bp = NULL; local [all...] |
H A D | msdosfs_denode.c | 263 * dirclust - which cluster bp contains, if dirclust is 0 (root directory) 285 struct buf *bp = NULL; local 395 &bp, &direntptr, context); 403 buf_brelse(bp); 404 bp = NULL; 411 error = msdosfs_readep(pmp, dirclust, diroffset, &bp, &direntptr, context); 424 buf_brelse(bp); 425 bp = NULL; 431 error = msdosfs_readep(pmp, dep->de_StartCluster, 0, &bp, &direntptr, context); 443 buf_brelse(bp); 546 struct buf *bp; local [all...] |
/macosx-10.10.1/screen-22/screen/ |
H A D | encoding.c | 1237 EncodeChar(bp, c, encoding, fontp) 1238 char *bp; 1250 if (bp) 1252 *bp++ = 033; 1253 *bp++ = '('; 1254 *bp++ = 'B'; 1279 return ToUtf8(bp, c); 1309 if (!bp) 1315 *bp++ = c; 1316 *bp [all...] |
/macosx-10.10.1/OpenSSH-189/osslshim/ossl/ |
H A D | ossl-pem.c | 225 PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data, long *len) argument 246 i = BIO_gets(bp, buf, 254); 278 i = BIO_gets(bp, buf, 254); 311 i = BIO_gets(bp, buf, 254); 339 i = BIO_gets(bp, buf, 254); 419 PEM_bytes_read_bio(unsigned char **pdata, long *plen, char **pnm, const char *name, BIO *bp, argument 429 if (!PEM_read_bio(bp, &nm, &header, &data, &len)) { 517 PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument 525 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, bp, cb, u)) { 625 PEM_write_bio(BIO *bp, cons argument 693 PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *callback, void *u) argument 797 PEM_write_bio_RSAPrivateKey(BIO *bp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 817 PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 1667 BIO *bp = NULL; local 1724 BIO *bp = NULL; local [all...] |
/macosx-10.10.1/libpcap-48/libpcap/ |
H A D | pcap-win32.c | 191 register u_char *bp, *ep; local 216 bp = p->Packet->Buffer; 219 bp = p->bp; 224 #define bhp ((struct bpf_hdr *)bp) 225 ep = bp + cc; 243 p->bp = bp; 244 p->cc = ep - bp; 248 if (bp > [all...] |
H A D | pcap-pf.c | 109 register u_char *p, *bp; local 139 bp = pc->buffer + pc->offset; 141 bp = pc->bp; 163 pc->bp = bp; 173 if ((long)bp & 3) { 175 memcpy((char *)sp, (char *)bp, sizeof(*sp)); 178 sp = (struct enstamp *)bp; 186 p = bp [all...] |
H A D | pcap-enet.c | 56 register u_char *bp; local 77 bp = buf.p; 79 ph = (struct packet_header *)bp; 92 bp += inc;
|
/macosx-10.10.1/libresolv-57/ |
H A D | ns_name.c | 205 u_char *label, *bp, *eom; local 210 bp = dst; 212 label = bp++; 224 (char **)&bp, 231 label = bp++; 265 c = (bp - label - 1); 278 if (bp >= eom) { 282 *bp++ = '\0'; 284 if ((bp - dst) > NS_MAXCDNAME) { 294 label = bp 825 encode_bitsring(const char **bp, const char *end, char **labelp, char ** dst, const char *eom) argument [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/ |
H A D | tif_fax3.c | 796 find0span(unsigned char* bp, int32 bs, int32 be) argument 801 bp += bs>>3; 806 span = zeroruns[(*bp << n) & 0xff]; 814 bp++; 822 while (!isAligned(bp, long)) { 823 if (*bp != 0x00) 824 return (span + zeroruns[*bp]); 826 bp++; 828 lp = (long*) bp; 833 bp 855 find1span(unsigned char* bp, int32 bs, int32 be) argument 934 Fax3Encode1DRow(TIFF* tif, unsigned char* bp, uint32 bits) argument 981 Fax3Encode2DRow(TIFF* tif, unsigned char* bp, unsigned char* rp, uint32 bits) argument 1026 Fax3Encode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 1474 Fax4Encode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_vnops.c | 1889 struct nfsbuf *bp; local 1896 error = nfs_buf_get(np, obn, biosize, NULL, NBLK_READ, &bp); 1900 FSDBG(512, bp, bp->nb_flags, 0, obn); 1901 SET(bp->nb_flags, NB_INVAL); 1902 nfs_buf_release(bp, 1); 1906 neweofoff = vap->va_data_size - NBOFF(bp); 1908 if ((bp->nb_dirtyend > 0) && (bp->nb_dirtyoff < neweofoff)) { 1910 if (bp 2466 struct nfsbuf *bp = NULL; local 2790 struct nfsbuf *bp; local 4987 struct nfsbuf *bp = NULL; local 5206 nfs_dir_buf_freespace(struct nfsbuf *bp, int rdirplus) argument 5298 struct nfsbuf *bp, *lastbp; local 5444 nfs_dir_buf_search( struct nfsbuf *bp, struct componentname *cnp, fhandle_t *fhp, struct nfs_vattr *nvap, uint64_t *xidp, time_t *attrstampp, daddr64_t *nextlbnp, int flags) argument 5523 struct nfsbuf *bp, *lastbp, *foundbp; local 5653 nfs3_readdir_rpc(nfsnode_t dnp, struct nfsbuf *bp, vfs_context_t ctx) argument 7286 struct nfsbuf *bp; local [all...] |
/macosx-10.10.1/OpenSSL098-52/src/crypto/ocsp/ |
H A D | ocsp.h | 356 #define d2i_OCSP_REQUEST_bio(bp,p) ASN1_d2i_bio_of(OCSP_REQUEST,OCSP_REQUEST_new,d2i_OCSP_REQUEST,bp,p) 358 #define d2i_OCSP_RESPONSE_bio(bp,p) ASN1_d2i_bio_of(OCSP_RESPONSE,OCSP_RESPONSE_new,d2i_OCSP_RESPONSE,bp,p) 360 #define PEM_read_bio_OCSP_REQUEST(bp,x,cb) (OCSP_REQUEST *)PEM_ASN1_read_bio( \ 361 (char *(*)())d2i_OCSP_REQUEST,PEM_STRING_OCSP_REQUEST,bp,(char **)x,cb,NULL) 363 #define PEM_read_bio_OCSP_RESPONSE(bp,x,cb)(OCSP_RESPONSE *)PEM_ASN1_read_bio(\ 364 (char *(*)())d2i_OCSP_RESPONSE,PEM_STRING_OCSP_RESPONSE,bp,(char **)x,cb,NULL) 366 #define PEM_write_bio_OCSP_REQUEST(bp,o) \ 368 bp,(cha [all...] |
/macosx-10.10.1/OpenSSL098-52/src/include/openssl/ |
H A D | ocsp.h | 356 #define d2i_OCSP_REQUEST_bio(bp,p) ASN1_d2i_bio_of(OCSP_REQUEST,OCSP_REQUEST_new,d2i_OCSP_REQUEST,bp,p) 358 #define d2i_OCSP_RESPONSE_bio(bp,p) ASN1_d2i_bio_of(OCSP_RESPONSE,OCSP_RESPONSE_new,d2i_OCSP_RESPONSE,bp,p) 360 #define PEM_read_bio_OCSP_REQUEST(bp,x,cb) (OCSP_REQUEST *)PEM_ASN1_read_bio( \ 361 (char *(*)())d2i_OCSP_REQUEST,PEM_STRING_OCSP_REQUEST,bp,(char **)x,cb,NULL) 363 #define PEM_read_bio_OCSP_RESPONSE(bp,x,cb)(OCSP_RESPONSE *)PEM_ASN1_read_bio(\ 364 (char *(*)())d2i_OCSP_RESPONSE,PEM_STRING_OCSP_RESPONSE,bp,(char **)x,cb,NULL) 366 #define PEM_write_bio_OCSP_REQUEST(bp,o) \ 368 bp,(cha [all...] |
H A D | dsa.h | 194 #define d2i_DSAparams_bio(bp,x) ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAparams,bp,x) 195 #define i2d_DSAparams_bio(bp,x) ASN1_i2d_bio_of_const(DSA,i2d_DSAparams,bp,x) 258 int DSAparams_print(BIO *bp, const DSA *x); 259 int DSA_print(BIO *bp, const DSA *x, int off); 263 int DSA_print_fp(FILE *bp, const DSA *x, int off);
|
/macosx-10.10.1/OpenSSL098-52/src/crypto/dsa/ |
H A D | dsa.h | 194 #define d2i_DSAparams_bio(bp,x) ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAparams,bp,x) 195 #define i2d_DSAparams_bio(bp,x) ASN1_i2d_bio_of_const(DSA,i2d_DSAparams,bp,x) 258 int DSAparams_print(BIO *bp, const DSA *x); 259 int DSA_print(BIO *bp, const DSA *x, int off); 263 int DSA_print_fp(FILE *bp, const DSA *x, int off);
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/openssl/ |
H A D | dsa.h | 160 #define d2i_DSAparams_bio(bp,x) (DSA *)ASN1_d2i_bio((char *(*)())DSA_new, \ 161 (char *(*)())d2i_DSAparams,(bp),(unsigned char **)(x)) 162 #define i2d_DSAparams_bio(bp,x) ASN1_i2d_bio(i2d_DSAparams,(bp), \ 210 int DSAparams_print(BIO *bp, DSA *x); 211 int DSA_print(BIO *bp, DSA *x, int off); 215 int DSA_print_fp(FILE *bp, DSA *x, int off);
|
/macosx-10.10.1/bind9-45.101/bind9/bin/tests/ |
H A D | wire_test.c | 78 unsigned char *bp; local 128 bp = b; 158 *bp++ = n; 167 while (p < bp) { 170 if (p + 2 > bp) { 176 if (p + 2 + len > bp) { 187 isc_buffer_add(&source, bp - b);
|
/macosx-10.10.1/curl-83.1.2/curl/docs/examples/ |
H A D | htmltidy.c | 70 printf("%*.*s\n", indent, indent, buf.bp?(char *)buf.bp:""); 110 fprintf(stderr, "%s\n", tidy_errbuf.bp); /* show errors */
|
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/sh/ |
H A D | nvdisc.c | 186 #define isblocked(bp,type) ((bp)->flags & (1<<(type))) 187 #define block(bp,type) ((bp)->flags |= (1<<(type))) 188 #define unblock(bp,type) ((bp)->flags &= ~(1<<(type))) 195 register struct blocked *bp; local 200 for(bp=blist ; bp; bp 217 block_done(struct blocked *bp) argument 252 struct blocked block, *bp = block_info(np, &block); local 372 struct blocked block, *bp = block_info(np, &block); local 542 struct blocked *bp; local [all...] |
/macosx-10.10.1/rsync-45/rsync/ |
H A D | flist.c | 510 char *basename, *dirname, *bp; local 616 bp = pool_alloc(flist->file_pool, alloc_len, "receive_file_entry"); 618 file = (struct file_struct *)bp; 619 memset(bp, 0, file_struct_len); 620 bp += file_struct_len; 629 file->dirname = lastdir = bp; 631 memcpy(bp, dirname, dirname_len - 1); 632 bp += dirname_len; 633 bp[-1] = '\0'; 663 file->basename = bp; 752 char *basename, *dirname, *bp; local 1000 char *bp; local [all...] |
/macosx-10.10.1/pdisk-9/ |
H A D | dump.c | 277 BZB *bp; local 343 bp = (BZB *) (p->dpme_bzb); 345 if (bp->bzb_magic == BZBMAGIC) { 346 switch (bp->bzb_type) { 356 if (bzb_root_get(bp) != 0) { 357 if (bzb_usr_get(bp) != 0) { 363 } else if (bzb_usr_get(bp) != 0) { 371 if (bzb_slice_get(bp) != 0) { 372 printf(" s%1d %4s", bzb_slice_get(bp)-1, s); 378 if (bzb_crit_get(bp) ! 498 BZB *bp; local [all...] |
/macosx-10.10.1/awk-20/src/ |
H A D | b.c | 315 uschar *op, *bp; local 322 bp = buf; 326 } else if (c == '-' && i > 0 && bp[-1] != 0) { 328 c = bp[-1]; 333 bp--; 338 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "cclenter1")) 340 *bp++ = ++c; 346 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "cclenter 956 uschar *bp; local [all...] |
/macosx-10.10.1/ruby-106/ruby/ext/openssl/ |
H A D | openssl_missing.h | 30 # define PEM_read_bio_DSAPublicKey(bp,x,cb,u) (DSA *)PEM_ASN1_read_bio( \ 31 (d2i_of_void *)d2i_DSAPublicKey,PEM_STRING_DSA_PUBLIC,(bp),(void **)(x),(cb),(u)) 35 # define PEM_write_bio_DSAPublicKey(bp,x) \ 38 (bp),(char *)(x), NULL, NULL, 0, NULL, NULL)
|