/frameworks/base/telephony/java/com/android/internal/telephony/ |
WspTypeDecoder.java | 69 * @param startIndex The starting position of the "Text-string" in this pdu 75 public boolean decodeTextString(int startIndex) { 76 int index = startIndex; 80 dataLength = index - startIndex + 1; 81 if (wspData[startIndex] == 127) { 82 stringValue = new String(wspData, startIndex+1, dataLength - 2); 84 stringValue = new String(wspData, startIndex, dataLength - 1); 92 * @param startIndex The starting position of the "Short-integer" in this pdu 98 public boolean decodeShortInteger(int startIndex) { 99 if ((wspData[startIndex] & 0x80) == 0) [all...] |
/dalvik/libcore/xml/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/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);
|
/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);
|
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/regex/ |
NativeRegEx.java | 44 * Attempts to match the input string, beginning at startIndex, against the 47 public static native boolean matches(int regex, int startIndex); 53 public static native boolean lookingAt(int regex, int startIndex); 59 public static native boolean find(int regex, int startIndex);
|
/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;
|
/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);
|
/frameworks/base/services/java/com/android/server/status/ |
IconMerger.java | 55 int startIndex = -1; 60 startIndex = i+1; 68 if (moreView == null || startIndex < 0) { 86 for (i=startIndex; i<N; i++) {
|
/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...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
ArraysTest.java | [all...] |
/dalvik/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++) {
|
Formatter.java | [all...] |
/external/icu4c/common/unicode/ |
chariter.h | 510 * (toward startIndex()), and returns that code unit. If there are 519 * (toward startIndex()), and returns that code point. If there are 547 inline int32_t startIndex(void) const; 696 CharacterIterator::startIndex(void) const {
|
/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/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) {
|
uvector.h | 166 int32_t indexOf(void* obj, int32_t startIndex = 0) const; 168 int32_t indexOf(int32_t obj, int32_t startIndex = 0) const; 275 int32_t indexOf(UHashTok key, int32_t startIndex = 0, int8_t hint = 0) const;
|
/dalvik/libcore/icu/src/main/native/ |
NativeRegEx.cpp | 150 jint startIndex) 154 jboolean result = uregex_matches(data->regex, startIndex, &status); 163 jint startIndex) 167 jboolean result = uregex_lookingAt(data->regex, startIndex, &status); 176 jint startIndex) 180 jboolean result = uregex_find(data->regex, startIndex, &status);
|
/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/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/optimize/evaluation/ |
VariableOptimizer.java | 104 int startIndex = 128 for (int newIndex = startIndex; newIndex < oldIndex; newIndex++)
|
/external/webkit/WebCore/dom/ |
SelectElement.h | 70 static int nextSelectableListIndex(SelectElementData&, Element*, int startIndex); 71 static int previousSelectableListIndex(SelectElementData&, Element*, int startIndex);
|
/frameworks/base/location/java/com/android/internal/location/ |
GpsXtraDownloader.java | 88 int startIndex = mNextServerIndex; 104 if (mNextServerIndex == startIndex) break;
|
/external/icu4c/i18n/unicode/ |
uregex.h | 288 * If startIndex >= zero the match operation starts at the specified 292 * If startIndex == -1 the match must cover the input region, or the entire 297 * @param startIndex The input string index at which to begin matching, or -1 305 int32_t startIndex, 313 * <p>If startIndex is >= 0 any input region that was set for this 325 * @param startIndex The input string index at which to begin matching, or 333 int32_t startIndex, 338 * If startIndex is >= zero the search for a match begins at the specified index, 340 * Matcher.find(startIndex) in Java. 342 * If startIndex == -1 the search begins at the start of the input region [all...] |
/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);
|