Home
last modified time | relevance | path

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

12

/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.java105 int startIdx = 0; in isType() local
108 int idx = s.indexOf(LanguageTag.SEP, startIdx); in isType()
109 String subtag = idx < 0 ? s.substring(startIdx) : s.substring(startIdx, idx); in isType()
117 startIdx = idx + 1; in isType()
119 return sawSubtag && startIdx < s.length(); in isType()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DUnicodeLocaleExtension.java109 int startIdx = 0; in isType() local
112 int idx = s.indexOf(LanguageTag.SEP, startIdx); in isType()
113 String subtag = idx < 0 ? s.substring(startIdx) : s.substring(startIdx, idx); in isType()
121 startIdx = idx + 1; in isType()
123 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.java1014 int startIdx = pos.getIndex(); in parse() local
1025 ParsePosition tmpPos = new ParsePosition(startIdx); in parse()
1060 tmpPos.setIndex(startIdx); in parse()
1075 tmpPos.setIndex(startIdx); in parse()
1095 tmpPos.setIndex(startIdx); in parse()
1112 tmpPos.setIndex(startIdx); in parse()
1136 Collection<MatchInfo> specificMatches = _tznames.find(text, startIdx, nameTypes); in parse()
1140 if (startIdx + match.matchLength() > parsedPos) { in parse()
1142 parsedPos = startIdx + match.matchLength(); in parse()
1157 getTZDBTimeZoneNames().find(text, startIdx, nameTypes); in parse()
[all …]
DSearchIterator.java457 int startIdx = search_.beginIndex(); in previous() local
458 if (index == startIdx || matchindex == startIdx) { in previous()
521 int startIdx = search_.beginIndex(); in first() local
522 setIndex(startIdx); in first()
523 return handleNext(startIdx); in first()
DStringSearch.java987 private boolean search(int startIdx, Match m) { in search() argument
990 || startIdx < search_.beginIndex() in search()
991 || startIdx > search_.endIndex()) { in search()
992 …throw new IllegalArgumentException("search(" + startIdx + ", m) - expected position to be between … in search()
1000 textIter_.setOffset(startIdx); in search()
1261 private boolean searchBackwards(int startIdx, Match m) { in searchBackwards() argument
1266 || startIdx < search_.beginIndex() in searchBackwards()
1267 || startIdx > search_.endIndex()) { in searchBackwards()
1268 …throw new IllegalArgumentException("searchBackwards(" + startIdx + ", m) - expected position to be… in searchBackwards()
1288 if (startIdx < search_.endIndex()) { in searchBackwards()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java1075 int startIdx = pos.getIndex(); in parse() local
1086 ParsePosition tmpPos = new ParsePosition(startIdx); in parse()
1121 tmpPos.setIndex(startIdx); in parse()
1136 tmpPos.setIndex(startIdx); in parse()
1156 tmpPos.setIndex(startIdx); in parse()
1173 tmpPos.setIndex(startIdx); in parse()
1197 Collection<MatchInfo> specificMatches = _tznames.find(text, startIdx, nameTypes); in parse()
1201 if (startIdx + match.matchLength() > parsedPos) { in parse()
1203 parsedPos = startIdx + match.matchLength(); in parse()
1218 getTZDBTimeZoneNames().find(text, startIdx, nameTypes); in parse()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java473 int startIdx = search_.beginIndex(); in previous() local
474 if (index == startIdx || matchindex == startIdx) { in previous()
541 int startIdx = search_.beginIndex(); in first() local
542 setIndex(startIdx); in first()
543 return handleNext(startIdx); in first()
DStringSearch.java1003 private boolean search(int startIdx, Match m) { in search() argument
1006 || startIdx < search_.beginIndex() in search()
1007 || startIdx > search_.endIndex()) { in search()
1008 …throw new IllegalArgumentException("search(" + startIdx + ", m) - expected position to be between … in search()
1016 textIter_.setOffset(startIdx); in search()
1277 private boolean searchBackwards(int startIdx, Match m) { in searchBackwards() argument
1282 || startIdx < search_.beginIndex() in searchBackwards()
1283 || startIdx > search_.endIndex()) { in searchBackwards()
1284 …throw new IllegalArgumentException("searchBackwards(" + startIdx + ", m) - expected position to be… in searchBackwards()
1304 if (startIdx < search_.endIndex()) { in searchBackwards()
[all …]
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp815 int32_t startIdx = pos.getIndex(); in parse() local
826 ParsePosition tmpPos(startIdx); in parse()
863 tmpPos.setIndex(startIdx); in parse()
880 tmpPos.setIndex(startIdx); in parse()
901 tmpPos.setIndex(startIdx); in parse()
919 tmpPos.setIndex(startIdx); in parse()
944 …eNames::MatchInfoCollection> specificMatches(fTimeZoneNames->find(text, startIdx, nameTypes, statu… in parse()
946 pos.setErrorIndex(startIdx); in parse()
953 matchPos = startIdx + specificMatches->getMatchLengthAt(i); in parse()
977 tzdbTimeZoneNames->find(text, startIdx, nameTypes, status)); in parse()
[all …]
/external/llvm/lib/CodeGen/
DSlotIndexes.cpp159 SlotIndex startIdx; in repairIndexesInRange() local
161 startIdx = getMBBStartIdx(MBB); in repairIndexesInRange()
163 startIdx = getInstructionIndex(Begin); in repairIndexesInRange()
175 IndexList::iterator ListB = startIdx.listEntry()->getIterator(); in repairIndexesInRange()
180 assert(ListI->getIndex() >= startIdx.getIndex() && in repairIndexesInRange()
/external/jmonkeyengine/engine/src/core/com/jme3/effect/
DParticleTriMesh.java115 int startIdx = (i * 4); in initParticleData() local
118 ib.put((short)(startIdx + 1)) in initParticleData()
119 .put((short)(startIdx + 0)) in initParticleData()
120 .put((short)(startIdx + 2)); in initParticleData()
123 ib.put((short)(startIdx + 1)) in initParticleData()
124 .put((short)(startIdx + 2)) in initParticleData()
125 .put((short)(startIdx + 3)); in initParticleData()
/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/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.java581 private void checkMoveCodePointOffset(String s, int startIdx, int amount, int expectedResult) { in checkMoveCodePointOffset() argument
584 int result = UTF16.moveCodePointOffset(s, startIdx, amount); in checkMoveCodePointOffset()
586 … errln("FAIL: UTF16.moveCodePointOffset(String \"" + s + "\", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
593 … errln("FAIL: UTF16.moveCodePointOffset(String \"" + s + "\", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
601 int result = UTF16.moveCodePointOffset(sb, startIdx, amount); in checkMoveCodePointOffset()
603 …errln("FAIL: UTF16.moveCodePointOffset(StringBuffer \"" + s + "\", " + startIdx + ", " + amount + … in checkMoveCodePointOffset()
610 …errln("FAIL: UTF16.moveCodePointOffset(StringBuffer \"" + s + "\", " + startIdx + ", " + amount + … in checkMoveCodePointOffset()
618 int result = UTF16.moveCodePointOffset(ca, 0, s.length(), startIdx, amount); in checkMoveCodePointOffset()
621 + ", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
629 + ", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUTF16Test.java585 private void checkMoveCodePointOffset(String s, int startIdx, int amount, int expectedResult) { in checkMoveCodePointOffset() argument
588 int result = UTF16.moveCodePointOffset(s, startIdx, amount); in checkMoveCodePointOffset()
590 … errln("FAIL: UTF16.moveCodePointOffset(String \"" + s + "\", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
597 … errln("FAIL: UTF16.moveCodePointOffset(String \"" + s + "\", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
605 int result = UTF16.moveCodePointOffset(sb, startIdx, amount); in checkMoveCodePointOffset()
607 …errln("FAIL: UTF16.moveCodePointOffset(StringBuffer \"" + s + "\", " + startIdx + ", " + amount + … in checkMoveCodePointOffset()
614 …errln("FAIL: UTF16.moveCodePointOffset(StringBuffer \"" + s + "\", " + startIdx + ", " + amount + … in checkMoveCodePointOffset()
622 int result = UTF16.moveCodePointOffset(ca, 0, s.length(), startIdx, amount); in checkMoveCodePointOffset()
625 + ", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
633 + ", " + startIdx + ", " + amount + ")" + in checkMoveCodePointOffset()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRCommonTokenStream.m319 - (NSString *) toStringFromStart:(NSInteger)startIdx ToEnd:(NSInteger) stopIdx
324 if ( startIdx < 0 || stopIdx < 0 ) {
334 for (int i = startIdx; i <= stopIdx; i++) {
344 int startIdx = [startToken getTokenIndex];
346 return [self toStringFromStart:startIdx ToEnd:stopIdx];
/external/icu/icu4c/source/i18n/unicode/
Dusearch.h817 int32_t startIdx,
877 int32_t startIdx,
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRTokenStream.h51 - (NSString *)toStringFromStart:(NSInteger)startIdx ToEnd:(NSInteger)stopIdx;

12