Lines Matching refs:lengthBytes
324 public ParcelFileDescriptor openWrite(String name, long offsetBytes, long lengthBytes) {
326 return openWriteInternal(name, offsetBytes, lengthBytes);
332 private ParcelFileDescriptor openWriteInternal(String name, long offsetBytes, long lengthBytes)
360 if (lengthBytes > 0) {
362 final long deltaBytes = lengthBytes - stat.st_size;
367 Libcore.os.posix_fallocate(targetFd, 0, lengthBytes);