Lines Matching refs:buf
25 buf: contents.as_ptr() as *const _, in test_file_pread_pwrite()
33 buf: contents.as_mut_ptr() as *mut _, in test_file_pread_pwrite()
52 buf: contents[offset..].as_ptr() as *const _, in test_file_pread_pwrite()
58 buf: contents[contents.len() - remaining..].as_ptr() as *const _, in test_file_pread_pwrite()
83 buf: buffer.as_mut_ptr() as *mut _, in test_file_pread_pwrite()
87 buf: buffer[2..].as_mut_ptr() as *mut _, in test_file_pread_pwrite()
103 buf: contents.as_mut_ptr() as *mut _, in test_file_pread_pwrite()
112 buf: contents.as_ptr() as *const _, in test_file_pread_pwrite()
120 buf: contents.as_mut_ptr() as *mut _, in test_file_pread_pwrite()
153 buf: [].as_ptr(), in test_file_pwrite_and_file_pos()
164 let buf = [0]; in test_file_pwrite_and_file_pos() localVariable
166 buf: buf.as_ptr(), in test_file_pwrite_and_file_pos()
167 buf_len: buf.len(), in test_file_pwrite_and_file_pos()
195 let buf = [0]; in test_file_pwrite_and_append() localVariable
197 buf: buf.as_ptr(), in test_file_pwrite_and_append()
198 buf_len: buf.len(), in test_file_pwrite_and_append()