Searched refs:statobj (Results 1 – 2 of 2) sorted by relevance
/freebsd-src/contrib/lib9p/pytest/ |
H A D | p9conn.py | 1024 def wstat(self, fid, statobj=None, **kwargs): argument 1025 if statobj is None: 1026 statobj = protocol.td.stat() 1028 statobj = statobj._copy() 1059 for field in statobj._fields: 1063 statobj[field] = kwargs.pop(field) 1065 if field in forbid or statobj[field] is None: 1066 statobj[field] = nochange[field] 1071 data = self.proto.pack_wirestat(statobj) 1079 statobj.qid = None [all …]
|
H A D | protocol.py | 756 def pack_wirestat(self, statobj): argument 761 data = td.stat_seq.pack(statobj, self.conditions) 769 statobj = td.stat() 775 return statobj, newoff 782 used = td.stat_seq.unpack_from(statobj, self.conditions, data, 785 return statobj, newoff
|