/illumos-gate/usr/src/lib/libwrap/ |
H A D | percent_m.c | 27 char *bp = obuf; local 30 while (*bp = *cp) 32 strcpy(bp, strerror(errno)); 33 bp += strlen(bp); 36 bp++, cp++;
|
H A D | percent_x.c | 46 char *bp = result; local 85 if (bp + expansion_len >= end) { 90 memcpy(bp, expansion, expansion_len); 91 bp += expansion_len; 93 *bp = 0;
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | fullname.c | 30 fullname(char *bp, char *def) argument 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 */
|
H A D | longname.c | 29 longname(char *bp, char *def) argument 33 while (*bp && *bp != ':' && *bp != '|') 34 bp++; 35 if (*bp == '|') { 36 bp++; 38 while (*bp && *bp != ':' && *bp ! [all...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/mks/ |
H A D | m_crcpos.c | 116 m_crcposix(unsigned int *crcp, const unsigned char *bp, size_t n) argument 118 m_crcposix(unsigned long *crcp, const unsigned char *bp, size_t n) 122 *crcp = (*crcp << 8) ^ crctab[(unsigned char)((*crcp>>24)^*bp++)];
|
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | 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 [all...] |
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | 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 [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn_term.c | 51 eqn_box(struct termp *p, const struct eqn_box *bp) argument 55 if (bp->type == EQN_LIST || 56 (bp->type == EQN_PILE && (bp->prev || bp->next)) || 57 (bp->parent != NULL && bp->parent->pos == EQNPOS_SQRT)) { 58 if (bp->parent->type == EQN_SUBEXPR && bp->prev != NULL) 60 term_word(p, bp [all...] |
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | blkptr.c | 43 * buf must be at least BPE_GET_PSIZE(bp) bytes long (which will never be 47 decode_embedded_bp_compressed(const blkptr_t *bp, void *buf) argument 52 const uint64_t *bp64 = (const uint64_t *)bp; 54 ASSERT(BP_IS_EMBEDDED(bp)); 56 psize = BPE_GET_PSIZE(bp); 65 ASSERT3P(bp64, <, bp + 1); 68 if (!BPE_IS_PAYLOADWORD(bp, bp64))
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | 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 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...] |
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | siglongjmp.c | 50 volatile sigjmp_struct_t *bp = (sigjmp_struct_t *)env; local 51 greg_t fp = bp->sjs_fp; 52 greg_t i7 = bp->sjs_i7; 65 uc.uc_stack = bp->sjs_stack; 66 uc.uc_link = bp->sjs_uclink; 67 reg[REG_PC] = bp->sjs_pc; 69 reg[REG_SP] = bp->sjs_sp; 71 if (bp->sjs_flags & JB_SAVEMASK) { 73 uc.uc_sigmask = bp->sjs_sigmask; 92 if (bp [all...] |
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | siglongjmp.c | 47 volatile sigjmp_struct_t *bp = (sigjmp_struct_t *)env; local 48 greg_t fp = bp->sjs_fp; 49 greg_t i7 = bp->sjs_i7; 62 uc.uc_stack = bp->sjs_stack; 63 uc.uc_link = bp->sjs_uclink; 64 reg[REG_PC] = bp->sjs_pc; 66 reg[REG_SP] = bp->sjs_sp; 67 reg[REG_ASI] = bp->sjs_asi; 68 reg[REG_FPRS] = bp->sjs_fprs; 70 if (bp [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_builtin.c | 44 const fmd_builtin_t *bp; local 46 for (bp = _fmd_builtins; bp->bltin_name != NULL; bp++) { 47 if (strcmp(mp->mod_name, bp->bltin_name) == 0) 51 if (bp == NULL) 54 if (bp->bltin_init == NULL) 57 mp->mod_data = (void *)bp; 64 if (fmd_module_enter(mp, bp->bltin_init) != 0 && mp->mod_info != NULL) 79 fmd_builtin_t *bp local 106 const fmd_builtin_t *bp; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | misc.c | 35 u_char *s, *bp = (u_char *)buf; local 54 BCOPY(s, bp, clen); 56 bp += clen; 66 u_char *s, *bp = (u_char *)buf; local 87 BCOPY(bp, s, clen); 89 bp += clen; 98 BCOPY(bp, mp->b_wptr, mlen); 99 bp += mlen; 114 BCOPY(bp, m->b_wptr, len);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | copyops.c | 34 physio(int (*strat)(struct buf *), struct buf *bp, dev_t dev, argument 37 return (default_physio(strat, bp, dev, rw, mincnt, uio));
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfpeek.c | 35 extern ssize_t sfpeek(reg Sfio_t* f, Void_t** bp, reg size_t size) argument 37 extern ssize_t sfpeek(f,bp,size) 39 Void_t** bp; /* start of data area */ 46 if((sz = size) == 0 || !bp) 56 if(!bp) 59 { *bp = (Void_t*)f->next; 70 *bp = sfreserve(f, sz <= 0 ? 0 : sz > f->size ? f->size : sz, 0); 72 if(*bp && sz >= 0) 76 { *bp = (Void_t*)f->next;
|
/illumos-gate/usr/src/lib/libast/common/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)))
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | 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 119 struct buf *bp = *bpp; local [all...] |
/illumos-gate/usr/src/lib/lvm/libsvm/common/ |
H A D | check_svm.c | 54 char *bp = NULL; local 66 bp = strstr(line, "mddb_bootlist"); 67 if (bp != NULL) { 76 if (bp == NULL || errno != 0)
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_builtin.c | 61 const topo_builtin_t *bp; local 63 for (bp = _topo_builtins; bp->bltin_name != NULL; bp++) { 64 if (strcmp(mp->tm_name, bp->bltin_name) == 0) 68 mp->tm_data = (void *)bp; 70 if ((*bp->bltin_init)(mp, version) != 0 || mp->tm_info == NULL) { 75 bp->bltin_name, topo_mod_errmsg(mp)); 85 topo_builtin_t *bp = mp->tm_data; local 88 (*bp 104 const topo_builtin_t *bp; local [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getpw.c | 51 char *bp; local 74 bp = buf; 80 *bp++ = (char)c; 82 *bp = '\0'; 83 bp = buf; 86 while ((c = *bp++) != ':') 91 while ((c = *bp++) != ':')
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | ifspec.c | 46 getlun(const char *bp, int bpsize, uint_t *lun) argument 48 char *ep = (char *)&bp[bpsize - 1]; 49 char *sp = strchr(bp, ':'), *tp; 52 if (isdigit(*bp) || !isdigit(*ep) || sp == NULL || 80 getppa(const char *bp, int bpsize, uint_t *ppa) argument 82 char *ep = (char *)&bp[bpsize - 1]; 90 for (tp = ep; tp >= bp && isdigit(*tp); tp--)
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | 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 169 u_int8_t *bp; local [all...] |
/illumos-gate/usr/src/cmd/tip/ |
H A D | remote.c | 38 char *bp = buf; local 72 **q = rgetstr(*p, &bp);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | blkptr.c | 47 encode_embedded_bp_compressed(blkptr_t *bp, void *data, argument 50 uint64_t *bp64 = (uint64_t *)bp; 60 bzero(bp, sizeof (*bp)); 61 BP_SET_EMBEDDED(bp, B_TRUE); 62 BP_SET_COMPRESS(bp, comp); 63 BP_SET_BYTEORDER(bp, ZFS_HOST_BYTEORDER); 64 BPE_SET_LSIZE(bp, uncompressed_size); 65 BPE_SET_PSIZE(bp, compressed_size); 75 ASSERT3P(bp64, <, bp 93 decode_embedded_bp_compressed(const blkptr_t *bp, void *buf) argument [all...] |