Searched refs:st_size (Results 101 - 125 of 546) sorted by relevance

1234567891011>>

/macosx-10.10/Heimdal-398.1.2/lib/asn1/
H A Dcheck-asn1-fuzzer.c173 if (sb.st_size > (off_t)(SIZE_T_MAX >> 1))
176 buf = malloc((size_t)sb.st_size);
179 size = (size_t)sb.st_size;
/macosx-10.10/Libc-1044.1.2/db/recno/FreeBSD/
H A Drec_open.c156 if (sb.st_size == 0)
167 t->bt_msize = sb.st_size;
173 t->bt_emap = t->bt_smap + sb.st_size;
/macosx-10.10/mail_cmds-30/comsat/
H A Dcomsat.c179 if (statbf.st_size > utmpxsize) {
180 utmpxsize = statbf.st_size + 10 * sizeof(struct utmpx);
188 nutmpx = read(uf, utmpx, statbf.st_size - sizeof(struct utmpx))/sizeof(struct utmpx);
/macosx-10.10/remote_cmds-47/rpc_yppasswdd.tproj/
H A Dyppasswdd_mkpw.c214 p = bp = malloc((resid = st.st_size) + 1);
228 for (n = 1; p < bp + st.st_size; n++, p = t) {
244 if (p >= bp + st.st_size)
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/generic/
H A DtclXfstat.c144 Tcl_NewLongObj ((long) statBufPtr->st_size));
210 Tcl_NewLongObj((long)statBufPtr->st_size),
285 objPtr = Tcl_NewLongObj ((long) statBufPtr->st_size);
/macosx-10.10/zsh-61/zsh/Src/Modules/
H A Dmapfile.c179 (mmptr = (caddr_t)mmap((caddr_t)0, sbuf.st_size, PROT_READ,
192 val = metafy((char *)mmptr, sbuf.st_size, META_HEAPDUP);
194 munmap(mmptr, sbuf.st_size);
/macosx-10.10/gnutar-453/gnutar/src/
H A Dcompare.c124 off_t size = st->stat.st_size;
215 && stat_data.st_size != current_stat_info.stat.st_size)
419 if (stat_data.st_size != current_stat_info.stat.st_size + offset)
/macosx-10.10/kext_tools-384.1.4/
H A Dsafecalls.c368 if (sb.st_size == 0) {
372 bufsize = (size_t)MIN(sb.st_size, MAXBSIZE);
376 for (bytesLeft = sb.st_size; bytesLeft > 0; bytesLeft -= thisTime) {
523 bufsize = (size_t)MIN(srcsb->st_size, MAXBSIZE);
525 for (bytesLeft = srcsb->st_size; bytesLeft > 0; bytesLeft -= thisTime) {
/macosx-10.10/postfix-255/postfix/src/util/
H A Dslmdb.c836 && st.st_size > slmdb->curr_limit - SLMDB_FUDGE) {
837 if (st.st_size > slmdb->hard_limit)
838 slmdb->hard_limit = st.st_size;
839 if (st.st_size < slmdb->hard_limit - SLMDB_FUDGE)
840 slmdb->curr_limit = st.st_size + SLMDB_FUDGE;
/macosx-10.10/rsync-45/rsync/
H A Dsender.c387 if (st.st_size) {
389 mbuf = map_file(fd, st.st_size, read_size, s->blength);
395 fname, (double)st.st_size);
412 match_sums(f_xfer, s, mbuf, st.st_size);
414 end_progress(st.st_size);
/macosx-10.10/tcpdump-61/tcpdump/
H A Dutil.c584 cp = malloc((u_int)buf.st_size + 1);
586 error("malloc(%d) for %s: %s", (u_int)buf.st_size + 1,
588 cc = (int)read(fd, cp, (u_int)buf.st_size);
591 if (cc != buf.st_size)
592 error("short read %s (%d != %d)", fname, cc, (int)buf.st_size);
/macosx-10.10/cups-408/cups/backend/
H A Dlpd.c919 filestats.st_size *= manual_copies;
929 filestats.st_size = (size_t)(999999999999.0);
931 filestats.st_size = 2147483647;
1046 CUPS_LLCAST filestats.st_size, (int)getpid() % 1000,
1055 CUPS_LLCAST filestats.st_size);
1066 100.0 * tbytes / filestats.st_size);
1080 if (tbytes < filestats.st_size)
/macosx-10.10/dtrace-147/libdtrace/
H A Ddt_module.c99 (ELF32_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size))
128 (ELF64_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size))
151 if ((lhs->st_size == 0) != (rhs->st_size == 0))
152 return (lhs->st_size == 0 ? 1 : -1);
180 if ((lhs->st_size == 0) != (rhs->st_size == 0))
181 return (lhs->st_size == 0 ? 1 : -1);
206 (ELF32_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size))
230 (ELF64_ST_BIND(sym->st_info) != STB_LOCAL || sym->st_size))
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_manifest/lib/
H A DManifestInternal.cpp618 return st.st_size != 0;
757 u_int8_t *buffer = new u_int8_t[st.st_size];
758 ssize_t bytesRead = read (fileNo, buffer, (size_t)st.st_size);
761 if (bytesRead != st.st_size)
824 fileLength = (size_t)st.st_size;
826 if (st.st_size != 0)
/macosx-10.10/file_cmds-242/install/
H A Dxinstall.c328 files_match = to_sb.st_size == 0;
331 (size_t)from_sb.st_size, to_fd,
332 to_name, (size_t)to_sb.st_size));
355 tempcopy ? tempfile : to_name, from_sb.st_size);
388 if (compare(temp_fd, tempfile, (size_t)temp_sb.st_size, to_fd,
389 to_name, (size_t)to_sb.st_size) == 0) {
/macosx-10.10/file_cmds-242/pax/
H A Dar_io.c276 if ((act == APPND) && wrblksz && ((arsb.st_size%wrblksz)==0)){
284 if ((arsb.st_size % rdblksz) == 0)
344 (arsb.st_size == 0)) {
862 if ((mpos = cpos + sksz) > arsb.st_size) {
863 *skipped = arsb.st_size - cpos;
864 mpos = arsb.st_size;
/macosx-10.10/iodbc-42.5/iodbc/iodbcinst/
H A Dinifile.c246 if (pconfig->image && sb.st_size == pconfig->size
256 mem = (char *) malloc (sb.st_size + 1);
257 if (mem == NULL || read (fd, mem, sb.st_size) != sb.st_size)
263 mem[sb.st_size] = 0;
272 pconfig->size = sb.st_size;
/macosx-10.10/remote_cmds-47/rwhod.tproj/
H A Drwhod.c342 if (fstat(whod, &st) < 0 || st.st_size > cc)
427 if ((stb.st_mtime != utmptime) || (stb.st_size > utmpsize)) {
430 utmpsize = stb.st_size > utmpsize;
446 if (stb.st_size > utmpsize) {
447 utmpsize = stb.st_size + 10 * sizeof(struct utmp);
456 cc = read(utmpf, (char *)utmp, stb.st_size);
/macosx-10.10/libarchive-30/libarchive/libarchive/test/
H A Dtest_write_disk.c174 assertEqualInt(st.st_size, 5);
204 assertEqualInt(st.st_size, sizeof(data));
243 assertEqualInt(st.st_size, sizeof(data));
/macosx-10.10/shell_cmds-179/hexdump/
H A Ddisplay.c390 if (S_ISREG(sb.st_mode) && skip >= sb.st_size) {
391 address += sb.st_size;
392 skip -= sb.st_size;
/macosx-10.10/cron-39/crontab/
H A Dcrontab.c364 if (sb.st_size == 0) {
367 ptr = mmap(NULL, sb.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0);
369 result = CC_MD5(ptr, sb.st_size, output);
370 (void)munmap(ptr, sb.st_size);
/macosx-10.10/curl-83.1.2/curl/docs/examples/
H A Danyauthput.c161 (curl_off_t)file_info.st_size);
/macosx-10.10/file-46/file/src/
H A Dreadmacho.c77 size = stat_buf.st_size;
/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/
H A Dmisc.c151 return st.st_size;
/macosx-10.10/ksh-23/ksh/src/lib/libast/sfio/
H A Dsfsize.c71 else if((f->extent = st.st_size) < f->here)

Completed in 504 milliseconds

1234567891011>>