Home
last modified time | relevance | path

Searched refs:datablks (Results 1 – 8 of 8) sorted by relevance

/dports/archivers/gtar/tar-1.34/gnu/
H A Dfileblocks.c52 off_t datablks = size / 512 + (size % 512 != 0); in st_blocks() local
55 if (datablks > NDIR) in st_blocks()
57 indrblks = (datablks - NDIR - 1) / NINDIR + 1; in st_blocks()
59 if (datablks > NDIR + NINDIR) in st_blocks()
61 indrblks += (datablks - NDIR - NINDIR - 1) / (NINDIR * NINDIR) + 1; in st_blocks()
63 if (datablks > NDIR + NINDIR + NINDIR * NINDIR) in st_blocks()
68 return datablks + indrblks; in st_blocks()
/dports/archivers/gcpio/cpio-2.13/gnu/
H A Dfileblocks.c52 off_t datablks = size / 512 + (size % 512 != 0); in st_blocks() local
55 if (datablks > NDIR) in st_blocks()
57 indrblks = (datablks - NDIR - 1) / NINDIR + 1; in st_blocks()
59 if (datablks > NDIR + NINDIR) in st_blocks()
61 indrblks += (datablks - NDIR - NINDIR - 1) / (NINDIR * NINDIR) + 1; in st_blocks()
63 if (datablks > NDIR + NINDIR + NINDIR * NINDIR) in st_blocks()
68 return datablks + indrblks; in st_blocks()
/dports/devel/gnulib/gnulib-20140202-stable/lib/
H A Dfileblocks.c52 off_t datablks = size / 512 + (size % 512 != 0); in st_blocks() local
55 if (datablks > NDIR) in st_blocks()
57 indrblks = (datablks - NDIR - 1) / NINDIR + 1; in st_blocks()
59 if (datablks > NDIR + NINDIR) in st_blocks()
61 indrblks += (datablks - NDIR - NINDIR - 1) / (NINDIR * NINDIR) + 1; in st_blocks()
63 if (datablks > NDIR + NINDIR + NINDIR * NINDIR) in st_blocks()
68 return datablks + indrblks; in st_blocks()
/dports/sysutils/coreutils/coreutils-8.32/lib/
H A Dfileblocks.c52 off_t datablks = size / 512 + (size % 512 != 0); in st_blocks() local
55 if (datablks > NDIR) in st_blocks()
57 indrblks = (datablks - NDIR - 1) / NINDIR + 1; in st_blocks()
59 if (datablks > NDIR + NINDIR) in st_blocks()
61 indrblks += (datablks - NDIR - NINDIR - 1) / (NINDIR * NINDIR) + 1; in st_blocks()
63 if (datablks > NDIR + NINDIR + NINDIR * NINDIR) in st_blocks()
68 return datablks + indrblks; in st_blocks()
/dports/misc/gnuls/coreutils-8.30/lib/
H A Dfileblocks.c52 off_t datablks = size / 512 + (size % 512 != 0); in st_blocks() local
55 if (datablks > NDIR) in st_blocks()
57 indrblks = (datablks - NDIR - 1) / NINDIR + 1; in st_blocks()
59 if (datablks > NDIR + NINDIR) in st_blocks()
61 indrblks += (datablks - NDIR - NINDIR - 1) / (NINDIR * NINDIR) + 1; in st_blocks()
63 if (datablks > NDIR + NINDIR + NINDIR * NINDIR) in st_blocks()
68 return datablks + indrblks; in st_blocks()
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/
H A Dfileblocks.c52 off_t datablks = size / 512 + (size % 512 != 0); in st_blocks() local
55 if (datablks > NDIR) in st_blocks()
57 indrblks = (datablks - NDIR - 1) / NINDIR + 1; in st_blocks()
59 if (datablks > NDIR + NINDIR) in st_blocks()
61 indrblks += (datablks - NDIR - NINDIR - 1) / (NINDIR * NINDIR) + 1; in st_blocks()
63 if (datablks > NDIR + NINDIR + NINDIR * NINDIR) in st_blocks()
68 return datablks + indrblks; in st_blocks()
/dports/misc/findutils/findutils-4.8.0/gl/lib/
H A Dfileblocks.c52 off_t datablks = size / 512 + (size % 512 != 0); in st_blocks() local
55 if (datablks > NDIR) in st_blocks()
57 indrblks = (datablks - NDIR - 1) / NINDIR + 1; in st_blocks()
59 if (datablks > NDIR + NINDIR) in st_blocks()
61 indrblks += (datablks - NDIR - NINDIR - 1) / (NINDIR * NINDIR) + 1; in st_blocks()
63 if (datablks > NDIR + NINDIR + NINDIR * NINDIR) in st_blocks()
68 return datablks + indrblks; in st_blocks()
/dports/games/rlvm/rlvm-release-0.14-77-gfabf134a/vendor/xclannad/
H A Dnwatowav.cc791 int datablks = (data_len+copied_length)/blksize; in Read() local
792 if (datablks <= 0) return 0; in Read()
793 if (datablks > blklen) datablks = blklen; in Read()
794 int rest_len = datablks * blksize - copied_length; in Read()
800 return datablks; in Read()