Home
last modified time | relevance | path

Searched refs:startPos (Results 1 – 25 of 27) 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java256 int startPos = 0; in testCalcLengthAscii() local
265 int endPos = (asciiCharsLen - startPos > addCount) ? in testCalcLengthAscii()
266 (startPos + addCount) : asciiCharsLen; in testCalcLengthAscii()
267 sb.append(sAsciiChars, startPos, endPos); in testCalcLengthAscii()
268 startPos = (endPos == asciiCharsLen) ? 0 : endPos; in testCalcLengthAscii()
289 int startPos = 0; in testCalcLengthUnicode() local
299 int endPos = (unicodeCharsLen - startPos > addCount) ? in testCalcLengthUnicode()
300 (startPos + addCount) : unicodeCharsLen; in testCalcLengthUnicode()
301 sb.append(sUnicodeChars, startPos, endPos); in testCalcLengthUnicode()
302 startPos = (endPos == unicodeCharsLen) ? 0 : endPos; in testCalcLengthUnicode()
/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/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/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/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/base/telephony/common/com/google/android/mms/pdu/
DPduParser.java850 int startPos = pduDataStream.available(); in parseParts() local
851 if (startPos <= 0) { in parseParts()
879 int partHeaderLen = headerLength - (startPos - endPos); in parseParts()
1371 int startPos = pduDataStream.available(); in parseContentTypeParams() local
1417 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1441 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1485 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1504 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1552 int startPos = pduDataStream.available(); in parseContentType() local
1576 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/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/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.java3054 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
3057 if (startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
3060 if (startPos < firstPosition) { in lookForSelectablePositionOnScreen()
3061 startPos = firstPosition; in lookForSelectablePositionOnScreen()
3066 for (int pos = startPos; pos <= lastVisiblePos; pos++) { in lookForSelectablePositionOnScreen()
3074 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
3077 if (startPos < 0 || startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
3080 if (startPos > last) { in lookForSelectablePositionOnScreen()
3081 startPos = last; in lookForSelectablePositionOnScreen()
3085 for (int pos = startPos; pos >= firstPosition; pos--) { in lookForSelectablePositionOnScreen()
/frameworks/base/core/java/android/util/
DTimeUtils.java178 final int startPos = pos; in printFieldLocked() local
200 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printFieldLocked()
/frameworks/base/core/java/android/os/
DParcel.java929 int startPos; in writeArrayMapInternal() local
931 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in writeArrayMapInternal()
935 + (dataPosition()-startPos) + " bytes: key=0x" in writeArrayMapInternal()
3248 int startPos; in readArrayMapInternal() local
3250 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in readArrayMapInternal()
3254 + (dataPosition()-startPos) + " bytes: key=0x" in readArrayMapInternal()
DBaseBundle.java1590 int startPos = parcel.dataPosition(); in writeToParcelInner() local
1596 int length = endPos - startPos; in writeToParcelInner()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java661 private static float computePivot(int startPos, float finalScale) { in computePivot() argument
720 return startPos; in computePivot()
722 return -startPos / denom; in computePivot()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java934 final int startPos = Math.max(0, mCurItem - pageLimit);
979 if (extraWidthLeft >= leftWidthNeeded && pos < startPos) {
/frameworks/native/libs/binder/
DParcel.cpp386 int startPos = mDataPos; in appendFrom() local
453 size_t off = objects[i] - offset + startPos; in appendFrom()

12