/osnet-11/usr/src/lib/libwrap/ |
H A D | 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++;
|
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;
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/mks/ |
H A D | m_crcpos.c | 112 m_crcposix(unsigned int *crcp, const unsigned char *bp, size_t n) argument 114 m_crcposix(unsigned long *crcp, const unsigned char *bp, size_t n) 118 *crcp = (*crcp << 8) ^ crctab[(unsigned char)((*crcp>>24)^*bp++)];
|
/osnet-11/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;
|
/osnet-11/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)))
|
/osnet-11/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...] |
/osnet-11/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...] |
/osnet-11/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) 67 mp->tm_data = (void *)bp; 69 if ((*bp->bltin_init)(mp, version) != 0 || mp->tm_info == NULL) { 74 bp->bltin_name, topo_mod_errmsg(mp)); 84 topo_builtin_t *bp = mp->tm_data; local 87 (*bp 103 const topo_builtin_t *bp; local [all...] |
/osnet-11/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...] |
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | ccmapid.c | 140 const Ccmap_t* bp; local 144 bp = 0; 154 bp = mp; 157 return bp ? bp->ccode : -1;
|
/osnet-11/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++) != ':')
|
/osnet-11/usr/src/lib/libcmd/common/ |
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) 97 while(cp = bp = sfgetr(in,'\n',0)) 99 ep = bp + (n=sfvalue(in)) -1; 100 while(ep > bp) 103 *ep = *bp; [all...] |
H A D | tee.c | 73 register const char* bp; local 81 bp = (const char*)buf; 82 ep = bp + n; 83 while (bp < ep) 85 if ((r = write(fd, bp, ep - bp)) <= 0) 87 bp += r;
|
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/ |
H A D | bay_common.c | 58 bay_set_label(topo_mod_t *mod, bay_t *bp, tnode_t *tn) argument 67 rv = topo_node_label_set(tn, bp->label, &err); 72 bp->label == NULL ? "NULL" : bp->label, 73 bp->hba_nm, bp->phy, topo_strerror(err));
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | ser_cc.c | 103 krb5_octet *bp; 109 bp = *buffer; 117 (void) krb5_ser_pack_int32(KV5M_CCACHE, &bp, &remain); 130 &bp, &remain); 135 &bp, &remain); 138 (void) krb5_ser_pack_int32(KV5M_CCACHE, &bp, &remain); 140 *buffer = bp; 159 krb5_octet *bp; 165 bp = *buffer; 169 kret = krb5_ser_unpack_int32(&ibuf, &bp, 101 krb5_octet *bp; local 156 krb5_octet *bp; local [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | ser_rc.c | 106 krb5_octet *bp; 112 bp = *buffer; 120 (void) krb5_ser_pack_int32(KV5M_RCACHE, &bp, &remain); 133 &bp, &remain); 138 &bp, &remain); 141 (void) krb5_ser_pack_int32(KV5M_RCACHE, &bp, &remain); 143 *buffer = bp; 162 krb5_octet *bp; 166 bp = *buffer; 170 if (krb5_ser_unpack_int32(&ibuf, &bp, 104 krb5_octet *bp; local 159 krb5_octet *bp; local [all...] |
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | t-qic.c | 58 char *obp, *bp; local 65 bp = str2prt(line_in); 71 fprintf(stderr, "in: %s\n", bp); 72 bp = str2prt(line_back); 73 fprintf(stderr, "out:%s\n", bp); 79 fprintf(stderr, "%s -> ", bp); 80 bp = str2prt(obp); 81 fprintf(stderr, "%s\n", bp); 169 char *bp; local 171 bp 196 char *bp; local 225 char *bp; local [all...] |
/osnet-11/usr/src/lib/libc/sparc/threads/ |
H A D | machdep.c | 183 sigjmp_struct_t *bp = (sigjmp_struct_t *)env; local 187 * bp->sjs_sp, bp->sjs_pc, bp->sjs_fp and bp->sjs_i7 are already set. 189 * then bp->sjs_asi and bp->sjs_fprs are already set. 191 bp->sjs_flags = JB_FRAMEPTR; 192 bp->sjs_uclink = self->ul_siglink; 194 bp [all...] |
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | inet6_rthdr.c | 67 inet6_rth_init(void *bp, socklen_t bp_len, int type, int segments) argument 79 rthdr = (struct ip6_rthdr0 *)bp; 85 return (bp); 93 inet6_rth_add(void *bp, const struct in6_addr *addr) argument 98 rthdr = (struct ip6_rthdr0 *)bp; 148 inet6_rth_segments(const void *bp) argument 152 rthdr = (struct ip6_rthdr0 *)bp; 169 inet6_rth_getaddr(const void *bp, int index) argument 174 rthdr = (struct ip6_rthdr0 *)bp;
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ldaputf8.c | 140 const char *bp; local 150 for (bp = brk; (bc = LDAP_UTF8GETCC(bp)) != 0;) { 166 bp = brk; 168 if ((bc = LDAP_UTF8GETCC(bp)) == sc) {
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | xdr_sizeof.c | 60 x_putbytes(XDR *xdrs, char *bp, int len) argument
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | 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 164 Bucket *bp; local [all...] |
H A D | nhash.h | 57 Bucket *bp; member in struct:cache_t
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | bus.c | 55 bus_t *bp; local 63 bp = dp->p.bus; 65 if (nvlist_add_string(attrs, DM_BTYPE, bp->btype) != 0) { 71 if (bp->freq != 0) { 72 if (nvlist_add_uint32(attrs, DM_CLOCK, bp->freq) != 0) { 79 if (bp->pname != NULL) { 80 if (nvlist_add_string(attrs, DM_PNAME, bp->pname) != 0) { 145 bus_t *bp; local 150 bp = cache_get_buslist(); 151 while ((error == 0) && (bp ! 163 bus_t *bp; local 217 bus_t *bp; local [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_buf.c | 49 dt_buf_create(dtrace_hdl_t *dtp, dt_buf_t *bp, const char *name, size_t len) argument 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) argument 76 dt_buf_reset(dtrace_hdl_t *dtp, dt_buf_t *bp) argument 85 dt_buf_write(dtrace_hdl_t *dtp, dt_buf_t *bp, const void *buf, size_t len, size_t align) argument 139 dt_buf_offset(const dt_buf_t *bp, size_t align) argument 146 dt_buf_len(const dt_buf_t *bp) argument 152 dt_buf_error(const dt_buf_t *bp) argument 158 dt_buf_ptr(const dt_buf_t *bp) argument 164 dt_buf_claim(dtrace_hdl_t *dtp, dt_buf_t *bp) argument [all...] |