/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_ordering_test.cc | 86 DependencyHloOrdering ordering(module.get()); in TEST_F() local 87 EXPECT_TRUE(ordering.ExecutesBefore(x, y)); in TEST_F() 88 EXPECT_FALSE(ordering.ExecutesBefore(y, x)); in TEST_F() 90 EXPECT_TRUE(ordering.ExecutesBefore(a, b)); in TEST_F() 91 EXPECT_FALSE(ordering.ExecutesBefore(b, a)); in TEST_F() 93 EXPECT_FALSE(ordering.ExecutesBefore(a, x)); in TEST_F() 94 EXPECT_TRUE(ordering.ExecutesBefore(a, y)); in TEST_F() 95 EXPECT_FALSE(ordering.ExecutesBefore(x, a)); in TEST_F() 96 EXPECT_FALSE(ordering.ExecutesBefore(y, a)); in TEST_F() 98 EXPECT_FALSE(ordering.ExecutesBefore(b, x)); in TEST_F() [all …]
|
D | hlo_dataflow_analysis_test.cc | 73 bool InstructionsMayInterfere(const HloOrdering& ordering, in InstructionsMayInterfere() argument 78 return ordering.MayInterfere(analysis_->GetValueDefinedAt(a), in InstructionsMayInterfere() 1248 DependencyHloOrdering ordering(module_.get()); in TEST_P() local 1251 EXPECT_FALSE(InstructionsMayInterfere(ordering, param, negate)); in TEST_P() 1252 EXPECT_FALSE(InstructionsMayInterfere(ordering, param, exp)); in TEST_P() 1253 EXPECT_FALSE(InstructionsMayInterfere(ordering, param, log)); in TEST_P() 1254 EXPECT_FALSE(InstructionsMayInterfere(ordering, negate, exp)); in TEST_P() 1255 EXPECT_FALSE(InstructionsMayInterfere(ordering, negate, log)); in TEST_P() 1256 EXPECT_FALSE(InstructionsMayInterfere(ordering, exp, negate)); in TEST_P() 1257 EXPECT_FALSE(InstructionsMayInterfere(ordering, exp, log)); in TEST_P() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | NullsLastOrdering.java | 28 final Ordering<? super T> ordering; field in NullsLastOrdering 30 NullsLastOrdering(Ordering<? super T> ordering) { in NullsLastOrdering() argument 31 this.ordering = ordering; in NullsLastOrdering() 44 return ordering.compare(left, right); in compare() 49 return ordering.reverse().nullsFirst(); in reverse() 53 return ordering.nullsFirst(); in nullsFirst() 67 return this.ordering.equals(that.ordering); in equals() 73 return ordering.hashCode() ^ -921210296; // meaningless in hashCode() 77 return ordering + ".nullsLast()"; in toString()
|
D | NullsFirstOrdering.java | 28 final Ordering<? super T> ordering; field in NullsFirstOrdering 30 NullsFirstOrdering(Ordering<? super T> ordering) { in NullsFirstOrdering() argument 31 this.ordering = ordering; in NullsFirstOrdering() 44 return ordering.compare(left, right); in compare() 49 return ordering.reverse().nullsLast(); in reverse() 58 return ordering.nullsLast(); in nullsLast() 67 return this.ordering.equals(that.ordering); in equals() 73 return ordering.hashCode() ^ 957692532; // meaningless in hashCode() 77 return ordering + ".nullsFirst()"; in toString()
|
D | ByFunctionOrdering.java | 37 final Ordering<T> ordering; field in ByFunctionOrdering 40 Function<F, ? extends T> function, Ordering<T> ordering) { in ByFunctionOrdering() argument 42 this.ordering = checkNotNull(ordering); in ByFunctionOrdering() 46 return ordering.compare(function.apply(left), function.apply(right)); in compare() 56 && this.ordering.equals(that.ordering); in equals() 62 return Objects.hashCode(function, ordering); in hashCode() 66 return ordering + ".onResultOf(" + function + ")"; in toString()
|
D | MinMaxPriorityQueue.java | 215 private <T extends B> Ordering<T> ordering() { in ordering() method in MinMaxPriorityQueue.Builder 228 Ordering<E> ordering = builder.ordering(); in MinMaxPriorityQueue() local 229 this.minHeap = new Heap(ordering); in MinMaxPriorityQueue() 230 this.maxHeap = new Heap(ordering.reverse()); in MinMaxPriorityQueue() 489 final Ordering<E> ordering; field in MinMaxPriorityQueue.Heap 492 Heap(Ordering<E> ordering) { in Heap() argument 493 this.ordering = ordering; in Heap() 497 return ordering.compare(elementData(a), elementData(b)); in compareElements() 557 if (ordering.compare(e, x) <= 0) { in bubbleUpAlternatingLevels() 627 if (ordering.compare(uncleElement, parentElement) < 0) { in crossOverUp() [all …]
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_runner.py | 74 ordering = [] 78 ordering.append('setUp') 83 ordering.append('test') 86 ordering.append('tearDown') 91 ordering.append('cleanup1') 93 ordering.append('cleanup2') 99 ordering.append('success') 105 self.assertEqual(ordering, ['setUp', 'test', 'tearDown', 109 ordering = [] 113 self.assertEqual(ordering, ['setUp', 'cleanup1']) [all …]
|
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/ |
D | abi-atomics.ll | 37 ; CHECK: test_load_invalid_7: Unexpected memory ordering for AtomicLoad 44 ; CHECK: test_load_invalid_0: Unexpected memory ordering for AtomicLoad 58 ; CHECK: test_load_acqrel: Unexpected memory ordering for AtomicLoad 65 ; CHECK: test_load_release: Unexpected memory ordering for AtomicLoad 79 ; CHECK: test_load_consume: Unexpected memory ordering for AtomicLoad 86 ; CHECK: test_load_relaxed: Unexpected memory ordering for AtomicLoad 96 ; CHECK: test_store_invalid_7: Unexpected memory ordering for AtomicStore 103 ; CHECK: test_store_invalid_0: Unexpected memory ordering for AtomicStore 117 ; CHECK: test_store_acqrel: Unexpected memory ordering for AtomicStore 131 ; CHECK: test_store_acquire: Unexpected memory ordering for AtomicStore [all …]
|
D | nacl-atomic-errors.ll | 33 ; CHECK: Unexpected memory ordering for AtomicLoad 42 ; CHECK: Unexpected memory ordering for AtomicLoad 50 ; CHECK: Unexpected memory ordering for AtomicLoad 62 ; CHECK: Unexpected memory ordering for AtomicStore 70 ; CHECK: Unexpected memory ordering for AtomicStore 78 ; CHECK: Unexpected memory ordering for AtomicStore 92 ; CHECK: Unexpected memory ordering for AtomicRMW 100 ; CHECK: Unexpected memory ordering for AtomicRMW 138 ; CHECK: Unexpected memory ordering for AtomicCmpxchg 148 ; CHECK: Unexpected memory ordering for AtomicCmpxchg [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | X509Name.java | 353 private Vector ordering = new Vector(); field in X509Name 425 ordering.addElement(ASN1ObjectIdentifier.getInstance(s.getObjectAt(0))); in X509Name() 483 Vector ordering, in X509Name() argument 486 this(ordering, attributes, new X509DefaultEntryConverter()); in X509Name() 502 Vector ordering, in X509Name() argument 508 if (ordering != null) in X509Name() 510 for (int i = 0; i != ordering.size(); i++) in X509Name() 512 this.ordering.addElement(ordering.elementAt(i)); in X509Name() 522 this.ordering.addElement(e.nextElement()); in X509Name() 527 for (int i = 0; i != this.ordering.size(); i++) in X509Name() [all …]
|
D | X509Extensions.java | 210 private Vector ordering = new Vector(); field in X509Extensions 272 ordering.addElement(s.getObjectAt(0)); in X509Extensions() 294 Vector ordering, in X509Extensions() argument 299 if (ordering == null) in X509Extensions() 305 e = ordering.elements(); in X509Extensions() 310 this.ordering.addElement(ASN1ObjectIdentifier.getInstance(e.nextElement())); in X509Extensions() 313 e = this.ordering.elements(); in X509Extensions() 339 this.ordering.addElement(e.nextElement()); in X509Extensions() 344 e = this.ordering.elements(); in X509Extensions() 361 return ordering.elements(); in oids() [all …]
|
D | Extensions.java | 20 private Vector ordering = new Vector(); field in Extensions 65 ordering.addElement(ext.getExtnId()); in Extensions() 77 this.ordering.addElement(extension.getExtnId()); in Extensions() 93 this.ordering.addElement(ext.getExtnId()); in Extensions() 103 return ordering.elements(); in oids() 149 Enumeration e = ordering.elements(); in toASN1Primitive() 187 return toOidArray(ordering); in getExtensionOIDs() 204 for (int i = 0; i != ordering.size(); i++) in getExtensionOIDs() 206 Object oid = ordering.elementAt(i); in getExtensionOIDs()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | OrderingTest.java | 213 Ordering<Object> ordering = Ordering.usingToString(); 214 Helpers.testComparator(ordering, 1, 12, 124, 2); 215 assertEquals("Ordering.usingToString()", ordering.toString()); 216 assertSame(ordering, reserialize(ordering)); 380 Ordering<String> ordering = Ordering.natural(); 381 Ordering<Iterable<String>> lexy = ordering.lexicographical(); 392 .addEqualityGroup(lexy, ordering.lexicographical()) 399 Ordering<Integer> ordering = Ordering.natural().nullsFirst(); 400 Helpers.testComparator(ordering, null, Integer.MIN_VALUE, 0, 1); 403 .addEqualityGroup(ordering, Ordering.natural().nullsFirst()) [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | OrderingTest.java | 211 Ordering<Object> ordering = Ordering.usingToString(); 212 Helpers.testComparator(ordering, 1, 12, 124, 2); 213 assertEquals("Ordering.usingToString()", ordering.toString()); 214 assertSame(ordering, reserialize(ordering)); 378 Ordering<String> ordering = Ordering.natural(); 379 Ordering<Iterable<String>> lexy = ordering.lexicographical(); 390 .addEqualityGroup(lexy, ordering.lexicographical()) 397 Ordering<Integer> ordering = Ordering.natural().nullsFirst(); 398 Helpers.testComparator(ordering, null, Integer.MIN_VALUE, 0, 1); 401 .addEqualityGroup(ordering, Ordering.natural().nullsFirst()) [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/ |
D | X509Name.java | 361 private Vector ordering = new Vector(); field in X509Name 435 ordering.addElement(ASN1ObjectIdentifier.getInstance(s.getObjectAt(0))); in X509Name() 493 Vector ordering, in X509Name() argument 496 this(ordering, attributes, new X509DefaultEntryConverter()); in X509Name() 512 Vector ordering, in X509Name() argument 518 if (ordering != null) in X509Name() 520 for (int i = 0; i != ordering.size(); i++) in X509Name() 522 this.ordering.addElement(ordering.elementAt(i)); in X509Name() 532 this.ordering.addElement(e.nextElement()); in X509Name() 537 for (int i = 0; i != this.ordering.size(); i++) in X509Name() [all …]
|
D | X509Extensions.java | 212 private Vector ordering = new Vector(); field in X509Extensions 274 ordering.addElement(s.getObjectAt(0)); in X509Extensions() 296 Vector ordering, in X509Extensions() argument 301 if (ordering == null) in X509Extensions() 307 e = ordering.elements(); in X509Extensions() 312 this.ordering.addElement(ASN1ObjectIdentifier.getInstance(e.nextElement())); in X509Extensions() 315 e = this.ordering.elements(); in X509Extensions() 341 this.ordering.addElement(e.nextElement()); in X509Extensions() 346 e = this.ordering.elements(); in X509Extensions() 363 return ordering.elements(); in oids() [all …]
|
D | Extensions.java | 24 private Vector ordering = new Vector(); field in Extensions 69 ordering.addElement(ext.getExtnId()); in Extensions() 81 this.ordering.addElement(extension.getExtnId()); in Extensions() 97 this.ordering.addElement(ext.getExtnId()); in Extensions() 107 return ordering.elements(); in oids() 153 Enumeration e = ordering.elements(); in toASN1Primitive() 191 return toOidArray(ordering); in getExtensionOIDs() 208 for (int i = 0; i != ordering.size(); i++) in getExtensionOIDs() 210 Object oid = ordering.elementAt(i); in getExtensionOIDs()
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_runner.py | 71 ordering = [] 75 ordering.append('setUp') 80 ordering.append('test') 83 ordering.append('tearDown') 88 ordering.append('cleanup1') 90 ordering.append('cleanup2') 96 ordering.append('success') 102 self.assertEqual(ordering, ['setUp', 'test', 'tearDown', 106 ordering = [] 110 self.assertEqual(ordering, ['setUp', 'cleanup1']) [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | DiscreteComparator.java | 43 private Map<T, Integer> ordering; field in DiscreteComparator 46 private DiscreteComparator(Map<T, Integer> ordering, Comparator<T> backupOrdering) { in DiscreteComparator() argument 48 this.ordering = ordering; in DiscreteComparator() 67 Integer a = ordering.get(o1); in compare() 68 Integer b = ordering.get(o2); in compare() 95 return new ArrayList<T>(ordering.keySet()); in getOrdering() 100 return ordering.keySet().toString(); in toString() 240 Map<T, Integer> ordering = new LinkedHashMap<T, Integer>(); in get() local 244 subNode.visit(ordering); in get() 249 + "\n\tordering:" + ordering, in get() [all …]
|
D | MapComparator.java | 31 private Map<K, Integer> ordering = new TreeMap<K, Integer>(); // maps from name to rank field in MapComparator 94 Integer already = ordering.get(newObject); in add() 97 ordering.put(newObject, new Integer(rankToName.size())); in add() 104 return ordering.get(object); in getNumericOrder() 129 Integer aa = ordering.get(a); in compare() 130 Integer bb = ordering.get(b); in compare() 238 result.ordering = (Map<K, Integer>) ((TreeMap<K, Integer>) ordering).clone(); in cloneAsThawed()
|
D | UnicodeSetPrettyPrinter.java | 43 private Comparator<String> ordering; field in UnicodeSetPrettyPrinter 72 return ordering; in getOrdering() 79 public UnicodeSetPrettyPrinter setOrdering(Comparator ordering) { in setOrdering() argument 80 …this.ordering = ordering == null ? CODEPOINT_ORDER : new org.unicode.cldr.util.MultiComparator<Str… in setOrdering() 123 TreeSet<String> orderedStrings = new TreeSet<String>(ordering); in format()
|
/external/eigen/Eigen/ |
D | OrderingMethods | 20 * It defines various built-in and external ordering methods for sparse matrices. 24 * those ordering methods and applied to the columns of the matrix. 44 * It is possible as well to call directly a particular ordering method for your own purpose, 46 * AMDOrdering<int> ordering; 51 * ordering(A, perm); // Call AMD 61 * // Call the ordering on the pattern of the lower triangular matrix A 62 * ordering(A.selfadjointView<Lower>(), perm);
|
/external/selinux/libselinux/src/ |
D | get_context_list.c | 161 unsigned int *ordering, unsigned int *nordered) in get_context_order() argument 258 if (ordering[i] == nreach) in get_context_order() 259 ordering[i] = (*nordered)++; in get_context_order() 398 unsigned int *ordering = NULL; in get_ordered_context_list() local 427 ordering = malloc(nreach * sizeof(unsigned int)); in get_ordered_context_list() 428 if (!ordering) in get_ordered_context_list() 431 ordering[i] = nreach; in get_ordered_context_list() 443 rc = get_context_order(fp, fromcon, reachable, nreach, ordering, in get_ordered_context_list() 457 rc = get_context_order(fp, fromcon, reachable, nreach, ordering, in get_ordered_context_list() 478 co[i].order = ordering[i]; in get_ordered_context_list() [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SparseReorder.pbtxt | 7 SparseTensor, possibly not in canonical ordering. 26 in canonical row-major ordering. 35 summary: "Reorders a SparseTensor into the canonical, row-major ordering." 37 Note that by convention, all sparse ops preserve the canonical ordering along 38 increasing dimension number. The only time ordering can be violated is during
|
/external/freetype/src/cid/ |
D | cidriver.c | 114 const char* *ordering, in cid_get_ros() 123 if ( ordering ) in cid_get_ros() 124 *ordering = cid->ordering; in cid_get_ros()
|