Searched refs:var_cached (Results 1 – 3 of 3) sorted by relevance
201 if (var->var_cached != NULL && in PyContextVar_Get()205 *val = var->var_cached; in PyContextVar_Get()219 var->var_cached = found; /* borrow */ in PyContextVar_Get()714 var->var_cached = NULL; in contextvar_set()730 var->var_cached = val; /* borrow */ in contextvar_set()739 var->var_cached = NULL; in contextvar_del()816 var->var_cached = NULL; in contextvar_new()856 self->var_cached = NULL; in contextvar_tp_clear()
23 PyObject *var_cached; member
325 var_cached = variables.Variable(2.0, caching_device="/job:foo")326 self.assertFalse(var_cached.device.startswith("/job:foo"))327 self.assertTrue(var_cached.value().device.startswith("/job:foo"))