Lines Matching refs:ident
241 ident, methodname, args, kwds = request
242 obj, exposed, gettypeid = id_to_obj[ident]
272 self, conn, ident, obj, *args, **kwds
299 def fallback_getvalue(self, conn, ident, obj):
302 def fallback_str(self, conn, ident, obj):
305 def fallback_repr(self, conn, ident, obj):
326 for ident in keys:
327 if ident != '0':
329 (ident, self.id_to_refcount[ident],
330 str(self.id_to_obj[ident][0])[:75]))
339 return len(self.id_to_obj) - 1 # don't count ident='0'
394 ident = '%x' % id(obj) # convert to string because xmlrpclib
396 util.debug('%r callable returned object with id %r', typeid, ident)
398 self.id_to_obj[ident] = (obj, set(exposed), method_to_typeid)
399 if ident not in self.id_to_refcount:
400 self.id_to_refcount[ident] = 0
406 self.incref(c, ident)
407 return ident, tuple(exposed)
425 def incref(self, c, ident):
428 self.id_to_refcount[ident] += 1
432 def decref(self, c, ident):
435 assert self.id_to_refcount[ident] >= 1
436 self.id_to_refcount[ident] -= 1
437 if self.id_to_refcount[ident] == 0:
438 del self.id_to_obj[ident], self.id_to_refcount[ident]
439 util.debug('disposing of obj with id %r', ident)
522 ident = ':'.join(str(i) for i in self._process._identity)
523 self._process.name = type(self).__name__ + '-' + ident