HomeSort by relevance Sort by last modified time
    Searched refs:ftruncate (Results 51 - 75 of 81) sorted by null

1 23 4

  /external/e2fsprogs/resize/
main.c 421 ftruncate(fd, (off_t) new_file_size);
  /external/ppp/pppd/plugins/radius/
buildreq.c 138 ftruncate(fileno(sf),0);
  /external/qemu/block/
raw-win32.c 53 /* get current position, ftruncate do not change position */
231 ftruncate(fd, total_size * 512);
vmdk.c 236 ftruncate(snp_fd, header.grain_offset << 9);
777 ftruncate(fd, header.grain_offset << 9);
raw-posix.c 736 if (ftruncate(s->fd, offset) < 0)
854 ftruncate(fd, total_size * 512);
    [all...]
  /external/chromium/base/
file_util.cc 230 if (ftruncate(fd, current_offset) != 0)
  /external/e2fsprogs/lib/uuid/
gen_uuid.c 355 ftruncate(state_fd, 0);
  /external/e2fsprogs/misc/
uuidd.c 286 ftruncate(fd_pidfile, 0);
  /libcore/luni/src/main/native/
org_apache_harmony_luni_platform_OSFileSystem.cpp 370 int rc = ftruncate(fd, length);
  /system/core/init/
property_service.c 119 if (ftruncate(fd, size) < 0)
  /bionic/libc/arch-arm/
syscalls.mk 72 syscall_src += arch-arm/syscalls/ftruncate.S
  /bionic/libc/arch-sh/
syscalls.mk 75 syscall_src += arch-sh/syscalls/ftruncate.S
  /bionic/libc/arch-x86/
syscalls.mk 75 syscall_src += arch-x86/syscalls/ftruncate.S
  /external/bluetooth/glib/gio/
glocalfileoutputstream.c 450 res = ftruncate (file->priv->fd, size);
961 if (ftruncate (fd, 0) == -1)
  /external/dropbear/
loginrec.c 916 ftruncate(fd, buf.st_size);
1083 ftruncate(fd, buf.st_size);
    [all...]
scp.c 1052 if (wrerr == NO && ftruncate(ofd, size) != 0) {
  /external/ppp/pppd/
tdb.c 716 /* expand a file. we prefer to use ftruncate, as that is what posix
722 if (ftruncate(tdb->fd, size+addition) != 0) {
723 TDB_LOG((tdb, 0, "expand_file ftruncate to %d failed (%s)\n",
946 if (ftruncate(tdb->fd, 0) == -1)
    [all...]
  /external/dnsmasq/src/
lease.c 183 if (errno != 0 || ftruncate(fileno(daemon->lease_stream), 0) != 0)
  /build/tools/zipalign/
ZipFile.cpp 933 if (ftruncate(fileno(mZipFp), ftell(mZipFp)) != 0) {
934 LOGW("ftruncate failed %ld: %s\n", ftell(mZipFp), strerror(errno));
    [all...]
  /dalvik/vm/analysis/
DexPrepare.c 233 if (ftruncate(fd, 0) != 0) {
    [all...]
  /external/e2fsprogs/lib/ext2fs/
tdb.c 1011 /* expand a file. we prefer to use ftruncate, as that is what posix
1022 if (ftruncate(tdb->fd, size+addition) == -1) {
    [all...]
  /frameworks/base/tools/aapt/
ZipFile.cpp 933 if (ftruncate(fileno(mZipFp), ftell(mZipFp)) != 0) {
934 LOGW("ftruncate failed %ld: %s\n", ftell(mZipFp), strerror(errno));
    [all...]
  /sdk/emulator/qtools/
trace_reader.cpp     [all...]
  /system/core/toolbox/
dd.c 244 (void)ftruncate(out.fd, (off_t)out.offset * out.dbsz);
  /external/blktrace/
blktrace.c 747 if (ftruncate(fd, mip->fs_max_size) < 0) {
748 perror("setup_mmap: ftruncate");
    [all...]

Completed in 924 milliseconds

1 23 4