/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
ConversationMessageViewTest.java | 97 final int lastPos = cursor.getCount() - 1; 98 cursor.moveToPosition(lastPos); 101 verifyContent(view, TestDataFactory.getMessageText(cursor, lastPos), true, Dates 102 .getMessageTimeString((Long) cursor.getAt("received_timestamp", lastPos))
|
/external/skia/src/shaders/gradients/ |
Sk4fGradientBase.cpp | 41 const SkScalar lastPos = 1 - fFirstPos; 51 ? SkTPin(fShader.fOrigPos[curr], prevPos, lastPos) 52 : SkTPin(fShader.fOrigPos[curr], lastPos, prevPos);
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
ToolRunner.cpp | 384 std::string::size_type lastPos = CommandLine.find_first_not_of(delimiters, 0);
385 std::string::size_type pos = CommandLine.find_first_of(delimiters, lastPos);
387 while (std::string::npos != pos || std::string::npos != lastPos) {
388 std::string token = CommandLine.substr(lastPos, pos - lastPos);
394 lastPos = CommandLine.find_first_not_of(delimiters, pos);
396 pos = CommandLine.find_first_of(delimiters, lastPos);
[all...] |
/frameworks/compile/mclinker/include/mcld/LD/ |
Archive.h | 78 InputTree::iterator lastPos;
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
Executor.java | 38 private int lastPos; 67 this.lastPos = pos; 652 throw new BadBytecode("Not an array! [pos = " + lastPos + "]: " + component); 674 throw new BadBytecode("Not an array! [pos = " + lastPos + "]: " + component); 774 throw new BadBytecode("bad LDC [pos = " + lastPos + "]: " + tag); 928 throw new BadBytecode("Could not find class [pos = " + lastPos + "]: " + name); [all...] |
/external/llvm/tools/bugpoint/ |
ToolRunner.cpp | 397 std::string::size_type lastPos = CommandLine.find_first_not_of(delimiters, 0); 398 std::string::size_type pos = CommandLine.find_first_of(delimiters, lastPos); 400 while (std::string::npos != pos || std::string::npos != lastPos) { 401 std::string token = CommandLine.substr(lastPos, pos - lastPos); 407 lastPos = CommandLine.find_first_not_of(delimiters, pos); 409 pos = CommandLine.find_first_of(delimiters, lastPos); [all...] |
/external/tinyxml/ |
tinyxml.cpp | 1029 const char* lastPos = buf; 1038 data.append( lastPos, p-lastPos+1 ); // append, include the newline 1040 lastPos = p; // and point to the new buffer (may be 0) 1046 if ( (p-lastPos) > 0 ) { 1047 data.append( lastPos, p-lastPos ); // do not add the CR 1054 lastPos = p; 1060 lastPos = p; 1069 if ( p-lastPos ) { [all...] |
/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/ |
spreadsort.hpp | 193 RandomAccessIter lastPos = first;
194 for(unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], ++u) {
195 size_t count = bin_cache[u] - lastPos;
201 std::sort(lastPos, bin_cache[u]);
203 spread_sort_rec<RandomAccessIter, div_type, data_type>(lastPos, bin_cache[u], bin_cache, cache_end, bin_sizes);
280 RandomAccessIter lastPos = first;
281 for(unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], ++u) {
282 size_t count = bin_cache[u] - lastPos;
286 std::sort(lastPos, bin_cache[u], comp);
288 spread_sort_rec<RandomAccessIter, div_type, data_type, right_shift, compare>(lastPos, bin_cache[u], bin_cache, cache_end, bin_sizes, shift, comp); [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
FastXmlSerializer.java | 152 int lastPos = 0; 159 if (lastPos < pos) append(string, lastPos, pos-lastPos); 160 lastPos = pos + 1; 163 if (lastPos < pos) append(string, lastPos, pos-lastPos); 170 int lastPos = start; 177 if (lastPos < pos) append(buf, lastPos, pos-lastPos) [all...] |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
SecurityLogMonitor.java | 294 int lastPos = 0; 296 while (lastPos < mLastEvents.size() && curPos < newLogs.size()) { 303 final SecurityEvent lastEvent = mLastEvents.get(lastPos); 312 lastPos++; 323 lastPos++;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
Grid.java | 464 final int lastPos = getLastVisibleIndex(); 465 final int resultSearchLast = lastPos >= 0 466 ? Arrays.binarySearch(positions, 0, positionsLength, lastPos) : 0; 468 // we shouldn't find lastPos in disappearing position list. 472 edge = mProvider.getEdge(lastPos) - mProvider.getSize(lastPos) - mSpacing; 474 edge = mProvider.getEdge(lastPos) + mProvider.getSize(lastPos) + mSpacing;
|
/external/clang/lib/AST/ |
DeclPrinter.cpp | [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
BlockFieldMatrix.java | 658 int lastPos = 0; 667 System.arraycopy(blocks[blockIndex], lastPos, dataP, dataPos, lastColumns); 669 lastPos += lastColumns; [all...] |
BlockRealMatrix.java | 645 int lastPos = 0; 654 System.arraycopy(blocks[blockIndex], lastPos, dataP, dataPos, lastColumns); 656 lastPos += lastColumns; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ArabicShaping.java | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationRegressionTest.java | [all...] |
/external/icu/icu4c/source/common/ |
ushape.cpp | [all...] |
/external/icu/icu4c/source/test/intltest/ |
regcoll.cpp | 1146 int32_t lastPos = 0; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ArabicShaping.java | [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationRegressionTest.java | [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 287 private int lastPos = bufferPos; 295 byteArrayStream.write(buffer, lastPos, bufferPos - lastPos); 296 lastPos = 0; 305 return ByteBuffer.wrap(buffer, lastPos, bufferPos - lastPos); 307 byteArrayStream.write(buffer, lastPos, bufferPos); [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ProcessStatsService.java | 406 int lastPos = 0; 413 if (lastPos == 0) { 420 if (lastPos < (i-1)) { 421 String str = arg.substring(lastPos, i); 434 lastPos = i + 1; [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerTest.java | [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputTestsBase.java | 445 final int lastPos = mEditText.getText().length(); 449 } else if (requestedPosition > lastPos) { 450 return sendUpdateForCursorMoveTo(lastPos); 460 final int lastPos = mEditText.getText().length(); 461 return sendUpdateForCursorMoveTo(lastPos);
|
/frameworks/base/core/java/com/android/internal/widget/ |
LinearLayoutManager.java | [all...] |