Home
last modified time | relevance | path

Searched defs:charset (Results 1 – 25 of 168) sorted by relevance

1234567

/external/guava/guava-tests/test/com/google/common/net/
DMediaTypeTest.java78 Optional<Charset> charset = ((MediaType) field.get(null)).charset(); in testConstants_charset() local
80 assertEquals(Optional.of(UTF_8), charset); in testConstants_charset() local
82 assertEquals(Optional.absent(), charset); in testConstants_charset() local
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DMediaType.java37 private final String charset; field in MediaType
39 private MediaType(String mediaType, String type, String subtype, String charset) { in MediaType()
56 String charset = null; in parse() local
96 public Charset charset() { in charset() method in MediaType
104 public Charset charset(Charset defaultValue) { in charset() method in MediaType
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DMediaType.java39 private final String charset; field in MediaType
41 private MediaType(String mediaType, String type, String subtype, String charset) { in MediaType()
58 String charset = null; in parse() local
98 public Charset charset() { in charset() method in MediaType
106 public Charset charset(Charset defaultValue) { in charset() method in MediaType
/external/mockito/src/test/java/org/mockitousage/bugs/
DFinalHashCodeAndEqualsRaiseNPEInInitMocksTest.java16 @Mock private Charset charset; field in FinalHashCodeAndEqualsRaiseNPEInInitMocksTest
26 private Charset charset; field in FinalHashCodeAndEqualsRaiseNPEInInitMocksTest.FieldCharsetHolder
30 public ConstructorCharsetHolder(Charset charset) { in ConstructorCharsetHolder()
/external/apache-http/src/org/apache/http/params/
DHttpProtocolParams.java75 String charset = (String) params.getParameter in getHttpElementCharset() local
87 public static void setHttpElementCharset(final HttpParams params, final String charset) { in setHttpElementCharset()
103 String charset = (String) params.getParameter in getContentCharset() local
116 public static void setContentCharset(final HttpParams params, final String charset) { in setContentCharset()
/external/guava/guava/src/com/google/common/io/
DFiles.java81 public static BufferedReader newReader(File file, Charset charset) in newReader()
98 public static BufferedWriter newWriter(File file, Charset charset) in newWriter()
215 public static CharSource asCharSource(File file, Charset charset) { in asCharSource()
229 public static CharSink asCharSink(File file, Charset charset, in asCharSink()
263 public static String toString(File file, Charset charset) throws IOException { in toString()
318 public static void write(CharSequence from, File to, Charset charset) in write()
333 public static void append(CharSequence from, File to, Charset charset) in append()
349 private static void write(CharSequence from, File to, Charset charset, in write()
364 public static void copy(File from, Charset charset, Appendable to) in copy()
511 public static String readFirstLine(File file, Charset charset) in readFirstLine()
[all …]
DByteSink.java58 public CharSink asCharSink(Charset charset) { in asCharSink()
140 private final Charset charset; field in ByteSink.AsCharSink
142 private AsCharSink(Charset charset) { in AsCharSink()
DResources.java87 public static CharSource asCharSource(URL url, Charset charset) { in asCharSource()
112 public static String toString(URL url, Charset charset) throws IOException { in toString()
127 public static <T> T readLines(URL url, Charset charset, in readLines()
147 public static List<String> readLines(URL url, Charset charset) in readLines()
/external/apache-http/src/org/apache/http/util/
DEncodingUtils.java67 String charset in getString()
95 public static String getString(final byte[] data, final String charset) { in getString()
110 public static byte[] getBytes(final String data, final String charset) { in getBytes()
/external/apache-http/src/org/apache/commons/codec/net/
DBCodec.java54 private String charset = StringEncodings.UTF8; field in BCodec
72 public BCodec(final String charset) { in BCodec()
107 public String encode(final String value, final String charset) throws EncoderException { in encode()
DURLCodec.java60 protected String charset = StringEncodings.UTF8; field in URLCodec
103 public URLCodec(String charset) { in URLCodec()
225 public String encode(String pString, String charset) in encode()
269 public String decode(String pString, String charset) in decode()
DQuotedPrintableCodec.java68 private String charset = StringEncodings.UTF8; field in QuotedPrintableCodec
106 public QuotedPrintableCodec(String charset) { in QuotedPrintableCodec()
280 …public String decode(String pString, String charset) throws DecoderException, UnsupportedEncodingE… in decode()
386 public String encode(String pString, String charset) throws UnsupportedEncodingException { in encode()
DQCodec.java56 private String charset = StringEncodings.UTF8; field in QCodec
128 public QCodec(final String charset) { in QCodec()
190 public String encode(final String pString, final String charset) throws EncoderException { in encode()
DRFC1522Codec.java70 protected String encodeText(final String text, final String charset) in encodeText()
115 String charset = text.substring(from, to); in decodeText() local
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DStrictLineReader.java50 private final Charset charset; field in StrictLineReader
71 public StrictLineReader(InputStream in, Charset charset) { in StrictLineReader()
86 public StrictLineReader(InputStream in, int capacity, Charset charset) { in StrictLineReader()
/external/apache-http/src/org/apache/http/auth/params/
DAuthParams.java75 String charset = (String) params.getParameter in getCredentialCharset() local
92 public static void setCredentialCharset(final HttpParams params, final String charset) { in setCredentialCharset()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DCharsets.java72 public static Charset toCharset(final Charset charset) { in toCharset()
87 public static Charset toCharset(final String charset) { in toCharset()
/external/python/cpython2/Lib/email/
Dheader.py145 def __init__(self, s=None, charset=None, argument
233 def append(self, s, charset=None, errors='strict'): argument
288 def _split(self, s, charset, maxlinelen, splitchars): argument
334 def _split_ascii(self, s, charset, firstlen, splitchars): argument
488 def _binsplit(splittable, charset, maxlinelen): argument
/external/apache-http/src/org/apache/http/impl/auth/
DBasicScheme.java146 String charset = AuthParams.getCredentialCharset(request.getParams()); in authenticate() local
161 final String charset, in authenticate()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmapmanager.cpp44 CPDF_CID2UnicodeMap* CPDF_CMapManager::GetCID2UnicodeMap(CIDSet charset, in GetCID2UnicodeMap()
53 CIDSet charset, in LoadCID2UnicodeMap()
/external/pdfium/fpdfsdk/
Dfpdf_sysfontinfo.cpp52 int charset, in MapFont()
91 bool GetFontCharset(void* hFont, int* charset) override { in GetFontCharset()
110 int charset) { in FPDF_AddInstalledFont()
145 int charset, in DefaultMapFont()
185 int charset; in DefaultGetFontCharset() local
/external/apache-http/android/src/com/android/internal/http/multipart/
DFilePart.java91 public FilePart(String name, PartSource partSource, String contentType, String charset) { in FilePart()
143 public FilePart(String name, File file, String contentType, String charset) in FilePart()
177 public FilePart(String name, String fileName, File file, String contentType, String charset) in FilePart()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResourceString.java37 private final Charset charset; field in ResourceString.Type
39 Type(Charset charset) { in Type()
43 public Charset charset() { in charset() method in ResourceString.Type
/external/cldr/tools/java/org/unicode/cldr/util/
DStringIterables.java39 public static Iterable<String> in(Class<?> class1, String file, Charset charset) { in in()
78 public static Iterable<String> in(String directory, String file, Charset charset) { in in()
DFileReaders.java21 public static BufferedReader openFile(Class<?> class1, String file, Charset charset) { in openFile()
57 public static BufferedReader openFile(String directory, String file, Charset charset) { in openFile()

1234567