/external/icu/icu4c/source/tools/toolutil/ |
H A D | xmlparser.cpp | 168 const char *charset, *pb; local 195 * get the charset: 200 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode); 201 if(U_SUCCESS(errorCode) && charset!=NULL) { 203 cnv=ucnv_open(charset, &errorCode); 252 charset=charsetBuffer; 258 if(charset==NULL) { 260 charset="UTF-8"; 262 cnv=ucnv_open(charset, &errorCode);
|
H A D | package.cpp | 81 makeTypeEnum(uint8_t charset, UBool isBigEndian) { argument 82 return 2*(int32_t)charset+isBigEndian; 95 makeTypeLetter(uint8_t charset, UBool isBigEndian) { argument 96 return types[makeTypeEnum(charset, isBigEndian)]; 105 makeTypeProps(char type, uint8_t &charset, UBool &isBigEndian) { argument 107 charset=(uint8_t)(typeEnum>>1); 672 // sort the item names for the local charset 789 // swap and sort the item names (sorting needs to be done in the output charset)
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetCompoundText.java | 9 package com.ibm.icu.charset; 14 import java.nio.charset.CharsetDecoder; 15 import java.nio.charset.CharsetEncoder; 16 import java.nio.charset.CoderResult; 18 import com.ibm.icu.charset.CharsetMBCS.CharsetDecoderMBCS; 19 import com.ibm.icu.charset.CharsetMBCS.CharsetEncoderMBCS;
|
H A D | CharsetEncoderICU.java | 12 package com.ibm.icu.charset; 18 import java.nio.charset.CharsetEncoder; 19 import java.nio.charset.CoderResult; 20 import java.nio.charset.CodingErrorAction; 90 * Construcs a new encoder for the given charset 778 CharsetICU cs = (CharsetICU) encoder.charset(); 937 return ((CharsetICU)(this.charset())).maxCharsPerByte; 941 * Calculates the size of a buffer for conversion from Unicode to a charset. 946 * It does not take into account callbacks which output more than one charset 948 * The default (substitution) callback only outputs one charset characte [all...] |
H A D | UConverterAlias.java | 12 package com.ibm.icu.charset;
|
H A D | CharsetBOCU1.java | 9 package com.ibm.icu.charset; 14 import java.nio.charset.CharsetDecoder; 15 import java.nio.charset.CharsetEncoder; 16 import java.nio.charset.CoderResult;
|
/external/libcups/cups/ |
H A D | language.c | 437 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...] |
H A D | ppd-emit.c | 396 ppd_attr_t *charset; /* PJL charset */ local 400 if ((charset = ppdFindAttr(ppd, "cupsPJLCharset", NULL)) != NULL) 402 if (!charset->value || _cups_strcasecmp(charset->value, "UTF-8")) 403 charset = NULL; 487 else if (!charset && (*ptr & 128)) 521 else if (!charset && (*ptr & 128))
|
/external/libvncserver/client_examples/ |
H A D | gtkvncviewer.c | 542 const gchar *charset; local 545 (void) g_get_charset (&charset); 547 charset, NULL, NULL, NULL, NULL); 555 "nor in locale charset.\n");
|
/external/pdfium/core/fxge/ge/ |
H A D | cfx_folderfontinfo.cpp | 60 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
|
H A D | cfx_fontmapper.cpp | 158 uint8_t charset; member in struct:__anon15719::CODEPAGE_MAP 200 [](const CODEPAGE_MAP& charset, uint16_t page) { 201 return charset.codepage < page; 204 return pCharmap->charset; 322 void CFX_FontMapper::AddInstalledFont(const CFX_ByteString& name, int charset) { argument 326 m_FaceArray.push_back({name, static_cast<uint32_t>(charset)}); 669 return face.charset == static_cast<uint32_t>(Charset);
|
/external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/ |
H A D | ForwardingWrapperTesterTest.java | 35 import java.nio.charset.Charset; 353 Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, 368 Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, 372 r, n, it, b, eq, e, in, c, ord, charset, unit, cls, joiner, pattern, 351 foo(String s, Runnable r, Number n, Iterable<?> it, boolean b, Equivalence<String> eq, Exception e, InputStream in, Comparable<?> c, Ordering<Integer> ord, Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb, Predicate<?> pred, Function<?, ?> func, Object obj) argument 365 foo( String s, Runnable r, Number n, Iterable<?> it, boolean b, Equivalence<String> eq, Exception e, InputStream in, Comparable<?> c, Ordering<Integer> ord, Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb, Predicate<?> pred, Function<?, ?> func, Object obj) argument
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
H A D | TestCharset.java | 10 package com.ibm.icu.dev.test.charset; 15 import java.nio.charset.CharacterCodingException; 16 import java.nio.charset.Charset; 17 import java.nio.charset.CharsetDecoder; 18 import java.nio.charset.CharsetEncoder; 19 import java.nio.charset.CoderResult; 20 import java.nio.charset.CodingErrorAction; 21 import java.nio.charset.UnsupportedCharsetException; 22 import java.nio.charset.spi.CharsetProvider; 31 import com.ibm.icu.charset [all...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
H A D | Buffer.java | 22 import java.nio.charset.Charset; 560 @Override public String readString(Charset charset) { argument 562 return readString(size, charset); 568 @Override public String readString(long byteCount, Charset charset) throws EOFException { argument 570 if (charset == null) throw new IllegalArgumentException("charset == null"); 579 return new String(readByteArray(byteCount), charset); 582 String result = new String(s.data, s.pos, (int) byteCount, charset); 908 @Override public Buffer writeString(String string, Charset charset) { argument 909 return writeString(string, 0, string.length(), charset); 913 writeString(String string, int beginIndex, int endIndex, Charset charset) argument [all...] |
/external/owasp/sanitizer/lib/commons-codec-1.4/ |
H A D | commons-codec-1.4.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/codec/ ... |
/external/pdfium/core/fpdfapi/font/ |
H A D | cpdf_cidfont.cpp | 122 bool IsValidEmbeddedCharcodeFromUnicodeCharset(CIDSet charset) { argument 123 switch (charset) { 136 CIDSet charset, 138 if (!IsValidEmbeddedCharcodeFromUnicodeCharset(charset)) 142 const auto& codes = GetFontGlobals()->m_EmbeddedToUnicodes[charset]; 149 CIDSet charset, 151 if (!IsValidEmbeddedCharcodeFromUnicodeCharset(charset)) 154 const auto& codes = GetFontGlobals()->m_EmbeddedToUnicodes[charset]; 135 EmbeddedUnicodeFromCharcode(const FXCMAP_CMap* pEmbedMap, CIDSet charset, uint32_t charcode) argument 148 EmbeddedCharcodeFromUnicode(const FXCMAP_CMap* pEmbedMap, CIDSet charset, FX_WCHAR unicode) argument
|
H A D | fpdf_font_cid.cpp | 317 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/third_party/freetype/src/cff/ |
H A D | cffload.c | 787 cff_charset_compute_cids( CFF_Charset charset, argument 797 if ( charset->max_cid > 0 ) 802 if ( charset->sids[i] > max_cid ) 803 max_cid = charset->sids[i]; 806 if ( FT_NEW_ARRAY( charset->cids, (FT_ULong)max_cid + 1 ) ) 813 charset->cids[charset->sids[j]] = (FT_UShort)j; 815 charset->max_cid = max_cid; 816 charset->num_glyphs = num_glyphs; 824 cff_charset_cid_to_gindex( CFF_Charset charset, 838 cff_charset_free_cids( CFF_Charset charset, FT_Memory memory ) argument 847 cff_charset_done( CFF_Charset charset, FT_Stream stream ) argument 862 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) argument 1061 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/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | ByteString.java | 43 import java.nio.charset.Charset; 44 import java.nio.charset.UnsupportedCharsetException; 357 * Encodes {@code text} into a sequence of bytes using the named charset 371 * Encodes {@code text} into a sequence of bytes using the named charset 375 * @param charset encode using this charset 378 public static ByteString copyFrom(String text, Charset charset) { argument 379 return new LiteralByteString(text.getBytes(charset)); 706 * specified charset. 708 * @param charsetName encode using this charset 730 toString(Charset charset) argument 741 toStringInternal(Charset charset) argument 1327 toStringInternal(Charset charset) argument [all...] |
H A D | RopeByteString.java | 40 import java.nio.charset.Charset; 410 protected String toStringInternal(Charset charset) { argument 411 return new String(toByteArray(), charset);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.apache.commons.httpclient_3.1.0.v201005080502.jar | ... private void parseTrailerHeaders () throws java.io.IOException String charset
java.io.IOException ioe
org.apache. ... |
/external/e2fsprogs/intl/ |
H A D | loadmsgcat.c | 777 entry does not exist or if this does not contain the `charset=' 778 information, we will assume the charset matches the one the 803 charsetstr = strstr (nullentry, "charset="); 807 char *charset; local 810 charsetstr += strlen ("charset="); 813 charset = (char *) alloca (len + 1); 815 *((char *) mempcpy (charset, charsetstr, len)) = '\0'; 817 memcpy (charset, charsetstr, len); 818 charset[len] = '\0'; 821 /* The output charset shoul [all...] |
/external/freetype/src/cff/ |
H A D | cffload.c | 826 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/src/com/google/common/net/ |
H A D | MediaType.java | 44 import java.nio.charset.Charset; 45 import java.nio.charset.IllegalCharsetNameException; 46 import java.nio.charset.UnsupportedCharsetException; 66 * are normalized to lowercase. The value of the {@code charset} parameter is normalized to 73 * <p>For media types that take a charset the predefined constants default to UTF-8 and have a 84 private static final String CHARSET_ATTRIBUTE = "charset"; 130 * take a charset (e.g. all text/* types), default to UTF-8 and suffix the constant name with 395 * Returns an optional charset for the value of the charset parameter if it is specified. 397 * @throws IllegalStateException if multiple charset value 402 public Optional<Charset> charset() { method in class:MediaType 465 withCharset(Charset charset) argument [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | convtest.cpp | 29 * 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...] |