Searched refs:charset (Results 76 - 100 of 344) sorted by relevance

1234567891011>>

/external/pdfium/fpdfsdk/
H A Dcfx_systemhandler.cpp23 int CharSet2CP(int charset) { argument
24 if (charset == FXFONT_SHIFTJIS_CHARSET)
26 if (charset == FXFONT_GB2312_CHARSET)
28 if (charset == FXFONT_HANGUL_CHARSET)
30 if (charset == FXFONT_CHINESEBIG5_CHARSET)
/external/fonttools/Lib/fontTools/
H A DcffLib.py68 if not hasattr(topDict, "charset") or topDict.charset is None:
69 charset = otFont.getGlyphOrder()
70 topDict.charset = charset
105 topDict.charset = None # gets filled in later
499 def __init__(self, file, charset, globalSubrs, private, fdSelect, fdArray):
503 for i in range(len(charset)):
504 charStrings[charset[i]] = i
757 charset
[all...]
/external/fonttools/Tools/fontTools/
H A DcffLib.py68 if not hasattr(topDict, "charset") or topDict.charset is None:
69 charset = otFont.getGlyphOrder()
70 topDict.charset = charset
105 topDict.charset = None # gets filled in later
499 def __init__(self, file, charset, globalSubrs, private, fdSelect, fdArray):
503 for i in range(len(charset)):
504 charStrings[charset[i]] = i
757 charset
[all...]
/external/freetype/src/cff/
H A Dcffload.c826 cff_charset_compute_cids( CFF_Charset charset, argument
836 if ( charset->max_cid > 0 )
841 if ( charset->sids[i] > max_cid )
842 max_cid = charset->sids[i];
845 if ( FT_NEW_ARRAY( charset->cids, (FT_ULong)max_cid + 1 ) )
852 charset->cids[charset->sids[j]] = (FT_UShort)j;
854 charset->max_cid = max_cid;
855 charset->num_glyphs = num_glyphs;
863 cff_charset_cid_to_gindex( CFF_Charset charset,
877 cff_charset_free_cids( CFF_Charset charset, FT_Memory memory ) argument
886 cff_charset_done( CFF_Charset charset, FT_Stream stream ) argument
901 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) argument
1606 cff_encoding_load( CFF_Encoding encoding, CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset ) argument
[all...]
/external/guava/guava-tests/test/com/google/common/net/
H A DMediaTypeTest.java51 import java.nio.charset.Charset;
52 import java.nio.charset.IllegalCharsetNameException;
53 import java.nio.charset.UnsupportedCharsetException;
78 Optional<Charset> charset = ((MediaType) field.get(null)).charset();
80 assertEquals(Optional.of(UTF_8), charset);
82 assertEquals(Optional.absent(), charset);
165 MediaType.parse("application/atom+xml; charset=utf-8").type());
171 MediaType.parse("application/atom+xml; charset=utf-8").subtype());
179 assertEquals(ImmutableListMultimap.of("charset", "ut
[all...]
/external/libcups/cups/
H A Dlanguage.c437 charset[16], /* Character set */ local
439 *ptr, /* Pointer into language/charset */
444 { /* Locale charset names */
493 strlcpy(charset, "UTF8", sizeof(charset));
510 * Set the charset to "unknown"...
513 charset[0] = '\0';
553 for (ptr = charset, csptr ++; *csptr; csptr ++)
554 if (ptr < (charset + sizeof(charset)
[all...]
/external/apache-http/src/org/apache/http/impl/auth/
H A DDigestScheme.java60 * Credential charset is configured via the
62 * credential charset} parameter.
64 * Authentication header, the charset of the username must be compatible
67 * http element charset}.
238 String charset = getParameter("charset");
239 if (charset == null) {
240 charset = AuthParams.getCredentialCharset(request.getParams());
241 getParameters().put("charset", charset);
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DAbstractCompositeHashFunction.java21 import java.nio.charset.Charset;
132 @Override public Hasher putString(CharSequence chars, Charset charset) {
134 hasher.putString(chars, charset);
/external/icu/icu4c/source/test/intltest/
H A Dconvtest.cpp29 * is for a Unicode charset, so it would be difficult to only exclude those.
92 char charset[100], cbopt[4]; local
119 s=testCase->getString("charset", errorCode);
120 s.extract(0, 0x7fffffff, charset, sizeof(charset), "");
121 cc.charset=charset;
126 if (strlen(charset) >= 8 &&
127 strncmp(charset+4, "2022-CN", 4) == 0) {
197 logln("TestToUnicode[%d] %s", i, charset);
213 char charset[100], cbopt[4]; local
376 char charset[100]; local
[all...]
/external/apache-http/src/org/apache/commons/codec/net/
H A DQCodec.java54 * The default charset used for string decoding and encoding.
56 private String charset = StringEncodings.UTF8; field in class:QCodec
120 * Constructor which allows for the selection of a default charset
122 * @param charset
123 * the default string charset to use.
128 public QCodec(final String charset) { argument
130 this.charset = charset;
179 * Encodes a string into its quoted-printable form using the specified charset. Unsafe characters are escaped.
183 * @param charset
190 encode(final String pString, final String charset) argument
[all...]
/external/doclava/test/com/google/doclava/
H A DStubsTest.java23 import java.nio.charset.StandardCharsets;
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetSelector.java20 package com.ibm.icu.charset;
22 import java.nio.charset.Charset;
23 import java.nio.charset.IllegalCharsetNameException;
24 import java.nio.charset.UnsupportedCharsetException;
36 * A charset selector is built with a list of charset names and given an input
143 * Construct a CharsetSelector from a list of charset names.
146 * a list of charset names in the form of strings. If charsetList
147 * is empty, a selector for all available charset is constructed.
161 * If the given charset nam
[all...]
H A DUConverterConstants.java9 package com.ibm.icu.charset;
/external/pdfium/core/fpdfapi/font/
H A Dfpdf_font_cid.cpp317 CPDF_CID2UnicodeMap* CPDF_CMapManager::GetCID2UnicodeMap(CIDSet charset, argument
319 if (!m_CID2UnicodeMaps[charset])
320 m_CID2UnicodeMaps[charset] = LoadCID2UnicodeMap(charset, bPromptCJK);
322 return m_CID2UnicodeMaps[charset].get();
326 CIDSet charset,
329 pMap->Load(this, charset, bPromptCJK);
771 CIDSet charset,
773 m_Charset = charset;
777 m_pEmbeddedMap = pFontGlobals->m_EmbeddedToUnicodes[charset]
325 LoadCID2UnicodeMap( CIDSet charset, bool bPromptCJK) argument
770 Load(CPDF_CMapManager* pMgr, CIDSet charset, bool bPromptCJK) argument
[all...]
/external/pdfium/core/fpdfdoc/
H A Dcpvt_fontmap.h31 int32_t charset,
/external/pdfium/third_party/freetype/src/cff/
H A Dcffload.h58 cff_charset_cid_to_gindex( CFF_Charset charset,
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/util/
H A DUriEncoderTest.java19 import java.nio.charset.CharacterCodingException;
/external/guava/guava/src/com/google/common/io/
H A DByteSource.java37 import java.nio.charset.Charset;
72 public CharSource asCharSource(Charset charset) { argument
73 return new AsCharSource(charset);
408 * charset.
412 private final Charset charset; field in class:ByteSource.AsCharSource
414 private AsCharSource(Charset charset) { argument
415 this.charset = checkNotNull(charset);
420 return new InputStreamReader(ByteSource.this.openStream(), charset);
425 return ByteSource.this.toString() + ".asCharSource(" + charset
558 asCharSource(Charset charset) argument
[all...]
/external/doclava/res/assets/templates/components/
H A Dsearch_box.cs5 <form accept-charset="utf-8" class="gsc-search-box"
/external/pdfium/core/fxge/
H A Dcfx_fontmapper.h26 void AddInstalledFont(const CFX_ByteString& name, int charset);
74 uint32_t charset; member in struct:CFX_FontMapper::FaceData
/external/pdfium/core/fxge/ge/
H A Dcfx_folderfontinfo.cpp60 uint32_t GetCharset(int charset) { argument
61 switch (charset) {
276 int charset,
281 if (charset == FXFONT_ANSI_CHARSET && (pitch_family & FXFONT_FF_FIXEDPITCH))
283 uint32_t charset_flag = GetCharset(charset);
289 charset != FXFONT_DEFAULT_CHARSET) {
307 int charset,
377 bool CFX_FolderFontInfo::GetFontCharset(void* hFont, int& charset) { argument
274 FindFont(int weight, bool bItalic, int charset, int pitch_family, const FX_CHAR* family, bool bMatchName) argument
305 MapFont(int weight, bool bItalic, int charset, int pitch_family, const FX_CHAR* family, int& iExact) argument
/external/apache-http/src/org/apache/http/impl/io/
H A DAbstractSessionInputBuffer.java67 private String charset = HTTP.US_ASCII; field in class:AbstractSessionInputBuffer
88 this.charset = HttpProtocolParams.getHttpElementCharset(params);
89 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII)
90 || this.charset.equalsIgnoreCase(HTTP.ASCII);
235 String s = new String(this.linebuffer.buffer(), 0, l, this.charset);
260 String s = new String(this.buffer, off, len, this.charset);
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DStylesheetPIHandler.java97 * @param charset The desired character set criteria.
100 String charset)
106 m_charset = charset;
150 String charset = null; // CDATA #IMPLIED
244 else if (name.equals("charset"))
250 charset = token.substring(1, token.length() - 1);
281 if (null != charset)
283 if (!charset.equals(m_charset))
99 StylesheetPIHandler(String baseID, String media, String title, String charset) argument
/external/guava/guava-tests/test/com/google/common/hash/
H A DFunnelsTest.java34 import java.nio.charset.Charset;
64 for (Charset charset : Charset.availableCharsets().values()) {
66 Funnels.stringFunnel(charset).funnel("test", primitiveSink);
67 verify(primitiveSink).putString("test", charset);
72 for (Charset charset : Charset.availableCharsets().values()) {
73 assertNullsThrowException(Funnels.stringFunnel(charset));
/external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/
H A DMediaTypeTest.java39 import java.nio.charset.IllegalCharsetNameException;
40 import java.nio.charset.UnsupportedCharsetException;
105 MediaType.parse("application/atom+xml; charset=utf-8").type());
111 MediaType.parse("application/atom+xml; charset=utf-8").subtype());
119 assertEquals(ImmutableListMultimap.of("charset", "utf-8"),
120 MediaType.parse("application/atom+xml; charset=utf-8").parameters());
169 assertEquals(MediaType.parse("text/plain; charset=utf-8"),
171 assertEquals(MediaType.parse("text/plain; charset=utf-8"),
172 MediaType.parse("text/plain; charset=utf-16").withCharset(UTF_8));
197 assertFalse(PLAIN_TEXT_UTF_8.withParameter("charset", "UT
[all...]

Completed in 779 milliseconds

1234567891011>>