Home
last modified time | relevance | path

Searched refs:userFriendly (Results 1 – 4 of 4) sorted by relevance

/external/caliper/examples/src/main/java/examples/
DUtf8Benchmark.java45 private static int decode(String userFriendly) { in decode() argument
47 return Integer.decode(userFriendly); in decode()
49 if (userFriendly.matches("(?i)(?:American|English|ASCII)")) { in decode()
52 } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) { in decode()
56 } else if (userFriendly.matches("(?i)(?:Branch.*Prediction.*Hostile)")) { in decode()
59 } else if (userFriendly.matches("(?i)(?:Greek|Cyrillic|European|ISO.?8859)")) { in decode()
62 } else if (userFriendly.matches("(?i)(?:Chinese|Han|Asian|BMP)")) { in decode()
65 } else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) { in decode()
69 throw new IllegalArgumentException("Can't decode codepoint " + userFriendly); in decode()
74 public static MaxCodePoint valueOf(String userFriendly) { in valueOf() argument
[all …]
/external/guava/guava-tests/benchmark/com/google/common/hash/
DHashStringBenchmark.java34 private static int decode(String userFriendly) { in decode() argument
36 return Integer.decode(userFriendly); in decode()
38 if (userFriendly.matches("(?i)(?:American|English|ASCII)")) { in decode()
41 } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) { in decode()
45 } else if (userFriendly.matches("(?i)(?:Branch.*Prediction.*Hostile)")) { in decode()
48 } else if (userFriendly.matches("(?i)(?:Greek|Cyrillic|European|ISO.?8859)")) { in decode()
51 } else if (userFriendly.matches("(?i)(?:Chinese|Han|Asian|BMP)")) { in decode()
54 } else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) { in decode()
58 throw new IllegalArgumentException("Can't decode codepoint " + userFriendly); in decode()
63 public static MaxCodePoint valueOf(String userFriendly) { in valueOf() argument
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/hash/
DHashStringBenchmark.java34 private static int decode(String userFriendly) { in decode() argument
36 return Integer.decode(userFriendly); in decode()
38 if (userFriendly.matches("(?i)(?:American|English|ASCII)")) { in decode()
41 } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) { in decode()
45 } else if (userFriendly.matches("(?i)(?:Branch.*Prediction.*Hostile)")) { in decode()
48 } else if (userFriendly.matches("(?i)(?:Greek|Cyrillic|European|ISO.?8859)")) { in decode()
51 } else if (userFriendly.matches("(?i)(?:Chinese|Han|Asian|BMP)")) { in decode()
54 } else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) { in decode()
58 throw new IllegalArgumentException("Can't decode codepoint " + userFriendly); in decode()
63 public static MaxCodePoint valueOf(String userFriendly) { in valueOf() argument
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUtf8Utils.java50 private static int decode(String userFriendly) { in decode() argument
52 return Integer.decode(userFriendly); in decode()
54 if (userFriendly.matches("(?i)(?:American|English|ASCII)")) { in decode()
57 } else if (userFriendly.matches("(?i)(?:Danish|Latin|Western.*European)")) { in decode()
61 } else if (userFriendly.matches("(?i)(?:Greek|Cyrillic|European|ISO.?8859)")) { in decode()
64 } else if (userFriendly.matches("(?i)(?:Chinese|Han|Asian|BMP)")) { in decode()
67 } else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) { in decode()
71 throw new IllegalArgumentException("Can't decode codepoint " + userFriendly); in decode()
76 public static MaxCodePoint valueOf(String userFriendly) { in valueOf() argument
77 return new MaxCodePoint(userFriendly); in valueOf()
[all …]