Home
last modified time | relevance | path

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

12345678910>>...57

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterCompare.java53 for (char i = Character.MIN_VALUE; i < Character.MAX_VALUE; i++) { in main()
55 if (UCharacter.isDefined(i) != Character.isDefined(i)) in main()
56 … trackDifference(p, i, "isDefined()", "" + UCharacter.isDefined(i), "" + Character.isDefined(i)); in main()
58 if (UCharacter.digit(i, 10) != Character.digit(i, 10)) in main()
59 … trackDifference(p, i, "digit()", "" + UCharacter.digit(i, 10), "" + Character.digit(i, 10)); in main()
60 if (UCharacter.getNumericValue(i) != Character.getNumericValue(i)) in main()
62 + Character.getNumericValue(i)); in main()
63 if (!compareType(UCharacter.getType(i), Character.getType(i))) in main()
64 … trackDifference(p, i, "getType()", "" + UCharacter.getType(i), "" + Character.getType(i)); in main()
65 if (UCharacter.isDigit(i) != Character.isDigit(i)) in main()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCompare.java50 for (char i = Character.MIN_VALUE; i < Character.MAX_VALUE; i++) { in main()
52 if (UCharacter.isDefined(i) != Character.isDefined(i)) in main()
53 … trackDifference(p, i, "isDefined()", "" + UCharacter.isDefined(i), "" + Character.isDefined(i)); in main()
55 if (UCharacter.digit(i, 10) != Character.digit(i, 10)) in main()
56 … trackDifference(p, i, "digit()", "" + UCharacter.digit(i, 10), "" + Character.digit(i, 10)); in main()
57 if (UCharacter.getNumericValue(i) != Character.getNumericValue(i)) in main()
59 + Character.getNumericValue(i)); in main()
60 if (!compareType(UCharacter.getType(i), Character.getType(i))) in main()
61 … trackDifference(p, i, "getType()", "" + UCharacter.getType(i), "" + Character.getType(i)); in main()
62 if (UCharacter.isDigit(i) != Character.isDigit(i)) in main()
[all …]
/external/guava/android/guava-tests/test/com/google/common/primitives/
DCharArrayAsListTest.java43 private static List<Character> asList(Character[] values) { in asList()
53 List<ListTestSuiteBuilder<Character>> builders = in suite()
64 for (ListTestSuiteBuilder<Character> builder : builders) { in suite()
82 protected List<Character> create(Character[] elements) { in create()
89 protected List<Character> create(Character[] elements) { in create()
90 Character[] suffix = {Character.MIN_VALUE, Character.MAX_VALUE}; in create()
91 Character[] all = concat(elements, suffix); in create()
98 protected List<Character> create(Character[] elements) { in create()
99 Character[] prefix = {(char) 86, (char) 99}; in create()
100 Character[] all = concat(prefix, elements); in create()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DCharArrayAsListTest.java43 private static List<Character> asList(Character[] values) { in asList()
53 List<ListTestSuiteBuilder<Character>> builders = in suite()
64 for (ListTestSuiteBuilder<Character> builder : builders) { in suite()
82 protected List<Character> create(Character[] elements) { in create()
89 protected List<Character> create(Character[] elements) { in create()
90 Character[] suffix = {Character.MIN_VALUE, Character.MAX_VALUE}; in create()
91 Character[] all = concat(elements, suffix); in create()
98 protected List<Character> create(Character[] elements) { in create()
99 Character[] prefix = {(char) 86, (char) 99}; in create()
100 Character[] all = concat(prefix, elements); in create()
[all …]
/external/flatbuffers/tests/union_vector/
Dcharacter.js5 export var Character; variable
6 (function (Character) { argument
7 Character[Character["NONE"] = 0] = "NONE";
8 Character[Character["MuLan"] = 1] = "MuLan";
9 Character[Character["Rapunzel"] = 2] = "Rapunzel";
10 Character[Character["Belle"] = 3] = "Belle";
11 Character[Character["BookFan"] = 4] = "BookFan";
12 Character[Character["Other"] = 5] = "Other";
13 Character[Character["Unused"] = 6] = "Unused";
14 })(Character || (Character = {}));
[all …]
DCharacter.cs6 public enum Character : byte enum
18 public Character Type { get; set; }
22 this.Type = Character.NONE; in CharacterUnion()
28 …erUnion FromMuLan(AttackerT _mulan) { return new CharacterUnion{ Type = Character.MuLan, Value = _… in FromMuLan()
30 …n FromRapunzel(RapunzelT _rapunzel) { return new CharacterUnion{ Type = Character.Rapunzel, Value … in FromRapunzel()
32 …Union FromBelle(BookReaderT _belle) { return new CharacterUnion{ Type = Character.Belle, Value = _… in FromBelle()
34 …n FromBookFan(BookReaderT _bookfan) { return new CharacterUnion{ Type = Character.BookFan, Value =… in FromBookFan()
36 …acterUnion FromOther(string _other) { return new CharacterUnion{ Type = Character.Other, Value = _… in FromOther()
38 …terUnion FromUnused(string _unused) { return new CharacterUnion{ Type = Character.Unused, Value = … in FromUnused()
43 case Character.MuLan: return Attacker.Pack(builder, _o.AsMuLan()).Value; in Pack()
[all …]
DMovie.cs20 …public Character MainCharacterType { get { int o = __p.__offset(4); return o != 0 ? (Character)__p…
29 …public Character CharactersType(int j) { int o = __p.__offset(8); return o != 0 ? (Character)__p.b… in CharactersType()
32 public Span<Character> GetCharactersTypeBytes() { return __p.__vector_as_span<Character>(8, 1); } in GetCharactersTypeBytes()
36Character[] GetCharactersTypeArray() { int o = __p.__offset(8); if (o == 0) return null; int p = _… in GetCharactersTypeArray()
42 Character main_character_type = Character.NONE, in CreateMovie()
55 …public static void AddMainCharacterType(FlatBufferBuilder builder, Character mainCharacterType) { … in AddMainCharacterType()
58 …public static VectorOffset CreateCharactersTypeVector(FlatBufferBuilder builder, Character[] data)… in CreateCharactersTypeVector()
59 …public static VectorOffset CreateCharactersTypeVectorBlock(FlatBufferBuilder builder, Character[] … in CreateCharactersTypeVectorBlock()
60 …CreateCharactersTypeVectorBlock(FlatBufferBuilder builder, ArraySegment<Character> data) { builder… in CreateCharactersTypeVectorBlock()
61 … int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Character>(dataPtr, sizeIn… in CreateCharactersTypeVectorBlock()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DTableCollectionTest.java119 Table<String, Integer, Character> table = in suite()
139 Table<String, Integer, Character> table = HashBasedTable.create(); in suite()
154 TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(); in suite()
175 Table<String, Integer, Character> table = HashBasedTable.create(); in suite()
189 RowSortedTable<String, Integer, Character> table = TreeBasedTable.create(); in suite()
209 Table<Integer, String, Character> table = in suite()
229 Table<Integer, String, Character> table = HashBasedTable.create(); in suite()
243 Table<Integer, String, Character> table = TreeBasedTable.create(); in suite()
263 Table<Integer, String, Character> table = HashBasedTable.create(); in suite()
277 RowSortedTable<Integer, String, Character> table = TreeBasedTable.create(); in suite()
[all …]
DArrayTableTest.java41 protected ArrayTable<String, Integer, Character> create(Object... data) { in create()
44 ArrayTable<String, Integer, Character> table = in create()
124 Table<String, Integer, Character> hashCopy = HashBasedTable.create(); in testEquals()
128 Table<String, Integer, Character> reordered = in testEquals()
130 Table<String, Integer, Character> smaller = create("foo", 1, 'a', "bar", 1, 'b'); in testEquals()
131 Table<String, Integer, Character> swapOuter = in testEquals()
133 Table<String, Integer, Character> swapValues = in testEquals()
162 Map<Integer, Character> expected = Maps.newHashMap(); in testRow()
172 Map<String, Character> expected = Maps.newHashMap(); in testColumn()
219 ArrayTable<String, String, Character> table = in testCreateEmptyRowsXColumns()
[all …]
DImmutableTableTest.java36 protected Table<String, Integer, Character> create(Object... data) { in create()
37 ImmutableTable.Builder<String, Integer, Character> builder = ImmutableTable.builder(); in create()
39 builder.put((String) data[i], (Integer) data[i + 1], (Character) data[i + 2]); in create()
67 ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>(); in testBuilder()
70 Table<Character, Integer, String> expectedTable = HashBasedTable.create(); in testBuilder()
74 Table<Character, Integer, String> otherTable = HashBasedTable.create(); in testBuilder()
81 ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>(); in testBuilder_withImmutableCell()
87 ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>(); in testBuilder_withImmutableCellAndNullContents()
89 builder.put(Tables.immutableCell((Character) null, 1, "foo")); in testBuilder_withImmutableCellAndNullContents()
113 ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>(); in testBuilder_withMutableCell()
[all …]
DRegularImmutableTableTest.java27 private static final ImmutableSet<Cell<Character, Integer, String>> CELLS =
33 private static final ImmutableSet<Character> ROW_SPACE = ImmutableSet.of('a', 'b');
37 private static final SparseImmutableTable<Character, Integer, String> SPARSE =
40 private static final DenseImmutableTable<Character, Integer, String> DENSE =
44 Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() { in getTestInstances()
45 return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, DENSE); in getTestInstances()
49 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testCellSet()
55 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testValues()
61 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testSize()
67 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testContainsValue()
[all …]
DAbstractTableTest.java33 protected void populate(Table<String, Integer, Character> table, Object... data) { in populate()
36 table.put((String) data[i], (Integer) data[i + 1], (Character) data[i + 2]); in populate()
67 assertEquals((Character) 'a', table.put("foo", 1, 'd')); in testPut()
68 assertEquals((Character) 'd', table.get("foo", 1)); in testPut()
69 assertEquals((Character) 'b', table.get("bar", 1)); in testPut()
71 assertEquals((Character) 'd', table.put("foo", 1, 'd')); in testPut()
72 assertEquals((Character) 'd', table.get("foo", 1)); in testPut()
107 assertEquals((Character) 'b', table.put("bar", 1, null)); in testPutNullReplace()
120 Table<String, Integer, Character> other = HashBasedTable.create(); in testPutAllTable()
125 assertEquals((Character) 'd', table.get("foo", 1)); in testPutAllTable()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DTableCollectionTest.java119 Table<String, Integer, Character> table = in suite()
139 Table<String, Integer, Character> table = HashBasedTable.create(); in suite()
154 TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(); in suite()
175 Table<String, Integer, Character> table = HashBasedTable.create(); in suite()
189 RowSortedTable<String, Integer, Character> table = TreeBasedTable.create(); in suite()
209 Table<Integer, String, Character> table = in suite()
229 Table<Integer, String, Character> table = HashBasedTable.create(); in suite()
243 Table<Integer, String, Character> table = TreeBasedTable.create(); in suite()
263 Table<Integer, String, Character> table = HashBasedTable.create(); in suite()
277 RowSortedTable<Integer, String, Character> table = TreeBasedTable.create(); in suite()
[all …]
DArrayTableTest.java41 protected ArrayTable<String, Integer, Character> create(Object... data) { in create()
44 ArrayTable<String, Integer, Character> table = in create()
124 Table<String, Integer, Character> hashCopy = HashBasedTable.create(); in testEquals()
128 Table<String, Integer, Character> reordered = in testEquals()
130 Table<String, Integer, Character> smaller = create("foo", 1, 'a', "bar", 1, 'b'); in testEquals()
131 Table<String, Integer, Character> swapOuter = in testEquals()
133 Table<String, Integer, Character> swapValues = in testEquals()
162 Map<Integer, Character> expected = Maps.newHashMap(); in testRow()
172 Map<String, Character> expected = Maps.newHashMap(); in testColumn()
219 ArrayTable<String, String, Character> table = in testCreateEmptyRowsXColumns()
[all …]
DImmutableTableTest.java33 protected Table<String, Integer, Character> create(Object... data) { in create()
34 ImmutableTable.Builder<String, Integer, Character> builder = ImmutableTable.builder(); in create()
36 builder.put((String) data[i], (Integer) data[i + 1], (Character) data[i + 2]); in create()
61 ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>(); in testBuilder()
64 Table<Character, Integer, String> expectedTable = HashBasedTable.create(); in testBuilder()
68 Table<Character, Integer, String> otherTable = HashBasedTable.create(); in testBuilder()
75 ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>(); in testBuilder_withImmutableCell()
81 ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>(); in testBuilder_withImmutableCellAndNullContents()
83 builder.put(Tables.immutableCell((Character) null, 1, "foo")); in testBuilder_withImmutableCellAndNullContents()
107 ImmutableTable.Builder<Character, Integer, String> builder = new ImmutableTable.Builder<>(); in testBuilder_withMutableCell()
[all …]
DRegularImmutableTableTest.java27 private static final ImmutableSet<Cell<Character, Integer, String>> CELLS =
33 private static final ImmutableSet<Character> ROW_SPACE = ImmutableSet.of('a', 'b');
37 private static final SparseImmutableTable<Character, Integer, String> SPARSE =
40 private static final DenseImmutableTable<Character, Integer, String> DENSE =
44 Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() { in getTestInstances()
45 return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, DENSE); in getTestInstances()
49 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testCellSet()
55 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testValues()
61 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testSize()
67 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testContainsValue()
[all …]
DAbstractTableTest.java33 protected void populate(Table<String, Integer, Character> table, Object... data) { in populate()
36 table.put((String) data[i], (Integer) data[i + 1], (Character) data[i + 2]); in populate()
67 assertEquals((Character) 'a', table.put("foo", 1, 'd')); in testPut()
68 assertEquals((Character) 'd', table.get("foo", 1)); in testPut()
69 assertEquals((Character) 'b', table.get("bar", 1)); in testPut()
71 assertEquals((Character) 'd', table.put("foo", 1, 'd')); in testPut()
72 assertEquals((Character) 'd', table.get("foo", 1)); in testPut()
107 assertEquals((Character) 'b', table.put("bar", 1, null)); in testPutNullReplace()
120 Table<String, Integer, Character> other = HashBasedTable.create(); in testPutAllTable()
125 assertEquals((Character) 'd', table.get("foo", 1)); in testPutAllTable()
[all …]
/external/guava/guava-tests/test/com/google/common/escape/
DUnicodeEscaperTest.java31 "" + Character.MIN_HIGH_SURROGATE + Character.MIN_LOW_SURROGATE;
33 "" + Character.MAX_HIGH_SURROGATE + Character.MAX_LOW_SURROGATE;
68 + Character.MIN_SUPPLEMENTARY_CODE_POINT in testSimpleEscaper()
71 + Character.MAX_CODE_POINT in testSimpleEscaper()
90 final int min = Character.MIN_SUPPLEMENTARY_CODE_POINT; in testSurrogatePairs()
91 final int max = Character.MAX_CODE_POINT; in testSurrogatePairs()
100 Character.toChars(min, dst, 1); in testSurrogatePairs()
101 Character.toChars(s1, dst, 3); in testSurrogatePairs()
102 Character.toChars(s2, dst, 5); in testSurrogatePairs()
103 Character.toChars(s3, dst, 7); in testSurrogatePairs()
[all …]
/external/guava/android/guava-tests/test/com/google/common/escape/
DUnicodeEscaperTest.java31 "" + Character.MIN_HIGH_SURROGATE + Character.MIN_LOW_SURROGATE;
33 "" + Character.MAX_HIGH_SURROGATE + Character.MAX_LOW_SURROGATE;
68 + Character.MIN_SUPPLEMENTARY_CODE_POINT in testSimpleEscaper()
71 + Character.MAX_CODE_POINT in testSimpleEscaper()
90 final int min = Character.MIN_SUPPLEMENTARY_CODE_POINT; in testSurrogatePairs()
91 final int max = Character.MAX_CODE_POINT; in testSurrogatePairs()
100 Character.toChars(min, dst, 1); in testSurrogatePairs()
101 Character.toChars(s1, dst, 3); in testSurrogatePairs()
102 Character.toChars(s2, dst, 5); in testSurrogatePairs()
103 Character.toChars(s3, dst, 7); in testSurrogatePairs()
[all …]
/external/guava/android/guava-tests/test/com/google/common/graph/
DTraverserTest.java50 private static final SuccessorsFunction<Character> JAVADOC_GRAPH =
64 private static final SuccessorsFunction<Character> DIAMOND_GRAPH =
80 private static final SuccessorsFunction<Character> MULTI_GRAPH =
84 private static final SuccessorsFunction<Character> CYCLE_GRAPH =
98 private static final SuccessorsFunction<Character> TWO_CYCLES_GRAPH =
115 private static final SuccessorsFunction<Character> TREE =
128 private static final SuccessorsFunction<Character> TWO_TREES = createDirectedGraph("ab", "cd");
137 private static final SuccessorsFunction<Character> SINGLE_ROOT = createSingleRootGraph();
152 private static final SuccessorsFunction<Character> CYCLIC_GRAPH_CONTAINING_TREE =
168 private static final SuccessorsFunction<Character> GRAPH_CONTAINING_TREE_AND_DIAMOND =
[all …]
/external/guava/guava-tests/test/com/google/common/graph/
DTraverserTest.java50 private static final SuccessorsFunction<Character> JAVADOC_GRAPH =
64 private static final SuccessorsFunction<Character> DIAMOND_GRAPH =
80 private static final SuccessorsFunction<Character> MULTI_GRAPH =
84 private static final SuccessorsFunction<Character> CYCLE_GRAPH =
98 private static final SuccessorsFunction<Character> TWO_CYCLES_GRAPH =
115 private static final SuccessorsFunction<Character> TREE =
128 private static final SuccessorsFunction<Character> TWO_TREES = createDirectedGraph("ab", "cd");
137 private static final SuccessorsFunction<Character> SINGLE_ROOT = createSingleRootGraph();
152 private static final SuccessorsFunction<Character> CYCLIC_GRAPH_CONTAINING_TREE =
168 private static final SuccessorsFunction<Character> GRAPH_CONTAINING_TREE_AND_DIAMOND =
[all …]
/external/caliper/examples/src/main/java/examples/
DCharacterBenchmark.java76 Character.digit(chars[ch], 10); in digit()
82 Character.digit((int) chars[ch], 10); in digit()
92 Character.getNumericValue(chars[ch]); in getNumericValue()
98 Character.getNumericValue((int) chars[ch]); in getNumericValue()
108 Character.isDigit(chars[ch]); in isDigit()
114 Character.isDigit((int) chars[ch]); in isDigit()
124 Character.isIdentifierIgnorable(chars[ch]); in isIdentifierIgnorable()
130 Character.isIdentifierIgnorable((int) chars[ch]); in isIdentifierIgnorable()
140 Character.isJavaIdentifierPart(chars[ch]); in isJavaIdentifierPart()
146 Character.isJavaIdentifierPart((int) chars[ch]); in isJavaIdentifierPart()
[all …]
/external/rust/crates/xml-rs/src/reader/
Dlexer.rs40 Character(char), enumerator
63 Token::Character(c) | Token::Whitespace(c) => write!(f, "{}", c), in fmt()
117 Token::Character(c) | Token::Whitespace(c) => target.push(c), in push_to_string()
129 Token::Whitespace(_) | Token::Chunk(_) | Token::Character(_) | Token::CommentEnd | in contains_char_data()
333 Ok(Some(Token::Character('?'))), in next_token()
335 Ok(Some(Token::Character('/'))), in next_token()
337 Ok(Some(Token::Character('-'))), in next_token()
339 Ok(Some(Token::Character(']'))), in next_token()
423 _ => Ok(Some(Token::Character(c))) in normal()
497 _ => self.move_to_with_unread(State::Normal, &[c], Token::Character('?')), in processing_instruction_closing()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestCharacterListGenerator.java30 public abstract class TestCharacterListGenerator implements TestListGenerator<Character> {
32 public SampleElements<Character> samples() { in samples()
37 public List<Character> create(Object... elements) { in create()
38 Character[] array = new Character[elements.length]; in create()
41 array[i++] = (Character) e; in create()
50 protected abstract List<Character> create(Character[] elements); in create()
53 public Character[] createArray(int length) { in createArray()
54 return new Character[length]; in createArray()
59 public List<Character> order(List<Character> insertionOrder) { in order()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DTestCharacterListGenerator.java30 public abstract class TestCharacterListGenerator implements TestListGenerator<Character> {
32 public SampleElements<Character> samples() { in samples()
37 public List<Character> create(Object... elements) { in create()
38 Character[] array = new Character[elements.length]; in create()
41 array[i++] = (Character) e; in create()
50 protected abstract List<Character> create(Character[] elements); in create()
53 public Character[] createArray(int length) { in createArray()
54 return new Character[length]; in createArray()
59 public List<Character> order(List<Character> insertionOrder) { in order()

12345678910>>...57