Searched refs:FILEDATA (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl14.c | 541 #define FILEDATA "ten bytes!" macro 784 if (write(fd, FILEDATA, 10) < 0) in run_test() 1021 if (write(fd, FILEDATA, 10) < 0) in main() 1058 if (write(fd, FILEDATA, 10) < 0) in main() 1075 if (write(fd, FILEDATA, 10) < 0) in main()
|
D | fcntl16.c | 275 #define FILEDATA "tenbytes!" macro 458 (void)write(fd, FILEDATA, 10); in run_test()
|
/third_party/python/Lib/test/ |
D | test_shutil.py | 2348 FILEDATA = b"" variable in _ZeroCopyFileTest 2355 cls.FILEDATA = f.read() 2356 assert len(cls.FILEDATA) == cls.FILESIZE 2385 self.assertEqual(read_file(TESTFN2, binary=True), self.FILEDATA) 2398 self.assertEqual(read_file(TESTFN, binary=True), self.FILEDATA) 2453 with io.BytesIO(self.FILEDATA) as src: 2459 self.assertEqual(read_file(TESTFN2, binary=True), self.FILEDATA) 2468 self.assertEqual(dst.read(), self.FILEDATA) 2496 self.assertEqual(read_file(TESTFN2, binary=True), self.FILEDATA) 2509 self.assertEqual(read_file(TESTFN2, binary=True), self.FILEDATA) [all …]
|
D | test_socket.py | 5949 FILEDATA = b"" variable in SendfileUsingSendTest 5968 cls.FILEDATA = f.read() 5969 assert len(cls.FILEDATA) == cls.FILESIZE 6011 self.assertEqual(data, self.FILEDATA) 6017 file = io.BytesIO(self.FILEDATA) 6029 self.assertEqual(data, self.FILEDATA) 6065 self.assertEqual(data, self.FILEDATA[5000:]) 6086 self.assertEqual(data, self.FILEDATA[:count]) 6107 self.assertEqual(data, self.FILEDATA[:count]) 6126 self.assertEqual(data, self.FILEDATA[2007:count+2007]) [all …]
|