| /onnv/onnv-gate/usr/src/ucblib/libcurses/ |
| fullname.c | 30 fullname(char *bp, char *def) 36 while (*bp && *bp != ':') { 38 while (*bp && *bp != ':' && *bp != '|') { 39 *cp++ = *bp++; /* copy name over */ 42 if (*bp == '|') { 43 bp++; /* skip over '|' if that is case */
|
| longname.c | 29 longname(char *bp, char *def) 33 while (*bp && *bp != ':' && *bp != '|') 34 bp++; 35 if (*bp == '|') { 36 bp++; 38 while (*bp && *bp != ':' && *bp != '|' [all...] |
| /onnv/onnv-gate/usr/src/lib/libdtrace/common/ |
| dt_buf.c | 49 dt_buf_create(dtrace_hdl_t *dtp, dt_buf_t *bp, const char *name, size_t len) 54 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len); 55 bp->dbu_len = len; 57 if (bp->dbu_buf == NULL) 58 bp->dbu_err = dtrace_errno(dtp); 60 bp->dbu_err = 0; 62 bp->dbu_resizes = 0; 63 bp->dbu_name = name; 67 dt_buf_destroy(dtrace_hdl_t *dtp, dt_buf_t *bp) [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/fmd/common/ |
| fmd_buf.c | 39 fmd_buf_t *bp = fmd_alloc(sizeof (fmd_buf_t), FMD_SLEEP); local 41 bp->buf_name = fmd_strdup(name, FMD_SLEEP); 42 bp->buf_next = NULL; 43 bp->buf_data = fmd_zalloc(size, FMD_SLEEP); 44 bp->buf_size = size; 45 bp->buf_flags = FMD_BUF_DIRTY; 47 return (bp); 51 fmd_buf_free(fmd_buf_t *bp) 53 fmd_strfree(bp->buf_name); 54 fmd_free(bp->buf_data, bp->buf_size) 70 fmd_buf_t *bp, *np; local 89 fmd_buf_t *bp; local 101 fmd_buf_t *bp; local 120 fmd_buf_t *bp = fmd_buf_alloc(name, size); local 133 fmd_buf_t *bp; local 147 fmd_buf_t *bp, **pp = &bhp->bh_hash[h]; local [all...] |
| fmd_builtin.c | 46 const fmd_builtin_t *bp; local 48 for (bp = _fmd_builtins; bp->bltin_name != NULL; bp++) { 49 if (strcmp(mp->mod_name, bp->bltin_name) == 0) 53 if (bp == NULL) 56 if (bp->bltin_init == NULL) 59 mp->mod_data = (void *)bp; 66 if (fmd_module_enter(mp, bp->bltin_init) != 0 && mp->mod_info != NULL) 81 fmd_builtin_t *bp = mp->mod_data local 108 const fmd_builtin_t *bp; local [all...] |
| /onnv/onnv-gate/usr/src/ucblib/libtermcap/ |
| termcap.c | 56 static char *tskip(char *bp); 62 * Get an entry for terminal name in buffer bp, 68 tgetent(char *bp, char *name) 77 tbuf = bp; 94 tbuf = bp; 96 (void) strcpy(bp, cp); 109 cp = bp; 121 if (cp > bp && cp[-1] == '\\') { 127 if (cp >= bp+BUFSIZ) { 211 char *Np, *Bp; 264 char *bp = tbuf; local 297 char *bp = tbuf; local 324 char *bp = tbuf; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/vgrind/ |
| vgrindefs.c | 37 static char *tskip(char *bp); 44 * Get an entry for terminal name in buffer bp, 49 tgetent(char *bp, char *name, char *file) 58 tbuf = bp; 65 cp = bp; 77 if (cp > bp && cp[-1] == '\\'){ 83 if (cp >= bp+BUFSIZ) { 163 char *Np, *Bp; 165 Bp = tbuf; 166 if (*Bp == '#' 209 char *bp = tbuf; local 241 char *bp = tbuf; local 267 char *bp = tbuf; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/ |
| sigsetjmp.c | 44 register o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local 59 bp->sjs_flags = 0; 60 bp->sjs_sp = *((int *)sp+14); 61 bp->sjs_pc = *((int *)sp+15) + 0x8; 62 bp->sjs_stack = uc.uc_stack; 66 bp->sjs_flags |= JB_SAVEMASK; 67 memcpy(bp->sjs_sigmask, &(uc.uc_sigmask), 3 * sizeof (int)); 69 memset(bp->sjs_sigmask, 0, 3 * sizeof (int)); 81 o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local 85 sp->sjs_flags = bp->sjs_flags 104 register o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local 136 o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/lvm/rpc.metamedd/ |
| med_hash.c | 78 (*cp)->bp = (Bucket *) Malloc(sizeof (*(*cp)->bp) * hsz); 79 if ((*cp)->bp == NULL) { 80 (void) fprintf(stderr, "Malloc(Bucket cp->bp)"); 86 (*cp)->bp[i].nent = 0; 87 (*cp)->bp[i].nalloc = 0; 88 (*cp)->bp[i].itempp = NULL; 120 Bucket *bp; local 129 bp = &cp->bp[(*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)] 173 Bucket *bp; local 252 Bucket *bp; local 284 Bucket *bp; local 338 Bucket *bp; local 373 Bucket *bp; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/sys5/ |
| setjmp.c | 43 register o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local 58 bp->sjs_flags = 0; 59 bp->sjs_sp = *((int *)sp+14); 60 bp->sjs_pc = *((int *)sp+15) + 0x8; 61 bp->sjs_sigmask[0] = 0; 62 bp->sjs_sigmask[1] = 0; 63 bp->sjs_sigmask[2] = 0; 64 bp->sjs_stack = uc.uc_stack; 75 o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local 79 sp->sjs_flags = bp->sjs_flags [all...] |
| /onnv/onnv-gate/usr/src/lib/libwrap/ |
| percent_m.c | 33 char *bp = obuf; local 36 while (*bp = *cp) 39 strcpy(bp, sys_errlist[errno]); 41 sprintf(bp, "Unknown error %d", errno); 43 bp += strlen(bp); 46 bp++, cp++;
|
| /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/zfs-include/ |
| spa.h | 74 * overhead, three DVAs per bp, plus one more bit in case we do anything 153 * fill count number of non-zero blocks under this bp 154 * checksum[4] 256-bit checksum of the data this bp describes 157 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ 170 * Macros to get and set fields in a bp or DVA. 191 #define BP_GET_LSIZE(bp) \ 192 BF64_GET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1) 193 #define BP_SET_LSIZE(bp, x) \ 194 BF64_SET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x) 196 #define BP_GET_PSIZE(bp) \ [all...] |
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| bio.c | 214 struct buf *bp; local 218 bp = getblk_common(ufsvfsp, dev, blkno, bsize, /* errflg */ 1); 219 if (bp->b_flags & B_DONE) 220 return (bp); 221 bp->b_flags |= B_READ; 222 ASSERT(bp->b_bcount == bsize); 224 (void) bdev_strategy(bp); 227 (*bio_lufs_strategy)(ufsvfsp->vfs_log, bp); 230 (*bio_snapshot_strategy)(&ufsvfsp->vfs_snapshot, bp); 234 (void) bdev_strategy(bp); 250 struct buf *bp, *rabp; local 524 struct buf *bp, *dp; local 572 struct buf *bp; local 752 struct buf *bp; local 784 struct buf *bp; local 863 struct buf *bp, *dp; local 958 struct buf *bp, *dp; local 1019 struct buf *bp; local 1120 struct buf *bp; local 1315 struct buf *bp; local 1406 struct buf *bp; local 1468 struct buf *bp, *dp; local 1582 struct buf *bp; local 1683 struct buf *bp; local 1708 struct buf *bp, *dp, *dwp, *nbp; local 1884 struct buf *bp; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/4.2/ |
| setjmp.c | 43 register o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local 58 bp->sjs_flags = 0; 59 bp->sjs_sp = *((int *)sp+14); 60 bp->sjs_pc = *((int *)sp+15) + 0x8; 61 bp->sjs_stack = uc.uc_stack; 64 bp->sjs_flags |= JB_SAVEMASK; 65 memcpy(bp->sjs_sigmask, &(uc.uc_sigmask), 3 * sizeof (int)); 77 o_setjmp_struct_t *bp = (o_setjmp_struct_t *)env; local 81 sp->sjs_flags = bp->sjs_flags; 82 sp->sjs_sp = bp->sjs_sp [all...] |
| /onnv/onnv-gate/usr/src/cmd/tip/ |
| remcap.c | 86 * Get an entry for terminal name in buffer bp, 91 tgetent(char *bp, char *name, int len) 101 return (getent(bp, name, cp, len)); 103 if ((rc1 = getent(bp, name, cp, len)) != 1) 104 *bp = '\0'; 114 if (strlen(bp) + strlen(p) >= len) { 118 (void) strcat(bp, p); 120 tbuf = bp; 126 getent(char *bp, char *name, char *cp, int len) 134 tbuf = bp; 324 char *bp = tbuf; local 356 char *bp = tbuf; local 382 char *bp = tbuf; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/sendmail/db/hash/ |
| hash_auto.c | 43 u_int8_t *bp; local 63 bp = logrec.data; 64 memcpy(bp, &rectype, sizeof(rectype)); 65 bp += sizeof(rectype); 66 memcpy(bp, &txn_num, sizeof(txn_num)); 67 bp += sizeof(txn_num); 68 memcpy(bp, lsnp, sizeof(DB_LSN)); 69 bp += sizeof(DB_LSN); 70 memcpy(bp, &opcode, sizeof(opcode)); 71 bp += sizeof(opcode) 184 u_int8_t *bp; local 247 u_int8_t *bp; local 368 u_int8_t *bp; local 425 u_int8_t *bp; local 526 u_int8_t *bp; local 578 u_int8_t *bp; local 695 u_int8_t *bp; local 753 u_int8_t *bp; local 898 u_int8_t *bp; local 965 u_int8_t *bp; local 1086 u_int8_t *bp; local 1146 u_int8_t *bp; local 1251 u_int8_t *bp; local 1309 u_int8_t *bp; local 1446 u_int8_t *bp; local [all...] |
| /onnv/onnv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/ |
| mpool.c | 121 BKT *bp; local 135 if ((bp = mpool_bkt(mp)) == NULL) 139 bp->pgno = *pgnoaddr; 141 bp->pgno = *pgnoaddr = mp->npages++; 143 bp->flags = MPOOL_PINNED | MPOOL_INUSE; 145 head = &mp->hqh[HASHKEY(bp->pgno)]; 146 CIRCLEQ_INSERT_HEAD(head, bp, hq); 147 CIRCLEQ_INSERT_TAIL(&mp->lqh, bp, q); 148 return (bp->page); 157 BKT *bp; local 189 BKT *bp; local 284 BKT *bp; local 311 BKT *bp; local 332 BKT *bp; local 354 BKT *bp; local 450 BKT *bp; local 475 BKT *bp; local [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4/io/efcode/ |
| fc_physio.c | 67 struct buf *bp = *bpp; local 69 bp = getrbuf(KM_SLEEP); 70 bp->b_iodone = NULL; 71 bp->b_resid = 0; 72 *bpp = bp; 78 ASSERT(SEMA_HELD(&bp->b_sem)); 80 bp->b_error = 0; 81 bp->b_proc = procp; 83 bp->b_flags = B_BUSY | B_PHYS | B_READ; 84 bp->b_edev = 0 119 struct buf *bp = *bpp; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libpkg/common/ |
| nhash.c | 83 if (((*cp)->bp = 84 (Bucket *) malloc(sizeof (*(*cp)->bp) * hsz)) == NULL) { 85 (void) fprintf(stderr, pkg_gt("malloc(Bucket cp->bp)")); 92 bzero((*cp)->bp, sizeof (*(*cp)->bp) * hsz); 111 Bucket *bp; local 121 bp = &cp->bp[(*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)]; 122 if (bp->nent >= bp->nalloc) 164 Bucket *bp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/sendmail/db/btree/ |
| btree_auto.c | 40 u_int8_t *bp; local 59 bp = logrec.data; 60 memcpy(bp, &rectype, sizeof(rectype)); 61 bp += sizeof(rectype); 62 memcpy(bp, &txn_num, sizeof(txn_num)); 63 bp += sizeof(txn_num); 64 memcpy(bp, lsnp, sizeof(DB_LSN)); 65 bp += sizeof(DB_LSN); 66 memcpy(bp, &fileid, sizeof(fileid)); 67 bp += sizeof(fileid) 149 u_int8_t *bp; local 203 u_int8_t *bp; local 320 u_int8_t *bp; local 380 u_int8_t *bp; local 521 u_int8_t *bp; local 584 u_int8_t *bp; local 721 u_int8_t *bp; local 779 u_int8_t *bp; local 884 u_int8_t *bp; local 938 u_int8_t *bp; local 1043 u_int8_t *bp; local 1094 u_int8_t *bp; local 1191 u_int8_t *bp; local 1247 u_int8_t *bp; local 1396 u_int8_t *bp; local [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/crypto/ocsp/ |
| ocsp_prn.c | 69 static int ocsp_certid_print(BIO *bp, OCSP_CERTID* a, int indent) 71 BIO_printf(bp, "%*sCertificate ID:\n", indent, ""); 73 BIO_printf(bp, "%*sHash Algorithm: ", indent, ""); 74 i2a_ASN1_OBJECT(bp, a->hashAlgorithm->algorithm); 75 BIO_printf(bp, "\n%*sIssuer Name Hash: ", indent, ""); 76 i2a_ASN1_STRING(bp, a->issuerNameHash, V_ASN1_OCTET_STRING); 77 BIO_printf(bp, "\n%*sIssuer Key Hash: ", indent, ""); 78 i2a_ASN1_STRING(bp, a->issuerKeyHash, V_ASN1_OCTET_STRING); 79 BIO_printf(bp, "\n%*sSerial Number: ", indent, ""); 80 i2a_ASN1_INTEGER(bp, a->serialNumber) [all...] |
| /onnv/onnv-gate/usr/src/cmd/captoinfo/ |
| otermcap.c | 93 * Get an entry for terminal name in buffer bp, 98 otgetent(char *bp, char *name) 105 ret = _tgetent(bp, name); 112 if (strlen(bp) >= 1024) 120 _tgetent(char *bp, char *name) 129 tbuf = bp; 144 (void) strcpy(bp, cp); 160 cp = bp; 172 if (cp > bp && cp[-1] == '\\') { 178 if (cp >= bp + TBUFSIZE) 309 char *bp = tbuf; local 341 char *bp = tbuf; local 367 char *bp = tbuf; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/ufs/ |
| lufs_log.c | 50 makebusy(ml_unit_t *ul, buf_t *bp) 52 sema_p(&bp->b_sem); 53 if ((bp->b_flags & B_ERROR) == 0) 55 if (bp->b_flags & B_READ) 62 logdone(buf_t *bp) 64 bp->b_flags |= B_DONE; 66 if (bp->b_flags & B_WRITE) 67 sema_v(&bp->b_sem); 70 sema_v(&bp->b_io); 79 buf_t *bp; local 354 buf_t *bp; local 395 buf_t *bp; local 439 buf_t *bp; local 487 buf_t *bp; local 536 buf_t *bp; local 586 buf_t *bp; local 610 buf_t *bp, *bpend; local 643 buf_t *bp; local 894 buf_t *bp; local 946 buf_t *bp; local 997 buf_t *bp; local 1063 buf_t *bp; local 1087 buf_t *bp; local 1113 buf_t *bp; local 1195 buf_t *bp = ul->un_bp; local 1440 buf_t *bp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/sendmail/db/log/ |
| log_auto.c | 40 u_int8_t *bp; local 58 bp = logrec.data; 59 memcpy(bp, &rectype, sizeof(rectype)); 60 bp += sizeof(rectype); 61 memcpy(bp, &txn_num, sizeof(txn_num)); 62 bp += sizeof(txn_num); 63 memcpy(bp, lsnp, sizeof(DB_LSN)); 64 bp += sizeof(DB_LSN); 65 memcpy(bp, &opcode, sizeof(opcode)); 66 bp += sizeof(opcode) 169 u_int8_t *bp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/sendmail/db/db/ |
| db_auto.c | 43 u_int8_t *bp; local 64 bp = logrec.data; 65 memcpy(bp, &rectype, sizeof(rectype)); 66 bp += sizeof(rectype); 67 memcpy(bp, &txn_num, sizeof(txn_num)); 68 bp += sizeof(txn_num); 69 memcpy(bp, lsnp, sizeof(DB_LSN)); 70 bp += sizeof(DB_LSN); 71 memcpy(bp, &opcode, sizeof(opcode)); 72 bp += sizeof(opcode) 188 u_int8_t *bp; local 250 u_int8_t *bp; local 367 u_int8_t *bp; local 427 u_int8_t *bp; local 568 u_int8_t *bp; local 627 u_int8_t *bp; local 724 u_int8_t *bp; local 777 u_int8_t *bp; local 898 u_int8_t *bp; local 955 u_int8_t *bp; local 1060 u_int8_t *bp; local 1112 u_int8_t *bp; local 1257 u_int8_t *bp; local [all...] |