/external/python/cpython3/Objects/ |
D | rangeobject.c | 193 cmp_result = PyObject_RichCompareBool(step, _PyLong_Zero, Py_GT); in compute_range_length() 210 cmp_result = PyObject_RichCompareBool(lo, hi, Py_GE); in compute_range_length() 278 cmp_result = PyObject_RichCompareBool(arg, _PyLong_Zero, Py_LT); in compute_range_item() 297 cmp_result = PyObject_RichCompareBool(i, _PyLong_Zero, Py_LT); in compute_range_item() 299 cmp_result = PyObject_RichCompareBool(i, r->length, Py_GE); in compute_range_item() 379 cmp1 = PyObject_RichCompareBool(r->step, _PyLong_Zero, Py_GT); in range_contains_long() 383 cmp2 = PyObject_RichCompareBool(r->start, ob, Py_LE); in range_contains_long() 384 cmp3 = PyObject_RichCompareBool(ob, r->stop, Py_LT); in range_contains_long() 387 cmp2 = PyObject_RichCompareBool(ob, r->start, Py_LE); in range_contains_long() 388 cmp3 = PyObject_RichCompareBool(r->stop, ob, Py_LT); in range_contains_long() [all …]
|
D | sliceobject.c | 435 cmp_result = PyObject_RichCompareBool(start, lower, Py_LT); in _PySlice_GetLongIndices() 445 cmp_result = PyObject_RichCompareBool(start, upper, Py_GT); in _PySlice_GetLongIndices() 474 cmp_result = PyObject_RichCompareBool(stop, lower, Py_LT); in _PySlice_GetLongIndices() 484 cmp_result = PyObject_RichCompareBool(stop, upper, Py_GT); in _PySlice_GetLongIndices()
|
D | codeobject.c | 845 eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ); in code_richcompare() 859 eq = PyObject_RichCompareBool(co->co_code, cp->co_code, Py_EQ); in code_richcompare() 871 eq = PyObject_RichCompareBool(consts1, consts2, Py_EQ); in code_richcompare() 876 eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ); in code_richcompare() 878 eq = PyObject_RichCompareBool(co->co_varnames, cp->co_varnames, Py_EQ); in code_richcompare() 880 eq = PyObject_RichCompareBool(co->co_freevars, cp->co_freevars, Py_EQ); in code_richcompare() 882 eq = PyObject_RichCompareBool(co->co_cellvars, cp->co_cellvars, Py_EQ); in code_richcompare()
|
D | listobject.c | 419 cmp = PyObject_RichCompareBool(item, el, Py_EQ); in list_contains() 2005 return PyObject_RichCompareBool(v, w, Py_LT); in safe_object_compare() 2019 return PyObject_RichCompareBool(v, w, Py_LT); in unsafe_object_compare() 2026 return PyObject_RichCompareBool(v, w, Py_LT); in unsafe_object_compare() 2067 assert(res == PyObject_RichCompareBool(v, w, Py_LT));; in unsafe_latin_compare() 2095 assert(res == PyObject_RichCompareBool(v, w, Py_LT)); in unsafe_long_compare() 2110 assert(res == PyObject_RichCompareBool(v, w, Py_LT)); in unsafe_float_compare() 2140 k = PyObject_RichCompareBool(vt->ob_item[i], wt->ob_item[i], Py_EQ); in unsafe_tuple_compare() 2153 return PyObject_RichCompareBool(vt->ob_item[i], wt->ob_item[i], Py_LT); in unsafe_tuple_compare() 2527 int cmp = PyObject_RichCompareBool(obj, value, Py_EQ); in list_index_impl() [all …]
|
D | tupleobject.c | 398 cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ); in tuplecontains() 582 int cmp = PyObject_RichCompareBool(self->ob_item[i], value, Py_EQ); in tuple_index_impl() 609 int cmp = PyObject_RichCompareBool(self->ob_item[i], value, Py_EQ); in tuple_count() 656 int k = PyObject_RichCompareBool(vt->ob_item[i], in tuplerichcompare()
|
D | classobject.c | 260 eq = PyObject_RichCompareBool(a->im_func, b->im_func, Py_EQ); in method_richcompare() 494 eq = PyObject_RichCompareBool(a->func, b->func, Py_EQ); in instancemethod_richcompare()
|
D | iterobject.c | 224 ok = PyObject_RichCompareBool(it->it_sentinel, result, Py_EQ); in calliter_iternext()
|
/external/python/cpython3/Modules/ |
D | _heapqmodule.c | 41 cmp = PyObject_RichCompareBool(newitem, parent, Py_LT); in siftdown() 89 cmp = PyObject_RichCompareBool(a, b, Py_LT); in siftup() 276 cmp = PyObject_RichCompareBool(top, item, Py_LT); in _heapq_heappushpop_impl() 435 cmp = PyObject_RichCompareBool(parent, newitem, Py_LT); in siftdown_max() 483 cmp = PyObject_RichCompareBool(a, b, Py_LT); in siftup_max()
|
D | _bisectmodule.c | 42 res = PyObject_RichCompareBool(item, litem, Py_LT); in internal_bisect_right() 143 res = PyObject_RichCompareBool(litem, item, Py_LT); in internal_bisect_left()
|
D | atexitmodule.c | 285 eq = PyObject_RichCompareBool(cb->func, func, Py_EQ); in atexit_unregister()
|
D | _collectionsmodule.c | 969 cmp = PyObject_RichCompareBool(item, v, Py_EQ); in deque_count() 1008 cmp = PyObject_RichCompareBool(item, v, Py_EQ); in deque_contains() 1080 cmp = PyObject_RichCompareBool(item, v, Py_EQ); in deque_index() 1156 int cmp = PyObject_RichCompareBool(item, value, Py_EQ); in deque_remove() 1426 b = PyObject_RichCompareBool(x, y, Py_EQ); in deque_richcompare() 1428 cmp = PyObject_RichCompareBool(x, y, op); in deque_richcompare()
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 572 eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ); in code_richcompare() 582 eq = PyObject_RichCompareBool(co->co_code, cp->co_code, Py_EQ); in code_richcompare() 594 eq = PyObject_RichCompareBool(consts1, consts2, Py_EQ); in code_richcompare() 599 eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ); in code_richcompare() 601 eq = PyObject_RichCompareBool(co->co_varnames, cp->co_varnames, Py_EQ); in code_richcompare() 603 eq = PyObject_RichCompareBool(co->co_freevars, cp->co_freevars, Py_EQ); in code_richcompare() 605 eq = PyObject_RichCompareBool(co->co_cellvars, cp->co_cellvars, Py_EQ); in code_richcompare()
|
D | tupleobject.c | 374 cmp = PyObject_RichCompareBool(el, PyTuple_GET_ITEM(a, i), in tuplecontains() 529 int cmp = PyObject_RichCompareBool(self->ob_item[i], v, Py_EQ); in tupleindex() 546 int cmp = PyObject_RichCompareBool(self->ob_item[i], v, Py_EQ); in tuplecount() 595 int k = PyObject_RichCompareBool(vt->ob_item[i], in tuplerichcompare()
|
D | iterobject.c | 185 ok = PyObject_RichCompareBool(result, in calliter_iternext()
|
D | listobject.c | 441 cmp = PyObject_RichCompareBool(el, PyList_GET_ITEM(a, i), in list_contains() 1030 PyObject_RichCompareBool(X, Y, Py_LT) : \ 2298 int cmp = PyObject_RichCompareBool(self->ob_item[i], v, Py_EQ); in listindex() 2328 int cmp = PyObject_RichCompareBool(self->ob_item[i], v, Py_EQ); in listcount() 2343 int cmp = PyObject_RichCompareBool(self->ob_item[i], v, Py_EQ); in listremove() 2394 int k = PyObject_RichCompareBool(vl->ob_item[i], in list_richcompare()
|
D | dictobject.c | 342 cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); in lookdict() 374 cmp = PyObject_RichCompareBool(startkey, key, Py_EQ); in lookdict() 1816 cmp = PyObject_RichCompareBool(akey, thiskey, Py_LT); in characterize() 1845 cmp = PyObject_RichCompareBool( in characterize() 1954 cmp = PyObject_RichCompareBool(aval, bval, Py_EQ); in dict_equal() 3230 result = PyObject_RichCompareBool(value, found, Py_EQ); in dictitems_contains()
|
/external/python/cpython2/Modules/ |
D | _bisectmodule.c | 31 res = PyObject_RichCompareBool(item, litem, Py_LT); in internal_bisect_right() 137 res = PyObject_RichCompareBool(litem, item, Py_LT); in internal_bisect_left()
|
D | _heapqmodule.c | 28 return PyObject_RichCompareBool(x, y, Py_LT); in cmp_lt() 29 cmp = PyObject_RichCompareBool(y, x, Py_LE); in cmp_lt()
|
D | threadmodule.c | 479 r = PyObject_RichCompareBool(name, str_dict, Py_EQ); in local_setattro() 548 r = PyObject_RichCompareBool(name, str_dict, Py_EQ); in local_getattro()
|
D | _collectionsmodule.c | 574 cmp = PyObject_RichCompareBool(item, v, Py_EQ); in deque_count() 614 int cmp = PyObject_RichCompareBool(item, value, Py_EQ); in deque_remove() 1041 b = PyObject_RichCompareBool(x, y, Py_EQ); in deque_richcompare() 1043 cmp = PyObject_RichCompareBool(x, y, op); in deque_richcompare()
|
D | arraymodule.c | 541 k = PyObject_RichCompareBool(vi, wi, Py_EQ); in array_richcompare() 935 int cmp = PyObject_RichCompareBool(selfi, v, Py_EQ); in array_count() 957 int cmp = PyObject_RichCompareBool(selfi, v, Py_EQ); in array_index() 982 cmp = PyObject_RichCompareBool(selfi, v, Py_EQ); in array_contains() 995 int cmp = PyObject_RichCompareBool(selfi, v, Py_EQ); in array_remove()
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 82 int eq = PyObject_RichCompareBool(left, right, Py_EQ); in equal_ignore_case() 197 int eq = PyObject_RichCompareBool(self->description, other->description, Py_EQ); in pysqlite_row_richcompare()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor_conversion.h | 57 bool result = PyObject_RichCompareBool(ptr, other.ptr, Py_EQ) > 0;
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b2.rst | 18 PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle
|
/external/python/cpython3/Python/ |
D | hamt.c | 769 int comp_err = PyObject_RichCompareBool(key, key_or_null, Py_EQ); in hamt_node_bitmap_assoc() 1082 int cmp = PyObject_RichCompareBool(key_or_null, key, Py_EQ); in hamt_node_bitmap_without() 1143 comp_err = PyObject_RichCompareBool(key, key_or_null, Py_EQ); in hamt_node_bitmap_find() 1312 int cmp = PyObject_RichCompareBool(key, el, Py_EQ); in hamt_node_collision_find_index() 2451 int cmp = PyObject_RichCompareBool(v_val, w_val, Py_EQ); in _PyHamt_Eq()
|