/external/ceres-solver/internal/ceres/ |
D | ordered_groups_test.cc | 42 ParameterBlockOrdering ordering; in TEST() local 43 EXPECT_EQ(ordering.NumGroups(), 0); in TEST() 44 EXPECT_EQ(ordering.NumElements(), 0); in TEST() 45 EXPECT_EQ(ordering.GroupSize(1), 0); in TEST() 47 EXPECT_EQ(ordering.GroupId(&x), -1); in TEST() 48 EXPECT_FALSE(ordering.Remove(&x)); in TEST() 52 ParameterBlockOrdering ordering; in TEST() local 54 ordering.AddElementToGroup(x, 1); in TEST() 55 ordering.AddElementToGroup(x + 1, 1); in TEST() 56 ordering.AddElementToGroup(x + 2, 1); in TEST() [all …]
|
D | graph_algorithms_test.cc | 58 vector<int> ordering; in TEST() local 59 int independent_set_size = IndependentSetOrdering(graph, &ordering); in TEST() 61 sort(ordering.begin(), ordering.begin() + 3); in TEST() 62 sort(ordering.begin() + 3, ordering.end()); in TEST() 65 EXPECT_EQ(ordering.size(), 5); in TEST() 66 EXPECT_EQ(ordering[0], 0); in TEST() 67 EXPECT_EQ(ordering[1], 2); in TEST() 68 EXPECT_EQ(ordering[2], 4); in TEST() 69 EXPECT_EQ(ordering[3], 1); in TEST() 70 EXPECT_EQ(ordering[4], 3); in TEST() [all …]
|
D | solver_impl_test.cc | 91 ParameterBlockOrdering ordering; in TEST() local 92 ordering.AddElementToGroup(&x, 0); in TEST() 93 ordering.AddElementToGroup(&y, 0); in TEST() 94 ordering.AddElementToGroup(&z, 0); in TEST() 98 &ordering, in TEST() 103 EXPECT_EQ(ordering.NumElements(), 3); in TEST() 115 ParameterBlockOrdering ordering; in TEST() local 116 ordering.AddElementToGroup(&x, 0); in TEST() 121 &ordering, in TEST() 126 EXPECT_EQ(ordering.NumElements(), 0); in TEST() [all …]
|
D | parameter_block_ordering.cc | 46 vector<ParameterBlock*>* ordering) { in ComputeSchurOrdering() argument 47 CHECK_NOTNULL(ordering)->clear(); in ComputeSchurOrdering() 50 int independent_set_size = IndependentSetOrdering(*graph, ordering); in ComputeSchurOrdering() 57 ordering->push_back(parameter_block); in ComputeSchurOrdering() 65 ParameterBlockOrdering* ordering) { in ComputeRecursiveIndependentSetOrdering() argument 66 CHECK_NOTNULL(ordering)->Clear(); in ComputeRecursiveIndependentSetOrdering() 78 ordering->AddElementToGroup(parameter_block->mutable_user_state(), round); in ComputeRecursiveIndependentSetOrdering()
|
D | graph_algorithms.h | 80 vector<Vertex>* ordering) { in IndependentSetOrdering() argument 84 CHECK_NOTNULL(ordering); in IndependentSetOrdering() 85 ordering->clear(); in IndependentSetOrdering() 86 ordering->reserve(num_vertices); in IndependentSetOrdering() 115 ordering->push_back(vertex); in IndependentSetOrdering() 125 int independent_set_size = ordering->size(); in IndependentSetOrdering() 136 ordering->push_back(vertex); in IndependentSetOrdering() 140 CHECK_EQ(ordering->size(), num_vertices); in IndependentSetOrdering()
|
D | suitesparse.cc | 118 cc_.method[0].ordering = CHOLMOD_AMD; in AnalyzeCholesky() 131 vector<int> ordering; in BlockAnalyzeCholesky() local 132 if (!BlockAMDOrdering(A, row_blocks, col_blocks, &ordering)) { in BlockAnalyzeCholesky() 135 return AnalyzeCholeskyWithUserOrdering(A, ordering); in BlockAnalyzeCholesky() 139 const vector<int>& ordering) { in AnalyzeCholeskyWithUserOrdering() argument 140 CHECK_EQ(ordering.size(), A->nrow); in AnalyzeCholeskyWithUserOrdering() 142 cc_.method[0].ordering = CHOLMOD_GIVEN; in AnalyzeCholeskyWithUserOrdering() 144 cholmod_analyze_p(A, const_cast<int*>(&ordering[0]), NULL, 0, &cc_); in AnalyzeCholeskyWithUserOrdering() 154 vector<int>* ordering) { in BlockAMDOrdering() argument 188 BlockOrderingToScalarOrdering(row_blocks, block_ordering, ordering); in BlockAMDOrdering()
|
D | parameter_block_ordering.h | 59 vector<ParameterBlock* >* ordering); 66 ParameterBlockOrdering* ordering);
|
D | solver_impl.h | 81 const ParameterBlockOrdering* ordering, 118 ParameterBlockOrdering* ordering,
|
D | parameter_block_ordering_test.cc | 171 vector<ParameterBlock*> ordering; in TEST_F() local 172 ComputeSchurOrdering(program, &ordering); in TEST_F() 173 EXPECT_EQ(ordering.back(), parameter_blocks[0]); in TEST_F()
|
D | coordinate_descent_minimizer.cc | 62 const ParameterBlockOrdering& ordering, in Init() argument 71 map<int, set<double*> > group_to_elements = ordering.group_to_elements(); in Init() 91 if (!ordering.IsMember(parameter_blocks[i]->mutable_user_state())) { in Init()
|
/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 | 214 private <T extends B> Ordering<T> ordering() { in ordering() method in MinMaxPriorityQueue.Builder 227 Ordering<E> ordering = builder.ordering(); in MinMaxPriorityQueue() local 228 this.minHeap = new Heap(ordering); in MinMaxPriorityQueue() 229 this.maxHeap = new Heap(ordering.reverse()); in MinMaxPriorityQueue() 488 final Ordering<E> ordering; field in MinMaxPriorityQueue.Heap 491 Heap(Ordering<E> ordering) { in Heap() argument 492 this.ordering = ordering; in Heap() 496 return ordering.compare(elementData(a), elementData(b)); in compareElements() 556 if (ordering.compare(e, x) <= 0) { in bubbleUpAlternatingLevels() 626 if (ordering.compare(uncleElement, parentElement) < 0) { in crossOverUp() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | X509Name.java | 353 private Vector ordering = new Vector(); field in X509Name 424 ordering.addElement(ASN1ObjectIdentifier.getInstance(s.getObjectAt(0))); in X509Name() 484 Vector ordering, in X509Name() argument 487 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 | 211 private Vector ordering = new Vector(); field in X509Extensions 273 ordering.addElement(s.getObjectAt(0)); in X509Extensions() 295 Vector ordering, in X509Extensions() argument 300 if (ordering == null) in X509Extensions() 306 e = ordering.elements(); in X509Extensions() 311 this.ordering.addElement(ASN1ObjectIdentifier.getInstance(e.nextElement())); in X509Extensions() 314 e = this.ordering.elements(); in X509Extensions() 340 this.ordering.addElement(e.nextElement()); in X509Extensions() 345 e = this.ordering.elements(); in X509Extensions() 362 return ordering.elements(); in oids() [all …]
|
D | Extensions.java | 22 private Vector ordering = new Vector(); field in Extensions 73 ordering.addElement(s.getObjectAt(0)); in Extensions() 85 this.ordering.addElement(extension.getExtnId()); in Extensions() 101 this.ordering.addElement(ext.getExtnId()); in Extensions() 111 return ordering.elements(); in oids() 157 Enumeration e = ordering.elements(); in toASN1Primitive() 205 return toOidArray(ordering); in getExtensionOIDs() 222 for (int i = 0; i != ordering.size(); i++) in getExtensionOIDs() 224 Object oid = ordering.elementAt(i); in getExtensionOIDs()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | OrderingTest.java | 196 Ordering<Object> ordering = Ordering.usingToString(); 197 Helpers.testComparator(ordering, 1, 12, 124, 2); 198 assertEquals("Ordering.usingToString()", ordering.toString()); 199 assertSame(ordering, reserialize(ordering)); 363 Ordering<String> ordering = Ordering.natural(); 364 Ordering<Iterable<String>> lexy = ordering.lexicographical(); 376 Ordering<Integer> ordering = Ordering.natural().nullsFirst(); 377 Helpers.testComparator(ordering, null, Integer.MIN_VALUE, 0, 1); 381 Ordering<Integer> ordering = Ordering.natural().nullsLast(); 382 Helpers.testComparator(ordering, 0, 1, Integer.MAX_VALUE, null); [all …]
|
/external/ceres-solver/examples/ |
D | bundle_adjuster.cc | 88 DEFINE_string(ordering, "automatic", "Options are: automatic, user."); 199 ceres::ParameterBlockOrdering* ordering = in SetOrdering() local 204 ordering->AddElementToGroup(points + point_block_size * i, 0); in SetOrdering() 210 ordering->AddElementToGroup(cameras + camera_block_size * i, 1); in SetOrdering() 214 ordering->AddElementToGroup(cameras + camera_block_size * i + 4, 1); in SetOrdering() 218 options->linear_solver_ordering = ordering; in SetOrdering()
|
/external/grub/lib/ |
D | getopt.c | 190 } ordering; variable 412 ordering = RETURN_IN_ORDER; 417 ordering = REQUIRE_ORDER; 421 ordering = REQUIRE_ORDER; 423 ordering = PERMUTE; 556 if (ordering == PERMUTE) 609 if (ordering == REQUIRE_ORDER)
|
/external/freetype/src/cff/ |
D | cffdrivr.c | 444 const char* *ordering, in cff_get_ros() 470 if ( ordering ) in cff_get_ros() 472 if ( cff->ordering == NULL ) in cff_get_ros() 473 cff->ordering = cff_index_get_sid_string( cff, in cff_get_ros() 475 *ordering = cff->ordering; in cff_get_ros()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
D | X509Principal.java | 87 Vector ordering, in X509Principal() argument 90 super(ordering, attributes); in X509Principal()
|
/external/icu4c/test/intltest/ |
D | bidiconf.cpp | 56 int32_t ordering[1000]; member in BiDiConformanceTest 149 ordering[orderingCount++]=(int32_t)value; in parseOrdering() 449 if(visualIndex<orderingCount && logicalIndex!=ordering[visualIndex]) { in checkOrdering() 451 (int)visualIndex, ordering[visualIndex], logicalIndex); in checkOrdering() 468 eord.append((UChar)0x20).append((UChar)(0x30+ordering[i])); in checkOrdering()
|
/external/oprofile/events/ia64/itanium2/ |
D | events | 127 …:0,1,2,3 um:zero minimum:5000 name:L2_OZQ_ACQUIRE : Clocks with acquire ordering attribute existed… 128 …:0,1,2,3 um:zero minimum:5000 name:L2_OZQ_ACQUIRE : Clocks with acquire ordering attribute existed… 129 …:0,1,2,3 um:zero minimum:5000 name:L2_OZQ_ACQUIRE : Clocks with acquire ordering attribute existed… 130 …:0,1,2,3 um:zero minimum:5000 name:L2_OZQ_ACQUIRE : Clocks with acquire ordering attribute existed… 135 …:0,1,2,3 um:zero minimum:5000 name:L2_OZQ_RELEASE : Clocks with release ordering attribute existed… 136 …:0,1,2,3 um:zero minimum:5000 name:L2_OZQ_RELEASE : Clocks with release ordering attribute existed… 137 …:0,1,2,3 um:zero minimum:5000 name:L2_OZQ_RELEASE : Clocks with release ordering attribute existed… 138 …:0,1,2,3 um:zero minimum:5000 name:L2_OZQ_RELEASE : Clocks with release ordering attribute existed… 150 event:0xa2 counters:0 um:zero minimum:5000 name:L2_OZQ_ACQUIRE : Clocks with acquire ordering attri… 151 event:0xa6 counters:0 um:zero minimum:5000 name:L2_OZQ_ACQUIRE : Clocks with acquire ordering attri… [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | PKCS12BagAttributeCarrierImpl.java | 24 PKCS12BagAttributeCarrierImpl(Hashtable attributes, Vector ordering) in PKCS12BagAttributeCarrierImpl() argument 27 this.pkcs12Ordering = ordering; in PKCS12BagAttributeCarrierImpl()
|