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

1 2 3 4 5

  /frameworks/base/telephony/java/com/android/internal/telephony/
WspTypeDecoder.java 71 * @param startIndex The starting position of the "Text-string" in this pdu
77 public boolean decodeTextString(int startIndex) {
78 int index = startIndex;
82 dataLength = index - startIndex + 1;
83 if (wspData[startIndex] == 127) {
84 stringValue = new String(wspData, startIndex+1, dataLength - 2);
86 stringValue = new String(wspData, startIndex, dataLength - 1);
94 * @param startIndex The starting position of the "Short-integer" in this pdu
100 public boolean decodeShortInteger(int startIndex) {
101 if ((wspData[startIndex] & 0x80) == 0)
    [all...]
  /libcore/luni/src/main/java/org/apache/xpath/functions/
FuncSubstring.java 58 int startIndex;
66 startIndex = 0;
71 startIndex = (start > 0) ? (int) start - 1 : 0;
85 if (startIndex > lenOfS1)
86 startIndex = lenOfS1;
88 substr = s1.substring(startIndex, end);
92 if (startIndex > lenOfS1)
93 startIndex = lenOfS1;
94 substr = s1.substring(startIndex);
  /external/webkit/JavaScriptCore/runtime/
ArgList.cpp 31 void ArgList::getSlice(int startIndex, ArgList& result) const
33 if (startIndex <= 0 || static_cast<unsigned>(startIndex) >= m_argCount) {
37 result = ArgList(m_args + startIndex, m_argCount - startIndex);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
IconMerger.java 77 int startIndex = -1;
81 startIndex = i+1;
89 if (moreView == null || startIndex < 0) {
93 + " startIndex=" + startIndex);
111 for (i=startIndex; i<N; i++) {
  /external/proguard/src/proguard/classfile/util/
ExternalTypeEnumeration.java 81 int startIndex = index;
85 startIndex);
91 startIndex);
98 return descriptor.substring(startIndex, index++).trim();
InternalTypeEnumeration.java 84 int startIndex = index;
104 return descriptor.substring(startIndex, index);
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
ComprehensionTlv.java 81 * @param startIndex Index in data at which to start parsing
85 public static List<ComprehensionTlv> decodeMany(byte[] data, int startIndex)
89 while (startIndex < endIndex) {
90 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex);
92 startIndex = ctlv.mValueIndex + ctlv.mLength;
102 * @param startIndex Index in data at which to start parsing
106 public static ComprehensionTlv decode(byte[] data, int startIndex)
109 int curIndex = startIndex;
  /libcore/luni/src/test/java/tests/api/java/util/
ArraysTest.java     [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
ArraysTest.java 784 int startIndex = arraySize / 4;
792 Arrays.sort(reversedArray, startIndex, endIndex);
793 for (int counter = 0; counter < startIndex; counter++)
796 for (int counter = startIndex; counter < endIndex - 1; counter++)
805 Arrays.sort(reversedArray, startIndex + 1, startIndex);
811 Arrays.sort(reversedArray, -1, startIndex);
817 Arrays.sort(reversedArray, startIndex, reversedArray.length + 1);
824 Arrays.sort(new byte[1], startIndex + 1, startIndex);
    [all...]
  /libcore/luni/src/main/java/java/util/
HugeEnumSet.java 332 int startIndex = startOrdinal / BIT_IN_LONG;
339 if (startIndex == endIndex) {
341 size -= Long.bitCount(bits[startIndex]);
342 bits[startIndex] |= range;
343 size += Long.bitCount(bits[startIndex]);
347 size -= Long.bitCount(bits[startIndex]);
348 bits[startIndex] |= range;
349 size += Long.bitCount(bits[startIndex]);
357 for (int i = (startIndex + 1); i <= (endIndex - 1); i++) {
Arrays.java 193 * @param startIndex the inclusive start index.
198 * @throws IllegalArgumentException if {@code startIndex > endIndex}
199 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
202 public static int binarySearch(byte[] array, int startIndex, int endIndex, byte value) {
203 checkBinarySearchBounds(startIndex, endIndex, array.length);
204 int lo = startIndex;
243 * @param startIndex the inclusive start index.
248 * @throws IllegalArgumentException if {@code startIndex > endIndex}
249 * @throws ArrayIndexOutOfBoundsException if {@code startIndex < 0 || endIndex > array.length}
252 public static int binarySearch(char[] array, int startIndex, int endIndex, char value)
    [all...]
  /external/proguard/src/proguard/
WordReader.java 176 int startIndex = currentIndex;
179 char startChar = currentLine.charAt(startIndex);
190 startIndex++;
200 currentWord = currentLine.substring(startIndex-1, currentIndex);
229 currentWord = currentLine.substring(startIndex, 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");
140 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) {
141 u_fprintf(out, "startIndex() or endIndex() failed\n");
  /external/proguard/src/proguard/retrace/
ReTrace.java 211 int startIndex = matcher.start(expressionTypeIndex + 1);
212 if (startIndex >= 0)
250 int startIndex = matcher.start(expressionTypeIndex + 1);
251 if (startIndex >= 0)
257 outLine.append(line.substring(lineIndex, startIndex));
515 int startIndex = 0;
518 int endIndex = obfuscatedArguments.indexOf(',', startIndex);
524 originalArguments.append(originalType(obfuscatedArguments.substring(startIndex, endIndex).trim())).append(',');
526 startIndex = endIndex + 1;
529 originalArguments.append(originalType(obfuscatedArguments.substring(startIndex).trim()))
    [all...]
  /external/webkit/WebKitTools/Scripts/
bisect-builds 130 my $startIndex = $revisions[0] ? findNearestNightlyIndex(@nightlies, $revisions[0], 'ceil') : 0;
140 $nightlies[$startIndex]->{rev};
141 downloadNightly($nightlies[$startIndex]->{file}, $nightlyFilesURLBase, $nightlyDownloadDirectory);
142 mountAndRunNightly($nightlies[$startIndex]->{file}, $nightlyDownloadDirectory, $safariPath, $tempFile);
143 $didReproduceBug = promptForTest($nightlies[$startIndex]->{rev});
144 $startIndex-- if $didReproduceBug < 0;
165 printStatus($nightlies[$startIndex]->{rev}, $nightlies[$endIndex]->{rev}, $isProgression);
168 while (abs($endIndex - $startIndex) > 1) {
169 my $index = $startIndex + int(($endIndex - $startIndex) / 2)
    [all...]
  /external/chromium/third_party/icu/source/i18n/
plurfmt.cpp 475 int32_t startIndex=0;
491 result += UnicodeString(message, startIndex, i);
493 startIndex = i + 1;
498 if ( startIndex < message.length() ) {
499 result += UnicodeString(message, startIndex, message.length()-startIndex);
  /external/icu4c/i18n/
plurfmt.cpp 475 int32_t startIndex=0;
491 result += UnicodeString(message, startIndex, i);
493 startIndex = i + 1;
498 if ( startIndex < message.length() ) {
499 result += UnicodeString(message, startIndex, message.length()-startIndex);
  /external/libxml2/include/libxml/
xpointer.h 55 int startindex,
  /libcore/xml/src/main/java/org/kxml2/kdom/
Node.java 186 startIndex).
188 public int indexOf(String name, int startIndex) {
189 return indexOf(getNamespace(), name, startIndex);
198 public int indexOf(String namespace, String name, int startIndex) {
202 for (int i = startIndex; i < len; i++) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/
RecognitionView.java 268 int startIndex = startPosition - 2000; // include 250ms before speech
269 if (startIndex < 0) {
270 startIndex = 0;
275 final int count = (endIndex - startIndex) / numSamplePerWave;
283 final int avabs = getAverageAbs(waveBuffer, startIndex, i , numSamplePerWave);
  /external/chromium/third_party/icu/source/common/
uvector.cpp 288 int32_t UVector::indexOf(void* obj, int32_t startIndex) const {
291 return indexOf(key, startIndex, HINT_KEY_POINTER);
294 int32_t UVector::indexOf(int32_t obj, int32_t startIndex) const {
297 return indexOf(key, startIndex, HINT_KEY_INTEGER);
301 int32_t UVector::indexOf(UHashTok key, int32_t startIndex, int8_t hint) const {
304 for (i=startIndex; i<count; ++i) {
310 for (i=startIndex; i<count; ++i) {
  /external/icu4c/common/
uvector.cpp 288 int32_t UVector::indexOf(void* obj, int32_t startIndex) const {
291 return indexOf(key, startIndex, HINT_KEY_POINTER);
294 int32_t UVector::indexOf(int32_t obj, int32_t startIndex) const {
297 return indexOf(key, startIndex, HINT_KEY_INTEGER);
301 int32_t UVector::indexOf(UHashTok key, int32_t startIndex, int8_t hint) const {
304 for (i=startIndex; i<count; ++i) {
310 for (i=startIndex; i<count; ++i) {
  /external/chromium/third_party/icu/source/test/intltest/
citrtest.cpp 181 if(test->startIndex() != 0){
182 errln("Failed: startIndex()");
207 if (test1d->startIndex() < 0)
208 errln("Construction failed: startIndex is negative");
211 if (test1d->getIndex() < test1d->startIndex() || test1d->endIndex() < test1d->getIndex())
304 if (test8a->startIndex() < 0)
305 errln("Construction failed: startIndex is negative");
308 if (test8c->getIndex() < test8c->startIndex() || test8c->endIndex() < test8c->getIndex())
393 if (iter.startIndex() != 0 || iter.endIndex() != text.length())
394 errln("startIndex() or endIndex() failed")
    [all...]
  /external/icu4c/test/intltest/
citrtest.cpp 181 if(test->startIndex() != 0){
182 errln("Failed: startIndex()");
207 if (test1d->startIndex() < 0)
208 errln("Construction failed: startIndex is negative");
211 if (test1d->getIndex() < test1d->startIndex() || test1d->endIndex() < test1d->getIndex())
304 if (test8a->startIndex() < 0)
305 errln("Construction failed: startIndex is negative");
308 if (test8c->getIndex() < test8c->startIndex() || test8c->endIndex() < test8c->getIndex())
393 if (iter.startIndex() != 0 || iter.endIndex() != text.length())
394 errln("startIndex() or endIndex() failed")
    [all...]
  /frameworks/base/core/tests/utillib/src/coretestutils/http/
MockWebServer.java 314 int startIndex = 0;
339 startIndex = writeLength;
346 out.write(currentBlock, startIndex, writeLength);
351 out.write(currentBlock, startIndex, writeLength);

Completed in 1201 milliseconds

1 2 3 4 5