/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | svc_auth_loopb.c | 50 rpc_inline_t *buf; local 70 buf = XDR_INLINE(&xdrs, auth_len); 71 if (buf != NULL) { 72 aup->aup_time = IXDR_GET_INT32(buf); 73 str_len = IXDR_GET_U_INT32(buf); 78 (void) memcpy(aup->aup_machname, buf, str_len); 81 buf += str_len / sizeof (int); 82 aup->aup_uid = IXDR_GET_INT32(buf); 83 aup->aup_gid = IXDR_GET_INT32(buf); 84 gid_len = IXDR_GET_U_INT32(buf); [all...] |
H A D | svc_auth_sys.c | 64 rpc_inline_t *buf; local 84 buf = XDR_INLINE(&xdrs, auth_len); 85 if (buf != NULL) { 86 aup->aup_time = IXDR_GET_INT32(buf); 87 str_len = IXDR_GET_U_INT32(buf); 92 (void) memcpy(aup->aup_machname, buf, str_len); 95 buf += str_len / (int)sizeof (int32_t); 96 aup->aup_uid = IXDR_GET_INT32(buf); 97 aup->aup_gid = IXDR_GET_INT32(buf); 98 gid_len = IXDR_GET_U_INT32(buf); [all...] |
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | convtime.c | 130 static char buf[256]; 159 p = buf; 164 (void) sm_snprintf(p, SPACELEFT(buf, p), "%d+", dy); 167 (void) sm_snprintf(p, SPACELEFT(buf, p), "%02d:%02d:%02d", 169 return buf; 175 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d week%s", wk, 181 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d day%s", dy, 187 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d hour%s", hr, 193 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d minute%s", mi, 199 (void) sm_snprintf(p, SPACELEFT(buf, 129 static char buf[256]; local [all...] |
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
H A D | Project.xs | 99 char buf[128]; 132 sprintf(buf, "%llu", UINT64_MAX); 134 newSVpv(buf, strlen(buf))); 160 char buf[PROJECT_BUFSZ]; 163 if (projp = getprojent(&proj, buf, sizeof (buf))) { 180 char buf[PROJECT_BUFSZ]; 183 if (projp = getprojbyname(name, &proj, buf, sizeof (buf))) { [all...] |
/osnet-11/usr/src/lib/libnvpair/ |
H A D | nvpair_alloc_system.c | 41 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) argument 43 free(buf);
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/ |
H A D | file.h | 36 hfs_file_read_sector (HfsPrivateFile* file, void *buf, PedSector sector); 39 hfs_file_write_sector (HfsPrivateFile* file, void *buf, PedSector sector);
|
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Flow.java | 225 StringBuilder buf = new StringBuilder(); 226 buf.append(Flow.class.getName()); 227 buf.append("[kind = "); 228 buf.append(kind); 229 buf.append(", depth = "); 230 buf.append(depth); 231 buf.append(']'); 232 return buf.toString();
|
H A D | Probe.java | 195 StringBuilder buf = new StringBuilder(); 196 buf.append(Probe.class.getName()); 197 buf.append("[description = "); 198 buf.append(description); 199 buf.append(", info = "); 200 buf.append(info); 201 buf.append(']'); 202 return buf.toString();
|
H A D | ProbeInfo.java | 201 StringBuilder buf = new StringBuilder(); 202 buf.append(ProbeInfo.class.getName()); 203 buf.append("[probeAttributes = "); 204 buf.append(probeAttributes); 205 buf.append(", argumentAttributes = "); 206 buf.append(argumentAttributes); 207 buf.append(']'); 208 return buf.toString();
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | hexdump.c | 41 char buf[GRUB_DISK_SECTOR_SIZE * 4]; local 73 if (len > sizeof (buf)) 74 len = sizeof (buf); 76 if (grub_disk_read (disk, sector, ofs, len, buf)) 79 hexdump (skip, buf, len); 99 while ((size = grub_file_read (file, buf, sizeof (buf))) > 0) 104 hexdump (skip, buf, len);
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | nl_langinfo.c | 41 static char buf[2 + 10 + 1]; local 59 if (modifier - dot < sizeof (buf)) 61 memcpy (buf, dot, modifier - dot); 62 buf [modifier - dot] = '\0'; 63 return buf; 142 static char buf[2 + 10 + 1]; local 145 sprintf (buf, "CP%u", GetACP ()); 146 return buf;
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-macho2img.c | 39 char *buf; local 71 buf = malloc (bufsize); 72 if (! buf) 79 fread (buf, 1, bufsize, in); 80 head = (struct grub_macho_header32 *) buf; 85 free (buf); 89 curcmd = (struct grub_macho_segment32 *) (buf + sizeof (*head)); 96 fwrite (buf + grub_le_to_cpu32 (curcmd->fileoff), 1,
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | zfs_fletcher.c | 30 fletcher_2_native(const void *buf, uint64_t size, zio_cksum_t *zcp) argument 32 const uint64_t *ip = buf; 47 fletcher_2_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp) argument 49 const uint64_t *ip = buf; 64 fletcher_4_native(const void *buf, uint64_t size, zio_cksum_t *zcp) argument 66 const uint32_t *ip = buf; 81 fletcher_4_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp) argument 83 const uint32_t *ip = buf;
|
/osnet-11/usr/src/lib/libc/port/stdio/ |
H A D | setvbuf.c | 46 Uchar *buf = (Uchar *)abuf; local 61 buf = (fd == 0) ? _sibuf : _sobuf; 66 buf = _smbuf[fd]; 69 if ((buf = malloc(_SMBFSZ * sizeof (Uchar))) != NULL) { 86 buf = NULL; 88 if (buf == NULL) { 89 if ((buf = malloc(sizeof (Uchar) * 106 temp = buf + PUSHBACK;
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | shmsys.c | 58 shmctl(int shmid, int cmd, struct shmid_ds *buf) argument 64 return (syscall(SYS_shmsys, SHMCTL, shmid, cmd, buf)); 68 shmctl64(int shmid, int cmd, struct shmid_ds64 *buf) argument 74 return (syscall(SYS_shmsys, SHMCTL, shmid, cmd, buf)); 78 shmxctl64(int shmid, int cmd, struct shmid_xds64 *buf) argument 84 return (syscall(SYS_shmsys, SHMCTL, shmid, cmd, buf)); 106 shmids(int *buf, uint_t nids, uint_t *pnids) argument 108 return (syscall(SYS_shmsys, SHMIDS, buf, nids, pnids));
|
/osnet-11/usr/src/lib/sun_fc/common/ |
H A D | LinkEventListener.h | 52 void *buf, uint32_t size); 56 void *buf; member in class:LinkEventListener
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_info.c | 158 smb_getnetbiosname(char *buf, size_t buflen) argument 160 if (smb_gethostname(buf, buflen, SMB_CASE_UPPER) != 0) 164 buf[NETBIOS_NAME_SZ - 1] = '\0'; 174 smb_getsamaccount(char *buf, size_t buflen) argument 176 if (smb_getnetbiosname(buf, buflen - 1) != 0) 179 (void) strlcat(buf, "$", buflen); 192 char buf[SMB_SAMACCT_MAXLEN]; local 194 if (smb_getsamaccount(buf, SMB_SAMACCT_MAXLEN) != 0) 197 if (strcmp(account, buf) != 0) 214 smb_gethostname(char *buf, size_ argument 252 smb_getfqhostname(char *buf, size_t buflen) argument 285 smb_getdomainname_nb(char *buf, size_t buflen) argument 309 smb_getdomainname_ad(char *buf, size_t buflen) argument 327 smb_get_dns_suffix(char *buf, size_t buflen) argument 340 smb_getdomainname_resolv(char *buf, size_t buflen) argument 379 smb_getdomainname_dns(char *buf, size_t buflen) argument 421 smb_get_machine_passwd(char *buf, size_t buflen) argument 433 smb_get_machine_passwd_hash(uint8_t *buf, size_t buflen) argument 527 smb_ipc_get_user(char *buf, size_t buflen) argument 535 smb_ipc_get_passwd(uint8_t *buf, size_t buflen, boolean_t clear_text) argument 665 char buf[128]; local 840 char buf[8]; local [all...] |
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | link_addr.c | 50 char *buf; local 53 if (((buf = str) == NULL) && 54 ((buf = malloc(3 * size)) == NULL)) 56 n = sprintf(buf, "%x", *macaddr++); 58 n += sprintf(buf+n, ":%x", *macaddr++); 59 return (buf);
|
/osnet-11/usr/src/lib/libparted/common/libparted/labels/ |
H A D | pt-tools.h | 20 int ptt_write_sector (PedDisk const *disk, void const *buf, size_t buflen); 21 int ptt_read_sector (PedDevice const *dev, PedSector sector_num, void **buf); 23 PedSector n_sectors, void **buf);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | readlink.c | 51 char buf[PATH_MAX+2]; local 87 len = resolvepath(filename, buf, sizeof(buf)-2); 91 len = readlink(filename, buf, sizeof(buf)-2); 95 resolvedname = buf;
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_decode.c | 52 retval = asn1_get_tag_2(buf,&tinfo); \ 61 asn1_decode_integer(asn1buf *buf, long int *val) argument 71 retval = asn1buf_remove_octet(buf, &o); 87 asn1_decode_unsigned_integer(asn1buf *buf, long unsigned int *val) argument 97 retval = asn1buf_remove_octet(buf, &o); 122 asn1_decode_maybe_unsigned(asn1buf *buf, unsigned long *val) argument 136 retval = asn1buf_remove_octet(buf, &o); 157 asn1_decode_oid(asn1buf *buf, unsigned int *retlen, asn1_octet **val) argument 161 retval = asn1buf_remove_octetstring(buf, length, val); 168 asn1_decode_octetstring(asn1buf *buf, unsigne argument 179 asn1_decode_charstring(asn1buf *buf, unsigned int *retlen, char **val) argument 191 asn1_decode_generalstring(asn1buf *buf, unsigned int *retlen, char **val) argument 203 asn1_decode_null(asn1buf *buf) argument 212 asn1_decode_printablestring(asn1buf *buf, int *retlen, char **val) argument 223 asn1_decode_ia5string(asn1buf *buf, int *retlen, char **val) argument 234 asn1_decode_generaltime(asn1buf *buf, time_t *val) argument 276 asn1_decode_boolean(asn1buf *buf, unsigned *val) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | autofs.c | 85 char *buf; local 90 buf = grub_file_getline (file); 91 if (! buf) 94 p = buf; 95 q = buf + grub_strlen (buf) - 1;
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | fget.c | 34 ** buf -- buffer to place read string in 35 ** n -- size of 'buf' 38 ** success: returns value of 'buf' 47 sm_io_fgets(fp, timeout, buf, n) 50 char *buf; 61 s = buf; 77 if (s == buf) 102 return buf; 111 return buf;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/FTP/ |
H A D | A.pm | 7 use vars qw(@ISA $buf $VERSION); 17 local *buf = \$_[0]; shift; 18 my $size = shift || croak 'read($buf,$size,[$offset])'; 62 $buf = substr(${*$data},0,$size); 65 length $buf; 70 local *buf = \$_[0]; shift; 71 my $size = shift || croak 'write($buf,$size,[$timeout])'; 74 (my $tmp = substr($buf,0,$size)) =~ s/\r?\n/\015\012/sg;
|
H A D | I.pm | 7 use vars qw(@ISA $buf $VERSION); 17 local *buf = \$_[0]; shift; 18 my $size = shift || croak 'read($buf,$size,[$timeout])'; 36 $buf = substr(${*$data},0,$size); 38 $n = length($buf); 49 local *buf = \$_[0]; shift; 50 my $size = shift || croak 'write($buf,$size,[$timeout])'; 65 my $n = syswrite($data, $buf, $sent > $blksize ? $blksize : $sent ,$off);
|