Home
last modified time | relevance | path

Searched refs:startPos (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/native/cmds/lshal/
Dutils.cpp30 size_t startPos = 0; in split() local
32 while ((matchPos = s.find(c, startPos)) != std::string::npos) { in split()
33 components.push_back(s.substr(startPos, matchPos - startPos)); in split()
34 startPos = matchPos + 1; in split()
37 if (startPos <= s.length()) { in split()
38 components.push_back(s.substr(startPos)); in split()
/frameworks/wilhelm/src/itf/
DISeek.cpp52 SLmillisecond startPos, SLmillisecond endPos) in ISeek_SetLoop() argument
56 if (!(startPos < endPos)) { in ISeek_SetLoop()
62 if ((startPos != 0) && (endPos != SL_TIME_UNKNOWN)) { in ISeek_SetLoop()
97 thiz->mStartPos = startPos; in ISeek_SetLoop()
119 SLmillisecond startPos = thiz->mStartPos; in ISeek_GetLoop() local
123 *pStartPos = startPos; in ISeek_GetLoop()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DRequestBuilder.java79 int startPos = 0; in addStoreData() local
83 String data = cmdHex.substring(startPos, startPos + cmdLen); in addStoreData()
85 startPos += cmdLen; in addStoreData()
87 String data = cmdHex.substring(startPos); in addStoreData()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dd2_9pf.cpp104 extern const Word16 startPos[];
207 pos[0] = i * 5 + startPos[k++]; in decode_2i40_9bits()
215 pos[1] = i * 5 + startPos[k]; in decode_2i40_9bits()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java263 int startPos = 0; in testCalcLengthAscii() local
272 int endPos = (asciiCharsLen - startPos > addCount) ? in testCalcLengthAscii()
273 (startPos + addCount) : asciiCharsLen; in testCalcLengthAscii()
274 sb.append(sAsciiChars, startPos, endPos); in testCalcLengthAscii()
275 startPos = (endPos == asciiCharsLen) ? 0 : endPos; in testCalcLengthAscii()
296 int startPos = 0; in testCalcLengthUnicode() local
306 int endPos = (unicodeCharsLen - startPos > addCount) ? in testCalcLengthUnicode()
307 (startPos + addCount) : unicodeCharsLen; in testCalcLengthUnicode()
308 sb.append(sUnicodeChars, startPos, endPos); in testCalcLengthUnicode()
309 startPos = (endPos == unicodeCharsLen) ? 0 : endPos; in testCalcLengthUnicode()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dc2_9pf_tab.cpp89 extern const Word16 startPos[];
90 const Word16 startPos[2*4*2] = {0, 2, 0, 3, variable
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp584 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) { in copyRow() argument
589 startPos, addedRows, status); in copyRow()
608 sizeIncludingNull, startPos + addedRows, i, status); in copyRow()
613 startPos + addedRows, i, sizeIncludingNull); in copyRow()
624 LOG_WINDOW("%d,%d is INTEGER 0x%016llx", startPos + addedRows, i, value); in copyRow()
635 LOG_WINDOW("%d,%d is FLOAT %lf", startPos + addedRows, i, value); in copyRow()
643 size, startPos + addedRows, i, status); in copyRow()
648 startPos + addedRows, i, size); in copyRow()
659 LOG_WINDOW("%d,%d is NULL", startPos + addedRows, i); in copyRow()
678 jint startPos, jint requiredPos, jboolean countAllRows) { in nativeExecuteForCursorWindow() argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DWireFormatNano.java114 int startPos = input.getPosition(); in getRepeatedFieldArrayLength() local
120 input.rewindToPosition(startPos); in getRepeatedFieldArrayLength()
DExtendableMessageNano.java140 int startPos = input.getPosition(); in storeUnknownField() local
146 byte[] bytes = input.getData(startPos, endPos - startPos); in storeUnknownField()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteQuery.java57 int fillWindow(CursorWindow window, int startPos, int requiredPos, boolean countAllRows) { in fillWindow() argument
63 window, startPos, requiredPos, countAllRows, getConnectionFlags(), in fillWindow()
DSQLiteCursor.java159 int startPos = mFillWindowForwardOnly ? requiredPos : DatabaseUtils in fillWindow() local
161 mQuery.fillWindow(mWindow, startPos, requiredPos, false); in fillWindow()
DSQLiteSession.java822 CursorWindow window, int startPos, int requiredPos, boolean countAllRows, in executeForCursorWindow() argument
839 window, startPos, requiredPos, countAllRows, in executeForCursorWindow()
DSQLiteConnection.java158 int startPos, int requiredPos, boolean countAllRows); in nativeExecuteForCursorWindow() argument
918 CursorWindow window, int startPos, int requiredPos, boolean countAllRows, in executeForCursorWindow() argument
944 startPos, requiredPos, countAllRows); in executeForCursorWindow()
962 + "', startPos=" + startPos in executeForCursorWindow()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduParser.java847 int startPos = pduDataStream.available(); in parseParts() local
848 if (startPos <= 0) { in parseParts()
876 int partHeaderLen = headerLength - (startPos - endPos); in parseParts()
1363 int startPos = pduDataStream.available(); in parseContentTypeParams() local
1409 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1433 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1477 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1496 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1543 int startPos = pduDataStream.available(); in parseContentType() local
1567 int parameterLen = length - (startPos - endPos); in parseContentType()
[all …]
/frameworks/av/media/libmedia/
DMediaScanner.cpp115 int startPos = 0; in shouldSkipDirectory() local
121 && (strncmp(path, &mSkipList[startPos], len) == 0)) { in shouldSkipDirectory()
124 startPos += mSkipIndex[idx] + 1; // extra char for the delimiter in shouldSkipDirectory()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dc2_9pf.cpp159 extern const Word16 startPos[];
634 *ipos = *(startPos + i); in search_2i40()
635 *(ipos + 1) = *(startPos + i + 1); in search_2i40()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java274 int startPos = -mDividerSize; in calculateTargets() local
276 startPos += mInsets.left; in calculateTargets()
278 mTargets.add(new SnapTarget(startPos, startPos, SnapTarget.FLAG_DISMISS_START, in calculateTargets()
/frameworks/base/media/apex/java/android/media/
DMediaPlayer2.java942 long startPos, long endPos)
948 handleDataSource(isCurrent, srcId, uri.getPath(), null, null, startPos, endPos);
958 if (attemptDataSource(isCurrent, srcId, afd, startPos, endPos)) {
967 if (attemptDataSource(isCurrent, srcId, afd, startPos, endPos)) {
974 handleDataSource(isCurrent, srcId, uri.toString(), headers, cookies, startPos, endPos);
978 long startPos, long endPos) throws IOException {
986 startPos,
994 startPos,
1011 long startPos, long endPos)
1027 handleDataSource(isCurrent, srcId, path, keys, values, cookies, startPos, endPos);
[all …]
/frameworks/base/core/java/android/database/
DBulkCursorNative.java64 int startPos = data.readInt(); in onTransact() local
65 CursorWindow window = getWindow(startPos); in onTransact()
DDatabaseUtils.java574 int startPos = cursor.getPosition(); in dumpCursor() local
580 cursor.moveToPosition(startPos); in dumpCursor()
595 int startPos = cursor.getPosition(); in dumpCursor() local
601 cursor.moveToPosition(startPos); in dumpCursor()
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer2.cpp288 jlong startPos, jlong endPos) { in android_media_MediaPlayer2_handleDataSourceUrl() argument
306 tmp, (long long)srcId, (long long)startPos, (long long)endPos); in android_media_MediaPlayer2_handleDataSourceUrl()
319 dsd->mStartPositionMs = startPos; in android_media_MediaPlayer2_handleDataSourceUrl()
351 jlong startPos, jlong endPos) { in android_media_MediaPlayer2_handleDataSourceFD() argument
366 (long long)startPos, (long long)endPos); in android_media_MediaPlayer2_handleDataSourceFD()
399 dsd->mStartPositionMs = startPos; in android_media_MediaPlayer2_handleDataSourceFD()
415 jlong startPos, jlong endPos) in android_media_MediaPlayer2_handleDataSourceCallback() argument
432 dsd->mStartPositionMs = startPos; in android_media_MediaPlayer2_handleDataSourceCallback()
/frameworks/base/core/java/android/util/
DTimeUtils.java172 final int startPos = pos; in printFieldLocked() local
194 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printFieldLocked()
/frameworks/base/core/java/android/widget/
DGridView.java341 private View makeRow(int startPos, int y, boolean flow) { in makeRow() argument
359 last = Math.min(startPos + mNumColumns, mItemCount); in makeRow()
361 last = startPos + 1; in makeRow()
362 startPos = Math.max(0, startPos - mNumColumns + 1); in makeRow()
364 if (last - startPos < mNumColumns) { in makeRow()
365 … final int deltaLeft = (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing); in makeRow()
378 for (int pos = startPos; pos < last; pos++) { in makeRow()
383 final int where = flow ? -1 : pos - startPos; in makeRow()
DListView.java3058 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
3061 if (startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
3064 if (startPos < firstPosition) { in lookForSelectablePositionOnScreen()
3065 startPos = firstPosition; in lookForSelectablePositionOnScreen()
3070 for (int pos = startPos; pos <= lastVisiblePos; pos++) { in lookForSelectablePositionOnScreen()
3078 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
3081 if (startPos < 0 || startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
3084 if (startPos > last) { in lookForSelectablePositionOnScreen()
3085 startPos = last; in lookForSelectablePositionOnScreen()
3089 for (int pos = startPos; pos >= firstPosition; pos--) { in lookForSelectablePositionOnScreen()
/frameworks/base/core/java/android/os/
DParcel.java924 int startPos; in writeArrayMapInternal() local
926 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in writeArrayMapInternal()
930 + (dataPosition()-startPos) + " bytes: key=0x" in writeArrayMapInternal()
3240 int startPos; in readArrayMapInternal() local
3242 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in readArrayMapInternal()
3246 + (dataPosition()-startPos) + " bytes: key=0x" in readArrayMapInternal()

12