Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Drangeobject.c155 int cmp_result; in compute_range_length() local
161 cmp_result = PyObject_RichCompareBool(step, _PyLong_Zero, Py_GT); in compute_range_length()
162 if (cmp_result == -1) in compute_range_length()
165 if (cmp_result == 1) { in compute_range_length()
178 cmp_result = PyObject_RichCompareBool(lo, hi, Py_GE); in compute_range_length()
179 if (cmp_result != 0) { in compute_range_length()
181 if (cmp_result < 0) in compute_range_length()
236 int cmp_result; in compute_range_item() local
246 cmp_result = PyObject_RichCompareBool(arg, _PyLong_Zero, Py_LT); in compute_range_item()
247 if (cmp_result == -1) { in compute_range_item()
[all …]
Dsliceobject.c378 int step_is_negative, cmp_result; in _PySlice_GetLongIndices() local
435 cmp_result = PyObject_RichCompareBool(start, lower, Py_LT); in _PySlice_GetLongIndices()
436 if (cmp_result < 0) in _PySlice_GetLongIndices()
438 if (cmp_result) { in _PySlice_GetLongIndices()
445 cmp_result = PyObject_RichCompareBool(start, upper, Py_GT); in _PySlice_GetLongIndices()
446 if (cmp_result < 0) in _PySlice_GetLongIndices()
448 if (cmp_result) { in _PySlice_GetLongIndices()
474 cmp_result = PyObject_RichCompareBool(stop, lower, Py_LT); in _PySlice_GetLongIndices()
475 if (cmp_result < 0) in _PySlice_GetLongIndices()
477 if (cmp_result) { in _PySlice_GetLongIndices()
[all …]
/external/mesa3d/src/compiler/nir/tests/
Dopt_if_tests.cpp72 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()
Dlower_returns_tests.cpp103 nir_ssa_def *cmp_result = nir_ieq(&bld, in_def, one); in TEST_F() local
104 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F()
179 nir_ssa_def *cmp_result = nir_ieq(&bld, in_def, one); in TEST_F() local
180 nir_push_if(&bld, cmp_result); in TEST_F()
/external/mesa3d/src/compiler/glsl/
Dlower_vector_insert.cpp138 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()
Dloop_analysis.cpp139 ir_constant *const cmp_result = cmp->constant_expression_value(mem_ctx); in calculate_iterations() local
140 assert(cmp_result != NULL); in calculate_iterations()
141 if (cmp_result->get_bool_component(0)) { in calculate_iterations()
199 ir_constant *const cmp_result = cmp->constant_expression_value(mem_ctx); in calculate_iterations() local
201 assert(cmp_result != NULL); in calculate_iterations()
202 if (cmp_result->get_bool_component(0)) { in calculate_iterations()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AVR/
Dexpand-integer-failure.ll13 %cmp_result = icmp eq i16 %a, 255
14 %bool_result = uitofp i1 %cmp_result to double
/external/u-boot/lib/
Dlist_sort.c250 int cmp_result; in list_sort_test() local
258 cmp_result = cmp(NULL, cur, cur->next); in list_sort_test()
259 if (cmp_result > 0) { in list_sort_test()
267 if (cmp_result == 0 && el->serial >= el1->serial) { in list_sort_test()
/external/mesa3d/src/compiler/nir/
Dnir_algebraic.py598 cmp_result = self.compare_bitsizes(a_bit_size, b_bit_size)
600 assert cmp_result is not None, \
603 if cmp_result < 0:
750 cmp_result = self.compare_bitsizes(search_bit_size, replace_bit_size)
752 assert cmp_result is not None and cmp_result <= 0, \
/external/libaom/libaom/test/
Dgviz_api.py675 cmp_result = asc_mult * cmp(row1[0].get(key), row2[0].get(key))
676 if cmp_result:
677 return cmp_result
/external/python/cpython3/Python/
D_warnings.c159 int cmp_result = PyUnicode_Compare(obj, arg); in check_matched() local
160 if (cmp_result == -1 && PyErr_Occurred()) { in check_matched()
163 return !cmp_result; in check_matched()
/external/python/cpython2/Python/
Dbltinmodule.c1823 int cmp_result; in handle_range_longs() local
1871 if (PyObject_Cmp(step, zero, &cmp_result) == -1) in handle_range_longs()
1874 if (cmp_result == 0) { in handle_range_longs()
1880 if (cmp_result > 0) in handle_range_longs()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dneon_tensor_utils.cc1913 const uint32x4_t cmp_result = vceqzq_f32(v_f32x4); in IsAllZero() local
1914 const uint32_t u32 = vminvq_u32(cmp_result); in IsAllZero()
1934 const uint32x4_t cmp_result = vcagtq_f32(v_f32x4, zero_f32x4);
1935 return IsAllZero(cmp_result);
/external/v8/src/compiler/
Dsimd-scalar-lowering.cc808 Node* cmp_result = nullptr; in LowerCompareOp() local
810 cmp_result = graph()->NewNode(op, rep_right[i], rep_left[i]); in LowerCompareOp()
812 cmp_result = graph()->NewNode(op, rep_left[i], rep_right[i]); in LowerCompareOp()
814 Diamond d_cmp(graph(), common(), cmp_result); in LowerCompareOp()