Searched refs:bufp (Results 1 - 25 of 290) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmtrace.c111 char buf[1024], *bufp, *endbuf; local
135 bufp = buf; endbuf = buf+sizeof(buf);
136 bufp = trstrcpy(bufp, tritoa(oldaddr ? VLONG(oldaddr) : 0L, 0), ':');
137 bufp = trstrcpy(bufp, tritoa(newaddr ? VLONG(newaddr) : 0L, 0), ':');
138 bufp = trstrcpy(bufp, tritoa((Vmulong_t)size, 1), ':');
139 bufp = trstrcpy(bufp, trito
206 char buf[1024], *bufp; local
[all...]
H A Dvmdebug.c112 char buf[1024], *bufp, *endbuf, *s; local
117 bufp = buf;
121 bufp = (*_Vmstrcpy)(bufp, "alloc error", ':');
123 bufp = (*_Vmstrcpy)(bufp, "free error", ':');
125 bufp = (*_Vmstrcpy)(bufp, "resize error", ':');
127 bufp = (*_Vmstrcpy)(bufp, "corrupte
755 char buf[1024], *bufp; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelEmulate.c70 digest_buf_t *bufp; local
76 bufp = opp->context;
78 if (bufp != NULL) {
79 bufp->indata_len = 0;
84 if (buflen > bufp->buf_len) {
85 free(bufp->buf);
86 bufp->buf = NULL;
89 bufp = opp->context = calloc(1, sizeof (digest_buf_t));
90 if (bufp == NULL) {
95 if (bufp
156 digest_buf_t *bufp; local
[all...]
H A DkernelEmulate.h56 digest_buf_t *bufp = (opp)->context; \
57 if (bufp != NULL) { \
58 bzero(bufp->buf, bufp->indata_len); \
59 bufp->indata_len = 0; \
H A DkernelSessionUtil.c296 digest_buf_t *bufp = session_p->digest.context; local
298 if (bufp->buf != NULL) {
300 bzero(bufp->buf, bufp->indata_len);
301 free(bufp->buf);
303 free(bufp);
313 digest_buf_t *bufp = session_p->sign.context; local
315 if (bufp->buf != NULL) {
317 bzero(bufp->buf, bufp
324 digest_buf_t *bufp = session_p->verify.context; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libparted/common/lib/
H A Dregex.c36 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \
37 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
38 # define re_match(bufp, string, size, pos, regs) \
39 __re_match (bufp, string, size, pos, regs)
40 # define re_search(bufp, string, size, startpos, range, regs) \
41 __re_search (bufp, string, size, startpos, range, regs)
42 # define re_compile_pattern(pattern, length, bufp) \
43 __re_compile_pattern (pattern, length, bufp)
45 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \
46 __re_search_2 (bufp, st
[all...]
/opensolaris-onvv-gate/usr/src/cmd/agents/snmp/snmplib/
H A Dasn1.c59 u_char *bufp = data; local
70 *type = *bufp++;
71 bufp = asn_parse_length(bufp, &asn_length, error_label);
72 if (bufp == NULL){
77 if (asn_length + (uint32_t)(bufp - data) > *datalength){
86 *datalength -= asn_length + (uint32_t)(bufp - data);
87 if (*bufp & 0x80)
90 value = (value << 8) | *bufp++;
92 return bufp;
117 u_char *bufp = data; local
315 u_char *bufp = data; local
397 u_char *bufp = data; local
562 u_char *bufp = data; local
716 u_char *bufp = data; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_sn.c130 static char *bufp = NULL; local
136 if (!bufp)
137 bufp = malloc(i);
139 bufp = realloc(bufp, i);
141 if (read(sfd, bufp, i) != i)
145 bcopy(bufp, buf, n);
158 static char *bufp = NULL; local
168 if (!bufp)
169 bufp
[all...]
H A Dipft_pc.c193 static char *bufp = NULL; local
199 if (!bufp)
200 bufp = malloc(i);
202 bufp = realloc(bufp, i);
204 if (read(pfd, bufp, i) != i)
208 bcopy(bufp, buf, n);
221 static char *bufp = NULL; local
233 if (!bufp)
234 bufp
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sh/
H A Dprint.c46 static unsigned char *bufp = buffer; variable
201 bufp[index] = '\0';
202 write(buffd, bufp, length(bufp) - 1);
215 bufp[index++] = c;
234 movstr(s, &bufp[index]);
255 unsigned char *ptr = bufp;
295 if (buffd != -1 && ptr >= &bufp[BUFLEN-4]) {
297 prs(bufp);
298 ptr = bufp;
[all...]
/opensolaris-onvv-gate/usr/src/lib/libpri/common/
H A Dpri.c124 * - freep(bufp, size)
137 uint64_t *bufp; /* buf holding PRI */ local
169 if ((bufp = (uint64_t *)allocp(size)) == NULL) {
174 if (read(pri_fd, bufp, size) < 0) {
175 freep(bufp, size);
187 freep(bufp, size);
191 freep(bufp, size);
196 *buf = bufp;
/opensolaris-onvv-gate/usr/src/lib/libcurses/screen/
H A Dmbtranslate.c66 char *bufp; local
90 bufp = byte ? byte : buf;
93 bufp += _curs_wctomb(bufp, *code & TRIM);
96 *bufp = '\0';
110 wchar_t *bufp; local
130 bufp = code ? code : buf;
144 *bufp++ = wchar;
149 *bufp = 0;
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dserialize.c200 krb5_ser_pack_int32(krb5_int32 iarg, krb5_octet **bufp, size_t *remainp)
203 (*bufp)[0] = (krb5_octet) ((iarg >> 24) & 0xff);
204 (*bufp)[1] = (krb5_octet) ((iarg >> 16) & 0xff);
205 (*bufp)[2] = (krb5_octet) ((iarg >> 8) & 0xff);
206 (*bufp)[3] = (krb5_octet) (iarg & 0xff);
207 *bufp += sizeof(krb5_int32);
221 krb5_ser_pack_int64(krb5_int64 iarg, krb5_octet **bufp, size_t *remainp)
224 store_64_be(iarg, (unsigned char *)*bufp);
225 *bufp += sizeof(krb5_int64);
238 krb5_ser_pack_bytes(krb5_octet *ostring, size_t osize, krb5_octet **bufp, size_
193 krb5_ser_pack_int32(krb5_int32 iarg, krb5_octet **bufp, size_t *remainp) argument
213 krb5_ser_pack_int64(krb5_int64 iarg, krb5_octet **bufp, size_t *remainp) argument
229 krb5_ser_pack_bytes(krb5_octet *ostring, size_t osize, krb5_octet **bufp, size_t *remainp) argument
245 krb5_ser_unpack_int32(krb5_int32 *intp, krb5_octet **bufp, size_t *remainp) argument
264 krb5_ser_unpack_int64(krb5_int64 *intp, krb5_octet **bufp, size_t *remainp) argument
280 krb5_ser_unpack_bytes(krb5_octet *istring, size_t isize, krb5_octet **bufp, size_t *remainp) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/nge/
H A Dnge_rx.c72 dma_area_t *bufp; local
76 bufp = (dma_area_t *)arg;
77 ngep = (nge_t *)bufp->private;
85 if (bufp->signature != brp->buf_sign) {
86 if (bufp->rx_delivered == B_TRUE) {
87 nge_free_dma_mem(bufp);
88 kmem_free(bufp, sizeof (dma_area_t));
98 bufp->rx_recycle.free_func = nge_recv_recycle;
99 bufp->rx_recycle.free_arg = (caddr_t)bufp;
152 dma_area_t *bufp; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/nscd/
H A Dnscd_frontend.h45 #define NSCD_ALLOC_LOOKUP_BUFFER(bufp, bufsiz, hdrp, space, spsiz) \
48 bufp = space; \
54 (bufp) = NULL; \
58 (bufp) = alloca(bufsiz); \
59 if ((bufp) != NULL) { \
60 (void) memcpy((bufp), (hdrp), NSCD_PHDR_LEN(hdrp)); \
61 (hdrp) = (nss_pheader_t *)(void *)(bufp); \
/opensolaris-onvv-gate/usr/src/uts/i86pc/os/
H A Dbiosdisk.c160 fn48_t *bufp; local
168 bufp = (fn48_t *)BIOS_RES_BUFFER_ADDR;
174 for (i = 0; i < sizeof (*bufp); i++)
175 ((uchar_t *)bufp)[i] = 0;
177 bufp->buflen = sizeof (*bufp);
181 rp.esi.word.si = (uint16_t)FP_OFF((uint_t)(uintptr_t)bufp);
182 rp.ds = FP_SEG((uint_t)(uintptr_t)bufp);
202 for (i = 0; i < sizeof (*bufp); i++)
203 tmp[i] = ((uchar_t *)bufp)[
252 caddr_t bufp; local
296 fn4b_t *bufp; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf_util.c65 char *name, *inst, *bufp, *fullname; local
73 bufp = fmd_hdl_alloc(hdl, len, FMD_SLEEP);
74 (void) snprintf(bufp, len, "svc:/%s:%s", name, inst);
76 fullname = fmd_hdl_strdup(hdl, bufp, FMD_SLEEP);
77 fmd_hdl_free(hdl, bufp, len);
/opensolaris-onvv-gate/usr/src/common/net/dhcp/
H A Doctet.c55 octet_to_hexascii(const void *nump, uint_t nlen, char *bufp, uint_t *blen) argument
62 if (nump == NULL || bufp == NULL || blen == NULL)
69 for (i = 0, bp = bufp, np = (const uchar_t *)nump; i < nlen; i++) {
84 hexascii_to_octet(const char *asp, uint_t alen, void *bufp, uint_t *blen) argument
90 if (asp == NULL || bufp == NULL || blen == NULL)
97 for (tp = asp, u_tp = (uchar_t *)bufp, i = 0; i < k; i++, u_tp++) {
/opensolaris-onvv-gate/usr/src/lib/libldap4/common/
H A Ddsparse.c52 int next_line_tokens( char **bufp, ssize_t *blenp, char ***toksp );
53 static ssize_t next_line( char **bufp, ssize_t *blenp, char **linep );
60 next_line_tokens( char **bufp, ssize_t *blenp, char ***toksp ) argument
68 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) {
111 next_line( char **bufp, ssize_t *blenp, char **linep ) argument
116 linestart = *bufp;
117 p = *bufp;
143 *bufp = p;
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dinit.c44 static void mdesc_free(void *bufp, size_t size);
97 mdesc_free(void *bufp, size_t size) argument
99 if (bufp)
100 free(bufp);
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dinit.c36 static void pri_free(void *bufp, size_t size);
98 pri_free(void *bufp, size_t size) argument
100 if (bufp)
101 free(bufp);
/opensolaris-onvv-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddsparse.c44 static int next_line( char **bufp, long *blenp, char **linep );
48 ldap_next_line_tokens( char **bufp, long *blenp, char ***toksp ) argument
55 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) {
98 next_line( char **bufp, long *blenp, char **linep ) argument
103 linestart = *bufp;
104 p = *bufp;
130 *bufp = p;
/opensolaris-onvv-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci_tpgs.c57 char *bufp; local
69 bufp = kmem_zalloc(len, KM_NOSLEEP);
70 if (bufp == NULL) {
77 bp->b_un.b_addr = bufp;
82 bufp[4] = (0x0f & set_state);
83 bufp[6] = (0xff00 & tpg_id) >> 8;
84 bufp[7] = (0x00ff & tpg_id);
93 kmem_free((void *)bufp, len);
113 print_buf(bufp, len);
121 kmem_free((void *)bufp, le
307 char *bufp; local
448 char *ptr, *end, *bufp, *mpapi_ptr; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/pam_modules/list/
H A Dlist.c71 char *bufp; local
228 bufp = buf;
260 bufp++;
264 bufp++;
280 bufp++;
287 if ((bufp[0] == '@') && (bufp[1] != '\0')) {
288 bufp++;
291 if (innetgr(bufp, rhost, username,
298 userok = innetgr(bufp, NUL
[all...]
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/asn1/
H A Df_enum.c104 unsigned char *bufp; local
135 bufp=(unsigned char *)buf;
139 if ((bufp[0] == '0') && (buf[1] == '0'))
141 bufp+=2;
174 m=bufp[k+n];

Completed in 285 milliseconds

1234567891011>>