Searched refs:FILEDATA (Results 1 – 3 of 3) sorted by relevance
/external/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()
|
/external/python/cpython3/Lib/test/ |
D | test_socket.py | 5509 FILEDATA = b"" variable in SendfileUsingSendTest 5528 cls.FILEDATA = f.read() 5529 assert len(cls.FILEDATA) == cls.FILESIZE 5571 self.assertEqual(data, self.FILEDATA) 5577 file = io.BytesIO(self.FILEDATA) 5589 self.assertEqual(data, self.FILEDATA) 5625 self.assertEqual(data, self.FILEDATA[5000:]) 5644 self.assertEqual(data, self.FILEDATA[:count]) 5663 self.assertEqual(data, self.FILEDATA[:count]) 5682 self.assertEqual(data, self.FILEDATA[2007:count+2007]) [all …]
|