Searched refs:fromIndex (Results 1 - 25 of 82) sorted by relevance

1234

/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DXMLStringDefault.java418 * no smaller than <code>fromIndex</code>, then the index of the first
422 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex)
425 * position <code>fromIndex</code>, then <code>-1</code> is returned.
427 * There is no restriction on the value of <code>fromIndex</code>. If it
434 * @param fromIndex the index to start the search from.
437 * than or equal to <code>fromIndex</code>, or <code>-1</code>
440 public int indexOf(int ch, int fromIndex) argument
442 return m_str.indexOf(ch, fromIndex);
471 * this.charAt(k) == ch) && (k <= fromIndex)
476 * @param fromIndex th
488 lastIndexOf(int ch, int fromIndex) argument
563 indexOf(String str, int fromIndex) argument
611 lastIndexOf(String str, int fromIndex) argument
[all...]
H A DXMLString.java352 * no smaller than <code>fromIndex</code>, then the index of the first
356 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex)
359 * position <code>fromIndex</code>, then <code>-1</code> is returned.
361 * There is no restriction on the value of <code>fromIndex</code>. If it
368 * @param fromIndex the index to start the search from.
371 * than or equal to <code>fromIndex</code>, or <code>-1</code>
374 public abstract int indexOf(int ch, int fromIndex); argument
399 * this.charAt(k) == ch) && (k <= fromIndex)
404 * @param fromIndex the index to start the search from. There is no
405 * restriction on the value of <code>fromIndex</cod
416 lastIndexOf(int ch, int fromIndex) argument
482 indexOf(String str, int fromIndex) argument
524 lastIndexOf(String str, int fromIndex) argument
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DImmutableSortedAsList.java61 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
62 Preconditions.checkPositionIndexes(fromIndex, toIndex, size());
63 return (fromIndex == toIndex) ? ImmutableList.<E>of()
65 backingList.subList(fromIndex, toIndex), backingSet.comparator())
H A DForwardingList.java110 public List<E> subList(int fromIndex, int toIndex) { argument
111 return delegate().subList(fromIndex, toIndex);
213 @Beta protected List<E> standardSubList(int fromIndex, int toIndex) { argument
214 return Lists.subListImpl(this, fromIndex, toIndex);
H A DRegularImmutableList.java117 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
118 Preconditions.checkPositionIndexes(fromIndex, toIndex, size);
119 return (fromIndex == toIndex)
122 array, offset + fromIndex, toIndex - fromIndex);
H A DSingletonImmutableList.java107 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
108 Preconditions.checkPositionIndexes(fromIndex, toIndex, 1);
109 return (fromIndex == toIndex) ? ImmutableList.<E>of() : this;
H A DEmptyImmutableList.java118 @Override public ImmutableList<Object> subList(int fromIndex, int toIndex) { argument
119 checkPositionIndexes(fromIndex, toIndex, 0);
H A DTransformedImmutableList.java93 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
94 return new TransformedView(backingList.subList(fromIndex, toIndex));
/external/arduino/hardware/arduino/cores/arduino/
H A DWString.cpp268 int String::indexOf( char ch, unsigned int fromIndex ) const
270 if ( fromIndex >= _length )
273 const char* temp = strchr( &_buffer[fromIndex], ch );
285 int String::indexOf( const String &s2, unsigned int fromIndex ) const
287 if ( fromIndex >= _length )
290 const char *theFind = strstr( &_buffer[ fromIndex ], s2._buffer );
303 int String::lastIndexOf( char ch, unsigned int fromIndex ) const
305 if ( fromIndex >= _length )
308 char tempchar = _buffer[fromIndex + 1];
309 _buffer[fromIndex
[all...]
H A DWString.h63 int indexOf( char ch, unsigned int fromIndex ) const;
65 int indexOf( const String &str, unsigned int fromIndex ) const;
67 int lastIndexOf( char ch, unsigned int fromIndex ) const;
69 int lastIndexOf( const String &str, unsigned int fromIndex ) const;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DListExtensions.cs206 public static IList subList( this IList list, int fromIndex, int toIndex ) argument
208 return new SubList( list, fromIndex, toIndex );
212 // .Skip( fromIndex )
213 // .Take( toIndex - fromIndex + 1 )
217 public static IList<T> subList<T>( this IList<T> list, int fromIndex, int toIndex ) argument
219 return new SubList<T>( list, fromIndex, toIndex );
222 // .Skip( fromIndex )
223 // .Take( toIndex - fromIndex + 1 )
227 public static IList<T> subList<T>( this List<T> list, int fromIndex, int toIndex ) argument
229 return new SubList<T>( list, fromIndex, toInde
[all...]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DTokenRewriteStream.as141 public function replaceRange(fromIndex:int, toIndex:int, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void {
142 if ( fromIndex > toIndex || fromIndex<0 || toIndex<0 || toIndex >= tokens.length ) {
143 throw new Error("replace: range invalid: "+fromIndex+".."+toIndex+"(size="+tokens.length+")");
145 var op:RewriteOperation = new ReplaceOp(fromIndex, toIndex, text);
163 public function removeRange(fromIndex:int, toIndex:int, programName:String = DEFAULT_PROGRAM_NAME):void {
164 replaceRange(fromIndex, toIndex, null, programName);
484 public function ReplaceOp(fromIndex:int, toIndex:int, text:Object) {
485 super(fromIndex, text);
502 public function DeleteOp(fromIndex
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXString.java658 * no smaller than <code>fromIndex</code>, then the index of the first
662 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex)
665 * position <code>fromIndex</code>, then <code>-1</code> is returned.
667 * There is no restriction on the value of <code>fromIndex</code>. If it
674 * @param fromIndex the index to start the search from.
677 * than or equal to <code>fromIndex</code>, or <code>-1</code>
680 public int indexOf(int ch, int fromIndex) argument
682 return str().indexOf(ch, fromIndex);
711 * this.charAt(k) == ch) && (k <= fromIndex)
716 * @param fromIndex th
728 lastIndexOf(int ch, int fromIndex) argument
803 indexOf(String str, int fromIndex) argument
851 lastIndexOf(String str, int fromIndex) argument
[all...]
H A DXStringForFSB.java685 * no smaller than <code>fromIndex</code>, then the index of the first
689 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex)
692 * position <code>fromIndex</code>, then <code>-1</code> is returned.
694 * There is no restriction on the value of <code>fromIndex</code>. If it
701 * @param fromIndex the index to start the search from.
704 * than or equal to <code>fromIndex</code>, or <code>-1</code>
707 public int indexOf(int ch, int fromIndex) argument
713 if (fromIndex < 0)
715 fromIndex = 0;
717 else if (fromIndex >
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
H A DObjectPropertiesSection.js785 * @param {number} fromIndex
789 WebInspector.ArrayGroupingTreeElement = function(object, fromIndex, toIndex, propertyCount)
791 TreeElement.call(this, String.sprintf("[%d \u2026 %d]", fromIndex, toIndex), undefined, true);
794 this._fromIndex = fromIndex;
808 * @param {number} fromIndex
811 WebInspector.ArrayGroupingTreeElement._populateArray = function(treeElement, object, fromIndex, toIndex)
813 WebInspector.ArrayGroupingTreeElement._populateRanges(treeElement, object, fromIndex, toIndex, true);
819 * @param {number} fromIndex
824 WebInspector.ArrayGroupingTreeElement._populateRanges = function(treeElement, object, fromIndex, toIndex, topLevel)
826 object.callFunctionJSON(packRanges, [{value: fromIndex}, {valu
[all...]
/external/proguard/src/proguard/
H A DDataEntryWriterFactory.java40 * @param fromIndex the start index in the class path.
45 int fromIndex,
51 for (int index = toIndex - 1; index >= fromIndex; index--)
44 createDataEntryWriter(ClassPath classPath, int fromIndex, int toIndex) argument
H A DInputReader.java193 int fromIndex,
197 for (int index = fromIndex; index < toIndex; index++)
191 readInput(String messagePrefix, ClassPath classPath, int fromIndex, int toIndex, DataEntryReader reader) argument
/external/chromium_org/v8/test/mjsunit/
H A Dmirror-string.js65 assertEquals(fromJSON.fromIndex, 0);
/external/guava/guava/src/com/google/common/primitives/
H A DBytes.java327 @Override public List<Byte> subList(int fromIndex, int toIndex) { argument
329 checkPositionIndexes(fromIndex, toIndex, size);
330 if (fromIndex == toIndex) {
333 return new ByteArrayAsList(array, start + fromIndex, start + toIndex);
H A DBooleans.java410 @Override public List<Boolean> subList(int fromIndex, int toIndex) { argument
412 checkPositionIndexes(fromIndex, toIndex, size);
413 if (fromIndex == toIndex) {
416 return new BooleanArrayAsList(array, start + fromIndex, start + toIndex);
H A DChars.java526 @Override public List<Character> subList(int fromIndex, int toIndex) { argument
528 checkPositionIndexes(fromIndex, toIndex, size);
529 if (fromIndex == toIndex) {
532 return new CharArrayAsList(array, start + fromIndex, start + toIndex);
H A DDoubles.java472 @Override public List<Double> subList(int fromIndex, int toIndex) { argument
474 checkPositionIndexes(fromIndex, toIndex, size);
475 if (fromIndex == toIndex) {
478 return new DoubleArrayAsList(array, start + fromIndex, start + toIndex);
H A DFloats.java469 @Override public List<Float> subList(int fromIndex, int toIndex) { argument
471 checkPositionIndexes(fromIndex, toIndex, size);
472 if (fromIndex == toIndex) {
475 return new FloatArrayAsList(array, start + fromIndex, start + toIndex);
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
H A DPhoneNumberMatcher.java476 int fromIndex = 0;
480 fromIndex = normalizedCandidate.indexOf(countryCode) + countryCode.length();
485 // Fails if the substring of {@code normalizedCandidate} starting from {@code fromIndex}
487 fromIndex = normalizedCandidate.indexOf(formattedNumberGroups[i], fromIndex);
488 if (fromIndex < 0) {
491 // Moves {@code fromIndex} forward.
492 fromIndex += formattedNumberGroups[i].length();
493 if (i == 0 && fromIndex < normalizedCandidate.length()) {
500 Character.isDigit(normalizedCandidate.charAt(fromIndex))) {
[all...]
/external/chromium_org/ui/app_list/cocoa/
H A Dapps_grid_controller.h94 - (void)moveItemInView:(size_t)fromIndex

Completed in 4591 milliseconds

1234