Home
last modified time | relevance | path

Searched refs:maxCodePoint (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUtf8Utils.java117 static String[] randomStrings(int stringCount, int charCount, MaxCodePoint maxCodePoint) { in randomStrings() argument
122 strings[i] = randomString(rnd, charCount, maxCodePoint); in randomStrings()
134 static String randomString(Random rnd, int charCount, MaxCodePoint maxCodePoint) { in randomString() argument
139 codePoint = rnd.nextInt(maxCodePoint.value); in randomString()
DUtf8Test.java87 private static String randomString(int maxCodePoint) { in randomString() argument
94 codePoint = rnd.nextInt(maxCodePoint); in randomString()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DNormalizationMonkeyTest.java28 int maxCodePoint = 0x10ffff; field in NormalizationMonkeyTest
99 int codepoint = random.nextInt(maxCodePoint); in getTestSource()
102 codepoint = random.nextInt(maxCodePoint); in getTestSource()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DNormalizationMonkeyTest.java31 int maxCodePoint = 0x10ffff; field in NormalizationMonkeyTest
102 int codepoint = random.nextInt(maxCodePoint); in getTestSource()
105 codepoint = random.nextInt(maxCodePoint); in getTestSource()
/external/caliper/examples/src/main/java/examples/
DUtf8Benchmark.java88 @Param({"0x80", "0x100", "0x800", "0x10000", "0x10ffff"}) MaxCodePoint maxCodePoint; field in Utf8Benchmark
108 codePoint = rnd.nextInt(maxCodePoint.value); in setUp()
/external/guava/guava-tests/benchmark/com/google/common/hash/
DHashStringBenchmark.java79 MaxCodePoint maxCodePoint; field in HashStringBenchmark
107 codePoint = rnd.nextInt(maxCodePoint.value); in setUp()
/external/guava/android/guava-tests/benchmark/com/google/common/hash/
DHashStringBenchmark.java79 MaxCodePoint maxCodePoint; field in HashStringBenchmark
107 codePoint = rnd.nextInt(maxCodePoint.value); in setUp()