/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/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
Tabber.java | 36 int lastPos = 0; 37 for (int count = 0; lastPos < source.length(); ++count) { 38 int pos = source.indexOf('\t', lastPos); 40 process_field(count, source, lastPos, pos, result); 41 lastPos = pos+1; 114 int lastPos = 0; 116 for (count = 0; lastPos < source.length() && count < stops.size(); count++) { 117 int pos = source.indexOf('\t', lastPos); 119 String piece = source.substring(lastPos, pos); 126 lastPos = pos+1 [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
Tabber.java | 35 int lastPos = 0; 36 for (int count = 0; lastPos < source.length(); ++count) { 37 int pos = source.indexOf('\t', lastPos); 39 process_field(count, source, lastPos, pos, result); 40 lastPos = pos+1; 113 int lastPos = 0; 115 for (count = 0; lastPos < source.length() && count < stops.size(); count++) { 116 int pos = source.indexOf('\t', lastPos); 118 String piece = source.substring(lastPos, pos); 125 lastPos = pos+1 [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 | 396 std::string::size_type lastPos = CommandLine.find_first_not_of(delimiters, 0); 397 std::string::size_type pos = CommandLine.find_first_of(delimiters, lastPos); 399 while (std::string::npos != pos || std::string::npos != lastPos) { 400 std::string token = CommandLine.substr(lastPos, pos - lastPos); 406 lastPos = CommandLine.find_first_not_of(delimiters, pos); 408 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 | 135 int lastPos = 0; 142 if (lastPos < pos) append(string, lastPos, pos-lastPos); 143 lastPos = pos + 1; 146 if (lastPos < pos) append(string, lastPos, pos-lastPos); 153 int lastPos = start; 160 if (lastPos < pos) append(buf, lastPos, pos-lastPos) [all...] |
/external/clang/lib/AST/ |
DeclPrinter.cpp | 1048 std::string::size_type pos, lastPos = 0; 1051 pos = name.find_first_of(':', lastPos); 1052 Out << " " << name.substr(lastPos, pos - lastPos) << ':'; 1057 lastPos = pos + 1; [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerTest.java | 265 final int lastPos = rv.getChildAdapterPosition(lastView); 270 mAdapter.addAndNotify(lastPos - 2, 30); 275 spanLookups.get(lastPos + 30)); [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; 1152 nextElements[count++] = testText.tempSubStringBetween(lastPos, iter->getOffset()); 1153 lastPos = iter->getOffset() [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/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 297 private int lastPos = bufferPos; 305 byteArrayStream.write(buffer, lastPos, bufferPos - lastPos); 306 lastPos = 0; 315 return ByteBuffer.wrap(buffer, lastPos, bufferPos - lastPos); 317 byteArrayStream.write(buffer, lastPos, bufferPos); [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
AppErrors.java | 174 int lastPos = 0; 178 pw.write(info.stack, lastPos, pos-lastPos); 180 lastPos = pos+1; 183 if (lastPos < info.stack.length()) { 185 pw.write(info.stack, lastPos, info.stack.length()-lastPos); [all...] |
ProcessStatsService.java | 396 int lastPos = 0; 403 if (lastPos == 0) { 410 if (lastPos < (i-1)) { 411 String str = arg.substring(lastPos, i); 424 lastPos = i + 1; [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
Task.java | 112 final int lastPos = mAppTokens.size(); 113 if (addPos >= lastPos) { 114 addPos = lastPos; 116 for (int pos = 0; pos < lastPos && pos < addPos; ++pos) {
|
/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/support/v7/recyclerview/src/android/support/v7/widget/ |
LinearLayoutManager.java | [all...] |