Lines Matching refs:trunc
120 lfs_size_t trunc = size - qsize;
121 lfs_file_truncate(&lfs, &file, trunc) => 0;
123 lfs_file_size(&lfs, &file) => trunc;
126 lfs_file_read(&lfs, &file, rb, size) => trunc;
127 memcmp(rb, wb, trunc) => 0;
130 lfs_file_size(&lfs, &file) => trunc;
135 trunc -= qsize;
136 lfs_file_truncate(&lfs, &file, trunc) => 0;
138 lfs_file_size(&lfs, &file) => trunc;
141 lfs_file_read(&lfs, &file, rb, size) => trunc - qsize;
142 memcmp(rb, wb + qsize, trunc - qsize) => 0;