/external/proguard/src/proguard/ |
ConfigurationWriter.java | 481 int breakIndex = comments.indexOf('\n', index); 615 string.indexOf(' ') >= 0 || 616 string.indexOf('@') >= 0 || 617 string.indexOf('{') >= 0 || 618 string.indexOf('}') >= 0 || 619 string.indexOf('(') >= 0 || 620 string.indexOf(')') >= 0 || 621 string.indexOf(':') >= 0 || 622 string.indexOf(';') >= 0 || 623 string.indexOf(',') >= 0 ? ("'" + string + "'") [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 138 assertTrue(source.indexOf("December") >= 0); 142 assertTrue(source.indexOf("Dec") >= 0); 143 assertTrue(source.indexOf("December") < 0); 146 assertTrue(source.indexOf("5") >= 0); 147 assertTrue(source.indexOf("30") >= 0);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
ProxyTest.java | 113 assertTrue(proxy.toString().indexOf(proxy.type().toString()) != -1); 115 assertTrue(proxy.toString().indexOf(proxy.address().toString()) != -1); 119 assertTrue(proxy.toString().indexOf(proxy.type().toString()) != -1); 121 assertTrue(proxy.toString().indexOf(proxy.address().toString()) != -1); 125 assertTrue(proxy.toString().indexOf(proxy.type().toString()) != -1);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
SystemIDResolver.java | 131 final int fragmentIndex = systemId.indexOf('#'); 132 final int queryIndex = systemId.indexOf('?'); 133 final int slashIndex = systemId.indexOf('/'); 134 final int colonIndex = systemId.indexOf(':'); 241 int secondColonIndex = systemId.indexOf(':', 5);
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
SystemIDResolver.java | 124 final int fragmentIndex = systemId.indexOf('#'); 125 final int queryIndex = systemId.indexOf('?'); 126 final int slashIndex = systemId.indexOf('/'); 127 final int colonIndex = systemId.indexOf(':'); 234 int secondColonIndex = systemId.indexOf(':', 5);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/news_i18n/ |
feed.html | 247 if (url.indexOf("http:") != 0 && url.indexOf("https:") != 0) { 283 if (url.indexOf(chrome.i18n.getMessage('newsUrl')) == 0) { 287 var index = url.indexOf("&url="); 290 index = url.indexOf("&");
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/news_i18n/ |
feed.html | 247 if (url.indexOf("http:") != 0 && url.indexOf("https:") != 0) { 283 if (url.indexOf(chrome.i18n.getMessage('newsUrl')) == 0) { 287 var index = url.indexOf("&url="); 290 index = url.indexOf("&");
|
/external/chromium_org/third_party/icu/source/common/ |
locutil.cpp | 61 int32_t end = result.indexOf(AT_SIGN_CHAR); 62 int32_t n = result.indexOf(PERIOD_CHAR); 69 n = result.indexOf(UNDERSCORE_CHAR); 152 i = id.indexOf((UChar)0x40, prev); 255 return child.indexOf(root) == 0 &&
|
uvectr32.cpp | 117 if (indexOf(other.elements[i]) < 0) { 126 if (indexOf(other.elements[i]) >= 0) { 136 int32_t j = indexOf(other.elements[i]); 148 int32_t i = other.indexOf(elements[j]); 187 int32_t UVector32::indexOf(int32_t key, int32_t startIndex) const {
|
/external/icu4c/common/ |
locutil.cpp | 61 int32_t end = result.indexOf(AT_SIGN_CHAR); 62 int32_t n = result.indexOf(PERIOD_CHAR); 69 n = result.indexOf(UNDERSCORE_CHAR); 152 i = id.indexOf((UChar)0x40, prev); 255 return child.indexOf(root) == 0 &&
|
uvectr32.cpp | 117 if (indexOf(other.elements[i]) < 0) { 126 if (indexOf(other.elements[i]) >= 0) { 136 int32_t j = indexOf(other.elements[i]); 148 int32_t i = other.indexOf(elements[j]); 187 int32_t UVector32::indexOf(int32_t key, int32_t startIndex) const {
|
/libcore/luni/src/test/java/tests/api/java/util/ |
VectorTest.java | 595 * java.util.Vector#indexOf(java.lang.Object) 598 // Test for method int java.util.Vector.indexOf(java.lang.Object) 599 assertEquals("Incorrect index returned", 10, tVector.indexOf("Test 10")); 601 .indexOf("XXXXXXXXXXX")); 604 assertTrue("Incorrect indexOf returned for null: " 605 + tVector.indexOf(null), tVector.indexOf(null) == 20); 609 * java.util.Vector#indexOf(java.lang.Object, int) 612 // Test for method int java.util.Vector.indexOf(java.lang.Object, int) 613 assertTrue("Failed to find correct index", (tVector.indexOf("Test 98" [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
VectorTest.java | 555 * @tests java.util.Vector#indexOf(java.lang.Object) 558 // Test for method int java.util.Vector.indexOf(java.lang.Object) 559 assertEquals("Incorrect index returned", 10, tVector.indexOf("Test 10")); 561 .indexOf("XXXXXXXXXXX")); 564 assertTrue("Incorrect indexOf returned for null: " 565 + tVector.indexOf(null), tVector.indexOf(null) == 20); 569 * @tests java.util.Vector#indexOf(java.lang.Object, int) 572 // Test for method int java.util.Vector.indexOf(java.lang.Object, int) 573 assertEquals("Failed to find correct index", tVector.indexOf("Test 98" [all...] |
/external/javassist/src/main/javassist/bytecode/ |
Descriptor.java | 81 int i2 = descriptor.indexOf(';', i++); 158 if (desc.indexOf(oldname) < 0) 165 int j = desc.indexOf('L', i); 177 i = desc.indexOf(';', j) + 1; 210 int j = desc.indexOf('L', i); 214 int k = desc.indexOf(';', j); 328 int i = desc.indexOf(')'); 369 int i = descriptor.indexOf(')'); 406 int i = desc.indexOf(')'); 469 return decl.substring(0, decl.indexOf(')') + 1) [all...] |
/external/chromium_org/v8/test/webkit/fast/js/kde/ |
Number-expected.txt | 86 PASS toFixedOrException(2,-1).indexOf('Range') >= 0 is true 89 PASS toFixedOrException(2,21).indexOf('Range') >= 0 is true 90 PASS toFixedOrException(-2,-1).indexOf('Range') >= 0 is true 93 PASS toFixedOrException(-2,21).indexOf('Range') >= 0 is true 101 PASS try { Number(123.456).toExponential(-1) } catch (e) { String(e).indexOf('Range') >= 0; } is true 123 PASS try { Number(123.456).toExponential(21) } catch (e) { String(e).indexOf('Range') >= 0; } is true 125 PASS try { Number(-123.456).toExponential(-1) } catch (e) { String(e).indexOf('Range') >= 0; } is true 147 PASS try { Number(-123.456).toExponential(21) } catch (e) { String(e).indexOf('Range') >= 0; } is true 149 PASS try { Number(.000123456).toExponential(-1) } catch (e) { String(e).indexOf('Range') >= 0; } is true 171 PASS try { Number(.000123456).toExponential(21) } catch (e) { String(e).indexOf('Range') >= 0; } is tru [all...] |
Number.js | 98 shouldBeTrue("toFixedOrException(2,-1).indexOf('Range') >= 0"); 101 shouldBeTrue("toFixedOrException(2,21).indexOf('Range') >= 0"); 102 shouldBeTrue("toFixedOrException(-2,-1).indexOf('Range') >= 0"); 105 shouldBeTrue("toFixedOrException(-2,21).indexOf('Range') >= 0"); 117 shouldBeTrue("try { Number(123.456).toExponential(-1) } catch (e) { String(e).indexOf('Range') >= 0; }"); 139 shouldBeTrue("try { Number(123.456).toExponential(21) } catch (e) { String(e).indexOf('Range') >= 0; }"); 141 shouldBeTrue("try { Number(-123.456).toExponential(-1) } catch (e) { String(e).indexOf('Range') >= 0; }"); 163 shouldBeTrue("try { Number(-123.456).toExponential(21) } catch (e) { String(e).indexOf('Range') >= 0; }"); 165 shouldBeTrue("try { Number(.000123456).toExponential(-1) } catch (e) { String(e).indexOf('Range') >= 0; }"); 187 shouldBeTrue("try { Number(.000123456).toExponential(21) } catch (e) { String(e).indexOf('Range') >= 0; }") [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
CopyOnWriteArrayList.java | 54 * includes additional overloads for indexed search ({@link #indexOf} and {@link 121 return indexOf(o) != -1; 131 if (indexOf(o, snapshot, from, to) == -1) { 144 public int indexOf(E object, int from) { 146 return indexOf(object, snapshot, from, snapshot.length); 149 public int indexOf(Object object) { 151 return indexOf(object, snapshot, 0, snapshot.length); 312 if (indexOf(o, newElements, 0, elements.length + addedCount) == -1) { 350 int index = indexOf(o); 441 static int indexOf(Object o, Object[] data, int from, int to) [all...] |
/external/apache-http/src/org/apache/commons/codec/language/ |
Metaphone.java | 154 (this.frontv.indexOf(local.charAt(n + 1)) >= 0) ) { 162 (this.frontv.indexOf(local.charAt(n + 1)) >= 0)) { 186 (this.frontv.indexOf(local.charAt(n + 2)) >= 0)) { // DGE DGI DGY -> J 213 (this.frontv.indexOf(local.charAt(n + 1)) >= 0) && 225 (this.varson.indexOf(local.charAt(n - 1)) >= 0)) { 310 return (this.vowels.indexOf(string.charAt(index)) >= 0);
|
/external/chromium_org/native_client_sdk/src/web/ |
index.html | 75 begin = queryString.indexOf(parameterName); 87 end = queryString.indexOf ('&', begin); 193 var lnk = location.pathname.substr(0, location.pathname.indexOf('?')); 214 lastModified = lastModified.substr(0, lastModified.indexOf('.')); 221 if (filename.indexOf('$folder$') >= 0) { 249 var firstSlash = location.pathname.indexOf("/", 1);
|
/external/smack/src/org/apache/harmony/javax/security/auth/ |
PrivateCredentialPermission.java | 134 int beg = name.indexOf(' '); 145 i = name.indexOf(' ', beg); 146 j = name.indexOf('"', i + 2); 158 beg = name.indexOf(' '); 167 i = name.indexOf(' ', beg); 168 j = name.indexOf('"', i + 2);
|
/packages/apps/Browser/src/com/android/browser/view/ |
BookmarkExpandableView.java | 122 int indexOf = mAdapter.mGroups.indexOf(accountName); 123 if (indexOf >= 0) { 124 BrowserBookmarksAdapter existing = mAdapter.mChildren.get(indexOf); 128 mAdapter.mChildren.remove(indexOf); 129 mAdapter.mChildren.add(indexOf, adapter);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileSystemUtils.java | 76 if (osName.indexOf("windows") != -1) {
78 } else if (osName.indexOf("linux") != -1 ||
79 osName.indexOf("sun os") != -1 ||
80 osName.indexOf("sunos") != -1 ||
81 osName.indexOf("solaris") != -1 ||
82 osName.indexOf("mpe/ix") != -1 ||
83 osName.indexOf("freebsd") != -1 ||
84 osName.indexOf("irix") != -1 ||
85 osName.indexOf("digital unix") != -1 ||
86 osName.indexOf("unix") != -1 || [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
MultiAutoCompleteTextView_CommaTokenizerTest.java | 42 int indexOfSecondToken = TEST_TEXT.indexOf("second"); 76 int indexOfComma = TEST_TEXT.indexOf(",");
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
MemberIdItem.java | 67 int classIdx = typeIds.indexOf(getDefiningClass()); 68 int nameIdx = stringIds.indexOf(nat.getName());
|
TypeListItem.java | 101 int idx = typeIds.indexOf(one); 110 out.writeShort(typeIds.indexOf(list.getType(i)));
|