HomeSort by relevance Sort by last modified time
    Searched full:endindex (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
ArraysCompatUtils.java 26 public static int binarySearch(int[] array, int startIndex, int endIndex, int value) {
29 array, startIndex, endIndex, value);
32 return compatBinarySearch(array, startIndex, endIndex, value);
36 /* package */ static int compatBinarySearch(int[] array, int startIndex, int endIndex,
38 if (startIndex > endIndex) throw new IllegalArgumentException();
39 if (startIndex < 0 || endIndex > array.length) throw new ArrayIndexOutOfBoundsException();
41 final int work[] = new int[endIndex - startIndex];
  /external/apache-http/src/org/apache/http/util/
CharArrayBuffer.java 206 public int indexOf(int ch, int beginIndex, int endIndex) {
210 if (endIndex > this.len) {
211 endIndex = this.len;
213 if (beginIndex > endIndex) {
216 for (int i = beginIndex; i < endIndex; i++) {
228 public String substring(int beginIndex, int endIndex) {
232 if (endIndex > this.len) {
235 if (beginIndex > endIndex) {
238 return new String(this.buffer, beginIndex, endIndex - beginIndex);
241 public String substringTrimmed(int beginIndex, int endIndex) {
    [all...]
  /external/jsilver/src/com/google/streamhtmlparser/util/
JavascriptTokenBuffer.java 61 private int endIndex;
70 endIndex = 0;
83 endIndex = aJavascriptTokenBuffer.endIndex;
115 buffer[endIndex] = input;
116 endIndex = (endIndex + 1) % buffer.length;
117 if (endIndex == startIndex) {
118 startIndex = (endIndex + 1) % buffer.length;
129 if (startIndex == endIndex) {
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
NonCopyingSort.h 69 ptrdiff_t endIndex = count - 1;
70 while (endIndex > 0) {
71 swap(start[endIndex], start[0]);
72 siftDown(start, 0, endIndex - 1, compareLess);
73 endIndex--;
  /libcore/luni/src/main/java/java/text/
FieldPosition.java 34 private int myField, beginIndex, endIndex;
75 beginIndex = endIndex = 0;
96 && beginIndex == pos.beginIndex && endIndex == pos.endIndex;
114 return endIndex;
138 return attributeHash + myField * 10 + beginIndex * 100 + endIndex;
158 endIndex = index;
169 + myField + ", beginIndex=" + beginIndex + ", endIndex="
170 + endIndex + "]";
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
WaveformImage.java 57 int endIndex = end / 2 + delay;
58 if (end == 0 || endIndex >= numSamples) {
59 endIndex = numSamples;
65 final int size = endIndex - index;
  /frameworks/base/core/java/android/database/
MatrixCursor.java 87 int endIndex = rowCount * columnCount;
88 ensureCapacity(endIndex);
89 int start = endIndex - columnCount;
90 return new RowBuilder(start, endIndex);
190 private final int endIndex;
192 RowBuilder(int index, int endIndex) {
194 this.endIndex = endIndex;
205 if (index == endIndex) {
  /libcore/luni/src/test/java/libcore/java/text/
OldFieldPositionTest.java 68 assertEquals("EndIndex should have been set to 3", 3, fpos
72 assertEquals("endIndex should have been set to Integer.MAX_VALUE",
76 assertEquals("endIndex should have been set to -1",
  /external/icu4c/common/unicode/
umisc.h 47 int32_t endIndex;
  /external/icu4c/test/intltest/
sfwdchit.h 41 * (toward endIndex()). If there are
49 * (toward endIndex()). If there are
tstnrapi.cpp 90 copy.endIndex()!=iter.endIndex()
115 if(copy.endIndex()!=s.length()-1) {
  /external/icu4c/samples/citer/
citer.cpp 76 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) {
77 u_fprintf(out, "startIndex() or endIndex() failed\n");
135 int32_t i = iter.endIndex();
140 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) {
141 u_fprintf(out, "startIndex() or endIndex() failed\n");
  /external/proguard/src/proguard/
WordReader.java 177 int endIndex;
184 endIndex = ++currentIndex;
206 endIndex = currentIndex++;
225 endIndex = currentIndex;
229 currentWord = currentLine.substring(startIndex, endIndex);
  /frameworks/base/core/java/android/net/http/
CharArrayBuffers.java 67 int endIndex = buffer.length();
70 for (int i = beginIndex; i < endIndex; i++) {
  /frameworks/base/telephony/java/com/android/internal/telephony/cat/
BerTlv.java 69 int endIndex = data.length;
104 if (endIndex - curIndex < length) {
ComprehensionTlv.java 88 int endIndex = data.length;
89 while (startIndex < endIndex) {
110 int endIndex = data.length;
  /external/webkit/Tools/Scripts/
bisect-builds 132 my $endIndex = $revisions[1] ? findNearestNightlyIndex(@nightlies, $revisions[1], 'floor') : $#nightlies;
154 $nightlies[$endIndex]->{rev};
155 downloadNightly($nightlies[$endIndex]->{file}, $nightlyFilesURLBase, $nightlyDownloadDirectory);
156 mountAndRunNightly($nightlies[$endIndex]->{file}, $nightlyDownloadDirectory, $safariPath, $tempFile);
157 $didReproduceBug = promptForTest($nightlies[$endIndex]->{rev});
158 $endIndex++ if $didReproduceBug < 0;
166 printStatus($nightlies[$startIndex]->{rev}, $nightlies[$endIndex]->{rev}, $isProgression);
169 while (abs($endIndex - $startIndex) > 1) {
170 my $index = $startIndex + int(($endIndex - $startIndex) / 2);
175 my $buildsLeft = max(max(0, $endIndex - $index - 1), max(0, $index - $startIndex - 1))
    [all...]
  /libcore/luni/src/main/java/java/util/
Arrays.java 179 * @param endIndex the exclusive start index.
183 * @throws IllegalArgumentException if {@code startIndex > endIndex}
184 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
187 public static int binarySearch(byte[] array, int startIndex, int endIndex, byte value) {
188 checkBinarySearchBounds(startIndex, endIndex, array.length);
190 int hi = endIndex - 1;
229 * @param endIndex the exclusive start index.
233 * @throws IllegalArgumentException if {@code startIndex > endIndex}
234 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
237 public static int binarySearch(char[] array, int startIndex, int endIndex, char value)
    [all...]
HugeEnumSet.java 329 int endIndex = endOrdinal / BIT_IN_LONG;
332 if (startIndex == endIndex) {
347 size -= Long.bitCount(bits[endIndex]);
348 bits[endIndex] |= range;
349 size += Long.bitCount(bits[endIndex]);
350 for (int i = (startIndex + 1); i <= (endIndex - 1); i++) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
IntRangeManager.java 214 for (int endIndex = startIndex+1; endIndex < len; endIndex++) {
215 IntRange endRange = mRanges.get(endIndex);
223 // coalesce range with following ranges up to endIndex-1
229 for (int i = joinIndex; i < endIndex; i++) {
246 // coalesce range with following ranges up to endIndex
252 for (int i = joinIndex; i <= endIndex; i++) {
293 int endIndex = startIndex;
299 endIndex = testIndex
    [all...]
  /external/webkit/Source/WebCore/dom/
SelectElement.cpp 787 int endIndex = 0;
794 endIndex = nextSelectableListIndex(data, element, startIndex);
796 endIndex = nextSelectableListIndexPageAway(data, element, startIndex, SkipForwards);
801 endIndex = previousSelectableListIndex(data, element, startIndex);
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
FieldPositionTest.java 96 assertTrue("Objects with a different endIndex were still equal!", !fpos
197 assertEquals("EndIndex should have been set to 3",
211 "java.text.FieldPosition[attribute=null, field=1, beginIndex=2, endIndex=3]",
219 + ", field=-1, beginIndex=4, endIndex=5]", fpos2
  /external/libxml2/include/libxml/
xpointer.h 57 int endindex);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
15.10.6.2-1.js 47 * 10. Let e be r's endIndex value.
54 * there is a match; not from i to i+1, but from i to "endIndex" e:
58 * Thus in the example below, the first endIndex e occurs after the
  /external/webkit/Source/WebCore/platform/audio/
AudioResamplerKernel.cpp 59 int endIndex = static_cast<int>(nextFractionalIndex + 1.0); // round up to next integer index
62 // We need to fill the buffer up to and including endIndex (so add 1) but we've already buffered m_fillIndex frames from last time.
63 size_t framesNeeded = 1 + endIndex - m_fillIndex;

Completed in 1418 milliseconds

1 2 3 4 5