Lines Matching refs:first
193 first = os.open(os_helper.TESTFN, os.O_CREAT|os.O_RDWR)
197 second = os.dup(first)
200 while second != first + 1:
201 os.close(first)
206 first, second = second, os.dup(second)
210 os.closerange(first, first + 2)
211 self.assertRaises(OSError, os.write, first, b"a")
1973 # A list of tuples containing (function name, first arg, args)
2791 # first, so the offset is always 0. CreateSymbolicLink
2792 # stores the "PrintName" DOS path (e.g. "C:\") first,
2851 # testing the first one we see is sufficient
2913 # The first two test the error path, __file__ tests the success path