/osnet-11/usr/src/lib/libnsl/nsl/ |
H A D | t_optmgmt.c | 88 * Acquire buf for use in sending/receiving of the message. 115 if (req->opt.buf == NULL || 122 opt_start = (struct t_opthdr *)req->opt.buf; 128 * "opt.buf" at start of buffer and in combination with 131 * applies to output buffer "ret->opt.buf" is an "interesting 220 optreq = (struct T_optmgmt_req *)ctlbuf.buf; 233 req->opt.buf, &optreq->OPT_offset) < 0) { 244 if (_t_do_ioctl(fd, ctlbuf.buf, size, TI_OPTMGMT, &retlen) < 0) 254 optack = (struct T_optmgmt_ack *)ctlbuf.buf; 261 (void) memcpy(ret->opt.buf, [all...] |
H A D | t_rcvudata.c | 148 pptr = (union T_primitives *)ctlbuf.buf; 172 (void) memcpy(unitdata->addr.buf, 173 ctlbuf.buf + pptr->unitdata_ind.SRC_offset, 186 (void) memcpy(unitdata->opt.buf, ctlbuf.buf + 202 free(ctlbuf.buf); 204 tiptr->ti_ctlbuf = ctlbuf.buf; 210 if (_t_register_lookevent(tiptr, 0, 0, ctlbuf.buf, 244 free(ctlbuf.buf); 246 tiptr->ti_ctlbuf = ctlbuf.buf; [all...] |
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Aggregation.java | 348 StringBuilder buf = new StringBuilder(); 349 buf.append(Aggregation.class.getName()); 350 buf.append("[name = "); 351 buf.append(name); 352 buf.append(", id = "); 353 buf.append(id); 354 buf.append(", records = "); 364 buf.append('['); 370 buf.append(", "); 372 buf [all...] |
H A D | AggregationRecord.java | 263 StringBuilder buf = new StringBuilder(); 264 buf.append(AggregationRecord.class.getName()); 265 buf.append("[tuple = "); 266 buf.append(tuple); 267 buf.append(", value = "); 268 buf.append(value); 269 buf.append(']'); 270 return buf.toString();
|
/osnet-11/usr/src/lib/efcode/upa/ |
H A D | upa.c | 46 static char buf[8]; local 54 sprintf(buf, "%x,%x", hi, lo); 55 push_a_string(env, buf);
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | fwrite.c | 31 ** buf -- location of data to be written 41 sm_io_write(fp, timeout, buf, size) 44 const void *buf; 58 iov.iov_base = (void *) buf;
|
H A D | t-string.c | 26 char buf[4096]; local 38 sm_snprintf(buf, 4096, "+%*x+", 2000, 0xCAFE); 39 SM_TEST(strcmp(s, buf) == 0);
|
H A D | setvbuf.c | 34 ** If 'buf' is == NULL then space will be allocated at 'size'. 39 ** buf -- buffer to use 41 ** size -- size of 'buf' 49 sm_io_setvbuf(fp, timeout, buf, mode, size) 52 char *buf; 66 ** particular implementation. Note, buf and size are ignored 110 buf = NULL; /* force local allocation */ 115 if (buf == NULL) 117 if ((buf = sm_malloc(size)) == NULL) 128 buf [all...] |
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regrexec.c | 38 register unsigned char* buf = (unsigned char*)s; local 62 buf = beg = (unsigned char*)s; 63 end = buf + len; 75 while ((index += skip[buf[index]]) < mid); 79 m = mask[n = exactlen - 1][buf[index]]; 84 } while (m &= mask[n][buf[--index]]); 90 l = r = buf + len; 96 r = (l = buf + index) + exactlen; 107 if ((r - (buf + index)) < rightlen) 126 if ((index = (r - buf) [all...] |
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtperm.c | 37 char* buf; local 39 s = buf = fmtbuf(32); 90 return buf;
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | audit_crontab.c | 172 char *buf = NULL, err_buf[128]; local 216 if (buf != NULL) 217 free(buf); 221 if (buf != NULL) 222 free(buf); 226 if (buf != NULL) { 227 if (strlen(buf) != 0) { 228 *bufptr = buf; 236 if (buf != NULL) { 237 if (strlen(buf) ! [all...] |
/osnet-11/usr/src/lib/libumem/common/ |
H A D | misc.c | 175 char buf[UMEM_MAX_ERROR_SIZE] = ""; local 180 (void) vsnprintf(buf, UMEM_MAX_ERROR_SIZE-1, format, va); 185 (void) write(UMEM_ERRFD, buf, strlen(buf)); 188 umem_log_enter(buf); 195 char buf[UMEM_MAX_ERROR_SIZE] = ""; local 200 (void) vsnprintf(buf, UMEM_MAX_ERROR_SIZE-1, format, va); 203 (void) write(UMEM_ERRFD, buf, strlen(buf)); 210 char buf[UMEM_MAX_ERROR_SIZ local [all...] |
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelEmulate.c | 86 free(bufp->buf); 87 bufp->buf = NULL; 96 if (bufp->buf == NULL) { 97 bufp->buf = malloc(buflen); 98 if (bufp->buf == NULL) { 191 uint8_t *old = bufp->buf; 193 bufp->buf = realloc(bufp->buf, siz); 194 if (bufp->buf == NULL) { 196 bufp->buf [all...] |
/osnet-11/usr/src/lib/pysolaris/zones/common/ |
H A D | zones.c | 58 char buf[ZONENAME_MAX]; local 65 if ((ret = getzonenamebyid(zid, buf, ZONENAME_MAX)) == -1) { 69 return (Py_BuildValue("s", buf));
|
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | Opaque.java | 183 StringBuffer buf = new StringBuffer(); 185 buf.append(OPAQUE_HEADER); 196 buf.append(ServiceLocationAttribute.ESCAPE); 199 buf.append(ZERO); 202 buf.append(str); 205 return buf.toString();
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | ldap_util.h | 66 char *buf; member in struct:__anon1978 98 int vp2buf(const char *msg, char **buf, int buflen, const char *fmt, 102 void bc2buf(const char *msg, void *buf, int len, __nis_buffer_t *b); 103 void sbc2buf(const char *msg, void *buf, int len, __nis_buffer_t *b); 104 void c2buf(const char *msg, void *buf, int len); 105 void sc2buf(const char *msg, void *buf, int len);
|
/osnet-11/usr/src/lib/libast/common/stdio/ |
H A D | vfwscanf.c | 65 wideread(Sfio_t* f, Void_t* buf, size_t size, Sfdisc_t* dp) argument 74 return wcstombs(buf, wuf, size); 82 r = wcstombs(buf, wuf, size); 94 char buf[1024]; local 102 if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ))
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkquery.c | 121 u_char *buf, /*!< buffer to put query */ 151 if ((buf == NULL) || (buflen < HFIXEDSZ)) 153 memset(buf, 0, HFIXEDSZ); 154 hp = (HEADER *) buf; 160 cp = buf + HFIXEDSZ; 161 ep = buf + buflen; 163 *dpp++ = buf; 231 return (cp - buf); 240 u_char *buf, /*%< buffer to put query */ 253 hp = (HEADER *) buf; 114 res_nmkquery(res_state statp, int op, const char *dname, int class, int type, const u_char *data, int datalen, const u_char *newrr_in, u_char *buf, int buflen) argument 238 res_nopt(res_state statp, int n0, u_char *buf, int buflen, int anslen) argument 292 res_nopt_rdata(res_state statp, int n0, u_char *buf, int buflen, u_char *rdata, u_short code, u_short len, u_char *data) argument [all...] |
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_mac.c | 79 smb_mac_calc(smb_sign_ctx_t *sign_ctx, const unsigned char *buf, argument 119 rv = C_DigestUpdate(hSession, (CK_BYTE_PTR)buf, SMB_SIG_OFFS); 129 rv = C_DigestUpdate(hSession, (CK_BYTE_PTR)buf + offset_end_of_sig, 155 const unsigned char *buf, size_t buf_len) 160 if (smb_mac_calc(sign_ctx, buf, buf_len, mac_sign) != SMBAUTH_SUCCESS) 180 smb_mac_sign(smb_sign_ctx_t *sign_ctx, unsigned char *buf, size_t buf_len) argument 185 if (smb_mac_calc(sign_ctx, buf, buf_len, mac_sign) != SMBAUTH_SUCCESS) 189 (void) memcpy(buf + SMB_SIG_OFFS, mac_sign, SMB_SIG_SIZE); 154 smb_mac_chk(smb_sign_ctx_t *sign_ctx, const unsigned char *buf, size_t buf_len) argument
|
/osnet-11/usr/src/lib/libldap4/include/ |
H A D | client_door.h | 14 char * buf,int bufsize, char **rbuf, int * rsize);
|
/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | safe-read.c | 56 safe_rw (int fd, void const *buf, size_t count) argument 66 ssize_t result = rw (fd, buf, count);
|
/osnet-11/usr/src/lib/libgss/ |
H A D | g_exp_sec_context.c | 84 char *buf; local 117 buf = interprocess_token->value; 119 buf[3] = (unsigned char) (length & 0xFF); 121 buf[2] = (unsigned char) (length & 0xFF); 123 buf[1] = (unsigned char) (length & 0xFF); 125 buf[0] = (unsigned char) (length & 0xFF); 126 (void) memcpy(buf+4, ctx->mech_type->elements, 128 (void) memcpy(buf+4+ctx->mech_type->length, token.value, token.length);
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_subr.c | 111 char buf[MAXNAMELEN]; local 127 if (count > sizeof (buf)) 130 (void) snprintf(buf, count, "%s", begin); 134 if (strcmp(buf, dbp->tdm_name) == 0) 232 * buf_append -- Append str to buf (if it's non-NULL). Place prepend 233 * in buf in front of str and append behind it (if they're non-NULL). 238 topo_fmristr_build(ssize_t *sz, char *buf, size_t buflen, char *str, argument 249 if (buf != NULL && left != 0) 250 buf += *sz; 253 *sz += snprintf(buf, lef 308 char buf[MAXNAMELEN]; local 343 topo_sensor_type_name(uint32_t type, char *buf, size_t len) argument 358 topo_sensor_units_name(uint8_t type, char *buf, size_t len) argument 373 topo_led_type_name(uint8_t type, char *buf, size_t len) argument 388 topo_led_state_name(uint8_t type, char *buf, size_t len) argument 403 topo_sensor_state_name(uint32_t sensor_type, uint8_t state, char *buf, size_t len) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | testload.c | 39 char *buf; local 66 buf = grub_malloc (size); 67 if (! buf) 72 if (grub_file_read (file, buf, size) != (grub_ssize_t) size) 88 if (grub_memcmp (sector, buf + pos, GRUB_DISK_SECTOR_SIZE) != 0) 111 if (grub_memcmp (sector, buf + pos, GRUB_DISK_SECTOR_SIZE) != 0) 119 grub_printf ("%02x ", buf[pos + i]); 137 grub_free (buf);
|
/osnet-11/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 164 uchar_t buf[256]; local 170 if ((ret = mode_sense(fd, byte2, 1, 254, buf)) == 0) { 174 header_len = 8 + GET16(&buf[6]); 175 page_len = buf[header_len + 1] + 2; 178 (void) memcpy(buffer, &buf[header_len], copy_cnt); 189 get_configuration(int fd, uint16_t feature, int bufsize, uchar_t *buf) argument 204 scmd.uscsi_bufaddr = (char *)buf; 368 uint8_t buf[32]; local 369 int bufsize = sizeof (buf); 371 bzero(buf, bufsiz 414 uint8_t buf[32]; local 481 read_toc(int fd, int format, int trackno, int buflen, uchar_t *buf) argument [all...] |