Lines Matching refs:uid
12 def __init__(self, uid, pid, ppid, name): argument
13 self.uid = uid
21 if self.uid:
22 return self.uid.name
26 return "Process(uid=%s, pid=%s, name=%s)" % (self.uid, self.pid, self.name)
29 def __init__(self, uid, name): argument
30 self.uid = uid
34 return "Uid(id=%s, name=%s)" % (self.uid, self.name)
59 uid = self.FindUid(ParseUid(line[0]))
60 self._processes[line[1]] = Process(uid, line[1], line[2], line[3])
75 def FindPid(self, pid, uid=None): argument
87 if uid:
88 uid = self._uids.get(uid)
89 result = Process(uid, pid, None, None)
93 def FindUid(self, uid): argument
94 result = self._uids.get(uid)
97 result = self._uids.get(uid)
99 result = Uid(uid, uid)
100 self._uids[uid] = result
109 for uid in self._uids:
110 print uid