Home
last modified time | relevance | path

Searched refs:Character (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DCharArrayAsListTest.java37 private static List<Character> asList(Character[] values) { in asList()
49 @Override protected List<Character> create(Character[] elements) { in create()
55 @Override protected List<Character> create(Character[] elements) { in create()
56 Character[] suffix = {Character.MIN_VALUE, Character.MAX_VALUE}; in create()
57 Character[] all = concat(elements, suffix); in create()
63 @Override protected List<Character> create(Character[] elements) { in create()
64 Character[] prefix = {(char) 86, (char) 99}; in create()
65 Character[] all = concat(prefix, elements); in create()
71 @Override protected List<Character> create(Character[] elements) { in create()
72 Character[] prefix = {Character.MIN_VALUE, Character.MAX_VALUE}; in create()
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/data/tokenization/
DunicodeChars.test5 "output": ["ParseError", ["Character", "\u0001"]]},
9 "output": ["ParseError", ["Character", "\u0002"]]},
13 "output": ["ParseError", ["Character", "\u0003"]]},
17 "output": ["ParseError", ["Character", "\u0004"]]},
21 "output": ["ParseError", ["Character", "\u0005"]]},
25 "output": ["ParseError", ["Character", "\u0006"]]},
29 "output": ["ParseError", ["Character", "\u0007"]]},
33 "output": ["ParseError", ["Character", "\u0008"]]},
37 "output": ["ParseError", ["Character", "\u000B"]]},
41 "output": ["ParseError", ["Character", "\u000E"]]},
[all …]
DnumericEntities.test5 "output": ["ParseError", ["Character", "\uFFFD"]]},
9 "output": ["ParseError", ["Character", "\u0001"]]},
13 "output": ["ParseError", ["Character", "\u0002"]]},
17 "output": ["ParseError", ["Character", "\u0003"]]},
21 "output": ["ParseError", ["Character", "\u0004"]]},
25 "output": ["ParseError", ["Character", "\u0005"]]},
29 "output": ["ParseError", ["Character", "\u0006"]]},
33 "output": ["ParseError", ["Character", "\u0007"]]},
37 "output": ["ParseError", ["Character", "\u0008"]]},
41 "output": ["ParseError", ["Character", "\u000b"]]},
[all …]
DnamedEntities.test9 "Character",
19 "Character",
30 "Character",
40 "Character",
51 "Character",
61 "Character",
72 "Character",
82 "Character",
93 "Character",
103 "Character",
[all …]
Dentities.test13 "output": ["ParseError", ["Character", "\r"]]},
17 "output": ["ParseError", ["Character", "\r"]]},
21 "output": ["ParseError", ["Character", "\u20AC"]]},
25 "output": ["ParseError", ["Character", "\u0081"]]},
29 "output": ["ParseError", ["Character", "\u201A"]]},
33 "output": ["ParseError", ["Character", "\u0192"]]},
37 "output": ["ParseError", ["Character", "\u201E"]]},
41 "output": ["ParseError", ["Character", "\u2026"]]},
45 "output": ["ParseError", ["Character", "\u2020"]]},
49 "output": ["ParseError", ["Character", "\u2021"]]},
[all …]
Dtest2.test41 "output":["ParseError", ["DOCTYPE", "html", "", null, false], ["Character", "x"]]},
45 "output":["ParseError", ["DOCTYPE", "html", "", null, false], ["Character", "x"]]},
49 "output":["ParseError", ["DOCTYPE", "html", "foo", "", false], ["Character", "x"]]},
53 "output":["ParseError", ["DOCTYPE", "html", "foo", "", false], ["Character", "x"]]},
61 "output":["ParseError", ["Character", "\uFFFD"]]},
65 "output":["ParseError", ["Character", "\uFFFD"]]},
69 "output":["ParseError", ["Character", "\uFFFD"]]},
73 "output":["ParseError", ["Character", "\uFFFD"]]},
77 "output":["ParseError", ["Character", "\uFFFD"], "ParseError", ["Character", "\uFFFD"]]},
81 "output":[["Character", "\uABCD"]]},
[all …]
Dtest1.test37 "output":["ParseError", ["Character", "<>"]]},
53 "output":[["StartTag", "p", {}], ["Character", "One"], ["StartTag", "p", {}], ["Character", "Two"]]…
106 "output":[["Character", "&"]]},
110 "output":[["Character", "&&"]]},
114 "output":[["Character", "& "]]},
118 "output":["ParseError", ["Character", "&f"]]},
122 "output":["ParseError", ["Character", "&#"]]},
126 "output":["ParseError", ["Character", "&#x"]]},
130 "output":[["Character","I'm \u00ACit"]]},
134 "output":[["Character","I'm \u2209"]]},
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCompare.java48 for (char i = Character.MIN_VALUE; i < Character.MAX_VALUE; i++) { in main()
50 if (UCharacter.isDefined(i) != Character.isDefined(i)) in main()
51 … trackDifference(p, i, "isDefined()", "" + UCharacter.isDefined(i), "" + Character.isDefined(i)); in main()
53 if (UCharacter.digit(i, 10) != Character.digit(i, 10)) in main()
54 … trackDifference(p, i, "digit()", "" + UCharacter.digit(i, 10), "" + Character.digit(i, 10)); in main()
55 if (UCharacter.getNumericValue(i) != Character.getNumericValue(i)) in main()
57 + Character.getNumericValue(i)); in main()
58 if (!compareType(UCharacter.getType(i), Character.getType(i))) in main()
59 … trackDifference(p, i, "getType()", "" + UCharacter.getType(i), "" + Character.getType(i)); in main()
60 if (UCharacter.isDigit(i) != Character.isDigit(i)) in main()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DCharArrayAsListTest.java45 private static List<Character> asList(Character[] values) { in asList()
55 List<ListTestSuiteBuilder<Character>> builders = in suite()
71 for (ListTestSuiteBuilder<Character> builder : builders) { in suite()
87 @Override protected List<Character> create(Character[] elements) { in create()
93 @Override protected List<Character> create(Character[] elements) { in create()
94 Character[] suffix = {Character.MIN_VALUE, Character.MAX_VALUE}; in create()
95 Character[] all = concat(elements, suffix); in create()
101 @Override protected List<Character> create(Character[] elements) { in create()
102 Character[] prefix = {(char) 86, (char) 99}; in create()
103 Character[] all = concat(prefix, elements); in create()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DTableCollectionTest.java70 Table<String, Integer, Character> table, String[] elements) { in populateForRowKeySet()
78 Table<Integer, String, Character> table, String[] elements) { in populateForColumnKeySet()
86 Table<Integer, Character, String> table, String[] elements) { in populateForValues() argument
93 implements TestSetGenerator<Cell<String, Integer, Character>> {
95 public SampleElements<Cell<String, Integer, Character>> samples() { in samples()
96 return new SampleElements<Cell<String, Integer, Character>>( in samples()
105 public Set<Cell<String, Integer, Character>> create( in create()
107 Table<String, Integer, Character> table = createTable(); in create()
110 Cell<String, Integer, Character> cell in create()
111 = (Cell<String, Integer, Character>) element; in create()
[all …]
DArrayTableTest.java39 @Override protected ArrayTable<String, Integer, Character> create( in create()
43 ArrayTable<String, Integer, Character> table = in create()
114 Table<String, Integer, Character> hashCopy = HashBasedTable.create(); in testEquals()
118 Table<String, Integer, Character> reordered in testEquals()
120 Table<String, Integer, Character> smaller in testEquals()
122 Table<String, Integer, Character> swapOuter in testEquals()
124 Table<String, Integer, Character> swapValues in testEquals()
150 Map<Integer, Character> expected = Maps.newHashMap(); in testRow()
159 Map<String, Character> expected = Maps.newHashMap(); in testColumn()
201 Table<String, Integer, Character> original in testCreateCopyArrayTable()
[all …]
DHashBasedTableTest.java29 @Override protected Table<String, Integer, Character> create( in create()
31 Table<String, Integer, Character> table = HashBasedTable.create(); in create()
40 Table<String, Integer, Character> table1 = HashBasedTable.create(100, 20); in testCreateWithValidSizes()
42 assertEquals((Character) 'a', table1.get("foo", 1)); in testCreateWithValidSizes()
44 Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0); in testCreateWithValidSizes()
46 assertEquals((Character) 'a', table2.get("foo", 1)); in testCreateWithValidSizes()
48 Table<String, Integer, Character> table3 = HashBasedTable.create(0, 20); in testCreateWithValidSizes()
50 assertEquals((Character) 'a', table3.get("foo", 1)); in testCreateWithValidSizes()
52 Table<String, Integer, Character> table4 = HashBasedTable.create(0, 0); in testCreateWithValidSizes()
54 assertEquals((Character) 'a', table4.get("foo", 1)); in testCreateWithValidSizes()
[all …]
DImmutableTableTest.java30 @Override protected Table<String, Integer, Character> create(Object... data) { in create()
31 ImmutableTable.Builder<String, Integer, Character> builder = in create()
35 (Character) data[i + 2]); in create()
41 ImmutableTable.Builder<Character, Integer, String> builder = in testBuilder()
42 new ImmutableTable.Builder<Character, Integer, String>(); in testBuilder()
47 Table<Character, Integer, String> expectedTable = HashBasedTable.create(); in testBuilder()
51 Table<Character, Integer, String> otherTable = HashBasedTable.create(); in testBuilder()
60 ImmutableTable.Builder<Character, Integer, String> builder = in testBuilder_withImmutableCell()
61 new ImmutableTable.Builder<Character, Integer, String>(); in testBuilder_withImmutableCell()
68 ImmutableTable.Builder<Character, Integer, String> builder = in testBuilder_withImmutableCellAndNullContents()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DTableCollectionTest.java123 Table<String, Integer, Character> table in suite()
139 Table<String, Integer, Character> table = HashBasedTable.create(); in suite()
151 TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(); in suite()
168 Table<String, Integer, Character> table = HashBasedTable.create(); in suite()
179 RowSortedTable<String, Integer, Character> table = TreeBasedTable.create(); in suite()
195 Table<Integer, String, Character> table in suite()
211 Table<Integer, String, Character> table = HashBasedTable.create(); in suite()
222 Table<Integer, String, Character> table = TreeBasedTable.create(); in suite()
238 Table<Integer, String, Character> table = HashBasedTable.create(); in suite()
249 RowSortedTable<Integer, String, Character> table = TreeBasedTable.create(); in suite()
[all …]
DArrayTableTest.java41 @Override protected ArrayTable<String, Integer, Character> create( in create()
45 ArrayTable<String, Integer, Character> table = in create()
116 Table<String, Integer, Character> hashCopy = HashBasedTable.create(); in testEquals()
120 Table<String, Integer, Character> reordered in testEquals()
122 Table<String, Integer, Character> smaller in testEquals()
124 Table<String, Integer, Character> swapOuter in testEquals()
126 Table<String, Integer, Character> swapValues in testEquals()
152 Map<Integer, Character> expected = Maps.newHashMap(); in testRow()
161 Map<String, Character> expected = Maps.newHashMap(); in testColumn()
203 Table<String, Integer, Character> original in testCreateCopyArrayTable()
[all …]
DRegularImmutableTableTest.java29 private static final ImmutableSet<Cell<Character, Integer, String>> CELLS =
35 private static final ImmutableSet<Character> ROW_SPACE =
41 private static final SparseImmutableTable<Character, Integer, String> SPARSE =
42 new SparseImmutableTable<Character, Integer, String>(CELLS.asList(), ROW_SPACE,
45 private static final DenseImmutableTable<Character, Integer, String> DENSE =
46 new DenseImmutableTable<Character, Integer, String>(CELLS.asList(), ROW_SPACE,
49 @Override Iterable<ImmutableTable<Character, Integer, String>>
51 return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, in getTestInstances()
56 for (ImmutableTable<Character, Integer, String> testInstance : in testCellSet()
63 for (ImmutableTable<Character, Integer, String> testInstance : in testValues()
[all …]
DAbstractTableTest.java35 Table<String, Integer, Character> table, Object... data) { in populate()
39 (String) data[i], (Integer) data[i+1], (Character) data[i+2]); in populate()
69 assertEquals((Character) 'a', table.put("foo", 1, 'd')); in testPut()
70 assertEquals((Character) 'd', table.get("foo", 1)); in testPut()
71 assertEquals((Character) 'b', table.get("bar", 1)); in testPut()
73 assertEquals((Character) 'd', table.put("foo", 1, 'd')); in testPut()
74 assertEquals((Character) 'd', table.get("foo", 1)); in testPut()
106 assertEquals((Character) 'b', table.put("bar", 1, null)); in testPutNullReplace()
118 Table<String, Integer, Character> other = HashBasedTable.create(); in testPutAllTable()
123 assertEquals((Character) 'd', table.get("foo", 1)); in testPutAllTable()
[all …]
DImmutableTableTest.java31 @Override protected Table<String, Integer, Character> create(Object... data) { in create()
32 ImmutableTable.Builder<String, Integer, Character> builder = in create()
36 (Character) data[i + 2]); in create()
42 ImmutableTable.Builder<Character, Integer, String> builder = in testBuilder()
43 new ImmutableTable.Builder<Character, Integer, String>(); in testBuilder()
48 Table<Character, Integer, String> expectedTable = HashBasedTable.create(); in testBuilder()
52 Table<Character, Integer, String> otherTable = HashBasedTable.create(); in testBuilder()
61 ImmutableTable.Builder<Character, Integer, String> builder = in testBuilder_withImmutableCell()
62 new ImmutableTable.Builder<Character, Integer, String>(); in testBuilder_withImmutableCell()
69 ImmutableTable.Builder<Character, Integer, String> builder = in testBuilder_withImmutableCellAndNullContents()
[all …]
DHashBasedTableTest.java32 @Override protected Table<String, Integer, Character> create( in create()
34 Table<String, Integer, Character> table = HashBasedTable.create(); in create()
43 Table<String, Integer, Character> table1 = HashBasedTable.create(100, 20); in testCreateWithValidSizes()
45 assertEquals((Character) 'a', table1.get("foo", 1)); in testCreateWithValidSizes()
47 Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0); in testCreateWithValidSizes()
49 assertEquals((Character) 'a', table2.get("foo", 1)); in testCreateWithValidSizes()
51 Table<String, Integer, Character> table3 = HashBasedTable.create(0, 20); in testCreateWithValidSizes()
53 assertEquals((Character) 'a', table3.get("foo", 1)); in testCreateWithValidSizes()
55 Table<String, Integer, Character> table4 = HashBasedTable.create(0, 0); in testCreateWithValidSizes()
57 assertEquals((Character) 'a', table4.get("foo", 1)); in testCreateWithValidSizes()
[all …]
DTransposedTableTest.java29 @Override protected Table<String, Integer, Character> create( in create()
31 Table<Integer, String, Character> original = HashBasedTable.create(); in create()
32 Table<String, Integer, Character> table = Tables.transpose(original); in create()
39 Table<Integer, String, Character> original = HashBasedTable.create(); in testTransposeTransposed()
44 Table<Integer, String, Character> original = HashBasedTable.create(); in testPutOriginalModifiesTranspose()
45 Table<String, Integer, Character> transpose = Tables.transpose(original); in testPutOriginalModifiesTranspose()
47 assertEquals((Character) 'a', transpose.get("foo", 1)); in testPutOriginalModifiesTranspose()
51 Table<Integer, String, Character> original = HashBasedTable.create(); in testPutTransposeModifiesOriginal()
52 Table<String, Integer, Character> transpose = Tables.transpose(original); in testPutTransposeModifiesOriginal()
54 assertEquals((Character) 'a', original.get(1, "foo")); in testPutTransposeModifiesOriginal()
[all …]
/external/guava/guava-tests/test/com/google/common/escape/
DUnicodeEscaperTest.java32 "" + Character.MIN_HIGH_SURROGATE + Character.MIN_LOW_SURROGATE;
34 "" + Character.MAX_HIGH_SURROGATE + Character.MAX_LOW_SURROGATE;
68 "[" + Character.MIN_SUPPLEMENTARY_CODE_POINT + "]" + in testSimpleEscaper()
69 "0189[" + Character.MAX_CODE_POINT + "]"; in testSimpleEscaper()
87 final int min = Character.MIN_SUPPLEMENTARY_CODE_POINT; in testSurrogatePairs()
88 final int max = Character.MAX_CODE_POINT; in testSurrogatePairs()
97 Character.toChars(min, dst, 1); in testSurrogatePairs()
98 Character.toChars(s1, dst, 3); in testSurrogatePairs()
99 Character.toChars(s2, dst, 5); in testSurrogatePairs()
100 Character.toChars(s3, dst, 7); in testSurrogatePairs()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestCharacterListGenerator.java32 implements TestListGenerator<Character> {
34 public SampleElements<Character> samples() { in samples()
39 public List<Character> create(Object... elements) { in create()
40 Character[] array = new Character[elements.length]; in create()
43 array[i++] = (Character) e; in create()
52 protected abstract List<Character> create(Character[] elements); in create()
55 public Character[] createArray(int length) { in createArray()
56 return new Character[length]; in createArray()
61 public List<Character> order(List<Character> insertionOrder) { in order()
/external/smali/util/src/main/java/org/jf/util/
DStringUtils.java54 writer.write(Character.forDigit(c >> 12, 16)); in writeEscapedChar()
55 writer.write(Character.forDigit((c >> 8) & 0x0f, 16)); in writeEscapedChar()
56 writer.write(Character.forDigit((c >> 4) & 0x0f, 16)); in writeEscapedChar()
57 writer.write(Character.forDigit(c & 0x0f, 16)); in writeEscapedChar()
79 writer.write(Character.forDigit(c >> 12, 16)); in writeEscapedString()
80 writer.write(Character.forDigit((c >> 8) & 0x0f, 16)); in writeEscapedString()
81 writer.write(Character.forDigit((c >> 4) & 0x0f, 16)); in writeEscapedString()
82 writer.write(Character.forDigit(c & 0x0f, 16)); in writeEscapedString()
108 sb.append(Character.forDigit(c >> 12, 16)); in escapeString()
109 sb.append(Character.forDigit((c >> 8) & 0x0f, 16)); in escapeString()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleExtensions.java23 private SortedMap<Character, Extension> _map;
26 private static final SortedMap<Character, Extension> EMPTY_MAP =
27 Collections.unmodifiableSortedMap(new TreeMap<Character, Extension>());
40 CALENDAR_JAPANESE._map = new TreeMap<Character, Extension>();
41 …CALENDAR_JAPANESE._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExten… in Character.valueOf()
45 NUMBER_THAI._map = new TreeMap<Character, Extension>();
46 …NUMBER_THAI._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExtension.N… in Character.valueOf()
68 _map = new TreeMap<Character, Extension>(); in LocaleExtensions()
83 _map.put(Character.valueOf(key), e); in LocaleExtensions()
108 _map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), ule); in LocaleExtensions()
[all …]
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
DXML.java39 public static final Character AMP = new Character('&');
42 public static final Character APOS = new Character('\'');
45 public static final Character BANG = new Character('!');
48 public static final Character EQ = new Character('=');
51 public static final Character GT = new Character('>');
54 public static final Character LT = new Character('<');
57 public static final Character QUEST = new Character('?');
60 public static final Character QUOT = new Character('"');
63 public static final Character SLASH = new Character('/');
112 if (Character.isWhitespace(string.charAt(i))) { in noSpace()
[all …]

12345678910>>...20