Searched defs:fromIndex (Results 26 - 50 of 87) sorted by relevance

1234

/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
H A DShorts.java529 @Override public List<Short> subList(int fromIndex, int toIndex) { argument
531 checkPositionIndexes(fromIndex, toIndex, size);
532 if (fromIndex == toIndex) {
535 return new ShortArrayAsList(array, start + fromIndex, start + toIndex);
H A DInts.java530 @Override public List<Integer> subList(int fromIndex, int toIndex) { argument
532 checkPositionIndexes(fromIndex, toIndex, size);
533 if (fromIndex == toIndex) {
536 return new IntArrayAsList(array, start + fromIndex, start + toIndex);
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingListTest.java130 @Override public List<T> subList(int fromIndex, int toIndex) { argument
131 return standardSubList(fromIndex, toIndex);
/external/okhttp/okio/okio/src/main/java/okio/
H A DRealBufferedSource.java303 @Override public long indexOf(byte b, long fromIndex) throws IOException { argument
305 while (fromIndex >= buffer.size) {
309 while ((index = buffer.indexOf(b, fromIndex)) == -1) {
310 fromIndex = buffer.size;
320 @Override public long indexOf(ByteString bytes, long fromIndex) throws IOException { argument
323 fromIndex = indexOf(bytes.getByte(0), fromIndex);
324 if (fromIndex == -1) {
327 if (rangeEquals(fromIndex, bytes)) {
328 return fromIndex;
338 indexOfElement(ByteString targetBytes, long fromIndex) argument
[all...]
H A DBuffer.java1230 * Returns the index of {@code b} in this at or beyond {@code fromIndex}, or
1233 @Override public long indexOf(byte b, long fromIndex) { argument
1234 if (fromIndex < 0) throw new IllegalArgumentException("fromIndex < 0");
1241 if (fromIndex >= segmentByteCount) {
1242 fromIndex -= segmentByteCount;
1245 for (int pos = (int) (s.pos + fromIndex), limit = s.limit; pos < limit; pos++) {
1248 fromIndex = 0;
1260 @Override public long indexOf(ByteString bytes, long fromIndex) throws IOException { argument
1263 fromIndex
1278 indexOfElement(ByteString targetBytes, long fromIndex) argument
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DImmutableList.java375 * fromIndex}, inclusive, and {@code toIndex}, exclusive. (If {@code
376 * fromIndex} and {@code toIndex} are equal, the empty immutable list is
380 public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
381 checkPositionIndexes(fromIndex, toIndex, size());
382 int length = toIndex - fromIndex;
387 return of(get(fromIndex));
389 return subListUnchecked(fromIndex, toIndex);
395 * toIndex - fromIndex > 1}, after index validation has already been
398 ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) { argument
399 return new SubList(fromIndex, toInde
423 subList(int fromIndex, int toIndex) argument
546 subList(int fromIndex, int toIndex) argument
[all...]
H A DLists.java722 int fromIndex, int toIndex) {
723 checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
724 return charactersOf(string.substring(fromIndex, toIndex));
833 @Override protected void removeRange(int fromIndex, int toIndex) { argument
834 subList(fromIndex, toIndex).clear();
849 @Override public List<T> subList(int fromIndex, int toIndex) { argument
850 checkPositionIndexes(fromIndex, toIndex, size());
852 reversePosition(toIndex), reversePosition(fromIndex)));
1008 final List<E> list, int fromIndex, int toIndex) {
1027 return wrapper.subList(fromIndex, toInde
721 subList( int fromIndex, int toIndex) argument
1007 subListImpl( final List<E> list, int fromIndex, int toIndex) argument
[all...]
H A DAbstractMapBasedMultimap.java842 public List<V> subList(int fromIndex, int toIndex) { argument
845 getListDelegate().subList(fromIndex, toIndex),
H A DSynchronized.java378 public List<E> subList(int fromIndex, int toIndex) { argument
380 return list(delegate().subList(fromIndex, toIndex), mutex);
/external/guava/guava/src/com/google/common/primitives/
H A DInts.java582 @Override public List<Integer> subList(int fromIndex, int toIndex) { argument
584 checkPositionIndexes(fromIndex, toIndex, size);
585 if (fromIndex == toIndex) {
588 return new IntArrayAsList(array, start + fromIndex, start + toIndex);
H A DLongs.java615 @Override public List<Long> subList(int fromIndex, int toIndex) { argument
617 checkPositionIndexes(fromIndex, toIndex, size);
618 if (fromIndex == toIndex) {
621 return new LongArrayAsList(array, start + fromIndex, start + toIndex);
H A DShorts.java581 @Override public List<Short> subList(int fromIndex, int toIndex) { argument
583 checkPositionIndexes(fromIndex, toIndex, size);
584 if (fromIndex == toIndex) {
587 return new ShortArrayAsList(array, start + fromIndex, start + toIndex);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DLists.java688 int fromIndex, int toIndex) {
689 checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
690 return charactersOf(string.substring(fromIndex, toIndex));
799 @Override protected void removeRange(int fromIndex, int toIndex) { argument
800 subList(fromIndex, toIndex).clear();
815 @Override public List<T> subList(int fromIndex, int toIndex) { argument
816 checkPositionIndexes(fromIndex, toIndex, size());
818 reversePosition(toIndex), reversePosition(fromIndex)));
974 final List<E> list, int fromIndex, int toIndex) {
993 return wrapper.subList(fromIndex, toInde
687 subList( int fromIndex, int toIndex) argument
973 subListImpl( final List<E> list, int fromIndex, int toIndex) argument
[all...]
H A DAbstractMapBasedMultimap.java764 public List<V> subList(int fromIndex, int toIndex) { argument
767 getListDelegate().subList(fromIndex, toIndex),
H A DSynchronized.java362 public List<E> subList(int fromIndex, int toIndex) { argument
364 return list(delegate().subList(fromIndex, toIndex), mutex);
/external/doclava/src/com/google/doclava/
H A DComment.java160 private int findStartIndexOfInlineTag(String text, int fromIndex, int toIndex) { argument
161 for (int i = fromIndex; i < (toIndex-3); i++) {
170 private int findEndIndexOfInlineTag(String text, int fromIndex, int toIndex) { argument
172 for (int i = fromIndex; i < toIndex; i++) {
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DUTF16.java1556 * (UTF16.charAt(source, i) == char32 &amp;&amp; i &gt;= fromIndex) is true.
1571 * @param fromIndex The index to start the search from.
1573 * or after fromIndex, or -1 if the codepoint does not occur.
1575 public static int indexOf(String source, int char32, int fromIndex) { argument
1582 return source.indexOf((char) char32, fromIndex);
1586 int result = source.indexOf((char) char32, fromIndex);
1601 return source.indexOf(char32str, fromIndex);
1626 * @param fromIndex The index to start the search from.
1630 public static int indexOf(String source, String str, int fromIndex) { argument
1634 return source.indexOf(str, fromIndex);
1784 lastIndexOf(String source, int char32, int fromIndex) argument
1849 lastIndexOf(String source, String str, int fromIndex) argument
[all...]
H A DUnicodeSet.java4066 * Span a string backwards (from the fromIndex) using this UnicodeSet.
4067 * If the fromIndex is less than 0, spanBack will return 0.
4068 * If fromIndex is greater than the string length, spanBack will start from the string length.
4071 * @param fromIndex The index of the char (exclusive) that the string should be spanned backwards
4075 public int spanBack(CharSequence s, int fromIndex, SpanCondition spanCondition) { argument
4076 if (fromIndex <= 0) {
4079 if (fromIndex > s.length()) {
4080 fromIndex = s.length();
4084 return bmpSet.spanBack(s, fromIndex, spanCondition);
4087 return stringSpan.spanBack(s, fromIndex, spanConditio
4600 findIn(CharSequence value, int fromIndex, boolean findNot) argument
4622 findLastIn(CharSequence value, int fromIndex, boolean findNot) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUTF16.java1616 * (UTF16.charAt(source, i) == char32 &amp;&amp; i &gt;= fromIndex) is true.
1631 * @param fromIndex The index to start the search from.
1633 * or after fromIndex, or -1 if the codepoint does not occur.
1636 public static int indexOf(String source, int char32, int fromIndex) { argument
1643 return source.indexOf((char) char32, fromIndex);
1647 int result = source.indexOf((char) char32, fromIndex);
1662 return source.indexOf(char32str, fromIndex);
1687 * @param fromIndex The index to start the search from.
1692 public static int indexOf(String source, String str, int fromIndex) { argument
1696 return source.indexOf(str, fromIndex);
1849 lastIndexOf(String source, int char32, int fromIndex) argument
1915 lastIndexOf(String source, String str, int fromIndex) argument
[all...]
H A DUnicodeSet.java4159 * Span a string backwards (from the fromIndex) using this UnicodeSet.
4160 * If the fromIndex is less than 0, spanBack will return 0.
4161 * If fromIndex is greater than the string length, spanBack will start from the string length.
4164 * @param fromIndex The index of the char (exclusive) that the string should be spanned backwards
4169 public int spanBack(CharSequence s, int fromIndex, SpanCondition spanCondition) { argument
4170 if (fromIndex <= 0) {
4173 if (fromIndex > s.length()) {
4174 fromIndex = s.length();
4178 return bmpSet.spanBack(s, fromIndex, spanCondition);
4181 return stringSpan.spanBack(s, fromIndex, spanConditio
4716 findIn(CharSequence value, int fromIndex, boolean findNot) argument
4737 findLastIn(CharSequence value, int fromIndex, boolean findNot) argument
[all...]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DCollationPerformanceTest.java1145 void qSortImpl_java_usekeys(String src[], int fromIndex, int toIndex, java.text.Collator c) { argument
1146 int low = fromIndex;
1155 while((high > fromIndex) && (compare(c.getCollationKey(src[high]), c.getCollationKey(middle)) > 0)) {
1166 if(fromIndex < high) {
1167 qSortImpl_java_usekeys(src, fromIndex, high, c);
1176 void qSortImpl_icu_usekeys(String src[], int fromIndex, int toIndex, com.ibm.icu.text.Collator c) { argument
1177 int low = fromIndex;
1186 while((high > fromIndex) && (compare(c.getCollationKey(src[high]), c.getCollationKey(middle)) > 0)) {
1197 if(fromIndex < high) {
1198 qSortImpl_icu_usekeys(src, fromIndex, hig
1207 qSortImpl_nokeys(String src[], int fromIndex, int toIndex, Comparator c) argument
[all...]
/external/guice/extensions/persist/lib/
H A Dcommons-collections.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt META-INF/NOTICE ...
/external/libpng/contrib/libtests/
H A Dpngvalid.c580 png_const_bytep fromBuffer, png_uint_32 fromIndex, unsigned int pixelSize,
587 fromIndex *= pixelSize;
595 unsigned int sourceByte = fromBuffer[fromIndex >> 3];
598 fromIndex &= 7;
601 if (fromIndex > 0) sourceByte >>= fromIndex; local
607 if (fromIndex > 0) sourceByte <<= fromIndex; local
614 memmove(toBuffer+(toIndex>>3), fromBuffer+(fromIndex>>3), pixelSize>>3);
579 pixel_copy(png_bytep toBuffer, png_uint_32 toIndex, png_const_bytep fromBuffer, png_uint_32 fromIndex, unsigned int pixelSize, int littleendian) argument
/external/libphonenumber/demo/war/WEB-INF/lib/
H A Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ...

Completed in 532 milliseconds

1234