/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_open.c | 162 if (sb.st_size == 0) 173 t->bt_msize = sb.st_size; 179 t->bt_emap = t->bt_smap + sb.st_size;
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | tidbit.c | 268 if (tfd < 0 || !statbuf.st_size) { 275 if (!(pt->tiebuf = Malloc(statbuf.st_size))) { 280 n = Read(tfd, pt->tiebuf, statbuf.st_size);
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | stat.h | 111 __int32_t st_size; /* file size, in bytes */ member in struct:ostat 133 off_t st_size; /* file size, in bytes */ member in struct:stat 164 off_t st_size; /* file size, in bytes */ member in struct:nstat
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_scanner.c | 158 *pghpp = malloc(st.st_size); 160 debug("cannot malloc() %ld bytes for pagedata", st.st_size); 163 (void) bzero(*pghpp, st.st_size); 166 if ((res = read(fd, *pghpp, st.st_size)) != st.st_size) { 1040 if ((st.st_size % sizeof (*lpc->lpc_xmap)) != 0) { 1047 lpc->lpc_xmap = malloc(st.st_size); 1049 debug("cannot malloc() %ld bytes for xmap", st.st_size); 1055 if ((res = pread(lpc->lpc_xmap_fd, lpc->lpc_xmap, st.st_size, 0)) != 1056 st.st_size) { [all...] |
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-port.c | 426 st.st_size = MAXINT; /* should be 0 */ 430 if (send_lpd_message(sock, "\003%d %s\n", st.st_size, dfname) < 0) 435 if (sendfile(sock, fd, &off, st.st_size) != st.st_size) 524 if ((metadata = calloc(1, st.st_size + 1)) == NULL) { 532 if (read(fd, metadata, st.st_size) != st.st_size) {
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 882 csym.st_size = 0; 1285 malloc(ROUNDUP(stbuf.st_size))) == NULL) { 1290 if (read(fdtmp3, buf, stbuf.st_size) != stbuf.st_size) { 1299 stbuf.st_size, ARFMAG); 1309 if (stbuf.st_size & 0x1) { 1310 buf[stbuf.st_size] = '\n'; 1311 if (write(fdartmp, buf, (size_t)ROUNDUP(stbuf.st_size)) != 1312 (size_t)ROUNDUP(stbuf.st_size)) { 1318 } else if (write(fdartmp, buf, stbuf.st_size) ! [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_configfile.c | 794 if ((buf = (char *)malloc(st.st_size)) == NULL) { 800 if (st.st_size != read(file, buf, st.st_size)) { 876 if (write(file, buf+cntr, st.st_size - cntr) == -1) { 917 frec = st.st_size; 941 if (write(file, buf+frec, st.st_size - frec) == -1) {
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | verify.c | 195 cinfo->size = status.st_size; 196 } else if (status.st_size != cinfo->size) { 200 reperr(pkg_gt(ERR_SIZE), cinfo->size, status.st_size); 298 (sbuf.st_size < CHUNK) ? sbuf.st_size : CHUNK)) > 0) { 853 if (cinfo->size != status.st_size) {
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pservice.c | 202 *xrsize = (int)statb.st_size; 366 symp->st_size = (Elf32_Word)sym.st_size;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 229 if (statbf.st_size > utmpsize) { 230 utmpsize = statbf.st_size + 10 * sizeof (struct utmpx); 241 nutmp = read(uf, utmp, statbf.st_size)/sizeof (struct utmpx);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | dowait.c | 510 && statbuf.st_size 518 if ((buf = Malloc(statbuf.st_size + 1))) 519 if ((n = Read(fd, buf, statbuf.st_size)) > 0) {
|
/illumos-gate/usr/src/boot/sys/boot/userboot/test/ |
H A D | test.c | 126 tf->tf_size = st.st_size; 234 *size_return = tf->tf_stat.st_size; 270 *(off_t *)data = sb.st_size;
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdlck.c | 64 if (sb.st_size < off + sizeof (pid_t)) {
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | pathfind.c | 200 if (nzflag && sbuf.st_size == 0)
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | _open.c | 390 (str = (char *)malloc(buf.st_size + 2)) == NULL) { 395 if ((read(config_fd, str, buf.st_size)) != buf.st_size) { 401 p = &str[buf.st_size];
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | wc.c | 168 wp->chars = statb.st_size - lseek(sffileno(fp),0L,1);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/ |
H A D | log.c | 131 statbuf.st_size > logsize)) {
|
/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 740 length = (off_t)f.st_size; 747 if (f.st_size < (length - offset) || f.st_size == 0 || 748 f.st_size > MAXOFF_T || f.st_blocks < 8 || length < 0) { 782 * else, we cannot get st_size for S_ISBLK device and
|
/illumos-gate/usr/src/tools/ctf/ctfstrip/ |
H A D | ctfstrip.c | 91 if (sb.st_size < ELFLEN) {
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfsize.c | 71 else if((f->extent = st.st_size) < f->here)
|
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | dconf.c | 327 if (st2.st_size > st1.st_size) 475 if (st.st_size < d) { 479 dcp->dc_device, d, st.st_size);
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | host.c | 106 sb->st_size = size;
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_module.c | 91 (ELF32_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size)) 124 (ELF64_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size)) 147 if ((lhs->st_size == 0) != (rhs->st_size == 0)) 148 return (lhs->st_size == 0 ? 1 : -1); 176 if ((lhs->st_size == 0) != (rhs->st_size == 0)) 177 return (lhs->st_size == 0 ? 1 : -1); 202 (ELF32_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size)) 226 (ELF64_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size)) [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_tab.c | 276 tabp->total = statbuf.st_size + 2; /* terminating "\n\0" */ 282 while (sofar < statbuf.st_size) {
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | packer.c | 249 if ((buf = malloc(statbuf.st_size + 1)) == NULL) { 254 n = read(fd, buf, statbuf.st_size);
|