| /onnv/onnv-gate/usr/src/lib/libgen/common/ |
| 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));
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/libumem/ |
| misc.c | 96 if (mdb_vread(buf, sym.st_size, (uintptr_t)sym.st_value) 97 == sym.st_size) 98 return ((ssize_t)sym.st_size);
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
| stat.pl | 15 $ST_SIZE = 7 + $[; 27 ($st_dev,$st_ino,$st_mode,$st_nlink,$st_uid,$st_gid,$st_rdev,$st_size,
|
| /onnv/onnv-gate/usr/src/cmd/sgs/prof/common/ |
| symintLoad.c | 163 size_t st_size; /* size of symbol table data */ local 165 st_size = symdat_pri_p->d_size; 167 st_size += symdat_aux_p->d_size; 170 prsym_list_p = symlist = (PROF_SYMBOL *)_Malloc(st_size, 1);
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/ |
| _stat.c | 54 long st_size; member in struct:n_stat 91 buf->st_size = getmodsize(buf->st_size, 135 buf->st_size = getmodsize(buf->st_size, 143 buf->st_size = getmodsize(buf->st_size, 187 bsdbuf->st_size = nbuf->st_size;
|
| /onnv/onnv-gate/usr/src/lib/libdtrace/sparc/ |
| 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...] |
| /onnv/onnv-gate/usr/src/cmd/cpio/ |
| cpiostat.c | 63 TmpSt->st_size = FromStat->st_size;
|
| /onnv/onnv-gate/usr/src/cmd/sgs/rtld/common/ |
| locale.c | 161 (status.st_size < sizeof (Msghdr))) { 167 if ((msghdr = (Msghdr *)mmap(0, status.st_size, PROT_READ, MAP_SHARED, 178 (void) munmap((caddr_t)msghdr, status.st_size); 186 (void) munmap((caddr_t)msghdr, status.st_size); 192 if ((size_tot + size_old < status.st_size) && 193 (size_tot + size_new < status.st_size)) { 194 (void) munmap((caddr_t)msghdr, status.st_size); 202 dom->dom_msgsz = status.st_size;
|
| /onnv/onnv-gate/usr/src/lib/libast/common/port/ |
| 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;
|
| astcopy.c | 69 if (pos >= st.st_size) return(0); 70 mapsize = st.st_size - pos;
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ |
| acl.c | 174 if (finfo.st_size == 0) { 178 if (!(aclbuf = (char *) malloc((size_t) finfo.st_size + 1))) { 179 syslog(LOG_ERR, "could not malloc aclbuf (%d bytes)", (size_t) finfo.st_size + 1); 183 if (!fread(aclbuf, (size_t) finfo.st_size, 1, aclfile)) { 191 *(aclbuf + finfo.st_size) = '\0';
|
| conversions.c | 107 if (finfo.st_size == 0) { 111 if (!(convbuf = (char *) malloc((size_t) finfo.st_size + 1))) { 112 syslog(LOG_ERR, "could not malloc convbuf (%d bytes)", (size_t) finfo.st_size + 1); 116 if (!fread(convbuf, (size_t) finfo.st_size, 1, convfile)) { 123 *(convbuf + finfo.st_size) = '\0';
|
| /onnv/onnv-gate/usr/src/lib/krb5/kadm5/srv/ |
| server_dict.c | 132 if ((word_block = (char *) malloc(sb.st_size + 1)) == NULL) 134 if (read(fd, word_block, sb.st_size) != sb.st_size) 137 word_block[sb.st_size] = '\0'; 140 len = sb.st_size;
|
| /onnv/onnv-gate/usr/src/lib/libdtrace/i386/ |
| 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...] |
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| getusershell.c | 141 if ((fstat(fileno(fp), &statb) == -1) || (statb.st_size > LONG_MAX) || 142 ((strings = malloc((size_t)statb.st_size + 1)) == NULL)) { 146 shells = calloc((size_t)statb.st_size / 3, sizeof (char *));
|
| getauxv.c | 69 statb.st_size + sizeof (auxv_t)); 72 i = read(fd, buf, statb.st_size);
|
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| bootstat.h | 58 uint64_t st_size; member in struct:bootstat
|
| stat.h | 80 off_t st_size; member in struct:stat 97 off_t st_size; member in struct:stat64 119 off_t st_size; member in struct:stat 141 off64_t st_size; /* large file support */ member in struct:stat64 225 off_t st_size; member in struct:stat 252 off_t st_size; member in struct:stat 286 off_t st_size; member in struct:stat64 313 off64_t st_size; member in struct:stat64 360 off32_t st_size; member in struct:stat32 385 off64_t st_size; member in struct:stat64_32 [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/vec/ |
| vecfile.c | 50 if (!fstat(fd, &st) && S_ISREG(st.st_mode) && (n = st.st_size) > 0 && (buf = newof(0, char, n + 1, 0)))
|
| /onnv/onnv-gate/usr/src/cmd/sendmail/db/os/ |
| os_stat.c | 80 *mbytesp = sb.st_size / MEGABYTE; 82 *bytesp = sb.st_size % MEGABYTE;
|
| /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/sys/ |
| lx_stat.h | 60 lx_off_t st_size; member in struct:lx_stat 80 lx_off64_t st_size; member in struct:lx_stat64
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| scandir.c | 57 arraysz = (stb.st_size / 24); 83 arraysz = stb.st_size / 12;
|
| /onnv/onnv-gate/usr/src/ucblib/libucb/port/gen/ |
| scandir.c | 92 arraysz = (stb.st_size / 24); 120 arraysz = stb.st_size / 12; 158 if (stb.st_size > SSIZE_MAX) { 162 arraysz = (stb.st_size / 24); 190 arraysz = stb.st_size / 12;
|
| /onnv/onnv-gate/usr/src/cmd/tnf/tnfdump/ |
| main.c | 150 if (st.st_size == 0) { 157 if ((p = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0)) 175 end_p = p + st.st_size; 182 (void) munmap(p, st.st_size); 188 if ((err = tnf_reader_begin(p, st.st_size, &tnf)) != TNF_ERR_NONE) { 191 (void) munmap(p, st.st_size); 210 (void) munmap(p, st.st_size);
|
| /onnv/onnv-gate/usr/src/cmd/sgs/libld/common/ |
| resolve.c | 590 } else if ((otype == STT_OBJECT) && (osym->st_size != nsym->st_size)) { 595 EC_XWORD(osym->st_size), ifl->ifl_name, 596 EC_XWORD(nsym->st_size)); 731 } else if (osym->st_size != nsym->st_size) { 741 ((otent && (osym->st_size > nsym->st_size)) || 742 (ntent && (osym->st_size < nsym->st_size)))) { [all...] |