Home
last modified time | relevance | path

Searched refs:FILEDATA (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl14.c541 #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()
Dfcntl16.c275 #define FILEDATA "tenbytes!" macro
458 (void)write(fd, FILEDATA, 10); in run_test()
/external/python/cpython3/Lib/test/
Dtest_socket.py5509 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 …]