Home
last modified time | relevance | path

Searched refs:lockdata (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_fcntl.py38 lockdata = struct.pack(off_t + off_t + pid_t + 'hh', 0, 0, 0,
41 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
43 lockdata = None
45 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
46 if lockdata:
48 print 'struct.pack: ', repr(lockdata)
49 return lockdata
51 lockdata = get_lockdata() variable
77 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
87 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
/external/python/cpython2/Doc/library/
Dfcntl.rst151 lockdata = struct.pack('hhllhh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
152 rv = fcntl.fcntl(f, fcntl.F_SETLKW, lockdata)
156 lay-out for the *lockdata* variable is system dependent --- therefore using the