/osnet-11/usr/src/lib/libgen/common/ |
H A D | copylist.c | 89 *szptr = stbuf.st_size; 91 return (common_copylist(filenm, stbuf.st_size)); 106 if (stbuf.st_size > LONG_MAX) { 111 *szptr = (off_t)stbuf.st_size; 113 return (common_copylist(filenm, stbuf.st_size));
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | stat.pl | 27 ($st_dev,$st_ino,$st_mode,$st_nlink,$st_uid,$st_gid,$st_rdev,$st_size,
|
/osnet-11/usr/src/lib/libdtrace/sparc/ |
H A D | dt_isadep.c | 58 ftp->ftps_size = (size_t)symp->st_size; 80 if ((text = malloc(symp->st_size + 4)) == NULL) { 85 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { 95 text[symp->st_size / 4] = 0; 99 ftp->ftps_size = symp->st_size; 102 for (i = 0; i < symp->st_size / 4; i++) { 183 if ((uintptr_t)dst >= (uintptr_t)symp->st_size) 246 (uintptr_t)symp->st_size) { 286 ftp->ftps_size = (size_t)symp->st_size; [all...] |
/osnet-11/usr/src/lib/libast/common/port/ |
H A D | iblocks.c | 76 return (st->st_blocks <= 0 || st->st_size <= 0) ? 0 : st->st_blocks; 82 t = b = (st->st_size + B_SIZE - 1) / B_SIZE;
|
H A D | astcopy.c | 69 if (pos >= st.st_size) return(0); 70 mapsize = st.st_size - pos;
|
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | get_rp_data.c | 76 res = malloc(stbuf.st_size); 81 sz = read(fd2, res, stbuf.st_size); 83 if (sz != stbuf.st_size) {
|
/osnet-11/usr/src/lib/krb5/kadm5/srv/ |
H A D | server_dict.c | 136 if ((word_block = (char *) malloc(sb.st_size + 1)) == NULL) 138 if (read(fd, word_block, sb.st_size) != sb.st_size) 141 word_block[sb.st_size] = '\0'; 144 len = sb.st_size;
|
/osnet-11/usr/src/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 62 ftp->ftps_size = (size_t)symp->st_size; 133 if ((text = calloc(1, symp->st_size + 4)) == NULL) { 138 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { 146 ftp->ftps_size = (size_t)symp->st_size; 223 if (size == 5 && text[i] == DT_JMP32 && symp->st_size <= 228 if (size == 2 && text[i] == DT_JMP8 && symp->st_size <= 234 symp->st_size <= 239 if (size == 2 && DT_ISJ8(text[i]) && symp->st_size <= 269 ftp->ftps_size = (size_t)symp->st_size; [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getusershell.c | 160 if ((fstat(fileno(fp), &statb) == -1) || (statb.st_size > LONG_MAX) || 161 ((strings = malloc((size_t)statb.st_size + 1)) == NULL)) { 165 shells = calloc((size_t)statb.st_size / 3, sizeof (char *));
|
H A D | getauxv.c | 69 statb.st_size + sizeof (auxv_t)); 72 i = read(fd, buf, statb.st_size);
|
H A D | catopen.c | 403 addr = mmap(0, (size_t)statbuf.st_size, PROT_READ, MAP_SHARED, fd, 0); 413 (void) munmap(addr, (size_t)statbuf.st_size); 420 (void) munmap(addr, statbuf.st_size); 424 tmp_catd->__size = (int)statbuf.st_size;
|
H A D | scandir.c | 91 tmp_arraysz = stb.st_size / 24; /* 24 bytes on a 64-bit system */ 176 tmp_arraysz = stb.st_size / 24; /* 24 bytes on a 64-bit system */
|
/osnet-11/usr/src/lib/libast/common/vec/ |
H A D | vecfile.c | 50 if (!fstat(fd, &st) && S_ISREG(st.st_mode) && (n = st.st_size) > 0 && (buf = newof(0, char, n + 1, 0)))
|
/osnet-11/usr/src/cmd/sendmail/db/os/ |
H A D | os_stat.c | 80 *mbytesp = sb.st_size / MEGABYTE; 82 *bytesp = sb.st_size % MEGABYTE;
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 85 (rv = malloc(statb.st_size)) == NULL || 86 read(fd, rv, statb.st_size) != statb.st_size) { 119 nldt = statb.st_size / sizeof (struct ssd);
|
H A D | Pservice.c | 203 *xrsize = (int)statb.st_size; 302 *cxrsize = (int)statb.st_size; 470 symp->st_size = (Elf32_Word)sym.st_size;
|
/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | writefile.c | 51 off_t filesize = s1p->st_size; 101 if (ISREG(*s1p) && s1p->st_size > SMALLFILESIZE) { 108 if (s1p->st_size < mapsize) mapsize = s1p->st_size;
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | vfpops.c | 242 ((a_flags & VFP_NOMALLOC) || statbuf.st_size > MIN_MMAP_SIZE)) { 246 vfp->_vfpMapSize = statbuf.st_size; 256 vfp->_vfpSize = (statbuf.st_size + pagesize + 257 (pagesize-(statbuf.st_size % pagesize))); 305 vfp->_vfpSize = statbuf.st_size+pagesize; 320 if (statbuf.st_size != 0) { 322 statbuf.st_size); 323 if (rlen != statbuf.st_size) { 337 ((char *)vfp->_vfpStart)[statbuf.st_size] = '\0'; 363 vfp->_vfpEnd = (((char *)vfp->_vfpStart) + statbuf.st_size) [all...] |
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtls.c | 86 s += sfsprintf(s, LS_W_MAX, "%8I*u ", sizeof(st->st_size), st->st_size);
|
/osnet-11/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_stable.c | 77 (duid = malloc(sb.st_size)) != NULL) { 78 retv = read(fd, duid, sb.st_size); 79 if (retv == sb.st_size) { 80 *duidlen = sb.st_size;
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-mount.c | 151 st->st_size = 0; 206 st->st_size = file->size; 210 st->st_size = 0; 212 st->st_blocks = (st->st_size + 511) >> 9; 296 st.st_size = file->size; 300 st.st_blocks = (st.st_size + 511) >> 9;
|
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/ |
H A D | dhcp_network.c | 187 if (fstat(fd, &st) == -1 || st.st_size < 1) 190 ent0 = mmap(0, st.st_size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); 198 ent0[st.st_size - 1] = '\0'; 217 if (ent - ent0 >= st.st_size) 249 entend = &ent0[st.st_size - 1]; 323 (void) munmap(ent0, st.st_size); 573 retval = copy_range(fd, recnext, newfd, recoff, st.st_size - recnext); 586 retval = write_rec(newfd, newp, recoff + st.st_size - recnext);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
H A D | stat.pm | 16 $st_rdev $st_size 40 $st_size, $st_atime, $st_mtime, $st_ctime, $st_blksize, $st_blocks )
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | audit_crontab.c | 194 len = st.st_size; 204 if (st_tmp.st_size == 0 && len == 0) {
|
/osnet-11/usr/src/lib/libcryptoutil/common/ |
H A D | keyfile.c | 72 filesize = statbuf.st_size;
|