Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/lang/
DStringCoding.java76 private static byte[] safeTrim(byte[] ba, int len, Charset cs, boolean isTrusted) { in safeTrim() argument
81 if (len == ba.length && (isTrusted)) in safeTrim()
90 Charset cs, boolean isTrusted) { in safeTrim() argument
94 if (len == ca.length && (isTrusted)) in safeTrim()
134 private final boolean isTrusted; field in StringCoding.StringDecoder
142 this.isTrusted = (cs.getClass().getClassLoader() == null); in StringDecoder()
162 return safeTrim(ca, clen, cs, isTrusted); in decode()
179 return safeTrim(ca, cb.position(), cs, isTrusted); in decode()
226 boolean isTrusted = false; in decode()
228 if (!(isTrusted = (cs.getClass().getClassLoader() == null))) { in decode()
[all …]