Lines Matching refs:ident

235                 ident, methodname, args, kwds = request
237 obj, exposed, gettypeid = id_to_obj[ident]
241 self.id_to_local_proxy_obj[ident]
273 self, conn, ident, obj, *args, **kwds
300 def fallback_getvalue(self, conn, ident, obj): argument
303 def fallback_str(self, conn, ident, obj): argument
306 def fallback_repr(self, conn, ident, obj): argument
327 for ident in keys:
328 if ident != '0':
330 (ident, self.id_to_refcount[ident],
331 str(self.id_to_obj[ident][0])[:75]))
379 ident = '%x' % id(obj) # convert to string because xmlrpclib
381 util.debug('%r callable returned object with id %r', typeid, ident)
383 self.id_to_obj[ident] = (obj, set(exposed), method_to_typeid)
384 if ident not in self.id_to_refcount:
385 self.id_to_refcount[ident] = 0
387 self.incref(c, ident)
388 return ident, tuple(exposed)
404 def incref(self, c, ident): argument
407 self.id_to_refcount[ident] += 1
413 if ident in self.id_to_local_proxy_obj:
414 self.id_to_refcount[ident] = 1
415 self.id_to_obj[ident] = \
416 self.id_to_local_proxy_obj[ident]
417 obj, exposed, gettypeid = self.id_to_obj[ident]
418 util.debug('Server re-enabled tracking & INCREF %r', ident)
422 def decref(self, c, ident): argument
423 if ident not in self.id_to_refcount and \
424 ident in self.id_to_local_proxy_obj:
425 util.debug('Server DECREF skipping %r', ident)
429 if self.id_to_refcount[ident] <= 0:
432 ident, self.id_to_obj[ident],
433 self.id_to_refcount[ident]))
434 self.id_to_refcount[ident] -= 1
435 if self.id_to_refcount[ident] == 0:
436 del self.id_to_refcount[ident]
438 if ident not in self.id_to_refcount:
444 self.id_to_obj[ident] = (None, (), None) # thread-safe
445 util.debug('disposing of obj with id %r', ident)
447 del self.id_to_obj[ident]
541 ident = ':'.join(str(i) for i in self._process._identity)
542 self._process.name = type(self).__name__ + '-' + ident