OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:trimspaces
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
CsvUtilsTests.java
244
final int
trimSpaces
= CsvUtils.SPLIT_FLAGS_TRIM_SPACES;
245
assertArrayEquals(new String[]{""}, CsvUtils.split(
trimSpaces
, ""));
246
assertArrayEquals(new String[]{""}, CsvUtils.split(
trimSpaces
, " "));
247
assertArrayEquals(new String[]{"text"}, CsvUtils.split(
trimSpaces
, "text"));
248
assertArrayEquals(new String[]{"a b"}, CsvUtils.split(
trimSpaces
, " a b "));
250
assertArrayEquals(new String[]{"", ""}, CsvUtils.split(
trimSpaces
, ","));
251
assertArrayEquals(new String[]{"", "", ""}, CsvUtils.split(
trimSpaces
, ",,"));
252
assertArrayEquals(new String[]{"", ""}, CsvUtils.split(
trimSpaces
, " , "));
253
assertArrayEquals(new String[]{"", "", ""}, CsvUtils.split(
trimSpaces
, " , , "));
254
assertArrayEquals(new String[]{"a", "b"}, CsvUtils.split(
trimSpaces
, "a,b"))
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CsvUtils.java
210
final boolean
trimSpaces
= (splitFlags & SPLIT_FLAGS_TRIM_SPACES) != 0;
215
final int csvStart =
trimSpaces
? indexOfNonSpace(line, start) : start;
217
final int csvEnd =
trimSpaces
? lastIndexOfNonSpace(line, end, csvStart) : end;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.jasper_5.5.17.v201004212143.jar
Completed in 206 milliseconds