/third_party/python/Objects/ |
H A D | rangeobject.c | 186 int cmp_result; in compute_range_length() local 195 cmp_result = PyObject_RichCompareBool(step, zero, Py_GT); in compute_range_length() 196 if (cmp_result == -1) in compute_range_length() 199 if (cmp_result == 1) { in compute_range_length() 212 cmp_result = PyObject_RichCompareBool(lo, hi, Py_GE); in compute_range_length() 213 if (cmp_result != 0) { in compute_range_length() 215 if (cmp_result < 0) in compute_range_length() 279 int cmp_result; in compute_range_item() local 289 cmp_result = PyObject_RichCompareBool(arg, zero, Py_LT); in compute_range_item() 290 if (cmp_result in compute_range_item() 453 int cmp_result; range_equals() local 519 int cmp_result; range_hash() local [all...] |
H A D | sliceobject.c | 388 int step_is_negative, cmp_result; in _PySlice_GetLongIndices() local 445 cmp_result = PyObject_RichCompareBool(start, lower, Py_LT); in _PySlice_GetLongIndices() 446 if (cmp_result < 0) in _PySlice_GetLongIndices() 448 if (cmp_result) { in _PySlice_GetLongIndices() 455 cmp_result = PyObject_RichCompareBool(start, upper, Py_GT); in _PySlice_GetLongIndices() 456 if (cmp_result < 0) in _PySlice_GetLongIndices() 458 if (cmp_result) { in _PySlice_GetLongIndices() 484 cmp_result = PyObject_RichCompareBool(stop, lower, Py_LT); in _PySlice_GetLongIndices() 485 if (cmp_result < 0) in _PySlice_GetLongIndices() 487 if (cmp_result) { in _PySlice_GetLongIndices() [all...] |
/third_party/mesa3d/src/compiler/nir/tests/ |
H A D | lower_returns_tests.cpp | 99 nir_ssa_def *cmp_result = nir_ieq(&bld, in_def, one); in TEST_F() local 100 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F() 175 nir_ssa_def *cmp_result = nir_ieq(&bld, in_def, one); in TEST_F() local 176 nir_push_if(&bld, cmp_result); in TEST_F()
|
H A D | opt_if_tests.cpp | 72 nir_ssa_def *cmp_result = nir_ieq(&bld, in_def, one); in TEST_F() local 73 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F() 109 nir_ssa_def *cmp_result = nir_ieq(&bld, in_def, one); in TEST_F() local 110 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F()
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | lower_vector_insert.cpp | 138 ir_variable *const cmp_result = in handle_rvalue() local 141 factory.emit(assign(cmp_result, in handle_rvalue() 146 factory.emit(if_tree(cmp_result, in handle_rvalue()
|
/third_party/openssl/test/ |
H A D | asn1_time_test.c | 27 int cmp_result; /* comparison to baseline result */ member 147 } else if (!((td->cmp_result == 0 && TEST_true((day == 0 && sec == 0))) || in test_table() 148 (td->cmp_result == -1 && TEST_true((day < 0 || sec < 0))) || in test_table() 149 (td->cmp_result == 1 && TEST_true((day > 0 || sec > 0))))) { in test_table() 154 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(&atime, gtime_t), td->cmp_result)) { in test_table() 202 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(ptime, gtime_t), td->cmp_result)) { in test_table() 226 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(ptime, gtime_t), td->cmp_result)) { in test_table()
|
H A D | x509_time_test.c | 281 int cmp_result, failed = 0; in test_x509_cmp_time_current() local 286 cmp_result = X509_cmp_time(asn1_before, NULL); in test_x509_cmp_time_current() 287 if (!TEST_int_eq(cmp_result, -1)) in test_x509_cmp_time_current() 290 cmp_result = X509_cmp_time(asn1_after, NULL); in test_x509_cmp_time_current() 291 if (!TEST_int_eq(cmp_result, 1)) in test_x509_cmp_time_current()
|
/third_party/FreeBSD/lib/libc/stdlib/ |
H A D | qsort.c | 159 int cmp_result; in local_qsort() local 192 while (pb <= pc && (cmp_result = CMP(thunk, pb, a)) <= 0) { in local_qsort() 193 if (cmp_result == 0) { in local_qsort() 200 while (pb <= pc && (cmp_result = CMP(thunk, pc, a)) >= 0) { in local_qsort() 201 if (cmp_result == 0) { in local_qsort()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_algebraic.py | 604 cmp_result = self.compare_bitsizes(a_bit_size, b_bit_size) 606 assert cmp_result is not None, \ 609 if cmp_result < 0: 756 cmp_result = self.compare_bitsizes(search_bit_size, replace_bit_size) 758 assert cmp_result is not None and cmp_result <= 0, \
|
/third_party/python/Python/ |
H A D | _warnings.c | 171 int cmp_result = PyUnicode_Compare(obj, arg); in check_matched() local 172 if (cmp_result == -1 && PyErr_Occurred()) { in check_matched() 175 return !cmp_result; in check_matched()
|