HomeSort by relevance Sort by last modified time
    Searched refs:endIndex (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /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/icu4c/common/unicode/
umisc.h 47 int32_t endIndex;
chariter.h 145 * (toward endIndex()). If there are
155 * (toward endIndex()). If there are
489 * (toward endIndex()), and returns that code unit. If there are
498 * (toward endIndex()), and returns that code point. If there are
558 inline int32_t endIndex(void) const;
701 CharacterIterator::endIndex(void) const {
  /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...]
  /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 + "]";
  /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/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--;
  /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) {
  /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;
  /external/proguard/src/proguard/
WordReader.java 177 int endIndex;
184 endIndex = ++currentIndex;
206 endIndex = currentIndex++;
225 endIndex = currentIndex;
229 currentWord = currentLine.substring(startIndex, endIndex);
  /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...]
  /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 89 int endIndex = data.length;
90 while (startIndex < endIndex) {
117 int endIndex = data.length;
  /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/apache-http/src/org/apache/http/impl/auth/
AuthSchemeBase.java 105 int endIndex = pos;
106 String s = buffer.substring(beginIndex, endIndex);
  /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;
  /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/core/java/android/bluetooth/
AtParser.java 311 int endIndex = findChar(';', input, index);
318 if (i >= endIndex) {
323 if (i + 1 < endIndex) {
349 generateArgs(input.substring(i + 1, endIndex));
357 index = endIndex;
  /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/icu4c/test/intltest/
tstnrapi.cpp 90 copy.endIndex()!=iter.endIndex()
115 if(copy.endIndex()!=s.length()-1) {
  /external/webkit/Source/WebCore/html/parser/
HTMLSourceTracker.cpp 59 int length = token.endIndex() - token.startIndex() - m_sourceFromPreviousSegments.length();
  /libcore/luni/src/test/java/tests/api/java/util/
ArraysTest.java     [all...]
  /external/proguard/src/proguard/retrace/
ReTrace.java 253 int endIndex = matcher.end(expressionTypeIndex + 1);
308 lineIndex = endIndex;
518 int endIndex = obfuscatedArguments.indexOf(',', startIndex);
519 if (endIndex < 0)
524 originalArguments.append(originalType(obfuscatedArguments.substring(startIndex, endIndex).trim())).append(',');
526 startIndex = endIndex + 1;

Completed in 3126 milliseconds

1 2 3 4