Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/io/
Dufile.c49 const char *codepage, in finit_owner() argument
107 if(codepage == NULL || *codepage != '\0') { in finit_owner()
108 result->fConverter = ucnv_open(codepage, &status); in finit_owner()
130 const char *codepage) in u_finit() argument
132 return finit_owner(f, locale, codepage, FALSE); in u_finit()
138 const char *codepage) in u_fadopt() argument
140 return finit_owner(f, locale, codepage, TRUE); in u_fadopt()
147 const char *codepage) in u_fopen() argument
155 result = finit_owner(systemFile, locale, codepage, TRUE); in u_fopen()
170 const char *codepage) in u_fopen_u() argument
[all …]
/external/icu/icu4c/source/common/
Dunistr_cnv.cpp61 const char *codepage) { in UnicodeString()
64 doCodepageCreate(codepageData, (int32_t)uprv_strlen(codepageData), codepage); in UnicodeString()
70 const char *codepage) { in UnicodeString()
73 doCodepageCreate(codepageData, dataLength, codepage); in UnicodeString()
134 const char *codepage) const in extract()
172 if (codepage == 0) { in extract()
178 } else if (*codepage == 0) { in extract()
189 converter = ucnv_open(codepage, &status); in extract()
195 if (codepage == 0) { in extract()
298 const char *codepage) in doCodepageCreate()
[all …]
Dputil.cpp1840 static char codepage[64]; in int_getDefaultCodepage() local
1856 sprintf(codepage,"ibm-%d", ccsid); in int_getDefaultCodepage()
1857 return codepage; in int_getDefaultCodepage()
1860 static char codepage[64]; in int_getDefaultCodepage()
1862 strncpy(codepage, nl_langinfo(CODESET),63-strlen(UCNV_SWAP_LFNL_OPTION_STRING)); in int_getDefaultCodepage()
1863 strcat(codepage,UCNV_SWAP_LFNL_OPTION_STRING); in int_getDefaultCodepage()
1864 codepage[63] = 0; /* NULL terminate */ in int_getDefaultCodepage()
1866 return codepage; in int_getDefaultCodepage()
1869 static char codepage[64]; in int_getDefaultCodepage()
1870 sprintf(codepage, "windows-%d", GetACP()); in int_getDefaultCodepage()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dnccbtst.h46 … const char *codepage, UConverterFromUCallback callback, const int32_t *expectOffsets,
51 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets,
55 … const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets,
59 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets,
66 static void setNuConvTestName(const char *codepage, const char *direction);
Dncnvfbts.h24 const char *codepage, UBool fallback, const int32_t *expectOffsets);
26 const char *codepage, UBool fallback, const int32_t *expectOffsets);
33 static void setNuConvTestName(const char *codepage, const char *direction);
Dncnvtst.c43 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
45 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
48 …const char *codepage, UConverterFromUCallback callback, const int32_t *expectOffsets, UBool testRe…
50 …const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, UBool testRese…
52 static void setNuConvTestName(const char *codepage, const char *direction) in setNuConvTestName() argument
55 codepage, in setNuConvTestName()
1010 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) in convertFromU() argument
1024 conv = ucnv_open(codepage, &status); in convertFromU()
1027 log_data_err("Couldn't open converter %s\n",codepage); in convertFromU()
1052 …log_err("ucnv_fromUnicode() failed for codepage=%s. Error =%s Expected=%s\n", codepage, myErrorNam… in convertFromU()
[all …]
Dncnvfbts.c119 static void setNuConvTestName(const char *codepage, const char *direction) in setNuConvTestName() argument
122 codepage, in setNuConvTestName()
130 const char *codepage, UBool fallback, const int32_t *expectOffsets) in testConvertFromUnicode() argument
157 setNuConvTestName(codepage, "FROM"); in testConvertFromUnicode()
159 …log_verbose("\nTesting========= %s FROM \n inputbuffer= %d outputbuffer= %d\n", codepage, gInB… in testConvertFromUnicode()
162 conv = my_ucnv_open(codepage, &status); in testConvertFromUnicode()
165 log_data_err("Couldn't open converter %s\n",codepage); in testConvertFromUnicode()
293 const char *codepage, UBool fallback, const int32_t *expectOffsets) in testConvertToUnicode() argument
322 setNuConvTestName(codepage, "TO"); in testConvertToUnicode()
326 conv = my_ucnv_open(codepage, &status); in testConvertToUnicode()
Dnccbtst.c75 static void setNuConvTestName(const char *codepage, const char *direction) in setNuConvTestName() argument
78 codepage, in setNuConvTestName()
2624 … const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, in testConvertFromUnicode() argument
2655 setNuConvTestName(codepage, "FROM"); in testConvertFromUnicode()
2657 …log_verbose("\nTesting========= %s FROM \n inputbuffer= %d outputbuffer= %d\n", codepage, gInB… in testConvertFromUnicode()
2660 conv = ucnv_open(codepage, &status); in testConvertFromUnicode()
2663 log_data_err("Couldn't open converter %s\n",codepage); in testConvertFromUnicode()
2822 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, in testConvertToUnicode() argument
2853 setNuConvTestName(codepage, "TO"); in testConvertToUnicode()
2857 conv = ucnv_open(codepage, &status); in testConvertToUnicode()
[all …]
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_codepage.cpp25 return cp.codepage; in FX_GetCodePageFromCharset()
43 FX_WORD FX_GetCharsetFromCodePage(FX_WORD codepage) { in FX_GetCharsetFromCodePage() argument
50 if (codepage == cp.codepage) { in FX_GetCharsetFromCodePage()
52 } else if (codepage < cp.codepage) { in FX_GetCharsetFromCodePage()
/external/icu/icu4c/source/io/unicode/
Dustdio.h244 const char *codepage);
267 const char *codepage);
288 const char *codepage);
309 const char *codepage);
454 u_fsetcodepage(const char *codepage,
/external/valgrind/none/tests/s390x/
Dtr.c10 void tr(uint8_t *codepage, uint8_t *addr, uint64_t len) in tr() argument
17 : "a" (codepage) : "cc", "memory", "1"); in tr()
Dtre.c19 tre_regs tre(uint8_t *codepage, uint8_t *addr, uint64_t len, uint8_t test_byte) in tre() argument
25 register uint64_t a2 asm ("4") = (uint64_t)codepage; in tre()
Dtroo.c26 troo_regs tr(uint8_t *addr, uint8_t *codepage, uint8_t *dest, uint64_t len, in tr() argument
33 register uint64_t codepage2 asm("1") = (uint64_t)codepage; in tr()
Dtrot.c27 trot_regs tr(uint8_t *addr, uint16_t *codepage, uint16_t *dest, uint64_t len, in tr() argument
34 register uint64_t codepage2 asm("1") = (uint64_t)codepage; in tr()
Dtrtt.c27 trtt_regs tr(uint16_t *addr, uint16_t *codepage, uint16_t *dest, uint64_t len, in tr() argument
34 register uint64_t codepage2 asm("1") = (uint64_t)codepage; in tr()
Dtrto.c26 trto_regs tr(uint16_t *addr, uint16_t *codepage, uint8_t *dest, uint64_t len, in tr() argument
33 register uint64_t codepage2 asm("1") = (uint64_t)codepage; in tr()
/external/icu/icu4c/source/samples/cal/
Dreadme.txt6 Outputting text in the default codepage to the console
11 uprint.h codepage output convenience header
12 uprint.h codepage output convenience implementation
/external/icu/icu4c/source/samples/date/
Dreadme.txt6 Outputting text in the default codepage to the console
11 uprint.h codepage output convenience header
12 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/src/fxcrt/
Dfx_basic_wstring.cpp997 int codepage = pCharMap->m_GetCodePage ? pCharMap->m_GetCodePage() : 0; in _DefMap_GetByteString() local
998 int dest_len = FXSYS_WideCharToMultiByte(codepage, 0, widestr.c_str(), in _DefMap_GetByteString()
1005 FXSYS_WideCharToMultiByte(codepage, 0, widestr.c_str(), src_len, dest_buf, in _DefMap_GetByteString()
1013 int codepage = pCharMap->m_GetCodePage ? pCharMap->m_GetCodePage() : 0; in _DefMap_GetWideString() local
1015 FXSYS_MultiByteToWideChar(codepage, 0, bytestr, src_len, NULL, 0); in _DefMap_GetWideString()
1021 FXSYS_MultiByteToWideChar(codepage, 0, bytestr, src_len, dest_buf, dest_len); in _DefMap_GetWideString()
1047 CFX_CharMap* CFX_CharMap::GetDefaultMapper(int32_t codepage) { in GetDefaultMapper() argument
1048 switch (codepage) { in GetDefaultMapper()
Dfx_basic_gcc.cpp223 int FXSYS_WideCharToMultiByte(FX_DWORD codepage, in FXSYS_WideCharToMultiByte() argument
242 int FXSYS_MultiByteToWideChar(FX_DWORD codepage, in FXSYS_MultiByteToWideChar() argument
/external/icu/icu4c/source/samples/ucnv/
Dreadme.txt14 flagcb.h codepage output convenience header
15 flagcb.c codepage output convenience implementation
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterStaticData.java16 int codepage; /* +64: 4 codepage # (now IBM-$codepage) */ field in UConverterStaticData
/external/icu/icu4c/source/test/testdata/
Dtest4x.ucm8 # Test file for MBCS conversion extension with four-byte codepage data.
/external/icu/icu4c/source/extra/uconv/resources/
Droot.txt98 …problemCvtToU { "Conversion to Unicode from codepage failed at input byte position {0}. Bytes: {…
99 …problemCvtFromU { "Conversion from Unicode to codepage failed at input byte position {0}. Unicode:…
100 …problemCvtFromUOut { "Conversion from Unicode to codepage failed at output byte position {0}. Unic…

123