Searched refs:var_cached (Results 1 – 3 of 3) sorted by relevance
187 if (var->var_cached != NULL && in PyContextVar_Get()191 *val = var->var_cached; in PyContextVar_Get()205 var->var_cached = found; /* borrow */ in PyContextVar_Get()683 var->var_cached = NULL; in contextvar_set()699 var->var_cached = val; /* borrow */ in contextvar_set()708 var->var_cached = NULL; in contextvar_del()785 var->var_cached = NULL; in contextvar_new()825 self->var_cached = NULL; in contextvar_tp_clear()
21 PyObject *var_cached; member
297 var_cached = variables.Variable(2.0, caching_device="/job:foo")298 self.assertFalse(var_cached.device.startswith("/job:foo"))299 self.assertTrue(var_cached.value().device.startswith("/job:foo"))