Home
last modified time | relevance | path

Searched refs:startIdx (Results 1 – 25 of 57) sorted by relevance

123

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Ddecode_residual.c53 start_pos = (iLBC_encbits->startIdx-1)*SUBL; in WebRtcIlbcfix_DecodeResidual()
55 start_pos = (iLBC_encbits->startIdx-1)*SUBL + diff; in WebRtcIlbcfix_DecodeResidual()
61 … iLBC_encbits->idxVec, &syntdenum[(iLBC_encbits->startIdx-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_DecodeResidual()
112 if (iLBCdec_inst->nsub > iLBC_encbits->startIdx + 1) { in WebRtcIlbcfix_DecodeResidual()
117 decresidual+(iLBC_encbits->startIdx-1)*SUBL, STATE_LEN); in WebRtcIlbcfix_DecodeResidual()
121 size_t Nfor = iLBCdec_inst->nsub - iLBC_encbits->startIdx - 1; in WebRtcIlbcfix_DecodeResidual()
126 &decresidual[(iLBC_encbits->startIdx+1+subframe)*SUBL], in WebRtcIlbcfix_DecodeResidual()
135 &decresidual[(iLBC_encbits->startIdx+1+subframe)*SUBL], SUBL); in WebRtcIlbcfix_DecodeResidual()
144 if (iLBC_encbits->startIdx > 1) { in WebRtcIlbcfix_DecodeResidual()
148 meml_gotten = SUBL*(iLBCdec_inst->nsub+1-iLBC_encbits->startIdx); in WebRtcIlbcfix_DecodeResidual()
[all …]
Dencode.c150 iLBCbits_inst->startIdx = WebRtcIlbcfix_FrameClassify(iLBCenc_inst,residual); in WebRtcIlbcfix_EncodeImpl()
155 index = (iLBCbits_inst->startIdx-1)*SUBL; in WebRtcIlbcfix_EncodeImpl()
173 start_pos = (iLBCbits_inst->startIdx-1)*SUBL; in WebRtcIlbcfix_EncodeImpl()
176 start_pos = (iLBCbits_inst->startIdx-1)*SUBL + diff; in WebRtcIlbcfix_EncodeImpl()
182 &syntdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EncodeImpl()
183 &weightdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)]); in WebRtcIlbcfix_EncodeImpl()
186 &syntdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EncodeImpl()
205 &weightdenum[iLBCbits_inst->startIdx*(LPC_FILTERORDER+1)], 0); in WebRtcIlbcfix_EncodeImpl()
221 &residual[(iLBCbits_inst->startIdx+1)*SUBL-STATE_LEN], diff); in WebRtcIlbcfix_EncodeImpl()
232 &weightdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EncodeImpl()
[all …]
Ddecode.c79 if (iLBCbits_inst->startIdx<1) in WebRtcIlbcfix_DecodeImpl()
81 if ((iLBCdec_inst->mode==20) && (iLBCbits_inst->startIdx>3)) in WebRtcIlbcfix_DecodeImpl()
83 if ((iLBCdec_inst->mode==30) && (iLBCbits_inst->startIdx>5)) in WebRtcIlbcfix_DecodeImpl()
/external/nist-sip/java/gov/nist/core/
DStringTokenizer.java58 int startIdx = ptr; in nextToken() local
68 return buffer.substring(startIdx, ptr); in nextToken()
113 int startIdx = ptr; in getLine() local
120 return buffer.substring(startIdx, ptr); in getLine()
175 int startIdx = ptr; in getNextToken() local
184 return buffer.substring(startIdx, ptr); in getNextToken()
DLexerCore.java373 int startIdx = ptr; in ttoken() local
383 return buffer.substring(startIdx, ptr); in ttoken()
431 int startIdx = ptr; in ttokenSafe() local
475 return buffer.substring(startIdx, ptr); in ttokenSafe()
526 int startIdx = ptr + 1; in quotedString() local
543 return buffer.substring(startIdx, ptr - 1); in quotedString()
662 int startIdx = ptr; in number() local
677 return buffer.substring(startIdx, ptr); in number()
679 return buffer.substring(startIdx, ptr); in number()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DUnicodeLocaleExtension.java107 int startIdx = 0; in isType() local
110 int idx = s.indexOf(LanguageTag.SEP, startIdx); in isType()
111 String subtag = idx < 0 ? s.substring(startIdx) : s.substring(startIdx, idx); in isType()
119 startIdx = idx + 1; in isType()
121 return sawSubtag && startIdx < s.length(); in isType()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DUnicodeLocaleExtension.java111 int startIdx = 0; in isType() local
114 int idx = s.indexOf(LanguageTag.SEP, startIdx); in isType()
115 String subtag = idx < 0 ? s.substring(startIdx) : s.substring(startIdx, idx); in isType()
123 startIdx = idx + 1; in isType()
125 return sawSubtag && startIdx < s.length(); in isType()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dencode.c167 (ISACenc_obj->SaveEnc_ptr)->startIdx = 0; in WebRtcIsacfix_EncodeImpl()
171 (ISACenc_obj->SaveEnc_ptr)->startIdx = 1; in WebRtcIsacfix_EncodeImpl()
244 …(ISACenc_obj->SaveEnc_ptr)->fre[k + (ISACenc_obj->SaveEnc_ptr)->startIdx*FRAMESAMPLES_HALF] = LP16… in WebRtcIsacfix_EncodeImpl()
245 …(ISACenc_obj->SaveEnc_ptr)->fim[k + (ISACenc_obj->SaveEnc_ptr)->startIdx*FRAMESAMPLES_HALF] = LPan… in WebRtcIsacfix_EncodeImpl()
247 … (ISACenc_obj->SaveEnc_ptr)->AvgPitchGain[(ISACenc_obj->SaveEnc_ptr)->startIdx] = AvgPitchGain_Q12; in WebRtcIsacfix_EncodeImpl()
365 …(ISACenc_obj->SaveEnc_ptr)->fre[k + (ISACenc_obj->SaveEnc_ptr)->startIdx*FRAMESAMPLES_HALF] = LP16… in WebRtcIsacfix_EncodeImpl()
366 …(ISACenc_obj->SaveEnc_ptr)->fim[k + (ISACenc_obj->SaveEnc_ptr)->startIdx*FRAMESAMPLES_HALF] = LPan… in WebRtcIsacfix_EncodeImpl()
548 for (ii = 0; ii < (KLT_ORDER_GAIN*(1+SaveEnc_str->startIdx)); ii++) { in WebRtcIsacfix_EncodeStoredData()
553 for (ii = 0; ii < (FRAMESAMPLES_HALF*(1+SaveEnc_str->startIdx)); ii++) { in WebRtcIsacfix_EncodeStoredData()
558 for (ii = 0; ii < (KLT_ORDER_GAIN*(1+SaveEnc_str->startIdx)); ii++) { in WebRtcIsacfix_EncodeStoredData()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java1018 int startIdx = pos.getIndex(); in parse() local
1029 ParsePosition tmpPos = new ParsePosition(startIdx); in parse()
1064 tmpPos.setIndex(startIdx); in parse()
1079 tmpPos.setIndex(startIdx); in parse()
1099 tmpPos.setIndex(startIdx); in parse()
1116 tmpPos.setIndex(startIdx); in parse()
1140 Collection<MatchInfo> specificMatches = _tznames.find(text, startIdx, nameTypes); in parse()
1144 if (startIdx + match.matchLength() > parsedPos) { in parse()
1146 parsedPos = startIdx + match.matchLength(); in parse()
1161 getTZDBTimeZoneNames().find(text, startIdx, nameTypes); in parse()
[all …]
DSearchIterator.java459 int startIdx = search_.beginIndex(); in previous() local
460 if (index == startIdx || matchindex == startIdx) { in previous()
523 int startIdx = search_.beginIndex(); in first() local
524 setIndex(startIdx); in first()
525 return handleNext(startIdx); in first()
DStringSearch.java988 private boolean search(int startIdx, Match m) { in search() argument
991 || startIdx < search_.beginIndex() in search()
992 || startIdx > search_.endIndex()) { in search()
993 …throw new IllegalArgumentException("search(" + startIdx + ", m) - expected position to be between … in search()
1001 textIter_.setOffset(startIdx); in search()
1262 private boolean searchBackwards(int startIdx, Match m) { in searchBackwards() argument
1267 || startIdx < search_.beginIndex() in searchBackwards()
1268 || startIdx > search_.endIndex()) { in searchBackwards()
1269 …throw new IllegalArgumentException("searchBackwards(" + startIdx + ", m) - expected position to be… in searchBackwards()
1289 if (startIdx < search_.endIndex()) { in searchBackwards()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java1079 int startIdx = pos.getIndex(); in parse() local
1090 ParsePosition tmpPos = new ParsePosition(startIdx); in parse()
1125 tmpPos.setIndex(startIdx); in parse()
1140 tmpPos.setIndex(startIdx); in parse()
1160 tmpPos.setIndex(startIdx); in parse()
1177 tmpPos.setIndex(startIdx); in parse()
1201 Collection<MatchInfo> specificMatches = _tznames.find(text, startIdx, nameTypes); in parse()
1205 if (startIdx + match.matchLength() > parsedPos) { in parse()
1207 parsedPos = startIdx + match.matchLength(); in parse()
1222 getTZDBTimeZoneNames().find(text, startIdx, nameTypes); in parse()
[all …]
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp821 int32_t startIdx = pos.getIndex(); in parse() local
832 ParsePosition tmpPos(startIdx); in parse()
869 tmpPos.setIndex(startIdx); in parse()
886 tmpPos.setIndex(startIdx); in parse()
907 tmpPos.setIndex(startIdx); in parse()
925 tmpPos.setIndex(startIdx); in parse()
950 …eNames::MatchInfoCollection> specificMatches(fTimeZoneNames->find(text, startIdx, nameTypes, statu… in parse()
952 pos.setErrorIndex(startIdx); in parse()
959 matchPos = startIdx + specificMatches->getMatchLengthAt(i); in parse()
983 tzdbTimeZoneNames->find(text, startIdx, nameTypes, status)); in parse()
[all …]
/external/skqp/src/gpu/ccpr/
DGrCCStroker.cpp732 int startIdx = startIndices[(int)GrScissorTest::kDisabled]->fStrokes[numSegmentsLog2]; in appendStrokeMeshesToBuffers() local
734 SkASSERT(endIdx >= startIdx); in appendStrokeMeshesToBuffers()
735 if (int instanceCount = endIdx - startIdx) { in appendStrokeMeshesToBuffers()
737 mesh.setInstanced(fInstanceBuffer, instanceCount, baseInstance + startIdx, in appendStrokeMeshesToBuffers()
744 startIdx = startIndices[(int)GrScissorTest::kEnabled]->fStrokes[numSegmentsLog2]; in appendStrokeMeshesToBuffers()
748 SkASSERT(endIdx >= startIdx); in appendStrokeMeshesToBuffers()
749 if (int instanceCount = endIdx - startIdx) { in appendStrokeMeshesToBuffers()
751 mesh.setInstanced(fInstanceBuffer, instanceCount, baseInstance + startIdx, in appendStrokeMeshesToBuffers()
754 startIdx = endIdx; in appendStrokeMeshesToBuffers()
782 int startIdx = startIndices[(int)GrScissorTest::kDisabled]->*InstanceType; in drawConnectingGeometry() local
[all …]
/external/skia/src/gpu/ccpr/
DGrCCStroker.cpp732 int startIdx = startIndices[(int)GrScissorTest::kDisabled]->fStrokes[numSegmentsLog2]; in appendStrokeMeshesToBuffers() local
734 SkASSERT(endIdx >= startIdx); in appendStrokeMeshesToBuffers()
735 if (int instanceCount = endIdx - startIdx) { in appendStrokeMeshesToBuffers()
737 mesh.setInstanced(fInstanceBuffer, instanceCount, baseInstance + startIdx, in appendStrokeMeshesToBuffers()
744 startIdx = startIndices[(int)GrScissorTest::kEnabled]->fStrokes[numSegmentsLog2]; in appendStrokeMeshesToBuffers()
748 SkASSERT(endIdx >= startIdx); in appendStrokeMeshesToBuffers()
749 if (int instanceCount = endIdx - startIdx) { in appendStrokeMeshesToBuffers()
751 mesh.setInstanced(fInstanceBuffer, instanceCount, baseInstance + startIdx, in appendStrokeMeshesToBuffers()
754 startIdx = endIdx; in appendStrokeMeshesToBuffers()
782 int startIdx = startIndices[(int)GrScissorTest::kDisabled]->*InstanceType; in drawConnectingGeometry() local
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java475 int startIdx = search_.beginIndex(); in previous() local
476 if (index == startIdx || matchindex == startIdx) { in previous()
543 int startIdx = search_.beginIndex(); in first() local
544 setIndex(startIdx); in first()
545 return handleNext(startIdx); in first()
DStringSearch.java1004 private boolean search(int startIdx, Match m) { in search() argument
1007 || startIdx < search_.beginIndex() in search()
1008 || startIdx > search_.endIndex()) { in search()
1009 …throw new IllegalArgumentException("search(" + startIdx + ", m) - expected position to be between … in search()
1017 textIter_.setOffset(startIdx); in search()
1278 private boolean searchBackwards(int startIdx, Match m) { in searchBackwards() argument
1283 || startIdx < search_.beginIndex() in searchBackwards()
1284 || startIdx > search_.endIndex()) { in searchBackwards()
1285 …throw new IllegalArgumentException("searchBackwards(" + startIdx + ", m) - expected position to be… in searchBackwards()
1305 if (startIdx < search_.endIndex()) { in searchBackwards()
[all …]
/external/llvm/lib/CodeGen/
DSlotIndexes.cpp154 SlotIndex startIdx; in repairIndexesInRange() local
156 startIdx = getMBBStartIdx(MBB); in repairIndexesInRange()
158 startIdx = getInstructionIndex(*Begin); in repairIndexesInRange()
170 IndexList::iterator ListB = startIdx.listEntry()->getIterator(); in repairIndexesInRange()
175 assert(ListI->getIndex() >= startIdx.getIndex() && in repairIndexesInRange()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonShuffler.cpp179 static bool checkHVXPipes(const HVXInstsT &hvxInsts, unsigned startIdx, in checkHVXPipes() argument
181 if (startIdx < hvxInsts.size()) { in checkHVXPipes()
182 if (!hvxInsts[startIdx].Units) in checkHVXPipes()
183 return checkHVXPipes(hvxInsts, startIdx + 1, usedUnits); in checkHVXPipes()
185 if ((hvxInsts[startIdx].Units & b) == 0) in checkHVXPipes()
187 unsigned allBits = makeAllBits(b, hvxInsts[startIdx].Lanes); in checkHVXPipes()
189 if (checkHVXPipes(hvxInsts, startIdx + 1, usedUnits | allBits)) in checkHVXPipes()
595 unsigned startIdx, usedUnits; in check() local
596 startIdx = usedUnits = 0x0; in check()
597 if (!checkHVXPipes(hvxInsts, startIdx, usedUnits)) { in check()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSlotIndexes.cpp196 SlotIndex startIdx; in repairIndexesInRange() local
198 startIdx = getMBBStartIdx(MBB); in repairIndexesInRange()
200 startIdx = getInstructionIndex(*Begin); in repairIndexesInRange()
212 IndexList::iterator ListB = startIdx.listEntry()->getIterator(); in repairIndexesInRange()
217 assert(ListI->getIndex() >= startIdx.getIndex() && in repairIndexesInRange()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DGaussianParametersGuesser.java155 int startIdx, int idxStep, double y) throws OutOfRangeException { in interpolateXAtY() argument
159 … WeightedObservedPoint[] twoPoints = getInterpolationPointsForY(points, startIdx, idxStep, y); in interpolateXAtY()
190 int startIdx, int idxStep, double y) in getInterpolationPointsForY() argument
195 for (int i = startIdx; in getInterpolationPointsForY()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dencode.c301 ISACencLB_obj->SaveEnc_obj.startIdx = 0; in WebRtcIsac_EncodeLb()
303 ISACencLB_obj->SaveEnc_obj.startIdx = 1; in WebRtcIsac_EncodeLb()
390 my_index = ISACencLB_obj->SaveEnc_obj.startIdx * FRAMESAMPLES_HALF; in WebRtcIsac_EncodeLb()
394 ISACencLB_obj->SaveEnc_obj.AvgPitchGain[ISACencLB_obj->SaveEnc_obj.startIdx] = in WebRtcIsac_EncodeLb()
468 my_index = ISACencLB_obj->SaveEnc_obj.startIdx * FRAMESAMPLES_HALF; in WebRtcIsac_EncodeLb()
1049 ii < ((ORDERLO + 1)* SUBFRAMES * (1 + ISACSavedEnc_obj->startIdx)); in WebRtcIsac_EncodeStoredDataLb()
1054 ii < ((ORDERHI + 1) * SUBFRAMES * (1 + ISACSavedEnc_obj->startIdx)); in WebRtcIsac_EncodeStoredDataLb()
1060 ii < (FRAMESAMPLES_HALF * (1 + ISACSavedEnc_obj->startIdx)); in WebRtcIsac_EncodeStoredDataLb()
1067 ii < (KLT_ORDER_GAIN * (1 + ISACSavedEnc_obj->startIdx)); in WebRtcIsac_EncodeStoredDataLb()
1072 ii < (FRAMESAMPLES_HALF * (1 + ISACSavedEnc_obj->startIdx)); in WebRtcIsac_EncodeStoredDataLb()
[all …]
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp1532 for (int32_t startIdx = 0; startIdx<str.length(); ++startIdx) { in Ticket12130() local
1533 int32_t endIdx = startIdx + 20; in Ticket12130()
1536 utext_extract(&ut, startIdx, endIdx, extractBuffer, UPRV_LENGTHOF(extractBuffer), &status); in Ticket12130()
1542 int64_t expectedni = startIdx + 20; in Ticket12130()
1549 if (0 != str.tempSubString(startIdx, 20).compare(extractBuffer)) { in Ticket12130()
1551 …__FILE__, __LINE__, CStr(str.tempSubString(startIdx, 20))(), CStr(UnicodeString(extractBuffer))()); in Ticket12130()
1560 for (int32_t startIdx = 0; startIdx<str.length(); ++startIdx) { in Ticket12130() local
1561 int32_t endIdx = startIdx + 20; in Ticket12130()
1563 utext_extract(&ut, startIdx, endIdx, extractBuffer, UPRV_LENGTHOF(extractBuffer), &status); in Ticket12130()
1569 int64_t expectedni = startIdx + 20; in Ticket12130()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DURLParser.java128 int startIdx = lexer.getPtr(); in paramNameOrValue() local
149 return lexer.getBuffer().substring(startIdx, lexer.getPtr()); in paramNameOrValue()
764 int startIdx = lexer.getPtr(); in user() local
774 return lexer.getBuffer().substring(startIdx, lexer.getPtr()); in user()
783 int startIdx = lexer.getPtr(); in password() local
804 return lexer.getBuffer().substring(startIdx, lexer.getPtr()); in password()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java596 private void checkMoveCodePointOffset(String s, int startIdx, int amount, int expectedResult) { in checkMoveCodePointOffset() argument
599 int result = UTF16.moveCodePointOffset(s, startIdx, amount); in checkMoveCodePointOffset()
601 … errln("FAIL: UTF16.moveCodePointOffset(String \"" + s + "\", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
608 … errln("FAIL: UTF16.moveCodePointOffset(String \"" + s + "\", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
616 int result = UTF16.moveCodePointOffset(sb, startIdx, amount); in checkMoveCodePointOffset()
618 …errln("FAIL: UTF16.moveCodePointOffset(StringBuffer \"" + s + "\", " + startIdx + ", " + amount + … in checkMoveCodePointOffset()
625 …errln("FAIL: UTF16.moveCodePointOffset(StringBuffer \"" + s + "\", " + startIdx + ", " + amount + … in checkMoveCodePointOffset()
633 int result = UTF16.moveCodePointOffset(ca, 0, s.length(), startIdx, amount); in checkMoveCodePointOffset()
636 + ", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
644 + ", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
[all …]

123