Home
last modified time | relevance | path

Searched refs:codepage (Results 1 – 25 of 81) sorted by relevance

1234

/external/icu/icu4c/source/io/
Dufile.cpp54 const char *codepage, in finit_owner() argument
86 if(codepage == NULL || *codepage != '\0') { in finit_owner()
87 result->fConverter = ucnv_open(codepage, &status); in finit_owner()
109 const char *codepage) in u_finit() argument
111 return finit_owner(f, locale, codepage, FALSE); in u_finit()
117 const char *codepage) in u_fadopt() argument
119 return finit_owner(f, locale, codepage, TRUE); in u_fadopt()
126 const char *codepage) in u_fopen() argument
134 result = finit_owner(systemFile, locale, codepage, TRUE); in u_fopen()
149 const char *codepage) in u_fopen_u() argument
[all …]
/external/icu/icu4c/source/common/
Dunistr_cnv.cpp63 const char *codepage) { in UnicodeString()
66 doCodepageCreate(codepageData, (int32_t)uprv_strlen(codepageData), codepage); in UnicodeString()
72 const char *codepage) { in UnicodeString()
75 doCodepageCreate(codepageData, dataLength, codepage); in UnicodeString()
136 const char *codepage) const in extract()
174 if (codepage == 0) { in extract()
180 } else if (*codepage == 0) { in extract()
191 converter = ucnv_open(codepage, &status); in extract()
197 if (codepage == 0) { in extract()
300 const char *codepage) in doCodepageCreate()
[all …]
Dputil.cpp2064 static char codepage[64]; local
2080 sprintf(codepage,"ibm-%d", ccsid);
2081 return codepage;
2084 static char codepage[64];
2086 strncpy(codepage, nl_langinfo(CODESET),63-strlen(UCNV_SWAP_LFNL_OPTION_STRING));
2087 strcat(codepage,UCNV_SWAP_LFNL_OPTION_STRING);
2088 codepage[63] = 0; /* NULL terminate */
2090 return codepage;
2093 static char codepage[64];
2117 sprintf(codepage, "windows-%ld", codepageNumber);
[all …]
/external/python/cpython2/Tools/unicode/
Dgenwincodec.py11 def genwinmap(codepage): argument
26 codepage, 0,
43 def genwincodec(codepage): argument
45 map = genwinmap(codepage)
46 encodingname = 'cp%d' % codepage
54 ''' % (encodingname, ' '.join(platform.win32_ver()), codepage
/external/python/cpython3/Tools/unicode/
Dgenwincodec.py11 def genwinmap(codepage): argument
26 codepage, 0,
43 def genwincodec(codepage): argument
45 map = genwinmap(codepage)
46 encodingname = 'cp%d' % codepage
54 ''' % (encodingname, ' '.join(platform.win32_ver()), codepage
/external/icu/icu4c/source/test/cintltst/
Dnccbtst.h51 … const char *codepage, UConverterFromUCallback callback, const int32_t *expectOffsets,
56 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets,
60 … const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets,
64 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets,
71 static void setNuConvTestName(const char *codepage, const char *direction);
Dncnvfbts.h26 const char *codepage, UBool fallback, const int32_t *expectOffsets);
28 const char *codepage, UBool fallback, const int32_t *expectOffsets);
35 static void setNuConvTestName(const char *codepage, const char *direction);
Dncnvtst.c47 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
49 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
52 …const char *codepage, UConverterFromUCallback callback, const int32_t *expectOffsets, UBool testRe…
54 …const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, UBool testRese…
56 static void setNuConvTestName(const char *codepage, const char *direction) in setNuConvTestName() argument
59 codepage, in setNuConvTestName()
1008 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) in convertFromU() argument
1022 conv = ucnv_open(codepage, &status); in convertFromU()
1025 log_data_err("Couldn't open converter %s\n",codepage); in convertFromU()
1050 …log_err("ucnv_fromUnicode() failed for codepage=%s. Error =%s Expected=%s\n", codepage, myErrorNam… in convertFromU()
[all …]
Dncnvfbts.c121 static void setNuConvTestName(const char *codepage, const char *direction) in setNuConvTestName() argument
124 codepage, in setNuConvTestName()
132 const char *codepage, UBool fallback, const int32_t *expectOffsets) in testConvertFromUnicode() argument
159 setNuConvTestName(codepage, "FROM"); in testConvertFromUnicode()
161 …log_verbose("\nTesting========= %s FROM \n inputbuffer= %d outputbuffer= %d\n", codepage, gInB… in testConvertFromUnicode()
164 conv = my_ucnv_open(codepage, &status); in testConvertFromUnicode()
167 log_data_err("Couldn't open converter %s\n",codepage); in testConvertFromUnicode()
295 const char *codepage, UBool fallback, const int32_t *expectOffsets) in testConvertToUnicode() argument
324 setNuConvTestName(codepage, "TO"); in testConvertToUnicode()
328 conv = my_ucnv_open(codepage, &status); in testConvertToUnicode()
Dnccbtst.c77 static void setNuConvTestName(const char *codepage, const char *direction) in setNuConvTestName() argument
80 codepage, in setNuConvTestName()
2626 … const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, in testConvertFromUnicode() argument
2657 setNuConvTestName(codepage, "FROM"); in testConvertFromUnicode()
2659 …log_verbose("\nTesting========= %s FROM \n inputbuffer= %d outputbuffer= %d\n", codepage, gInB… in testConvertFromUnicode()
2662 conv = ucnv_open(codepage, &status); in testConvertFromUnicode()
2665 log_data_err("Couldn't open converter %s\n",codepage); in testConvertFromUnicode()
2824 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, in testConvertToUnicode() argument
2855 setNuConvTestName(codepage, "TO"); in testConvertToUnicode()
2859 conv = ucnv_open(codepage, &status); in testConvertToUnicode()
[all …]
/external/expat/xmlwf/
DMakefile.in140 xmlwf-codepage.$(OBJEXT) xmlwf-@FILEMAP@.$(OBJEXT)
343 codepage.c \
349 codepage.h \
456 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmlwf-codepage.Po@am__quote@
509 xmlwf-codepage.o: codepage.c
510 …S) -MT xmlwf-codepage.o -MD -MP -MF $(DEPDIR)/xmlwf-codepage.Tpo -c -o xmlwf-codepage.o `test -f '…
511 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/xmlwf-codepage.Tpo $(DEPDIR)/xmlwf-codepage.Po
514 …CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xmlwf-codepage.o `test -f 'codepage.c' || echo '$(srcdir)/'…
516 xmlwf-codepage.obj: codepage.c
517 …LAGS) $(AM_CFLAGS) $(CFLAGS) -MT xmlwf-codepage.obj -MD -MP -MF $(DEPDIR)/xmlwf-codepage.Tpo -c -o…
[all …]
DMakefile.am37 codepage.c \
50 codepage.h \
/external/icu/icu4c/source/io/unicode/
Dustdio.h246 const char *codepage);
269 const char *codepage);
290 const char *codepage);
311 const char *codepage);
456 u_fsetcodepage(const char *codepage,
/external/icu/icu4c/source/samples/date/
Dreadme.txt9 Outputting text in the default codepage to the console
14 uprint.h codepage output convenience header
15 uprint.h codepage output convenience implementation
/external/icu/icu4c/source/samples/cal/
Dreadme.txt9 Outputting text in the default codepage to the console
14 uprint.h codepage output convenience header
15 uprint.h codepage output convenience implementation
/external/icu/icu4c/source/test/intltest/
Dcsdetest.cpp137 static char *extractBytes(const UnicodeString &source, const char *codepage, int32_t &length) in extractBytes() argument
142 length = source.extract(0, sLength, NULL, codepage); in extractBytes()
146 source.extract(0, sLength, bytes, codepage); in extractBytes()
164 char codepage[64]; in checkEncoding() local
166 u_UCharsToChars(eSplit[0].getBuffer(), codepage, cpLength); in checkEncoding()
167 codepage[cpLength] = '\0'; in checkEncoding()
172 char *bytes = extractBytes(testString, codepage, byteLength); in checkEncoding()
/external/pdfium/core/fxge/
Dcfx_fontmapper.cpp149 uint16_t codepage; member
173 uint8_t GetCharsetFromCodePage(uint16_t codepage) { in GetCharsetFromCodePage() argument
177 std::lower_bound(g_Codepage2CharsetTable, pEnd, codepage, in GetCharsetFromCodePage()
179 return charset.codepage < page; in GetCharsetFromCodePage()
181 if (pCharmap < pEnd && codepage == pCharmap->codepage) in GetCharsetFromCodePage()
/external/pdfium/core/fxcrt/
Dwidestring.cpp276 bool IsValidWideCodePage(uint16_t codepage) { in IsValidWideCodePage() argument
277 switch (codepage) { in IsValidWideCodePage()
290 WideString GetWideString(uint16_t codepage, const ByteStringView& bstr) { in GetWideString() argument
292 ASSERT(IsValidWideCodePage(codepage)); in GetWideString()
297 codepage, 0, bstr.unterminated_c_str(), src_len, nullptr, 0); in GetWideString()
303 FXSYS_MultiByteToWideChar(codepage, 0, bstr.unterminated_c_str(), src_len, in GetWideString()
870 uint16_t codepage) { in FromCodePage() argument
871 return GetWideString(codepage, str); in FromCodePage()
Dbytestring.cpp57 bool IsValidCodePage(uint16_t codepage) { in IsValidCodePage() argument
58 switch (codepage) { in IsValidCodePage()
71 ByteString GetByteString(uint16_t codepage, const WideStringView& wstr) { in GetByteString() argument
73 ASSERT(IsValidCodePage(codepage)); in GetByteString()
78 FXSYS_WideCharToMultiByte(codepage, 0, wstr.unterminated_c_str(), src_len, in GetByteString()
85 FXSYS_WideCharToMultiByte(codepage, 0, wstr.unterminated_c_str(), src_len, in GetByteString()
Dfx_system.cpp188 int FXSYS_WideCharToMultiByte(uint32_t codepage, in FXSYS_WideCharToMultiByte() argument
206 int FXSYS_MultiByteToWideChar(uint32_t codepage, in FXSYS_MultiByteToWideChar() argument
Dfx_system.h186 int FXSYS_WideCharToMultiByte(uint32_t codepage,
194 int FXSYS_MultiByteToWideChar(uint32_t codepage,
/external/icu/icu4c/source/samples/ucnv/
Dreadme.txt17 flagcb.h codepage output convenience header
18 flagcb.c codepage output convenience implementation
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterStaticData.java18 int codepage; /* +64: 4 codepage # (now IBM-$codepage) */ field in UConverterStaticData
/external/icu/icu4c/source/extra/uconv/resources/
Droot.txt101 …problemCvtToU { "Conversion to Unicode from codepage failed at input byte position {0}. Bytes: {…
102 …problemCvtFromU { "Conversion from Unicode to codepage failed at input byte position {0}. Unicode:…
103 …problemCvtFromUOut { "Conversion from Unicode to codepage failed at output byte position {0}. Unic…
/external/icu/icu4c/source/test/testdata/
Dtest4x.ucm10 # Test file for MBCS conversion extension with four-byte codepage data.

1234