Home
last modified time | relevance | path

Searched refs:letters (Results 1 – 25 of 523) sorted by relevance

12345678910>>...21

/external/guava/android/guava-tests/test/com/google/common/base/
DSplitterTest.java48 Iterable<String> letters = COMMA_SPLITTER.split(simple); in testCharacterSimpleSplit() local
49 assertThat(letters).containsExactly("a", "b", "c").inOrder(); in testCharacterSimpleSplit()
61 List<String> letters = COMMA_SPLITTER.splitToList(simple); in testCharacterSimpleSplitToList() local
62 assertThat(letters).containsExactly("a", "b", "c").inOrder(); in testCharacterSimpleSplitToList()
73 Iterable<String> letters = Splitter.on('.').split(simple); in testCharacterSimpleSplitWithNoDelimiter() local
74 assertThat(letters).containsExactly("a,b,c").inOrder(); in testCharacterSimpleSplitWithNoDelimiter()
79 Iterable<String> letters = COMMA_SPLITTER.split(doubled); in testCharacterSplitWithDoubleDelimiter() local
80 assertThat(letters).containsExactly("a", "", "b", "c").inOrder(); in testCharacterSplitWithDoubleDelimiter()
85 Iterable<String> letters = COMMA_SPLITTER.split(doubled); in testCharacterSplitWithDoubleDelimiterAndSpace() local
86 assertThat(letters).containsExactly("a", "", " b", "c").inOrder(); in testCharacterSplitWithDoubleDelimiterAndSpace()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DSplitterTest.java49 Iterable<String> letters = COMMA_SPLITTER.split(simple); in testCharacterSimpleSplit() local
50 assertThat(letters).containsExactly("a", "b", "c").inOrder(); in testCharacterSimpleSplit()
62 List<String> letters = COMMA_SPLITTER.splitToList(simple); in testCharacterSimpleSplitToList() local
63 assertThat(letters).containsExactly("a", "b", "c").inOrder(); in testCharacterSimpleSplitToList()
68 List<String> letters = COMMA_SPLITTER.splitToStream(simple).collect(toImmutableList()); in testCharacterSimpleSplitToStream() local
69 assertThat(letters).containsExactly("a", "b", "c").inOrder(); in testCharacterSimpleSplitToStream()
80 Iterable<String> letters = Splitter.on('.').split(simple); in testCharacterSimpleSplitWithNoDelimiter() local
81 assertThat(letters).containsExactly("a,b,c").inOrder(); in testCharacterSimpleSplitWithNoDelimiter()
86 Iterable<String> letters = COMMA_SPLITTER.split(doubled); in testCharacterSplitWithDoubleDelimiter() local
87 assertThat(letters).containsExactly("a", "", "b", "c").inOrder(); in testCharacterSplitWithDoubleDelimiter()
[all …]
/external/catch2/projects/SelfTest/IntrospectiveTests/
DStringManip.tests.cpp27 std::string letters = "abcdefcg"; variable
29 CHECK(Catch::replaceInPlace(letters, "b", "z"));
30 CHECK(letters == "azcdefcg");
33 CHECK(Catch::replaceInPlace(letters, "c", "z"));
34 CHECK(letters == "abzdefzg");
37 CHECK(Catch::replaceInPlace(letters, "a", "z"));
38 CHECK(letters == "zbcdefcg");
41 CHECK(Catch::replaceInPlace(letters, "g", "z"));
42 CHECK(letters == "abcdefcz");
45 CHECK(Catch::replaceInPlace(letters, letters, "replaced"));
[all …]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DNGramParser.java75 private char[] letters = new char[N_GRAM_SIZE]; field in NGramParser
119 letters[letterCount++] = letter; in addLetter()
122 String key = new String(letters); in addLetter()
128 letters[i] = letters[i + 1]; in addLetter()
/external/icu/icu4c/source/test/cintltst/
Dcbiditransformtst.c71 uint32_t letters);
234 const UChar *destTxt, const char *expectedChars, uint32_t digits, uint32_t letters) in verifyResultsForAllOpt() argument
248 switch (letters) { in verifyResultsForAllOpt()
258 …pTest->pMessage, digits, letters, pseudoScript(srcTxt), pseudoScript(destTxt), pseudoScript(expect… in verifyResultsForAllOpt()
387 static const uint32_t letters[] = { in testAllTransformOptions() local
394 uint32_t k, nLetters = sizeof(letters) / sizeof(letters[0]); in testAllTransformOptions()
419 UBIDI_MIRRORING_OFF, digits[j] | letters[k], in testAllTransformOptions()
422 letters[k]); in testAllTransformOptions()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestBidiTransform.java214 final int[] letters = { in allTransformOptionsTest() local
231 for (int letter : letters) { in allTransformOptionsTest()
250 …Opts(Object[] test, String inText, String outText, char[] expectedChars, int digits, int letters) { in verifyResultsForAllOpts() argument
261 switch (letters) { in verifyResultsForAllOpts()
272 assertEquals("\nTest " + test[7] + "\ndigits: " + digits + ", letters: " + letters in verifyResultsForAllOpts()
329 private static final String letters = "\u0630\ufeab\u0631\ufead\u0632\ufeaf"; field in TestBidiTransform
333 int index = letters.indexOf(chars[i]); in shapeLetters()
335 chars[i] = letters.charAt(index ^ 1); in shapeLetters()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestBidiTransform.java217 final int[] letters = { in allTransformOptionsTest() local
234 for (int letter : letters) { in allTransformOptionsTest()
253 …Opts(Object[] test, String inText, String outText, char[] expectedChars, int digits, int letters) { in verifyResultsForAllOpts() argument
264 switch (letters) { in verifyResultsForAllOpts()
275 assertEquals("\nTest " + test[7] + "\ndigits: " + digits + ", letters: " + letters in verifyResultsForAllOpts()
332 private static final String letters = "\u0630\ufeab\u0631\ufead\u0632\ufeaf"; field in TestBidiTransform
336 int index = letters.indexOf(chars[i]); in shapeLetters()
338 chars[i] = letters.charAt(index ^ 1); in shapeLetters()
/external/python/cpython3/Lib/test/
Dtest_pprint.py818 letters = b'abcdefghijklmnopqrstuvwxyz'
819 self.assertEqual(pprint.pformat(letters, width=29), repr(letters))
820 self.assertEqual(pprint.pformat(letters, width=19), """\
823 self.assertEqual(pprint.pformat(letters, width=18), """\
827 self.assertEqual(pprint.pformat(letters, width=16), """\
845 self.assertEqual(pprint.pformat({'a': 1, 'b': letters, 'c': 2},
852 self.assertEqual(pprint.pformat({'a': 1, 'b': letters, 'c': 2},
859 self.assertEqual(pprint.pformat([[[[[[letters]]]]]], width=25), """\
874 letters = bytearray(b'abcdefghijklmnopqrstuvwxyz')
875 self.assertEqual(pprint.pformat(letters, width=40), repr(letters))
[all …]
Dtest_weakset.py30 self.letters = [ustr(c) for c in string.ascii_letters]
54 for c in self.letters:
64 for c in self.letters:
85 s = WeakSet(self.letters)
87 for c in self.letters:
88 self.assertEqual(c in i, c in self.items2 and c in self.letters)
89 self.assertEqual(s, WeakSet(self.letters))
101 self.assertTrue(not self.s.isdisjoint(WeakSet(self.letters)))
110 for c in self.letters:
123 for c in self.letters:
/external/llvm/test/CodeGen/Generic/
D2008-01-30-LoadCrash.ll3 @letters.3100 = external constant [63 x i8] ; <[63 x i8]*> [#uses=2]
11 %tmp83 = getelementptr [63 x i8], [63 x i8]* @letters.3100, i32 0, i32 %tmp8182 ; <i8*> [#uses=1]
16 %tmp92 = getelementptr [63 x i8], [63 x i8]* @letters.3100, i32 0, i32 %tmp9091 ; <i8*> [#uses=1]
/external/llvm-project/llvm/test/CodeGen/Generic/
D2008-01-30-LoadCrash.ll3 @letters.3100 = external constant [63 x i8] ; <[63 x i8]*> [#uses=2]
11 %tmp83 = getelementptr [63 x i8], [63 x i8]* @letters.3100, i32 0, i32 %tmp8182 ; <i8*> [#uses=1]
16 %tmp92 = getelementptr [63 x i8], [63 x i8]* @letters.3100, i32 0, i32 %tmp9091 ; <i8*> [#uses=1]
/external/icu/icu4c/source/data/translit/
Duz_Cyrl_uz_Latn.txt11 $letters = [[:sc=Latn:][:sc=Cyrl:] & [:L:]] ;
13 $lower = [$letters & [:Ll:]] ;
25 # нг ↔ ng ; as separate letters works
26 # Нг ↔ Ng ; as separate letters works
DHan_Spacedhan.txt18 # add space between any Han or terminal punctuation and letters, and
19 # between letters and Han or initial punct
22 # remove spacing between ideographs and other letters
Dblt_blt_FONIPA.txt23 # Currently, these rules only support tone marks, but not tone letters.
67 # TODO: Also support tone letters, not just tone marks.
74 # TODO: Also support tone letters, not just tone marks.
110 {[ꪪ ꪫ]} $IPA_TONE → w; # at the end of a syllable (before tone letters)
/external/libcups/backend/
Dieee1284.c413 int letters, /* Number of letters seen */ in backendGetMakeModel() local
417 for (ptr = des, letters = 0, spaces = 0; *ptr; ptr ++) in backendGetMakeModel()
422 letters ++; in backendGetMakeModel()
424 if (spaces && letters) in backendGetMakeModel()
428 if (spaces && letters) in backendGetMakeModel()
/external/libxml2/test/schematron/
Dzvon12.sct4 … <report test="string-length(@bbb) &lt; 2">There is not enough letters in the abbreviation</report>
5 … <report test="string-length(@bbb) > 3">There is too much letters in the abbreviation</report>
/external/curl/docs/cmdline-opts/
Dgloboff.d7 you can specify URLs that contain the letters {}[] without having them being
8 interpreted by curl itself. Note that these letters are not normal legal URL
/external/wpa_supplicant_8/src/p2p/
Dp2p_utils.c30 u8 letters = 'Z' - 'A' + 1; in p2p_random() local
38 val %= 2 * letters + numbers; in p2p_random()
39 if (val < letters) in p2p_random()
41 else if (val < 2 * letters) in p2p_random()
42 buf[i] = 'a' + (val - letters); in p2p_random()
44 buf[i] = '0' + (val - 2 * letters); in p2p_random()
/external/python/cpython2/Lib/test/
Dtest_weakset.py43 self.letters = [SomeClass(c) for c in string.ascii_letters]
73 for c in self.letters:
83 for c in self.letters:
104 s = WeakSet(self.letters)
106 for c in self.letters:
107 self.assertEqual(c in i, c in self.items2 and c in self.letters)
108 self.assertEqual(s, WeakSet(self.letters))
120 self.assertTrue(not self.s.isdisjoint(WeakSet(self.letters)))
129 for c in self.letters:
142 for c in self.letters:
Dtest_pkgimport.py10 self.package_name += random.choose(string.letters)
62 var += random.choose(string.letters)
/external/libxkbcommon/test/data/symbols/
Dcz186 name[Group1]= "Czech (UCW, only accented letters)";
248 // phonetic layout for Russian letters on an CZ (QWERTY) keyboard
328 // Programmer keyboard. Based on the US layout with accented Czech letters and dead keys.
330 // Using AltGr+Shift on accented letters generates its uppercase variant.
331 …ltGr or AltGr+Shift on letters which have accent in Czech but are not on the 1st row directly acce…
333 // Other Czech letters besides alphanumeric keys (like uacute, uring) are generated using AltGr.
470 …// Programmer + Typographic keyboard. Based on the US layout with accented Czech letters and dead …
472 // Using AltGr+Shift on accented letters generates its uppercase variant.
473 …ltGr or AltGr+Shift on letters which have accent in Czech but are not on the 1st row directly acce…
475 // Other Czech letters besides alphanumeric keys (like uacute, uring) are generated using AltGr.
/external/icu/icu4c/source/common/
Dubiditransform.cpp89 uint32_t letters; /* letter option for ArabicShaping */ member
276 if ((pTransform->letters | pTransform->digits) == 0) { in action_shapeArabic()
280 …doShape(pTransform, pTransform->letters | pTransform->digits | pTransform->pActiveScheme->lettersD… in action_shapeArabic()
287 doShape(pTransform, pTransform->letters | pTransform->pActiveScheme->lettersDir, in action_shapeArabic()
483 pBiDiTransform->letters = shapingOptions & ~U_SHAPE_DIGITS_MASK; in ubiditransform_transform()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateScriptMetadata.txt35 # Derived from whether the script contains RTL letters according to the Bidi_Class property
36 # 7 - LB letters:
37 # YES if the major languages using the script allow linebreaks between letters (excluding hyphenat…
/external/rust/crates/unicode-width/scripts/
Dunicode.py112 letters = sorted(set(cat))
113 cur_start = letters.pop(0)
115 for letter in letters:
/external/icu/icu4c/source/samples/ucnv/
Dconvsamp.cpp311 uint32_t letters=0, total=0; in convsample_05() local
368 letters++; in convsample_05()
374 printf("%d letters out of %d total UChars.\n", letters, total); in convsample_05()
407 uint32_t letters=0, total=0; in convsample_06() local
466 letters++; in convsample_06()
490 printf("%d letters out of %d total UChars.\n", letters, total); in convsample_06()

12345678910>>...21