Home
last modified time | relevance | path

Searched refs:cmp_result (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Objects/
Drangeobject.c162 int cmp_result; in compute_range_length() local
172 cmp_result = PyObject_RichCompareBool(step, zero, Py_GT); in compute_range_length()
174 if (cmp_result == -1) in compute_range_length()
177 if (cmp_result == 1) { in compute_range_length()
190 cmp_result = PyObject_RichCompareBool(lo, hi, Py_GE); in compute_range_length()
191 if (cmp_result != 0) { in compute_range_length()
193 if (cmp_result < 0) in compute_range_length()
253 int cmp_result; in compute_range_item() local
267 cmp_result = PyObject_RichCompareBool(arg, zero, Py_LT); in compute_range_item()
268 if (cmp_result == -1) { in compute_range_item()
[all …]
Dsliceobject.c373 int step_is_negative, cmp_result; in _PySlice_GetLongIndices() local
433 cmp_result = PyObject_RichCompareBool(start, lower, Py_LT); in _PySlice_GetLongIndices()
434 if (cmp_result < 0) in _PySlice_GetLongIndices()
436 if (cmp_result) { in _PySlice_GetLongIndices()
443 cmp_result = PyObject_RichCompareBool(start, upper, Py_GT); in _PySlice_GetLongIndices()
444 if (cmp_result < 0) in _PySlice_GetLongIndices()
446 if (cmp_result) { in _PySlice_GetLongIndices()
472 cmp_result = PyObject_RichCompareBool(stop, lower, Py_LT); in _PySlice_GetLongIndices()
473 if (cmp_result < 0) in _PySlice_GetLongIndices()
475 if (cmp_result) { in _PySlice_GetLongIndices()
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_vector_insert.cpp119 ir_variable *const cmp_result = in handle_rvalue() local
122 factory.emit(assign(cmp_result, in handle_rvalue()
127 factory.emit(if_tree(cmp_result, in handle_rvalue()
Dloop_controls.cpp155 ir_constant *const cmp_result = cmp->constant_expression_value(); in calculate_iterations() local
157 assert(cmp_result != NULL); in calculate_iterations()
158 if (cmp_result->get_bool_component(0)) { in calculate_iterations()
/external/python/cpython2/Python/
Dbltinmodule.c1822 int cmp_result; in handle_range_longs() local
1870 if (PyObject_Cmp(step, zero, &cmp_result) == -1) in handle_range_longs()
1873 if (cmp_result == 0) { in handle_range_longs()
1879 if (cmp_result > 0) in handle_range_longs()