Home
last modified time | relevance | path

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

12345678910>>...53

/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 …]
/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/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java63 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1)); in testIndexOf()
64 assertEquals(-1, Bytes.indexOf(ARRAY1, (byte) 2)); in testIndexOf()
65 assertEquals(-1, Bytes.indexOf(ARRAY234, (byte) 1)); in testIndexOf()
66 assertEquals(0, Bytes.indexOf( in testIndexOf()
68 assertEquals(0, Bytes.indexOf(ARRAY234, (byte) 2)); in testIndexOf()
69 assertEquals(1, Bytes.indexOf(ARRAY234, (byte) 3)); in testIndexOf()
70 assertEquals(2, Bytes.indexOf(ARRAY234, (byte) 4)); in testIndexOf()
71 assertEquals(1, Bytes.indexOf( in testIndexOf()
77 assertEquals(0, Bytes.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
78 assertEquals(0, Bytes.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DCharsTest.java110 assertEquals(-1, Chars.indexOf(EMPTY, (char) 1)); in testIndexOf()
111 assertEquals(-1, Chars.indexOf(ARRAY1, (char) 2)); in testIndexOf()
112 assertEquals(-1, Chars.indexOf(ARRAY234, (char) 1)); in testIndexOf()
113 assertEquals(0, Chars.indexOf( in testIndexOf()
115 assertEquals(0, Chars.indexOf(ARRAY234, (char) 2)); in testIndexOf()
116 assertEquals(1, Chars.indexOf(ARRAY234, (char) 3)); in testIndexOf()
117 assertEquals(2, Chars.indexOf(ARRAY234, (char) 4)); in testIndexOf()
118 assertEquals(1, Chars.indexOf( in testIndexOf()
124 assertEquals(0, Chars.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
125 assertEquals(0, Chars.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DBooleansTest.java73 assertEquals(-1, Booleans.indexOf(EMPTY, ARRAY_FALSE)); in testIndexOf()
74 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE_TRUE)); in testIndexOf()
75 assertEquals(0, Booleans.indexOf(ARRAY_FALSE_FALSE, ARRAY_FALSE)); in testIndexOf()
76 assertEquals(0, Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE)); in testIndexOf()
77 assertEquals(0, Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_FALSE)); in testIndexOf()
78 assertEquals(1, Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_TRUE)); in testIndexOf()
79 assertEquals(0, Booleans.indexOf(ARRAY_TRUE, new boolean[0])); in testIndexOf()
83 assertEquals(-1, Booleans.indexOf(EMPTY, false)); in testIndexOf_arrays()
84 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, true)); in testIndexOf_arrays()
85 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE_FALSE, true)); in testIndexOf_arrays()
[all …]
DDoublesTest.java104 assertEquals(-1, Doubles.indexOf(EMPTY, (double) 1)); in testIndexOf()
105 assertEquals(-1, Doubles.indexOf(ARRAY1, (double) 2)); in testIndexOf()
106 assertEquals(-1, Doubles.indexOf(ARRAY234, (double) 1)); in testIndexOf()
107 assertEquals(0, Doubles.indexOf( in testIndexOf()
109 assertEquals(0, Doubles.indexOf(ARRAY234, (double) 2)); in testIndexOf()
110 assertEquals(1, Doubles.indexOf(ARRAY234, (double) 3)); in testIndexOf()
111 assertEquals(2, Doubles.indexOf(ARRAY234, (double) 4)); in testIndexOf()
112 assertEquals(1, Doubles.indexOf( in testIndexOf()
118 1, Doubles.indexOf(new double[] {5.0, value}, value)); in testIndexOf()
120 assertEquals(-1, Doubles.indexOf(new double[] {5.0, NaN}, NaN)); in testIndexOf()
[all …]
DFloatsTest.java102 assertEquals(-1, Floats.indexOf(EMPTY, (float) 1)); in testIndexOf()
103 assertEquals(-1, Floats.indexOf(ARRAY1, (float) 2)); in testIndexOf()
104 assertEquals(-1, Floats.indexOf(ARRAY234, (float) 1)); in testIndexOf()
105 assertEquals(0, Floats.indexOf( in testIndexOf()
107 assertEquals(0, Floats.indexOf(ARRAY234, (float) 2)); in testIndexOf()
108 assertEquals(1, Floats.indexOf(ARRAY234, (float) 3)); in testIndexOf()
109 assertEquals(2, Floats.indexOf(ARRAY234, (float) 4)); in testIndexOf()
110 assertEquals(1, Floats.indexOf( in testIndexOf()
116 Floats.indexOf(new float[] {5f, value}, value)); in testIndexOf()
118 assertEquals(-1, Floats.indexOf(new float[] {5f, NaN}, NaN)); in testIndexOf()
[all …]
DLongsTest.java85 assertEquals(-1, Longs.indexOf(EMPTY, (long) 1)); in testIndexOf()
86 assertEquals(-1, Longs.indexOf(ARRAY1, (long) 2)); in testIndexOf()
87 assertEquals(-1, Longs.indexOf(ARRAY234, (long) 1)); in testIndexOf()
88 assertEquals(0, Longs.indexOf( in testIndexOf()
90 assertEquals(0, Longs.indexOf(ARRAY234, (long) 2)); in testIndexOf()
91 assertEquals(1, Longs.indexOf(ARRAY234, (long) 3)); in testIndexOf()
92 assertEquals(2, Longs.indexOf(ARRAY234, (long) 4)); in testIndexOf()
93 assertEquals(1, Longs.indexOf( in testIndexOf()
99 assertEquals(0, Longs.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
100 assertEquals(0, Longs.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DShortsTest.java120 assertEquals(-1, Shorts.indexOf(EMPTY, (short) 1)); in testIndexOf()
121 assertEquals(-1, Shorts.indexOf(ARRAY1, (short) 2)); in testIndexOf()
122 assertEquals(-1, Shorts.indexOf(ARRAY234, (short) 1)); in testIndexOf()
123 assertEquals(0, Shorts.indexOf( in testIndexOf()
125 assertEquals(0, Shorts.indexOf(ARRAY234, (short) 2)); in testIndexOf()
126 assertEquals(1, Shorts.indexOf(ARRAY234, (short) 3)); in testIndexOf()
127 assertEquals(2, Shorts.indexOf(ARRAY234, (short) 4)); in testIndexOf()
128 assertEquals(1, Shorts.indexOf( in testIndexOf()
134 assertEquals(0, Shorts.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
135 assertEquals(0, Shorts.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DBytesTest.java61 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1)); in testIndexOf()
62 assertEquals(-1, Bytes.indexOf(ARRAY1, (byte) 2)); in testIndexOf()
63 assertEquals(-1, Bytes.indexOf(ARRAY234, (byte) 1)); in testIndexOf()
64 assertEquals(0, Bytes.indexOf( in testIndexOf()
66 assertEquals(0, Bytes.indexOf(ARRAY234, (byte) 2)); in testIndexOf()
67 assertEquals(1, Bytes.indexOf(ARRAY234, (byte) 3)); in testIndexOf()
68 assertEquals(2, Bytes.indexOf(ARRAY234, (byte) 4)); in testIndexOf()
69 assertEquals(1, Bytes.indexOf( in testIndexOf()
75 assertEquals(0, Bytes.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
76 assertEquals(0, Bytes.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DCharsTest.java107 assertEquals(-1, Chars.indexOf(EMPTY, (char) 1)); in testIndexOf()
108 assertEquals(-1, Chars.indexOf(ARRAY1, (char) 2)); in testIndexOf()
109 assertEquals(-1, Chars.indexOf(ARRAY234, (char) 1)); in testIndexOf()
110 assertEquals(0, Chars.indexOf( in testIndexOf()
112 assertEquals(0, Chars.indexOf(ARRAY234, (char) 2)); in testIndexOf()
113 assertEquals(1, Chars.indexOf(ARRAY234, (char) 3)); in testIndexOf()
114 assertEquals(2, Chars.indexOf(ARRAY234, (char) 4)); in testIndexOf()
115 assertEquals(1, Chars.indexOf( in testIndexOf()
121 assertEquals(0, Chars.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
122 assertEquals(0, Chars.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DFloatsTest.java97 assertEquals(-1, Floats.indexOf(EMPTY, (float) 1)); in testIndexOf()
98 assertEquals(-1, Floats.indexOf(ARRAY1, (float) 2)); in testIndexOf()
99 assertEquals(-1, Floats.indexOf(ARRAY234, (float) 1)); in testIndexOf()
100 assertEquals(0, Floats.indexOf( in testIndexOf()
102 assertEquals(0, Floats.indexOf(ARRAY234, (float) 2)); in testIndexOf()
103 assertEquals(1, Floats.indexOf(ARRAY234, (float) 3)); in testIndexOf()
104 assertEquals(2, Floats.indexOf(ARRAY234, (float) 4)); in testIndexOf()
105 assertEquals(1, Floats.indexOf( in testIndexOf()
111 Floats.indexOf(new float[] {5f, value}, value)); in testIndexOf()
113 assertEquals(-1, Floats.indexOf(new float[] {5f, NaN}, NaN)); in testIndexOf()
[all …]
DDoublesTest.java100 assertEquals(-1, Doubles.indexOf(EMPTY, (double) 1)); in testIndexOf()
101 assertEquals(-1, Doubles.indexOf(ARRAY1, (double) 2)); in testIndexOf()
102 assertEquals(-1, Doubles.indexOf(ARRAY234, (double) 1)); in testIndexOf()
103 assertEquals(0, Doubles.indexOf( in testIndexOf()
105 assertEquals(0, Doubles.indexOf(ARRAY234, (double) 2)); in testIndexOf()
106 assertEquals(1, Doubles.indexOf(ARRAY234, (double) 3)); in testIndexOf()
107 assertEquals(2, Doubles.indexOf(ARRAY234, (double) 4)); in testIndexOf()
108 assertEquals(1, Doubles.indexOf( in testIndexOf()
114 1, Doubles.indexOf(new double[] {5.0, value}, value)); in testIndexOf()
116 assertEquals(-1, Doubles.indexOf(new double[] {5.0, NaN}, NaN)); in testIndexOf()
[all …]
DBooleansTest.java70 assertEquals(-1, Booleans.indexOf(EMPTY, ARRAY_FALSE)); in testIndexOf()
71 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE_TRUE)); in testIndexOf()
72 assertEquals(0, Booleans.indexOf(ARRAY_FALSE_FALSE, ARRAY_FALSE)); in testIndexOf()
73 assertEquals(0, Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE)); in testIndexOf()
74 assertEquals(0, Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_FALSE)); in testIndexOf()
75 assertEquals(1, Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_TRUE)); in testIndexOf()
76 assertEquals(0, Booleans.indexOf(ARRAY_TRUE, new boolean[0])); in testIndexOf()
80 assertEquals(-1, Booleans.indexOf(EMPTY, false)); in testIndexOf_arrays()
81 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, true)); in testIndexOf_arrays()
82 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE_FALSE, true)); in testIndexOf_arrays()
[all …]
DShortsTest.java116 assertEquals(-1, Shorts.indexOf(EMPTY, (short) 1)); in testIndexOf()
117 assertEquals(-1, Shorts.indexOf(ARRAY1, (short) 2)); in testIndexOf()
118 assertEquals(-1, Shorts.indexOf(ARRAY234, (short) 1)); in testIndexOf()
119 assertEquals(0, Shorts.indexOf( in testIndexOf()
121 assertEquals(0, Shorts.indexOf(ARRAY234, (short) 2)); in testIndexOf()
122 assertEquals(1, Shorts.indexOf(ARRAY234, (short) 3)); in testIndexOf()
123 assertEquals(2, Shorts.indexOf(ARRAY234, (short) 4)); in testIndexOf()
124 assertEquals(1, Shorts.indexOf( in testIndexOf()
130 assertEquals(0, Shorts.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
131 assertEquals(0, Shorts.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DLongsTest.java74 assertEquals(-1, Longs.indexOf(EMPTY, (long) 1)); in testIndexOf()
75 assertEquals(-1, Longs.indexOf(ARRAY1, (long) 2)); in testIndexOf()
76 assertEquals(-1, Longs.indexOf(ARRAY234, (long) 1)); in testIndexOf()
77 assertEquals(0, Longs.indexOf( in testIndexOf()
79 assertEquals(0, Longs.indexOf(ARRAY234, (long) 2)); in testIndexOf()
80 assertEquals(1, Longs.indexOf(ARRAY234, (long) 3)); in testIndexOf()
81 assertEquals(2, Longs.indexOf(ARRAY234, (long) 4)); in testIndexOf()
82 assertEquals(1, Longs.indexOf( in testIndexOf()
88 assertEquals(0, Longs.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
89 assertEquals(0, Longs.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[all …]
DIntsTest.java108 assertEquals(-1, Ints.indexOf(EMPTY, (int) 1)); in testIndexOf()
109 assertEquals(-1, Ints.indexOf(ARRAY1, (int) 2)); in testIndexOf()
110 assertEquals(-1, Ints.indexOf(ARRAY234, (int) 1)); in testIndexOf()
111 assertEquals(0, Ints.indexOf( in testIndexOf()
113 assertEquals(0, Ints.indexOf(ARRAY234, (int) 2)); in testIndexOf()
114 assertEquals(1, Ints.indexOf(ARRAY234, (int) 3)); in testIndexOf()
115 assertEquals(2, Ints.indexOf(ARRAY234, (int) 4)); in testIndexOf()
116 assertEquals(1, Ints.indexOf( in testIndexOf()
122 assertEquals(0, Ints.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
123 assertEquals(0, Ints.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
[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.java97 if (format.indexOf('\u251C') >= 0) { in showFlexibles()
142 if (path.indexOf("numbers/symbols/decimal") >= 0) { in checkFlexibles()
146 if (path.indexOf("gregorian") < 0) return; in checkFlexibles()
147 if (path.indexOf("/appendItem") >= 0) { in checkFlexibles()
156 if (path.indexOf("/fields") >= 0) { in checkFlexibles()
166 …if (path.indexOf("pattern") < 0 && path.indexOf("dateFormatItem") < 0 && path.indexOf("intervalFor… in checkFlexibles()
168 if (path.indexOf("timeFormatLength[@type=\"short\"]") >= 0) { in checkFlexibles()
178 if (path.indexOf("dateTimeFormatLength") > 0) return; // exclude {1} {0} in checkFlexibles()
179 if (path.indexOf("intervalFormatItem") < 0) { in checkFlexibles()
222 … if (skeleton.indexOf('H') >= 0 || skeleton.indexOf('k') >= 0) { // if skeleton uses 24-hour time in checkValueAgainstSkeleton()
[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/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/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.java119 int index = locale.indexOf(".xml"); in getFullyResolvedLDML()
424 if (token.indexOf(LDMLConstants.LDN) > -1) { in getICUEquivalent()
426 } else if (token.indexOf(LDMLConstants.LANGUAGES) > -1) { in getICUEquivalent()
428 } else if (token.indexOf(LDMLConstants.LANGUAGE) > -1) { in getICUEquivalent()
430 } else if (token.indexOf(LDMLConstants.TERRITORIES) > -1) { in getICUEquivalent()
432 } else if (token.indexOf(LDMLConstants.TERRITORY) > -1) { in getICUEquivalent()
434 } else if (token.indexOf(LDMLConstants.SCRIPTS) > -1) { in getICUEquivalent()
436 } else if (token.indexOf(LDMLConstants.SCRIPT) > -1) { in getICUEquivalent()
438 } else if (token.indexOf(LDMLConstants.VARIANTS) > -1) { in getICUEquivalent()
440 } else if (token.indexOf(LDMLConstants.VARIANT) > -1) { in getICUEquivalent()
[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 …]

12345678910>>...53