| /onnv/onnv-gate/usr/src/lib/libast/common/vmalloc/ |
| vmtrace.c | 111 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, tritoa((Vmulong_t)align, 1), ':') 206 char buf[1024], *bufp; local [all...] |
| vmdebug.c | 112 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, "corrupted data", ':') [all...] |
| /onnv/onnv-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
| kernelEmulate.c | 70 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->buf == NULL) 155 digest_buf_t *bufp; local [all...] |
| kernelEmulate.h | 53 digest_buf_t *bufp = (opp)->context; \ 54 if (bufp != NULL) { \ 55 bzero(bufp->buf, bufp->indata_len); \ 56 bufp->indata_len = 0; \
|
| kernelSessionUtil.c | 296 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->indata_len) 324 digest_buf_t *bufp = session_p->verify.context; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libdhcpsvc/modules/nisplus/ |
| nisplus_impl.c | 50 dn_to_ip(const char *container_name, char *bufp, int len) 59 for (op = &container_name[sizeof (TMPLT_PFX) - 1], tp = bufp; 66 return (inet_pton(AF_INET, (const char *)bufp, (void *)&ip) == 0); 76 ip_to_dn(const char *ip_name, char *bufp, int len) 83 (void) snprintf(bufp, len, TMPLT_PFX "%s", ip_name); 85 for (tp = &bufp[sizeof (TMPLT_PFX)]; *tp != '\0'; tp++) {
|
| /onnv/onnv-gate/usr/src/lib/libparted/common/lib/ |
| regex.c | 36 # 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, st1, s1, st2, s2, startpos, range, regs, stop [all...] |
| /onnv/onnv-gate/usr/src/cmd/agents/snmp/snmplib/ |
| asn1.c | 59 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...] |
| /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/ |
| ipft_sn.c | 130 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 = malloc(i) [all...] |
| ipft_pc.c | 193 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 = malloc(i) [all...] |
| /onnv/onnv-gate/usr/src/cmd/sh/ |
| print.c | 46 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...] |
| /onnv/onnv-gate/usr/src/lib/libpri/common/ |
| pri.c | 124 * - 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;
|
| /onnv/onnv-gate/usr/src/lib/libcurses/screen/ |
| mbtranslate.c | 66 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;
|
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
| serialize.c | 200 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_t *remainp [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/nge/ |
| nge_rx.c | 72 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...] |
| /onnv/onnv-gate/usr/src/cmd/nscd/ |
| nscd_frontend.h | 45 #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); \
|
| /onnv/onnv-gate/usr/src/uts/i86pc/os/ |
| biosdisk.c | 160 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)[i] 252 caddr_t bufp; local 296 fn4b_t *bufp; local [all...] |
| /onnv/onnv-gate/usr/src/common/net/dhcp/ |
| octet.c | 55 octet_to_hexascii(const void *nump, uint_t nlen, char *bufp, uint_t *blen) 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) 90 if (asp == NULL || bufp == NULL || blen == NULL) 97 for (tp = asp, u_tp = (uchar_t *)bufp, i = 0; i < k; i++, u_tp++) {
|
| /onnv/onnv-gate/usr/src/lib/libldap4/common/ |
| dsparse.c | 52 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 ) 68 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) { 111 next_line( char **bufp, ssize_t *blenp, char **linep ) 116 linestart = *bufp; 117 p = *bufp; 143 *bufp = p;
|
| /onnv/onnv-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
| init.c | 44 static void mdesc_free(void *bufp, size_t size); 97 mdesc_free(void *bufp, size_t size) 99 if (bufp) 100 free(bufp);
|
| /onnv/onnv-gate/usr/src/cmd/picl/plugins/sun4v/pri/ |
| init.c | 36 static void pri_free(void *bufp, size_t size); 98 pri_free(void *bufp, size_t size) 100 if (bufp) 101 free(bufp);
|
| /onnv/onnv-gate/usr/src/lib/mms/mgmt/common/ |
| mgmt_probe.c | 69 char *bufp; local 157 bufp = &(buf[4]); 160 i++, bufp++) { 161 if ((*bufp == '\0') || (*bufp == ' ')) { 165 ser[i] = *bufp; 196 bufp = &(buf[8]); 198 for (i = 0; i < (sizeof (vid) - 1); i++, bufp++) { 199 if ((*bufp == '\0') || (*bufp == ' ')) [all...] |
| /onnv/onnv-gate/usr/src/lib/libldap5/sources/ldap/common/ |
| dsparse.c | 44 static int next_line( char **bufp, long *blenp, char **linep ); 48 ldap_next_line_tokens( char **bufp, long *blenp, char ***toksp ) 55 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) { 98 next_line( char **bufp, long *blenp, char **linep ) 103 linestart = *bufp; 104 p = *bufp; 130 *bufp = p;
|
| /onnv/onnv-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
| scsi_vhci_tpgs.c | 57 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, len) 302 char *bufp; local 443 char *ptr, *end, *bufp, *mpapi_ptr; local [all...] |
| /onnv/onnv-gate/usr/src/lib/pam_modules/list/ |
| list.c | 71 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, NULL, username [all...] |