OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UnicodeEscaper
(Results
1 - 25
of
47
) sorted by null
1
2
/external/guava/guava-tests/test/com/google/common/escape/
UnicodeEscaperTest.java
24
* Tests for {@link
UnicodeEscaper
}.
41
private static final
UnicodeEscaper
NOP_ESCAPER = new
UnicodeEscaper
() {
49
private static final
UnicodeEscaper
SIMPLE_ESCAPER = new
UnicodeEscaper
() {
60
UnicodeEscaper
e = NOP_ESCAPER;
65
UnicodeEscaper
e = SIMPLE_ESCAPER;
84
UnicodeEscaper
e = SIMPLE_ESCAPER;
128
UnicodeEscaper
e = SIMPLE_ESCAPER;
138
UnicodeEscaper
e = SIMPLE_ESCAPER
[
all
...]
ArrayBasedUnicodeEscaperTest.java
45
UnicodeEscaper
escaper = new ArrayBasedUnicodeEscaper(SIMPLE_REPLACEMENTS,
71
UnicodeEscaper
wrappingEscaper =
83
UnicodeEscaper
deletingEscaper =
96
UnicodeEscaper
replacingEscaper =
112
UnicodeEscaper
surrogateEscaper =
EscapersTest.java
95
UnicodeEscaper
unicodeEscaper
= Escapers.asUnicodeEscaper(charEscaper);
96
EscaperAsserts.assertBasic(
unicodeEscaper
);
98
assertEquals("<hello><hi><lo>",
unicodeEscaper
.escape("x\uD800\uDC00"));
103
unicodeEscaper
.escape("\uD800x\uDC00");
110
unicodeEscaper
.escape("\uDC00\uD800");
128
private
UnicodeEscaper
createSimpleUnicodeEscaper(
130
return new
UnicodeEscaper
() {
/external/guava/guava-tests/test/com/google/common/net/
PercentEscaperTest.java
25
import com.google.common.escape.
UnicodeEscaper
;
39
UnicodeEscaper
e = new PercentEscaper("", false);
69
UnicodeEscaper
basicEscaper = new PercentEscaper("", false);
70
UnicodeEscaper
plusForSpaceEscaper = new PercentEscaper("", true);
71
UnicodeEscaper
spaceEscaper = new PercentEscaper(" ", false);
83
UnicodeEscaper
e = new PercentEscaper("+*/-", false);
98
UnicodeEscaper
e = new PercentEscaper("%", false);
UrlEscapersTest.java
27
import com.google.common.escape.
UnicodeEscaper
;
42
static void assertBasicUrlEscaperExceptPercent(
UnicodeEscaper
e) {
81
static void assertBasicUrlEscaper(
UnicodeEscaper
e) {
88
UnicodeEscaper
e = (
UnicodeEscaper
) urlFormParameterEscaper();
113
UnicodeEscaper
e = (
UnicodeEscaper
) urlPathSegmentEscaper();
118
static void assertPathEscaper(
UnicodeEscaper
e) {
137
UnicodeEscaper
e = (
UnicodeEscaper
) urlFragmentEscaper()
[
all
...]
/external/guava/guava-testlib/src/com/google/common/escape/testing/
EscaperAsserts.java
25
import com.google.common.escape.
UnicodeEscaper
;
94
public static void assertEscaping(
UnicodeEscaper
escaper, String expected,
108
public static void assertUnescaped(
UnicodeEscaper
escaper, int cp) {
121
public static void assertUnicodeEscaping(
UnicodeEscaper
escaper,
/external/guava/guava/src/com/google/common/escape/
Escapers.java
167
* Returns a {@link
UnicodeEscaper
} equivalent to the given escaper instance.
168
* If the escaper is already a
UnicodeEscaper
then it is simply returned,
169
* otherwise it is wrapped in a
UnicodeEscaper
.
177
* @return a
UnicodeEscaper
with the same behavior as the given instance
179
* @throws IllegalArgumentException if escaper is not a
UnicodeEscaper
or a
182
static
UnicodeEscaper
asUnicodeEscaper(Escaper escaper) {
184
if (escaper instanceof
UnicodeEscaper
) {
185
return (
UnicodeEscaper
) escaper;
190
// extend either CharEscaper or
UnicodeEscaper
for non trivial cases.
191
throw new IllegalArgumentException("Cannot create a
UnicodeEscaper
from: "
[
all
...]
UnicodeEscaper.java
44
* you should favor using
UnicodeEscaper
wherever possible.
46
* <p>A {@code
UnicodeEscaper
} instance is required to be stateless, and safe
60
public abstract class
UnicodeEscaper
extends Escaper {
65
protected
UnicodeEscaper
() {}
ArrayBasedUnicodeEscaper.java
29
* A {@link
UnicodeEscaper
} that uses an array to quickly look up replacement
51
public abstract class ArrayBasedUnicodeEscaper extends
UnicodeEscaper
{
/external/guava/guava/src/com/google/common/net/
PercentEscaper.java
23
import com.google.common.escape.
UnicodeEscaper
;
26
* A {@code
UnicodeEscaper
} that escapes some set of Java characters using a
59
public final class PercentEscaper extends
UnicodeEscaper
{
246
// If this ever happens it is due to bug in
UnicodeEscaper
, not bad input.
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/
PercentEscaper.java
19
* A {@code
UnicodeEscaper
} that escapes some set of Java characters using the
67
public class PercentEscaper extends
UnicodeEscaper
{
276
// If this ever happens it is due to bug in
UnicodeEscaper
, not bad
UnicodeEscaper.java
43
* you should favor using
UnicodeEscaper
wherever possible.
46
* A {@code
UnicodeEscaper
} instance is required to be stateless, and safe when
56
public abstract class
UnicodeEscaper
implements Escaper {
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
PercentEscaper.java
22
* A {@code
UnicodeEscaper
} that escapes some set of Java characters using
64
public class PercentEscaper extends
UnicodeEscaper
{
277
// If this ever happens it is due to bug in
UnicodeEscaper
, not bad input.
UnicodeEscaper.java
44
* you should favor using
UnicodeEscaper
wherever possible.
46
* <p>A {@code
UnicodeEscaper
} instance is required to be stateless, and safe
55
public abstract class
UnicodeEscaper
extends Escaper {
/prebuilts/tools/common/m2/repository/com/google/http-client/google-http-client/1.19.0/
google-http-client-1.19.0.jar
/prebuilts/tools/common/m2/repository/com/google/http-client/google-http-client/1.22.0/
google-http-client-1.22.0.jar
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.2.1/
commons-lang3-3.2.1.jar
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.3/
commons-lang3-3.3.jar
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.3.2/
commons-lang3-3.3.2.jar
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.4/
commons-lang3-3.4.jar
/cts/tests/libcore/javautilcollections/libs/
guava-20.0.jar
/external/dagger2/lib/
google-java-format-0.1-20151017.042846-2.jar
/external/guice/lib/
guava-16.0.1.jar
/prebuilts/devtools/tools/lib/
guava-17.0.jar
guava-18.0.jar
Completed in 981 milliseconds
1
2