Searched refs:res_obj (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | control_flow_test.py | 202 res_obj = result.test_fn(constant_op.constant(1), TestClass(0, 0)) 203 self.assertEqual(self.evaluate((res_obj.a, res_obj.b)), (-1, 0)) 204 res_obj = result.test_fn(constant_op.constant(-1), TestClass(0, 0)) 205 self.assertEqual(self.evaluate((res_obj.a, res_obj.b)), (0, -2))
|
/external/python/cpython3/Objects/ |
D | listobject.c | 1995 PyObject *res_obj; int res; in unsafe_object_compare() local 2002 res_obj = (*(ms->key_richcompare))(v, w, Py_LT); in unsafe_object_compare() 2004 if (res_obj == Py_NotImplemented) { in unsafe_object_compare() 2005 Py_DECREF(res_obj); in unsafe_object_compare() 2008 if (res_obj == NULL) in unsafe_object_compare() 2011 if (PyBool_Check(res_obj)) { in unsafe_object_compare() 2012 res = (res_obj == Py_True); in unsafe_object_compare() 2015 res = PyObject_IsTrue(res_obj); in unsafe_object_compare() 2017 Py_DECREF(res_obj); in unsafe_object_compare()
|