/external/icu/android_icu4j/src/main/java/android/icu/impl/breakiter/ |
D | DictionaryBreakEngine.java | 99 private int lastIdx = 4; // or base of stack. Index of element. field in DictionaryBreakEngine.DequeI 110 return firstIdx - lastIdx; in size() 126 assert lastIdx > 0; in offer() local 127 data[--lastIdx] = v; in offer() 149 return data[lastIdx]; in peekLast() 154 return data[lastIdx++]; in pollLast() 158 for (int i=lastIdx; i< firstIdx; i++) { in contains() 168 return data[lastIdx + i]; in elementAt() 172 lastIdx = firstIdx = 4;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
D | DictionaryBreakEngine.java | 94 private int lastIdx = 4; // or base of stack. Index of element. field in DictionaryBreakEngine.DequeI 105 return firstIdx - lastIdx; in size() 121 assert lastIdx > 0; in offer() local 122 data[--lastIdx] = v; in offer() 144 return data[lastIdx]; in peekLast() 149 return data[lastIdx++]; in pollLast() 153 for (int i=lastIdx; i< firstIdx; i++) { in contains() 163 return data[lastIdx + i]; in elementAt() 167 lastIdx = firstIdx = 4;
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorDeviceThreadPool.h | 211 Index lastIdx) { in parallelFor() 212 while (lastIdx - firstIdx > block.size) { in parallelFor() 214 const Index midIdx = firstIdx + divup((lastIdx - firstIdx) / 2, block.size) * block.size; in parallelFor() 215 pool_->Schedule([=, &handleRange]() { handleRange(midIdx, lastIdx); }); in parallelFor() 216 lastIdx = midIdx; in parallelFor() 219 f(firstIdx, lastIdx); in parallelFor() 270 ctx->handle_range = [this, ctx, block](Index firstIdx, Index lastIdx) { in parallelForAsync() 271 while (lastIdx - firstIdx > block.size) { in parallelForAsync() 273 const Index midIdx = firstIdx + divup((lastIdx - firstIdx) / 2, block.size) * block.size; in parallelForAsync() 275 [ctx, midIdx, lastIdx]() { ctx->handle_range(midIdx, lastIdx); }); in parallelForAsync() [all …]
|
D | TensorExecutor.h | 272 const StorageIndex lastIdx) { 274 eigen_assert(lastIdx >= firstIdx); 275 for (StorageIndex i = firstIdx; i < lastIdx; ++i) { 289 const StorageIndex lastIdx) { 291 eigen_assert(lastIdx >= firstIdx); 293 if (lastIdx - firstIdx >= PacketSize) { 295 StorageIndex last_chunk_offset = lastIdx - 4 * PacketSize; 304 last_chunk_offset = lastIdx - PacketSize; 309 for (; i < lastIdx; ++i) { 340 [&evaluator](StorageIndex firstIdx, StorageIndex lastIdx) { [all …]
|
D | TensorPadding.h | 575 const Index lastIdx = index + PacketSize - 1; 580 if (!isLeftPaddingCompileTimeZero(i) && lastIdx < lastPaddedLeft) { 584 …else if (!isRightPaddingCompileTimeZero(i) && firstIdx >= firstPaddedRight && lastIdx < lastPadded… 588 …) && isRightPaddingCompileTimeZero(i)) || (firstIdx >= lastPaddedLeft && lastIdx < firstPaddedRigh… 600 const Index lastIdx = index + PacketSize - 1; 606 if (!isLeftPaddingCompileTimeZero(0) && lastIdx < lastPaddedLeft) { 610 …else if (!isRightPaddingCompileTimeZero(0) && firstIdx >= firstPaddedRight && lastIdx < lastPadded… 614 …) && isRightPaddingCompileTimeZero(0)) || (firstIdx >= lastPaddedLeft && lastIdx < firstPaddedRigh… 633 const Index lastIdx = index + PacketSize - 1; 638 if (!isLeftPaddingCompileTimeZero(i) && lastIdx < lastPaddedLeft) { [all …]
|
D | TensorContractionMapper.h | 314 const Index lastIdx = indexPair.second; 322 (lastIdx - first) == (packet_size - 1)) { 336 data[packet_size - 1] = this->m_tensor.coeff(lastIdx); 351 const Index lastIdx = indexPair.second; 359 data[requested_packet_size - 1] = this->m_tensor.coeff(lastIdx);
|
/external/armnn/src/backends/backendsCommon/ |
D | TensorHandle.cpp | 21 auto lastIdx = shape.GetNumDimensions()-1; in GetUnpaddedTensorStrides() local 22 for (unsigned int i=0; i < lastIdx ; i++) in GetUnpaddedTensorStrides() 24 strides[lastIdx-i] = runningSize; in GetUnpaddedTensorStrides() 25 runningSize *= shape[lastIdx-i]; in GetUnpaddedTensorStrides()
|
/external/licenseclassifier/v2/ |
D | searchset.go | 465 lastIdx := len(om) - 1 466 if om[lastIdx].TargetEnd == tv.End-1 { 468 om[lastIdx].SrcEnd = sv.End 469 om[lastIdx].TargetEnd = tv.End
|
/external/eigen/Eigen/src/SVD/ |
D | BDCSVD.h | 997 Index lastIdx = perm(m-1); 1007 RealScalar prod = (singVals(lastIdx) + dk) * (mus(lastIdx) + (shifts(lastIdx) - dk)); 1011 …cout << "prod = " << "(" << singVals(lastIdx) << " + " << dk << ") * (" << mus(lastIdx) << " + (" … 1012 …std::cout << " = " << singVals(lastIdx) + dk << " * " << mus(lastIdx) + (shifts(lastIdx) - dk)… 1052 … ") = sqrt( " << prod << ") ; " << (singVals(lastIdx) + dk) << " * " << mus(lastIdx) + shifts(l…
|
/external/bcc/tests/lua/ |
D | luaunit.lua | 116 state.lastIdx = 1 122 if control ~= state.sortedIdx[state.lastIdx] then 128 state.lastIdx = math.modf((lower + upper) / 2) 129 key = state.sortedIdx[state.lastIdx] 133 lower = state.lastIdx + 1 136 upper = state.lastIdx - 1 140 state.lastIdx = count -- ... so ensure no match for the code below 145 state.lastIdx = state.lastIdx + 1 146 key = state.sortedIdx[state.lastIdx]
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_transform.h | 99 unsigned firstIdx, unsigned lastIdx) in tgsi_transform_temps_decl() argument 106 decl.Range.Last = lastIdx; in tgsi_transform_temps_decl() 119 unsigned firstIdx, unsigned lastIdx) in tgsi_transform_const_decl() argument 126 decl.Range.Last = lastIdx; in tgsi_transform_const_decl()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | HttpFacade.java | 174 int lastIdx = url.lastIndexOf('/'); in httpDownloadFile() local 175 filename = url.substring(lastIdx + 1); in httpDownloadFile()
|
/external/eigen/doc/ |
D | TutorialSlicingIndexing.dox | 39 <td>\code seq(firstIdx,lastIdx) \endcode</td> 40 <td>represents the sequence of integers ranging from \c firstIdx to \c lastIdx</td> 44 <td>\code seq(firstIdx,lastIdx,incr) \endcode</td> 60 The \c firstIdx and \c lastIdx parameters can also be defined with the help of the Eigen::last symb…
|
/external/cronet/third_party/icu/source/i18n/ |
D | tzfmt.cpp | 1527 int32_t lastIdx = maxFields; in formatOffsetISO8601() local 1528 while (lastIdx > minFields) { in formatOffsetISO8601() 1529 if (fields[lastIdx] != 0) { in formatOffsetISO8601() 1532 lastIdx--; in formatOffsetISO8601() 1538 for (int32_t idx = 0; idx <= lastIdx; idx++) { in formatOffsetISO8601() 1547 for (int32_t idx = 0; idx <= lastIdx; idx++) { in formatOffsetISO8601() 2190 int32_t lastIdx = maxFields; in formatOffsetWithAsciiDigits() local 2191 while (lastIdx > minFields) { in formatOffsetWithAsciiDigits() 2192 if (fields[lastIdx] != 0) { in formatOffsetWithAsciiDigits() 2195 lastIdx--; in formatOffsetWithAsciiDigits() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | tzfmt.cpp | 1527 int32_t lastIdx = maxFields; in formatOffsetISO8601() local 1528 while (lastIdx > minFields) { in formatOffsetISO8601() 1529 if (fields[lastIdx] != 0) { in formatOffsetISO8601() 1532 lastIdx--; in formatOffsetISO8601() 1538 for (int32_t idx = 0; idx <= lastIdx; idx++) { in formatOffsetISO8601() 1547 for (int32_t idx = 0; idx <= lastIdx; idx++) { in formatOffsetISO8601() 2190 int32_t lastIdx = maxFields; in formatOffsetWithAsciiDigits() local 2191 while (lastIdx > minFields) { in formatOffsetWithAsciiDigits() 2192 if (fields[lastIdx] != 0) { in formatOffsetWithAsciiDigits() 2195 lastIdx--; in formatOffsetWithAsciiDigits() [all …]
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/ |
D | StringUtils.java | 711 int lastIdx = str.length() - 1; in chomp() local 712 final char last = str.charAt(lastIdx); in chomp() 715 if (str.charAt(lastIdx - 1) == CharUtils.CR) { in chomp() 716 lastIdx--; in chomp() 719 lastIdx++; in chomp() 721 return str.substring(0, lastIdx); in chomp() 787 final int lastIdx = strLen - 1; in chop() local 788 final String ret = str.substring(0, lastIdx); in chop() 789 final char last = str.charAt(lastIdx); in chop() 790 if (last == CharUtils.LF && ret.charAt(lastIdx - 1) == CharUtils.CR) { in chop() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MeasureFormat.java | 851 int lastIdx = -1; in toHMS() local 861 if (idx <= lastIdx) { in toHMS() 865 lastIdx = idx; in toHMS()
|
D | TimeZoneFormat.java | 1738 int lastIdx = maxFields.ordinal(); 1739 while (lastIdx > minFields.ordinal()) { 1740 if (fields[lastIdx] != 0) { 1743 lastIdx--; 1750 for (int idx = 0; idx <= lastIdx; idx++) { 1759 for (int idx = 0; idx <= lastIdx; idx++) {
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MeasureFormat.java | 817 int lastIdx = -1; in toHMS() local 827 if (idx <= lastIdx) { in toHMS() 831 lastIdx = idx; in toHMS()
|
D | TimeZoneFormat.java | 1668 int lastIdx = maxFields.ordinal(); 1669 while (lastIdx > minFields.ordinal()) { 1670 if (fields[lastIdx] != 0) { 1673 lastIdx--; 1680 for (int idx = 0; idx <= lastIdx; idx++) { 1689 for (int idx = 0; idx <= lastIdx; idx++) {
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/ |
D | CheckNumbers.java | 358 int lastIdx = Math.max(subPattern.lastIndexOf("0"), subPattern.lastIndexOf('#')); in findUnquotedChars() local 359 chars.addAll(subPattern.substring(firstIdx, lastIdx)); in findUnquotedChars()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_decorations.cpp | 368 const auto lastIdx = uint32_t(members.size() - 1); in getSize() local 373 vstate.id_member_decorations(member_id, lastIdx); in getSize() 376 assert(decoration->struct_member_index() == (int)lastIdx); in getSize() 384 const auto& constraint = constraints[std::make_pair(lastMember, lastIdx)]; in getSize()
|
/external/skia/src/gpu/ganesh/geometry/ |
D | GrAAConvexTessellator.cpp | 663 int lastIdx = previousRing.index(numPts - 1); in createOuterRing() local 664 this->addTri(lastIdx, firstPerpIdx, previousRing.index(0)); in createOuterRing() 665 this->addTri(lastIdx, lastPerpIdx, firstPerpIdx); in createOuterRing()
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_decorations.cpp | 370 const auto lastIdx = uint32_t(members.size() - 1); in getSize() local 375 vstate.id_member_decorations(member_id, lastIdx); in getSize() 378 assert(decoration->struct_member_index() == (int)lastIdx); in getSize() 386 const auto& constraint = constraints[std::make_pair(lastMember, lastIdx)]; in getSize()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/ |
D | validate_decorations.cpp | 362 const auto lastIdx = uint32_t(members.size() - 1); in getSize() local 367 vstate.id_member_decorations(member_id, lastIdx); in getSize() 370 assert(decoration->struct_member_index() == (int)lastIdx); in getSize() 378 const auto& constraint = constraints[std::make_pair(lastMember, lastIdx)]; in getSize()
|