Searched refs:idx2 (Results 1 - 25 of 74) sorted by relevance

123

/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dcluster.h38 int idx2; member in struct:brotli::HistogramPair
49 return abs(p1.idx1 - p1.idx2) > abs(p2.idx1 - p2.idx2);
60 // Computes the bit cost reduction by combining out[idx1] and out[idx2] and if
61 // it is below a threshold, stores the pair (idx1, idx2) in the *pairs heap.
65 int idx1, int idx2,
67 if (idx1 == idx2) {
70 if (idx2 < idx1) {
71 int t = idx2;
72 idx2
63 CompareAndPushToHeap(const Histogram<kSize>* out, const int* cluster_size, int idx1, int idx2, std::vector<HistogramPair>* pairs) argument
[all...]
/external/chromium_org/third_party/skia/tests/
H A DPathOpsTightBoundsTest.cpp42 for (int idx2 = 0; idx2 < 10; ++idx2) {
117 for (int idx2 = 0; idx2 < 10; ++idx2) {
H A DPathOpsCubicIntersectionTest.cpp562 int idx2; local
565 for (idx2 = 0; idx2 < ts; ++idx2) {
566 SkDebugf("%s max[%d]=%1.9g (%1.9g, %1.9g)\n", __FUNCTION__, idx2,
567 max[idx2], cubic.ptAtT(max[idx2]).fX, cubic.ptAtT(max[idx2]).fY);
572 for (idx2 = 0; idx2 < ts
[all...]
H A DPathOpsCubicToQuadsTest.cpp75 for (int idx2 = 0; idx2 < 2; ++idx2) {
76 const SkDCubic& cubic = cubics[index][idx2];
83 SkDebugf("[%d][%d] unmatched start\n", static_cast<int>(index), idx2);
89 SkDebugf("[%d][%d] unmatched end\n", static_cast<int>(index), idx2);
H A DPathOpsAngleTest.cpp252 for (int idx2 = 0; idx2 < data.fPtCount; ++idx2) {
253 data.fShortPts[idx2] = data.fPts.fPts[idx2].asSkPoint();
413 for (int idx2 = 0; idx2 < data.fPtCount; ++idx2) {
414 temp[idx2] = data.fPts.fPts[idx2]
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDERObjectIdentifier.java402 int idx2 = enc[enc.length - 1] & 0x7f;
414 possibleMatch = first[idx2];
417 return first[idx2] = new ASN1ObjectIdentifier(enc);
432 possibleMatch = first[idx2];
435 return first[idx2] = new ASN1ObjectIdentifier(enc);
443 idx2 = (idx2 + 1) & 0x7f;
444 possibleMatch = first[idx2];
447 return first[idx2] = new ASN1ObjectIdentifier(enc);
/external/lldb/source/Core/
H A DRegularExpression.cpp204 RegularExpression::Match::GetMatchSpanningIndices (const char* s, uint32_t idx1, uint32_t idx2, llvm::StringRef& match_str) const argument
206 if (idx1 < m_matches.size() && idx2 < m_matches.size())
208 if (m_matches[idx1].rm_so == m_matches[idx2].rm_eo)
214 else if (m_matches[idx1].rm_so < m_matches[idx2].rm_eo)
216 match_str = llvm::StringRef (s + m_matches[idx1].rm_so, m_matches[idx2].rm_eo - m_matches[idx1].rm_so);
/external/skia/tests/
H A DPathOpsCubicIntersectionTest.cpp562 int idx2; local
565 for (idx2 = 0; idx2 < ts; ++idx2) {
566 SkDebugf("%s max[%d]=%1.9g (%1.9g, %1.9g)\n", __FUNCTION__, idx2,
567 max[idx2], cubic.ptAtT(max[idx2]).fX, cubic.ptAtT(max[idx2]).fY);
572 for (idx2 = 0; idx2 < ts
[all...]
H A DPathOpsCubicToQuadsTest.cpp75 for (int idx2 = 0; idx2 < 2; ++idx2) {
76 const SkDCubic& cubic = cubics[index][idx2];
83 SkDebugf("[%d][%d] unmatched start\n", static_cast<int>(index), idx2);
89 SkDebugf("[%d][%d] unmatched end\n", static_cast<int>(index), idx2);
H A DPathOpsAngleTest.cpp252 for (int idx2 = 0; idx2 < data.fPtCount; ++idx2) {
253 data.fShortPts[idx2] = data.fPts.fPts[idx2].asSkPoint();
413 for (int idx2 = 0; idx2 < data.fPtCount; ++idx2) {
414 temp[idx2] = data.fPts.fPts[idx2]
[all...]
/external/chromium_org/v8/test/webkit/
H A Ddate-set-to-nan.js360 for (var idx2 in testValues)
361 if (idx0 != 0 || idx1 != 0 || idx2 != 0) {
365 testValues[idx2]);
370 + testValues[idx2] + ") was "
392 for (var idx2 in testValues)
394 if (idx0 != 0 || idx1 != 0 || idx2 != 0 || idx3 != 0) {
398 testValues[idx2],
404 + testValues[idx2] + ", "
/external/eigen/test/
H A Dvisitor.cpp103 Index idx2 = eigen_maxidx; local
106 v2(idx0) = v2(idx2);
110 VERIFY(eigen_maxidx == (std::min)(idx0,idx2));
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DCubicToQuadratics_Test.cpp62 for (int idx2 = 0; idx2 < 2; ++idx2) {
63 const Cubic& cubic = cubics[index][idx2];
72 printf("[%d][%d] unmatched start\n", (int) index, idx2);
77 printf("[%d][%d] unmatched end\n", (int) index, idx2);
H A DCubicIntersection_Test.cpp742 int idx2; local
745 for (idx2 = 0; idx2 < ts; ++idx2) {
746 SkDebugf("%s max[%d]=%1.9g (%1.9g, %1.9g)\n", __FUNCTION__, idx2,
747 max[idx2], xy_at_t(cubic, max[idx2]).x, xy_at_t(cubic, max[idx2]).y);
752 for (idx2 = 0; idx2 < ts
[all...]
H A DQuarticRoot.cpp178 for (int idx2 = 0; idx2 < nums[index]; ++idx2) {
179 SkDebugf(" %1.9g", tries[index][idx2]);
/external/skia/experimental/Intersection/
H A DCubicToQuadratics_Test.cpp62 for (int idx2 = 0; idx2 < 2; ++idx2) {
63 const Cubic& cubic = cubics[index][idx2];
72 printf("[%d][%d] unmatched start\n", (int) index, idx2);
77 printf("[%d][%d] unmatched end\n", (int) index, idx2);
H A DCubicIntersection_Test.cpp742 int idx2; local
745 for (idx2 = 0; idx2 < ts; ++idx2) {
746 SkDebugf("%s max[%d]=%1.9g (%1.9g, %1.9g)\n", __FUNCTION__, idx2,
747 max[idx2], xy_at_t(cubic, max[idx2]).x, xy_at_t(cubic, max[idx2]).y);
752 for (idx2 = 0; idx2 < ts
[all...]
H A DQuarticRoot.cpp178 for (int idx2 = 0; idx2 < nums[index]; ++idx2) {
179 SkDebugf(" %1.9g", tries[index][idx2]);
/external/chromium_org/third_party/icu/source/tools/gencnval/
H A Dgencnval.c656 uint32_t idx, idx2; local
701 for (idx2 = 0; idx2 < tags[standard].aliasList[idx].aliasCount; idx2++) {
702 uint16_t aliasNum = tags[standard].aliasList[idx].aliases[idx2];
803 uint16_t idx, idx2, idx3; local
806 for (idx2 = 0; idx2 < converterCount; idx2++) {
807 for (idx3 = 0; idx3 < tags[idx].aliasList[idx2]
[all...]
/external/icu/icu4c/source/tools/gencnval/
H A Dgencnval.c656 uint32_t idx, idx2; local
701 for (idx2 = 0; idx2 < tags[standard].aliasList[idx].aliasCount; idx2++) {
702 uint16_t aliasNum = tags[standard].aliasList[idx].aliases[idx2];
803 uint16_t idx, idx2, idx3; local
806 for (idx2 = 0; idx2 < converterCount; idx2++) {
807 for (idx3 = 0; idx3 < tags[idx].aliasList[idx2]
[all...]
/external/jdiff/src/jdiff/
H A DComments.java113 int idx2 = xsdFileName.lastIndexOf('/');
114 if (idx == -1 && idx2 == -1) {
116 } else if (idx == -1 && idx2 != -1) {
117 xsdFileName = xsdFileName.substring(0, idx2+1);
118 } else if (idx != -1 && idx2 == -1) {
120 } else if (idx != -1 && idx2 != -1) {
121 int max = idx2 > idx ? idx2 : idx;
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpContour.cpp149 for (int idx2 = 1; idx2 < count; ++idx2) {
150 const SkCoincidence& innerCoin = fCoincidences[idx2];
198 for (int idx2 = 0; idx2 < 2; ++idx2) {
199 if (coincidence->fPts[0][idx2] == aligned.fOldPt
200 && coincidence->fTs[swap][idx2] == aligned.fOldT) {
201 SkASSERT(SkDPoint::RoughlyEqual(coincidence->fPts[0][idx2], aligne
[all...]
/external/skia/src/pathops/
H A DSkOpContour.cpp141 for (int idx2 = 1; idx2 < count; ++idx2) {
142 const SkCoincidence& innerCoin = fCoincidences[idx2];
190 for (int idx2 = 0; idx2 < 2; ++idx2) {
191 if (coincidence->fPts[0][idx2] == aligned.fOldPt
192 && coincidence->fTs[swap][idx2] == aligned.fOldT) {
193 SkASSERT(SkDPoint::RoughlyEqual(coincidence->fPts[0][idx2], aligne
[all...]
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dluaconf.h297 #define lua_equal(L,idx1,idx2) lua_compare(L,(idx1),(idx2),LUA_OPEQ)
298 #define lua_lessthan(L,idx1,idx2) lua_compare(L,(idx1),(idx2),LUA_OPLT)
/external/ceres-solver/internal/ceres/
H A Dcompressed_row_sparse_matrix.cc497 for (int idx2 = m.rows()[r]; idx2 <= idx1; ++idx2) {
498 product.push_back(ProductTerm(m.cols()[idx1], m.cols()[idx2], product.size()));
531 for (int idx2 = row_begin; idx2 <= idx1; ++idx2, ++cursor) {
532 values[program[cursor]] += v1 * m_values[idx2];

Completed in 652 milliseconds

123