/macosx-10.10.1/system_cmds-643.1.1/pwd_mkdb.tproj/ |
H A D | pw_scan.c | 58 pw_scan(char *bp, struct passwd *pw, int *flags) argument 68 if (bp[0] == '#') { 74 if (!(p = strsep(&bp, ":")) || *p == '\0') /* login */ 79 if (!(pw->pw_passwd = strsep(&bp, ":"))) /* passwd */ 82 if (!(p = strsep(&bp, ":"))) /* uid */ 105 if (!(p = strsep(&bp, ":"))) /* gid */ 124 pw->pw_class = strsep(&bp, ":"); /* class */ 125 if (!(p = strsep(&bp, ":"))) /* change */ 130 if (!(p = strsep(&bp, ":"))) /* expire */ 135 pw->pw_gecos = strsep(&bp, " [all...] |
/macosx-10.10.1/tidy-15.15/tidy/src/ |
H A D | buffio.c | 77 MemFree( buf->bp ); 84 if ( buf->bp ) 86 ClearMemory( buf->bp, buf->allocated ); 104 byte* bp; local 111 bp = (byte*)MemRealloc( buf->bp, allocAmt ); 112 if ( bp != NULL ) 114 ClearMemory( bp + buf->allocated, allocAmt - buf->allocated ); 115 buf->bp = bp; 122 tidyBufAttach( TidyBuffer* buf, byte* bp, uint size ) argument [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_btreeio.c | 54 static int btree_journal_modify_block_end(struct hfsmount *hfsmp, struct buf *bp); 56 void btree_swap_node(struct buf *bp, __unused void *arg); 99 struct buf *bp = NULL; local 116 bp = buf_getblk(vp, (daddr64_t)blockNum, block->blockSize, 0, 0, BLK_META); 117 if (bp && 119 buf_setblkno(bp, blkno); 122 retval = buf_meta_bread(vp, (daddr64_t)blockNum, block->blockSize, NOCRED, &bp); 124 if (bp == NULL) 128 block->blockHeader = bp; 129 block->buffer = (char *)buf_dataptr(bp); 217 struct buf *bp = NULL; local 234 btree_swap_node(struct buf *bp, __unused void *arg) argument 260 btree_journal_modify_block_end(struct hfsmount *hfsmp, struct buf *bp) argument 270 struct buf *bp = NULL; local 580 struct buf *bp = NULL; local 647 struct buf *bp = NULL; local [all...] |
/macosx-10.10.1/postfix-255/postfix/src/global/ |
H A D | bounce_log.c | 21 /* BOUNCE_LOG *bounce_log_read(bp, rcpt, dsn) 22 /* BOUNCE_LOG *bp; 26 /* void bounce_log_rewind(bp) 27 /* BOUNCE_LOG *bp; 29 /* void bounce_log_close(bp) 30 /* BOUNCE_LOG *bp; 117 BOUNCE_LOG *bp; local 131 bp = (BOUNCE_LOG *) mymalloc(sizeof(*bp)); 132 bp 147 bounce_log_read(BOUNCE_LOG *bp, RCPT_BUF *rcpt_buf, DSN_BUF *dsn_buf) argument 305 bounce_log_close(BOUNCE_LOG *bp) argument [all...] |
H A D | bounce_log.h | 42 #define bounce_log_rewind(bp) vstream_fseek((bp)->fp, 0L, SEEK_SET)
|
/macosx-10.10.1/Heimdal-398.1.2/appl/rcp/ |
H A D | util.c | 146 allocbuf(bp, fd, blksize) 147 BUF *bp; 161 if (bp->cnt >= size) 162 return (bp); 163 if ((p = realloc(bp->buf, size)) == NULL) { 164 if (bp->buf) 165 free(bp->buf); 166 bp->buf = NULL; 167 bp->cnt = 0; 172 bp [all...] |
/macosx-10.10.1/tcpdump-61/tcpdump/ |
H A D | print-ah.c | 44 ah_print(register const u_char *bp) argument 51 ah = (const struct ah *)bp; 63 if (bp + sizeof(struct ah) + sumlen > ep)
|
H A D | print-frag6.c | 44 frag6_print(register const u_char *bp, register const u_char *bp2) argument 49 dp = (const struct ip6_frag *)bp; 59 (long)(bp - bp2) - sizeof(struct ip6_frag)); 64 (long)(bp - bp2) - sizeof(struct ip6_frag));
|
H A D | print-mpls.c | 68 mpls_print(const u_char *bp, u_int length) argument 75 p = bp; 187 default_print(p, length - (p - bp)); 197 ip_print(gndo, p, length - (p - bp)); 202 ip6_print(gndo, p, length - (p - bp)); 209 isoclns_print(p, length - (p - bp), length - (p - bp));
|
/macosx-10.10.1/emacs-93/emacs/lib-src/ |
H A D | sorted-doc.c | 137 register char *bp; /* ptr inside line buffer */ 150 bp = buf; 178 bp = buf; 196 bp = buf; 206 *bp++ = ch; 210 *bp = NUL; 211 bp = xstrdup (buf); 214 dp->name = bp; 216 lp->line = bp; 218 bp 136 register char *bp; /* ptr inside line buffer */ local [all...] |
/macosx-10.10.1/adv_cmds-158/last/ |
H A D | last.c | 150 struct utmpx *bp; /* current structure */ local 160 while ((bp = getutxent_wtmp()) != NULL) { 161 prev = bp; 162 switch(bp->ut_type) { 167 T->logout = -bp->ut_tv.tv_sec; 168 currentout = -bp->ut_tv.tv_sec; 169 crmsg = bp->ut_type == BOOT_TIME ? "crash" : "shutdown"; 170 if (want(bp, NO)) { 171 ct = ctime(&bp->ut_tv.tv_sec); 173 UT_NAMESIZE, bp [all...] |
/macosx-10.10.1/OpenSSL098-52/src/crypto/pem/ |
H A D | pem_pk8.c | 69 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, 73 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder, 84 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, argument 88 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); 91 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, argument 95 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u); 98 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, argument 102 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u); 105 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, argument 109 return do_pk8pkey(bp, 112 do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 152 d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument 214 BIO *bp; local 227 BIO *bp; local [all...] |
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/stdio/ |
H A D | _stdfun.c | 56 static void* bp; local 68 bp = dlopen("/usr/bin/stdio.dll", 0); 70 if (bp && (vp->vec[1] = (Fun_f)dlsym(bp, vp->name)))
|
/macosx-10.10.1/ntp-92/libntp/ |
H A D | uglydate.c | 18 char *bp; local 26 LIB_GETBUF(bp); 44 (void) sprintf(bp, "%17s %02d:%03d:%02d:%02d:%02d.%03ld", 47 return bp;
|
H A D | dofptoa.c | 25 char *bp; local 107 bp = buf; 109 *bp++ = '-'; 113 *bp++ = '.'; 114 *bp++ = (char)(*cp++ + '0'); 116 *bp = '\0';
|
/macosx-10.10.1/system_cmds-643.1.1/makekey.tproj/ |
H A D | makekey.c | 94 get(bp, len) 95 char *bp; 100 bp[len] = '\0'; 101 if ((nr = read(STDIN_FILENO, bp, len)) == len)
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libcmd/ |
H A D | rev.c | 63 register char *ep, *bp, *cp; local 71 while(cp = bp = sfgetr(in,'\n',0)) 73 ep = bp + (n=sfvalue(in)) - 1; 86 cp = bp; 90 if (sfwrite(out, bp, cp - bp) < 0) 101 while(cp = bp = sfgetr(in,'\n',0)) 103 ep = bp + (n=sfvalue(in)) -1; 104 while(ep > bp) 107 *ep = *bp; [all...] |
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-shell/ |
H A D | result.c | 50 char *buf, *bp; local 58 bp = buf; 83 while ( bp + len + 1 - buf > bsize ) { 84 size_t offset = bp - buf; 87 bp = &buf[offset]; 89 strcpy( bp, line ); 90 bp += len; 109 bp = buf;
|
/macosx-10.10.1/postfix-255/postfix/src/util/ |
H A D | ip_match.c | 155 const unsigned char *bp; local 171 bp = (const unsigned char *) byte_codes + 1; 177 if ((ch = *bp++) == IP_MATCH_CODE_OVAL) { 178 vstring_sprintf_append(printable, "%d", *bp); 179 bp += 1; 189 if ((ch = *bp++) == IP_MATCH_CODE_RANGE) { 190 vstring_sprintf_append(printable, "%d..%d", bp[0], bp[1]); 191 bp += 2; 195 vstring_sprintf_append(printable, "%d", *bp); 248 const char *bp; local 275 const unsigned char *bp; local [all...] |
/macosx-10.10.1/OpenSSL098-52/src/crypto/x509/ |
H A D | x_all.c | 136 X509 *d2i_X509_bio(BIO *bp, X509 **x509) argument 138 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509), bp, x509); 141 int i2d_X509_bio(BIO *bp, X509 *x509) argument 143 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509), bp, x509); 158 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) argument 160 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); 163 int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl) argument 165 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); 180 PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7) argument 182 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS7), bp, p 185 i2d_PKCS7_bio(BIO *bp, PKCS7 *p7) argument 202 d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) argument 207 i2d_X509_REQ_bio(BIO *bp, X509_REQ *req) argument 249 d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa) argument 254 i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa) argument 259 d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa) argument 265 d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa) argument 270 i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa) argument 275 i2d_RSA_PUBKEY_bio(BIO *bp, RSA *rsa) argument 304 d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) argument 310 i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa) argument 315 d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa) argument 320 i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa) argument 349 d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey) argument 354 i2d_EC_PUBKEY_bio(BIO *bp, EC_KEY *ecdsa) argument 359 d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey) argument 364 i2d_ECPrivateKey_bio(BIO *bp, EC_KEY *eckey) argument 424 d2i_PKCS8_bio(BIO *bp, X509_SIG **p8) argument 429 i2d_PKCS8_bio(BIO *bp, X509_SIG *p8) argument 481 d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf) argument 488 i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO *p8inf) argument 494 i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key) argument 505 i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey) argument 510 d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a) argument 515 i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey) argument 520 d2i_PUBKEY_bio(BIO *bp, EVP_PKEY **a) argument [all...] |
/macosx-10.10.1/OpenSSL098-52/src/crypto/x509v3/ |
H A D | v3_ocsp.c | 83 static int i2r_ocsp_serviceloc(X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind); 151 static int i2r_ocsp_crlid(X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind) argument 156 if (BIO_printf(bp, "%*scrlUrl: ", ind, "") <= 0) goto err; 157 if (!ASN1_STRING_print(bp, (ASN1_STRING*)a->crlUrl)) goto err; 158 if (BIO_write(bp, "\n", 1) <= 0) goto err; 162 if (BIO_printf(bp, "%*scrlNum: ", ind, "") <= 0) goto err; 163 if (i2a_ASN1_INTEGER(bp, a->crlNum) <= 0) goto err; 164 if (BIO_write(bp, "\n", 1) <= 0) goto err; 168 if (BIO_printf(bp, "%*scrlTime: ", ind, "") <= 0) goto err; 169 if (!ASN1_GENERALIZEDTIME_print(bp, 177 i2r_ocsp_acutoff(X509V3_EXT_METHOD *method, void *cutoff, BIO *bp, int ind) argument 185 i2r_object(X509V3_EXT_METHOD *method, void *oid, BIO *bp, int ind) argument 254 i2r_ocsp_serviceloc(X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind) argument [all...] |
/macosx-10.10.1/awk-20/src/ |
H A D | lex.c | 106 char *bp = buf; local 116 *bp++ = c; 119 if (bp-buf >= sz) 120 if (!adjbuf(&buf, &sz, bp-buf+2, 100, &bp, "gettok")) 123 *bp++ = c; 125 *bp = 0; 130 *bp = 0; 136 if (bp-buf >= sz) 137 if (!adjbuf(&buf, &sz, bp 360 char *s, *bp; local 509 char *bp; local [all...] |
/macosx-10.10.1/bless-103/libbless/HFS/ |
H A D | BLLookupFileIDOnMount.c | 102 char *bp; local 126 /* bp will hold our current position. Work from the end 128 bp = &(out[MAXPATHLEN-1]); 129 *bp = '\0'; 149 namelen = strlen(nameptr); /* move bp by this many and copy */ 150 bp -= namelen; 151 strncpy(bp, nameptr, namelen); /* ignore trailing \0 */ 152 bp--; 153 *bp = '/'; 156 bp [all...] |
/macosx-10.10.1/Libc-1044.1.2/string/FreeBSD/ |
H A D | strxfrm.c | 95 unsigned char *bp; local 100 xfrm(bp = buf, *w++); 103 *dest++ = *(char *)bp++; 108 xfrm(bp = buf, 0); 113 *dest++ = *(char *)bp++; 122 xfrm(bp = buf, *w++); 125 *dest++ = *(char *)bp++;
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/string/ |
H A D | ccmapid.c | 140 const Ccmap_t* bp; local 144 bp = 0; 154 bp = mp; 157 return bp ? bp->ccode : -1;
|