Searched refs:parseCharset (Results 1 – 6 of 6) sorted by relevance
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | HttpHeaderParserTest.java | 251 public void parseCharset() { 254 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers)); 258 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers, "ISO-8859-1")); 262 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers)); 266 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers)); 270 assertEquals("ISO-8859-1", HttpHeaderParser.parseCharset(headers)); 274 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers, "utf-8")); 278 assertEquals("ISO-8859-1", HttpHeaderParser.parseCharset(headers)); 282 assertEquals("ISO-8859-1", HttpHeaderParser.parseCharset(headers)); 286 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers, "utf-8")); [all …]
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | HttpHeaderParser.java | 186 public static String parseCharset( in parseCharset() method in HttpHeaderParser 211 public static String parseCharset(@Nullable Map<String, String> headers) { in parseCharset() method in HttpHeaderParser 212 return parseCharset(headers, DEFAULT_CONTENT_CHARSET); in parseCharset()
|
D | JsonArrayRequest.java | 74 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); in parseNetworkResponse()
|
D | JsonObjectRequest.java | 84 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); in parseNetworkResponse()
|
D | StringRequest.java | 91 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers)); in parseNetworkResponse()
|
/external/fonttools/Lib/fontTools/cffLib/ |
D | __init__.py | 1467 charset = parseCharset(numGlyphs, file, parent.strings, isCID, format) 1631 def parseCharset(numGlyphs, file, strings, isCID, fmt): function
|