/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | AggregateSpec.java | 152 StringBuilder buf = new StringBuilder(); 153 buf.append(AggregateSpec.class.getName()); 154 buf.append("[includedAggregationNames = "); 155 buf.append(Arrays.toString(getIncludedAggregationNames().toArray())); 156 buf.append(", clearedAggregationNames = "); 157 buf.append(Arrays.toString(getClearedAggregationNames().toArray())); 158 buf.append(", includeByDefault = "); 159 buf.append(isIncludeByDefault()); 160 buf.append(", clearByDefault = "); 161 buf [all...] |
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtmode.c | 38 char* buf; local 42 s = buf = fmtbuf(MODELEN + 1); 46 return buf;
|
H A D | fmtbase.c | 37 char* buf; local 49 buf = fmtbuf(z = 72); 50 sfsprintf(buf, z, p ? "%#..*I*u" : "%..*I*u", b, sizeof(n), n); 51 return buf;
|
H A D | fmtclock.c | 35 char* buf; local 60 buf = fmtbuf(z = 7); 61 sfsprintf(buf, z, "%I*u%cs", sizeof(t), t, u); 62 return buf;
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_config.c | 53 static int super_fgets(char **buf, size_t *bufsize, FILE *fp) { argument 57 p = *buf; 66 if ((*buf)[readlen - 1] == '\n') 69 /* else buf is too small */ 71 if (!(*buf = realloc(*buf, *bufsize))) { 75 p = *buf + readlen; 96 char *cfile, *buf; local 111 if (!(buf = malloc(buflen))) { 122 err = super_fgets(&buf, 173 char *p, buf[33]; local [all...] |
/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | safe-read.h | 29 extern size_t safe_read (int fd, void *buf, size_t count);
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | tgetwch.c | 49 char buf[CSMAX]; local 60 buf[0] = (char)c; 68 buf[n] = (char)c; 72 (void) _curs_mbtowc(&wchar, buf, n);
|
H A D | wgetwch.c | 46 char buf[CSMAX]; local 59 buf[0] = (char)c; 66 buf[n] = (char)c; 70 if ((_curs_mbtowc(&wchar, buf, n)) < 0)
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_get.h | 55 asn1_error_code asn1_get_tag_2 (asn1buf *buf, taginfo *tinfo); 58 asn1_error_code asn1_get_tag_indef(asn1buf *buf, 64 asn1_error_code asn1_get_tag(asn1buf *buf, 70 * requires *buf is allocated 71 * effects Decodes the tag in *buf. If class != NULL, returns 76 * If *buf is empty to begin with, *tagnum is set to 79 * Returns ASN1_OVERRUN if *buf is exhausted during the 84 asn1_error_code asn1_get_sequence(asn1buf *buf, unsigned int *retlen, 87 * requires *buf is allocated 88 * effects Decodes a tag from *buf an [all...] |
H A D | asn1_make.c | 31 asn1_make_etag(asn1buf *buf, asn1_class asn1class, asn1_tagnum tagnum, argument 34 return asn1_make_tag(buf,asn1class,CONSTRUCTED,tagnum,in_len,retlen); 38 asn1_make_tag(asn1buf *buf, asn1_class asn1class, argument 47 retval = asn1_make_length(buf,in_len, &length); 50 retval = asn1_make_id(buf,asn1class,construction,tagnum,&length); 59 asn1_make_length(asn1buf *buf, const unsigned int in_len, unsigned int *retlen) argument 64 retval = asn1buf_insert_octet(buf, (asn1_octet)(in_len&0x7F)); 71 retval = asn1buf_insert_octet(buf, (asn1_octet)(in_copy&0xFF)); 76 retval = asn1buf_insert_octet(buf, (asn1_octet) (0x80 | (asn1_octet)(length&0x7F))); 86 asn1_make_id(asn1buf *buf, asn1_clas argument 122 asn1_make_sequence(asn1buf *buf, const unsigned int seq_len, unsigned int *retlen) argument 140 asn1_make_set(asn1buf *buf, const unsigned int set_len, unsigned int *retlen) argument 157 asn1_make_string(asn1buf *buf, const unsigned int length, const char *string, int *retlen) argument [all...] |
H A D | asn1_get.c | 31 asn1_get_tag_2(asn1buf *buf, taginfo *t) argument 35 if (buf == NULL || buf->base == NULL || 36 buf->bound - buf->next + 1 <= 0) { 45 /* asn1_get_id(buf, t) */ 53 retval = asn1buf_remove_octet(buf,&o); 65 retval = asn1buf_remove_octet(buf,&o); 74 /* asn1_get_length(buf, t) */ 78 retval = asn1buf_remove_octet(buf, 104 asn1_get_sequence(asn1buf *buf, unsigned int *retlen, int *indef) argument [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | legacy_parse.h | 24 char *grub_legacy_parse (const char *buf, char **entryname, char **suffix);
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | t-strio.c | 23 char buf[20]; local 28 (void) memset(buf, '.', 20); 29 sm_strio_init(&f, buf, 10); 33 SM_TEST(strcmp(buf, r) == 0);
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | readlink.c | 32 readlinkat(int fd, const char *path, char *buf, size_t bufsize) argument 37 error = __systemcall(&rval, SYS_readlinkat, fd, path, buf, bufsize); 45 readlink(const char *path, char *buf, size_t bufsize) argument 47 return (readlinkat(AT_FDCWD, path, buf, bufsize));
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | rpc_callmsg.c | 53 rpc_inline_t *buf; local 61 buf = XDR_INLINE(xdrs, 8 * BYTES_PER_XDR_UNIT 65 if (buf != NULL) { 66 IXDR_PUT_INT32(buf, cmsg->rm_xid); 67 IXDR_PUT_ENUM(buf, cmsg->rm_direction); 70 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_rpcvers); 73 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_prog); 74 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_vers); 75 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_proc); 77 IXDR_PUT_ENUM(buf, o [all...] |
/osnet-11/usr/src/lib/libumem/common/ |
H A D | malloc.c | 144 void *buf; local 182 buf = vmem_xalloc(umem_memalign_arena, size, align, phase, 185 if (buf == NULL) { 194 ret = (malloc_data_t *)buf; 213 ASSERT((void *)((uintptr_t)ret - overhead) == buf); 241 malloc_data_t *buf; local 250 buf = (malloc_data_t *)buf_arg; 252 buf--; 253 size = buf->malloc_size; 255 switch (UMEM_MALLOC_DECODE(buf 369 free(void *buf) argument 384 void *buf; local [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/fs/xfs/ |
H A D | xfs.c | 46 } buf; local 50 if (!ped_geometry_read (geom, &buf, XFS_SB_DADDR, 1)) 53 if (PED_LE32_TO_CPU (buf.sb.sb_magicnum) == XFS_SB_MAGIC) { 54 block_size = PED_LE32_TO_CPU (buf.sb.sb_blocksize) / 512; 55 block_count = PED_LE64_TO_CPU (buf.sb.sb_dblocks); 61 if (PED_BE32_TO_CPU (buf.sb.sb_magicnum) == XFS_SB_MAGIC) { 62 block_size = PED_BE32_TO_CPU (buf.sb.sb_blocksize) / 512; 63 block_count = PED_BE64_TO_CPU (buf.sb.sb_dblocks); 76 char buf[512]; local 78 memset (buf, [all...] |
/osnet-11/usr/src/lib/libresolv2/common/dst/ |
H A D | support.c | 40 * buffer(**buf). If so, move the buffer head pointer (*buf) to 43 * buf Input buffer. 47 * 1 *str is the head of **buff, *buf is is advanced to 48 * the tail of **buf. 52 dst_s_verify_str(const char **buf, const char *str) argument 55 if (*buf == NULL) /*%< error checks */ 60 b = strlen(*buf); /*%< get length of strings */ 62 if (s > b || strncmp(*buf, str, s)) /*%< check if same */ 64 (*buf) 156 dst_s_get_int16(const u_char *buf) argument 175 dst_s_get_int32(const u_char *buf) argument 195 dst_s_put_int16(u_int8_t *buf, const u_int16_t val) argument 213 dst_s_put_int32(u_int8_t *buf, const u_int32_t val) argument [all...] |
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystore.c | 322 * pointer to the buf of the packed token object 323 * soft_keystore_pack_obj() will allocate memory for the buf, 347 uchar_t *buf, *buf1; local 379 buf = calloc(1, ks_len); 380 if (buf == NULL) { 383 (void) memcpy(buf, &hdr, sizeof (ks_obj_hdr_t)); 384 buf1 = buf + sizeof (ks_obj_hdr_t); 404 *ks_buf = buf; 439 uchar_t *buf; local 448 hdr = (ks_obj_hdr_t *)ks_obj->buf; 534 soft_unpack_obj_attribute(uchar_t *buf, biginteger_t *key_dest, cert_attr_t **cert_dest, ulong_t *offset, boolean_t cert) argument 769 soft_pack_object(soft_object_t *objp, uchar_t *buf) argument 1331 soft_unpack_object(soft_object_t *objp, uchar_t *buf) argument 1748 (void) memcpy(OBJ_SEC_VALUE(objp), buf, local 1861 uchar_t *buf; local 1899 uchar_t *buf; local [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/fs/jfs/ |
H A D | jfs.c | 45 } buf; local 53 if (!ped_geometry_read (geom, &buf, JFS_SUPER_SECTOR, 1)) 56 if (strncmp (buf.sb.s_magic, JFS_MAGIC, 4) == 0) { 57 PedSector block_size = PED_LE32_TO_CPU (buf.sb.s_pbsize) / 512; 58 PedSector block_count = PED_LE64_TO_CPU (buf.sb.s_size); 71 char buf[512]; local 73 memset (buf, 0, 512); 74 return ped_geometry_write (geom, buf, JFS_SUPER_SECTOR, 1);
|
/osnet-11/usr/src/lib/libaio/common/ |
H A D | llib-laio | 34 int aioread(int fd, caddr_t buf, int bufsz, off_t offset, int whence, 36 int aiowrite(int fd, caddr_t buf, int bufsz, off_t offset, int whence, 39 int aioread64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence, 41 int aiowrite64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence,
|
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test_subr.c | 49 new_ent->buf = malloc(size); 50 if (new_ent->buf == NULL) { 58 return (new_ent->buf); 65 void *buf) 70 while ((*p) != NULL && (*p)->buf != buf) 75 free(p1->buf); 86 free(p1->buf); 63 mtest_deallocate_buf( mtest_handle_t handle, void *buf) argument
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/ |
H A D | whatexec.d | 46 this char *buf; 62 bcopy(args[0], this->buf = alloca(5), 4); 63 this->buf[4] = '\0'; 64 self->hdr = stringof(this->buf);
|
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Kernel/ |
H A D | whatexec.d | 46 this char *buf; 62 bcopy(args[0], this->buf = alloca(5), 4); 63 this->buf[4] = '\0'; 64 self->hdr = stringof(this->buf);
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | tmpnam.c | 48 static char buf[L_tmpnam]; local 50 return pathtemp(s ? s : buf, L_tmpnam, NiL, "tn", NiL);
|