Searched refs:res_obj (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | control_flow_test.py | 420 res_obj = tr(constant_op.constant(1), TestClass(0, 0)) 421 self.assertValuesEqual((res_obj.a, res_obj.b), (-1, 0)) 422 res_obj = tr(constant_op.constant(-1), TestClass(0, 0)) 423 self.assertValuesEqual((res_obj.a, res_obj.b), (0, -2))
|
/external/python/cpython3/Objects/ |
D | listobject.c | 2015 PyObject *res_obj; int res; in unsafe_object_compare() local 2022 res_obj = (*(ms->key_richcompare))(v, w, Py_LT); in unsafe_object_compare() 2024 if (res_obj == Py_NotImplemented) { in unsafe_object_compare() 2025 Py_DECREF(res_obj); in unsafe_object_compare() 2028 if (res_obj == NULL) in unsafe_object_compare() 2031 if (PyBool_Check(res_obj)) { in unsafe_object_compare() 2032 res = (res_obj == Py_True); in unsafe_object_compare() 2035 res = PyObject_IsTrue(res_obj); in unsafe_object_compare() 2037 Py_DECREF(res_obj); in unsafe_object_compare()
|