Searched refs:truncate (Results 1 - 7 of 7) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dprintf.c236 boolean_t altfmt, truncate; local
330 truncate = FALSE;
462 truncate = _doprnt_truncates;
491 truncate = _doprnt_truncates;
496 truncate = _doprnt_truncates;
507 truncate = _doprnt_truncates;
517 truncate = _doprnt_truncates;
527 truncate = _doprnt_truncates;
533 truncate = _doprnt_truncates;
569 if (truncate)
[all...]
/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile205 truncate.2 \
/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c285 res = truncate((char*)args[0], LENGTHEN_SIZE);
288 res = truncate((char*)args[0], 0);
924 init_test(&test, "3.1.7: lengthen a file with truncate()", FILE1, 1, 1, NOTE_EXTEND, YES_EVENT);
973 init_test(&test, "3.2.6: TRUNC a file with truncate()", FILE1, 1, 1, NOTE_EXTEND, NO_EVENT);
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs4_vnops.c907 /* just truncate names that don't fit in direntry.d_name */
6914 int create, guarded, prefetch, truncate, noopbusy = 0; local
6954 truncate = (flags & NFS_GET_NAMED_ATTR_TRUNCATE);
7170 if (truncate)
7815 * truncate the xattr to remove any current data. We'll do
H A Dnfs_socket.c2300 uint32_t bitmap[NFS_ATTR_BITMAP_LEN], rbitmap[NFS_ATTR_BITMAP_LEN], bmlen, truncate, attrbytes; local
2474 nfsm_chain_get_32(error, &nmreq, truncate);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dtests.c181 * Test fsync, ftruncate, lseek, pread, pwrite, read, readv, truncate, write, writev system calls.
410 /* test truncate */
411 my_err = truncate( my_pathp, 0 );
413 printf( "truncate call failed with error %d - \"%s\" \n", errno, strerror( errno) );
423 printf( "truncate call failed - file size is wrong \n" );
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_syscalls.c3080 /* try to truncate by setting the size attribute */
5653 truncate(__unused proc_t p, struct truncate_args *uap, __unused int32_t *retval) function
7260 * info, so truncate before extending again */

Completed in 82 milliseconds