Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/collect/
DCompoundOrdering.java27 final ImmutableList<Comparator<? super T>> comparators; field in CompoundOrdering
31 this.comparators in CompoundOrdering()
35 CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) { in CompoundOrdering() argument
36 this.comparators = ImmutableList.copyOf(comparators); in CompoundOrdering()
41 int size = comparators.size(); in compare()
43 int result = comparators.get(i).compare(left, right); in compare()
57 return this.comparators.equals(that.comparators); in equals()
63 return comparators.hashCode(); in hashCode()
67 return "Ordering.compound(" + comparators + ")"; in toString()
DOrdering.java410 Iterable<? extends Comparator<? super T>> comparators) { in compound() argument
411 return new CompoundOrdering<T>(comparators); in compound()
/external/emma/core/java12/com/vladium/emma/report/
DItemComparator.java40 final Comparator [] comparators = new Comparator [attributeIDsWithDir.length >> 1]; in create()
46comparators [a >> 1] = attributeIDsWithDir [a + 1] < 0 ? new ReverseComparator (comparator) : comp… in create()
49 return new CompositeComparator (comparators); in create()
97 CompositeComparator (final Comparator [] comparators)
99 m_comparators = comparators;
/external/guava/guava-gwt/src/com/google/common/collect/
DCompoundOrdering_CustomFieldSerializer.java45 writer.writeObject(instance.comparators); in serialize()
/external/python/cpython2/Parser/
DPython.asdl68 | Compare(expr left, cmpop* ops, expr* comparators)
/external/python/cpython2/Include/
DPython-ast.h260 asdl_seq *comparators; member
484 expr_ty _Py_Compare(expr_ty left, asdl_int_seq * ops, asdl_seq * comparators,
/external/python/cpython2/Python/
DPython-ast.c1750 Compare(expr_ty left, asdl_int_seq * ops, asdl_seq * comparators, int lineno, in Compare() argument
1765 p->v.Compare.comparators = comparators; in Compare()
2772 value = ast2obj_list(o->v.Compare.comparators, ast2obj_expr); in ast2obj_expr()
5419 asdl_seq* comparators; in obj2ast_expr() local
5473 comparators = asdl_seq_new(len, arena); in obj2ast_expr()
5474 if (comparators == NULL) goto failed; in obj2ast_expr()
5483 asdl_seq_SET(comparators, i, value); in obj2ast_expr()
5491 *out = Compare(left, ops, comparators, lineno, col_offset, in obj2ast_expr()
Dcompile.c2507 (expr_ty)asdl_seq_GET(e->v.Compare.comparators, 0)); in compiler_compare()
2519 (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i)); in compiler_compare()
2521 VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, n - 1)); in compiler_compare()
Dsymtable.c1253 VISIT_SEQ(st, expr, e->v.Compare.comparators); in symtable_visit_expr()
/external/python/cpython2/Demo/parser/
Dunparse.py455 for o, e in zip(t.ops, t.comparators):
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
D_ast_util.py728 for op, right in zip(node.ops, node.comparators):
/external/autotest/server/cros/dynamic_suite/
Dsuite_unittest.py34 from autotest_lib.server.cros.dynamic_suite.comparators import StatusContains
/external/libcxx/include/
D__tree1426 // breaks existing code which uses non-const callable comparators.
/external/jline/src/src/test/resources/jline/example/
Denglish.gz