Home
last modified time | relevance | path

Searched refs:indexOf (Results 1 – 25 of 1678) sorted by relevance

12345678910>>...68

/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DXMLFormatterTest.java60 assertTrue(result.indexOf("<message>" + rb.getString("pattern") in testLocalFormat()
62 assertTrue(result.indexOf("<key>pattern</key>") > 0); in testLocalFormat()
66 assertTrue(result.indexOf("<message>" + rb.getString("msg") in testLocalFormat()
68 assertTrue(result.indexOf("<key>msg</key>") > 0); in testLocalFormat()
72 assertTrue(result.indexOf("<message>pattern {0, number}</message>") > 0); in testLocalFormat()
73 assertTrue(result.indexOf("<key>") < 0); in testLocalFormat()
78 assertTrue(result.indexOf("<message>bad key</message>") > 0); in testLocalFormat()
79 assertTrue(result.indexOf("<key>") < 0); in testLocalFormat()
96 assertTrue(output.indexOf("<record>") >= 0);
97 assertTrue(output.indexOf("<date>") >= 0);
[all …]
DSimpleFormatterTest.java65 assertTrue(str.indexOf(localeMsg) > 0); in testLocalizedFormat()
73 assertTrue(str.indexOf(localeMsg) < 0); in testLocalizedFormat()
99 assertTrue(str.indexOf(String.valueOf(cal.get(Calendar.YEAR))) >= 0);
100 assertTrue(str.indexOf("class") > 0);
101 assertTrue(str.indexOf("method") > 0);
102 assertTrue(str.indexOf("100") > 0);
103 assertTrue(str.indexOf(t.toString()) > 0);
104 assertTrue(str.indexOf(Level.FINE.getLocalizedName()) > 0);
/external/doclava/src/com/google/doclava/
DDocFile.java62 int langStart = filename.indexOf("/" + t + "/"); in getPathRoot()
64 int langEnd = filename.indexOf("/", langStart + 1); in getPathRoot()
194 if (filename.indexOf("design") == 0) { in writePage()
198 } else if (filename.indexOf("develop") == 0) { in writePage()
202 } else if (filename.indexOf("guide") == 0) { in writePage()
205 if (filename.indexOf("guide/topics/manif") == 0) { in writePage()
210 } else if (filename.indexOf("training") == 0) { in writePage()
214 } else if (filename.indexOf("more") == 0) { in writePage()
216 } else if (filename.indexOf("google") == 0) { in writePage()
220 } else if (filename.indexOf("samples") == 0) { in writePage()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DRoboCursorTest.java85 assertThat(cursor.getType(indexOf(STRING_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_STRING); in getType_shouldReturnColumnType()
86 assertThat(cursor.getType(indexOf(LONG_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_INTEGER); in getType_shouldReturnColumnType()
87 assertThat(cursor.getType(indexOf(INT_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_INTEGER); in getType_shouldReturnColumnType()
88 assertThat(cursor.getType(indexOf(BLOB_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_BLOB); in getType_shouldReturnColumnType()
89 assertThat(cursor.getType(indexOf(SHORT_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_INTEGER); in getType_shouldReturnColumnType()
90 assertThat(cursor.getType(indexOf(FLOAT_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_FLOAT); in getType_shouldReturnColumnType()
91 assertThat(cursor.getType(indexOf(DOUBLE_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_FLOAT); in getType_shouldReturnColumnType()
92 assertThat(cursor.getType(indexOf(NULL_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_NULL); in getType_shouldReturnColumnType()
102 assertThat(cursor.getString(indexOf(STRING_COLUMN))).isEqualTo("aString"); in get_shouldReturnColumnValue()
103 assertThat(cursor.getLong(indexOf(LONG_COLUMN))).isEqualTo(1234L); in get_shouldReturnColumnValue()
[all …]
/external/okio/okio/src/commonTest/kotlin/okio/
DAbstractBufferedSourceTest.kt510 @Test fun indexOf() { in indexOf() method in okio.AbstractBufferedSourceTest
512 assertEquals(-1, source.indexOf('a'.toByte())) in indexOf()
517 assertEquals(0, source.indexOf('a'.toByte())) in indexOf()
518 assertEquals(-1, source.indexOf('b'.toByte())) in indexOf()
523 assertEquals(0, source.indexOf('a'.toByte())) in indexOf()
524 assertEquals(1, source.indexOf('b'.toByte())) in indexOf()
525 assertEquals(-1, source.indexOf('c'.toByte())) in indexOf()
529 assertEquals(-1, source.indexOf('a'.toByte())) in indexOf()
530 assertEquals(0, source.indexOf('b'.toByte())) in indexOf()
531 assertEquals(-1, source.indexOf('c'.toByte())) in indexOf()
[all …]
DByteStringTest.kt111 assertEquals(0, byteString.indexOf("112233".decodeHex()).toLong()) in indexOfByteString()
112 assertEquals(0, byteString.indexOf("1122".decodeHex()).toLong()) in indexOfByteString()
113 assertEquals(0, byteString.indexOf("11".decodeHex()).toLong()) in indexOfByteString()
114 assertEquals(0, byteString.indexOf("11".decodeHex(), 0).toLong()) in indexOfByteString()
115 assertEquals(0, byteString.indexOf("".decodeHex()).toLong()) in indexOfByteString()
116 assertEquals(0, byteString.indexOf("".decodeHex(), 0).toLong()) in indexOfByteString()
117 assertEquals(1, byteString.indexOf("2233".decodeHex()).toLong()) in indexOfByteString()
118 assertEquals(1, byteString.indexOf("22".decodeHex()).toLong()) in indexOfByteString()
119 assertEquals(1, byteString.indexOf("22".decodeHex(), 1).toLong()) in indexOfByteString()
120 assertEquals(1, byteString.indexOf("".decodeHex(), 1).toLong()) in indexOfByteString()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java59 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1)); in testIndexOf()
60 assertEquals(-1, Bytes.indexOf(ARRAY1, (byte) 2)); in testIndexOf()
61 assertEquals(-1, Bytes.indexOf(ARRAY234, (byte) 1)); in testIndexOf()
62 assertEquals(0, Bytes.indexOf(new byte[] {(byte) -1}, (byte) -1)); in testIndexOf()
63 assertEquals(0, Bytes.indexOf(ARRAY234, (byte) 2)); in testIndexOf()
64 assertEquals(1, Bytes.indexOf(ARRAY234, (byte) 3)); in testIndexOf()
65 assertEquals(2, Bytes.indexOf(ARRAY234, (byte) 4)); in testIndexOf()
66 assertEquals(1, Bytes.indexOf(new byte[] {(byte) 2, (byte) 3, (byte) 2, (byte) 3}, (byte) 3)); in testIndexOf()
70 assertEquals(0, Bytes.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
71 assertEquals(0, Bytes.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DCharsTest.java106 assertEquals(-1, Chars.indexOf(EMPTY, (char) 1)); in testIndexOf()
107 assertEquals(-1, Chars.indexOf(ARRAY1, (char) 2)); in testIndexOf()
108 assertEquals(-1, Chars.indexOf(ARRAY234, (char) 1)); in testIndexOf()
109 assertEquals(0, Chars.indexOf(new char[] {(char) -1}, (char) -1)); in testIndexOf()
110 assertEquals(0, Chars.indexOf(ARRAY234, (char) 2)); in testIndexOf()
111 assertEquals(1, Chars.indexOf(ARRAY234, (char) 3)); in testIndexOf()
112 assertEquals(2, Chars.indexOf(ARRAY234, (char) 4)); in testIndexOf()
113 assertEquals(1, Chars.indexOf(new char[] {(char) 2, (char) 3, (char) 2, (char) 3}, (char) 3)); in testIndexOf()
117 assertEquals(0, Chars.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
118 assertEquals(0, Chars.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DBooleansTest.java83 assertEquals(-1, Booleans.indexOf(EMPTY, ARRAY_FALSE)); in testIndexOf()
84 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE_TRUE)); in testIndexOf()
85 assertEquals(0, Booleans.indexOf(ARRAY_FALSE_FALSE, ARRAY_FALSE)); in testIndexOf()
86 assertEquals(0, Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE)); in testIndexOf()
87 assertEquals(0, Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_FALSE)); in testIndexOf()
88 assertEquals(1, Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_TRUE)); in testIndexOf()
89 assertEquals(0, Booleans.indexOf(ARRAY_TRUE, new boolean[0])); in testIndexOf()
93 assertEquals(-1, Booleans.indexOf(EMPTY, false)); in testIndexOf_arrays()
94 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, true)); in testIndexOf_arrays()
95 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE_FALSE, true)); in testIndexOf_arrays()
[all …]
DFloatsTest.java110 assertEquals(-1, Floats.indexOf(EMPTY, (float) 1)); in testIndexOf()
111 assertEquals(-1, Floats.indexOf(ARRAY1, (float) 2)); in testIndexOf()
112 assertEquals(-1, Floats.indexOf(ARRAY234, (float) 1)); in testIndexOf()
113 assertEquals(0, Floats.indexOf(new float[] {(float) -1}, (float) -1)); in testIndexOf()
114 assertEquals(0, Floats.indexOf(ARRAY234, (float) 2)); in testIndexOf()
115 assertEquals(1, Floats.indexOf(ARRAY234, (float) 3)); in testIndexOf()
116 assertEquals(2, Floats.indexOf(ARRAY234, (float) 4)); in testIndexOf()
118 1, Floats.indexOf(new float[] {(float) 2, (float) 3, (float) 2, (float) 3}, (float) 3)); in testIndexOf()
121 assertEquals("" + value, 1, Floats.indexOf(new float[] {5f, value}, value)); in testIndexOf()
123 assertEquals(-1, Floats.indexOf(new float[] {5f, NaN}, NaN)); in testIndexOf()
[all …]
/external/guava/android/guava-tests/test/com/google/common/primitives/
DBytesTest.java59 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1)); in testIndexOf()
60 assertEquals(-1, Bytes.indexOf(ARRAY1, (byte) 2)); in testIndexOf()
61 assertEquals(-1, Bytes.indexOf(ARRAY234, (byte) 1)); in testIndexOf()
62 assertEquals(0, Bytes.indexOf(new byte[] {(byte) -1}, (byte) -1)); in testIndexOf()
63 assertEquals(0, Bytes.indexOf(ARRAY234, (byte) 2)); in testIndexOf()
64 assertEquals(1, Bytes.indexOf(ARRAY234, (byte) 3)); in testIndexOf()
65 assertEquals(2, Bytes.indexOf(ARRAY234, (byte) 4)); in testIndexOf()
66 assertEquals(1, Bytes.indexOf(new byte[] {(byte) 2, (byte) 3, (byte) 2, (byte) 3}, (byte) 3)); in testIndexOf()
70 assertEquals(0, Bytes.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
71 assertEquals(0, Bytes.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DCharsTest.java106 assertEquals(-1, Chars.indexOf(EMPTY, (char) 1)); in testIndexOf()
107 assertEquals(-1, Chars.indexOf(ARRAY1, (char) 2)); in testIndexOf()
108 assertEquals(-1, Chars.indexOf(ARRAY234, (char) 1)); in testIndexOf()
109 assertEquals(0, Chars.indexOf(new char[] {(char) -1}, (char) -1)); in testIndexOf()
110 assertEquals(0, Chars.indexOf(ARRAY234, (char) 2)); in testIndexOf()
111 assertEquals(1, Chars.indexOf(ARRAY234, (char) 3)); in testIndexOf()
112 assertEquals(2, Chars.indexOf(ARRAY234, (char) 4)); in testIndexOf()
113 assertEquals(1, Chars.indexOf(new char[] {(char) 2, (char) 3, (char) 2, (char) 3}, (char) 3)); in testIndexOf()
117 assertEquals(0, Chars.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
118 assertEquals(0, Chars.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DBooleansTest.java83 assertEquals(-1, Booleans.indexOf(EMPTY, ARRAY_FALSE)); in testIndexOf()
84 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE_TRUE)); in testIndexOf()
85 assertEquals(0, Booleans.indexOf(ARRAY_FALSE_FALSE, ARRAY_FALSE)); in testIndexOf()
86 assertEquals(0, Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE)); in testIndexOf()
87 assertEquals(0, Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_FALSE)); in testIndexOf()
88 assertEquals(1, Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_TRUE)); in testIndexOf()
89 assertEquals(0, Booleans.indexOf(ARRAY_TRUE, new boolean[0])); in testIndexOf()
93 assertEquals(-1, Booleans.indexOf(EMPTY, false)); in testIndexOf_arrays()
94 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, true)); in testIndexOf_arrays()
95 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE_FALSE, true)); in testIndexOf_arrays()
[all …]
DFloatsTest.java110 assertEquals(-1, Floats.indexOf(EMPTY, (float) 1)); in testIndexOf()
111 assertEquals(-1, Floats.indexOf(ARRAY1, (float) 2)); in testIndexOf()
112 assertEquals(-1, Floats.indexOf(ARRAY234, (float) 1)); in testIndexOf()
113 assertEquals(0, Floats.indexOf(new float[] {(float) -1}, (float) -1)); in testIndexOf()
114 assertEquals(0, Floats.indexOf(ARRAY234, (float) 2)); in testIndexOf()
115 assertEquals(1, Floats.indexOf(ARRAY234, (float) 3)); in testIndexOf()
116 assertEquals(2, Floats.indexOf(ARRAY234, (float) 4)); in testIndexOf()
118 1, Floats.indexOf(new float[] {(float) 2, (float) 3, (float) 2, (float) 3}, (float) 3)); in testIndexOf()
121 assertEquals("" + value, 1, Floats.indexOf(new float[] {5f, value}, value)); in testIndexOf()
123 assertEquals(-1, Floats.indexOf(new float[] {5f, NaN}, NaN)); in testIndexOf()
[all …]
/external/ant-glob/src/org/apache/tools/ant/taskdefs/condition/
DOs.java261 boolean isWindows = OS_NAME.indexOf(FAMILY_WINDOWS) > -1; in isOs()
266 is9x = (OS_NAME.indexOf("95") >= 0 in isOs()
267 || OS_NAME.indexOf("98") >= 0 in isOs()
268 || OS_NAME.indexOf("me") >= 0 in isOs()
271 || OS_NAME.indexOf("ce") >= 0); in isOs()
281 isFamily = OS_NAME.indexOf(FAMILY_OS2) > -1; in isOs()
283 isFamily = OS_NAME.indexOf(FAMILY_NETWARE) > -1; in isOs()
287 isFamily = OS_NAME.indexOf(FAMILY_MAC) > -1 in isOs()
288 || OS_NAME.indexOf(DARWIN) > -1; in isOs()
290 isFamily = OS_NAME.indexOf("nonstop_kernel") > -1; in isOs()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DFlexibleDateFromCLDR.java96 if (format.indexOf('\u251C') >= 0) { in showFlexibles()
141 if (path.indexOf("numbers/symbols/decimal") >= 0) { in checkFlexibles()
145 if (path.indexOf("gregorian") < 0) return; in checkFlexibles()
146 if (path.indexOf("/appendItem") >= 0) { in checkFlexibles()
156 if (path.indexOf("/fields") >= 0) { in checkFlexibles()
167 …if (path.indexOf("pattern") < 0 && path.indexOf("dateFormatItem") < 0 && path.indexOf("intervalFor… in checkFlexibles()
169 if (path.indexOf("timeFormatLength[@type=\"short\"]") >= 0) { in checkFlexibles()
179 if (path.indexOf("dateTimeFormatLength") > 0) return; // exclude {1} {0} in checkFlexibles()
180 if (path.indexOf("intervalFormatItem") < 0) { in checkFlexibles()
225 … if (skeleton.indexOf('H') >= 0 || skeleton.indexOf('k') >= 0) { // if skeleton uses 24-hour time in checkValueAgainstSkeleton()
[all …]
/external/proguard/src/proguard/util/
DListUtil.java87 nextIndex = string.indexOf('\'', index + 1); in commaSeparatedList()
98 nextIndex = string.indexOf(',', index); in commaSeparatedList()
138 string.indexOf(' ') >= 0 || in quotedString()
139 string.indexOf('@') >= 0 || in quotedString()
140 string.indexOf('{') >= 0 || in quotedString()
141 string.indexOf('}') >= 0 || in quotedString()
142 string.indexOf('(') >= 0 || in quotedString()
143 string.indexOf(')') >= 0 || in quotedString()
144 string.indexOf(':') >= 0 || in quotedString()
145 string.indexOf(';') >= 0 || in quotedString()
[all …]
/external/doclava/res/assets/templates/assets/
Ddoclava-developer-docs.js30 if ((agent.indexOf("mobile") != -1) || // android, iphone, ipod
31 (agent.indexOf("blackberry") != -1) ||
32 (agent.indexOf("webos") != -1) ||
33 (agent.indexOf("mini") != -1)) { // opera mini browsers
37 } else if (agent.indexOf("msie 6") != -1) {
106 var index = document.cookie.indexOf(myCookie);
109 var valEnd = document.cookie.indexOf(";", valStart);
132 if (location.href.indexOf("/reference/") != -1) {
134 } else if (location.href.indexOf("/guide/") != -1) {
136 } else if (location.href.indexOf("/resources/") != -1) {
[all …]
/external/okio/okio/src/jvmTest/java/okio/
DBufferedSourceTest.java663 @Test public void indexOf() throws Exception { in indexOf() method in BufferedSourceTest
665 assertEquals(-1, source.indexOf((byte) 'a')); in indexOf()
670 assertEquals(0, source.indexOf((byte) 'a')); in indexOf()
671 assertEquals(-1, source.indexOf((byte) 'b')); in indexOf()
676 assertEquals(0, source.indexOf((byte) 'a')); in indexOf()
677 assertEquals(1, source.indexOf((byte) 'b')); in indexOf()
678 assertEquals(-1, source.indexOf((byte) 'c')); in indexOf()
682 assertEquals(-1, source.indexOf((byte) 'a')); in indexOf()
683 assertEquals(0, source.indexOf((byte) 'b')); in indexOf()
684 assertEquals(-1, source.indexOf((byte) 'c')); in indexOf()
[all …]
/external/cldr/tools/java/org/unicode/cldr/posix/
DPOSIX_LCMonetary.java52 if (grouping_pattern.indexOf(";") > 0) in POSIX_LCMonetary()
91 if (tmp_currency_symbol.indexOf("|") >= 0) { in POSIX_LCMonetary()
131 if (monetary_formats[POSITIVE].indexOf('+') >= 0) { in POSIX_LCMonetary()
137 if (monetary_formats[NEGATIVE].indexOf('-') >= 0) { in POSIX_LCMonetary()
144 int currency_symbol_position = monetary_formats[POSITIVE].indexOf('\u00a4'); in POSIX_LCMonetary()
145 int decimal_symbol_position = monetary_formats[POSITIVE].indexOf('.'); in POSIX_LCMonetary()
146 int sign_position = monetary_formats[POSITIVE].indexOf('+'); in POSIX_LCMonetary()
148 int rightparen_position = monetary_formats[POSITIVE].indexOf(')', decimal_symbol_position); in POSIX_LCMonetary()
149 int space_position = monetary_formats[POSITIVE].indexOf(' '); in POSIX_LCMonetary()
152 space_position = monetary_formats[POSITIVE].indexOf('\u00a0'); in POSIX_LCMonetary()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DLDMLUtilities.java114 int index = locale.indexOf(".xml"); in getFullyResolvedLDML()
419 if (token.indexOf(LDMLConstants.LDN) > -1) { in getICUEquivalent()
421 } else if (token.indexOf(LDMLConstants.LANGUAGES) > -1) { in getICUEquivalent()
423 } else if (token.indexOf(LDMLConstants.LANGUAGE) > -1) { in getICUEquivalent()
425 } else if (token.indexOf(LDMLConstants.TERRITORIES) > -1) { in getICUEquivalent()
427 } else if (token.indexOf(LDMLConstants.TERRITORY) > -1) { in getICUEquivalent()
429 } else if (token.indexOf(LDMLConstants.SCRIPTS) > -1) { in getICUEquivalent()
431 } else if (token.indexOf(LDMLConstants.SCRIPT) > -1) { in getICUEquivalent()
433 } else if (token.indexOf(LDMLConstants.VARIANTS) > -1) { in getICUEquivalent()
435 } else if (token.indexOf(LDMLConstants.VARIANT) > -1) { in getICUEquivalent()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DXMLStringDefault.java407 public int indexOf(int ch) in indexOf() method in XMLStringDefault
409 return m_str.indexOf(ch); in indexOf()
440 public int indexOf(int ch, int fromIndex) in indexOf() method in XMLStringDefault
442 return m_str.indexOf(ch, fromIndex); in indexOf()
510 public int indexOf(String str) in indexOf() method in XMLStringDefault
512 return m_str.indexOf(str); in indexOf()
532 public int indexOf(XMLString str) in indexOf() method in XMLStringDefault
534 return m_str.indexOf(str.toString()); in indexOf()
563 public int indexOf(String str, int fromIndex) in indexOf() method in XMLStringDefault
565 return m_str.indexOf(str, fromIndex); in indexOf()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DWriteIndicCharts.java108 … if(UCharacter.getExtendedName(UTF16.charAt(temp[k],0)).indexOf("unassigned")<0 || in writeIICharts()
109 temp[k].indexOf(":UNASSIGNED")<0){ in writeIICharts()
123 if(temp[j].indexOf(":FALLBACK")>=0){ in writeIICharts()
124 str = temp[j].substring(0,temp[j].indexOf(":")); in writeIICharts()
128 if(temp[j].indexOf(":UNASSIGNED")>=0){ in writeIICharts()
129 str = temp[j].substring(0,temp[j].indexOf(":")); in writeIICharts()
133 if(temp[j].indexOf(":UNMAPPED")>=0){ in writeIICharts()
134 str = temp[j].substring(0,temp[j].indexOf(":")); in writeIICharts()
137 if(temp[j].indexOf(":CONSUMED")>=0){ in writeIICharts()
138 str = temp[j].substring(0,temp[j].indexOf(":")); in writeIICharts()
[all …]
/external/jdiff/src/jdiff/
DRootDocToXML.java689 if (rct != null && rct.indexOf(excludeTag) != -1) { in shownElement()
819 rct.indexOf(Comments.placeHolderText) == -1 && in addDocumentation()
820 rct.indexOf("InsertOtherCommentsHere") == -1) { in addDocumentation()
833 if (checkForAts && firstSentence.indexOf("@") != -1 && in addDocumentation()
834 firstSentence.indexOf("@link") == -1) { in addDocumentation()
928 rct.indexOf(Comments.placeHolderText) == -1 && in addPkgDocumentation()
929 rct.indexOf("InsertOtherCommentsHere") == -1) { in addPkgDocumentation()
984 int ellipsis = text.indexOf(". . ."); // Handles one instance of this in endOfFirstSentence()
995 index = minIndex(index, text.indexOf("? ", fromindex)); in endOfFirstSentence()
996 index = minIndex(index, text.indexOf("?\t", fromindex)); in endOfFirstSentence()
[all …]
/external/proguard/src/proguard/obfuscate/
DMappingReader.java113 int arrowIndex = line.indexOf("->"); in processClassMapping()
119 int colonIndex = line.indexOf(':', arrowIndex + 2); in processClassMapping()
148 int colonIndex1 = line.indexOf(':'); in processClassMemberMapping()
149 int colonIndex2 = colonIndex1 < 0 ? -1 : line.indexOf(':', colonIndex1 + 1); in processClassMemberMapping()
150 int spaceIndex = line.indexOf(' ', colonIndex2 + 2); in processClassMemberMapping()
151 int argumentIndex1 = line.indexOf('(', spaceIndex + 1); in processClassMemberMapping()
152 int argumentIndex2 = argumentIndex1 < 0 ? -1 : line.indexOf(')', argumentIndex1 + 1); in processClassMemberMapping()
153 …int arrowIndex = line.indexOf("->", Math.max(spaceIndex, argumentInd… in processClassMemberMapping()

12345678910>>...68