Home
last modified time | relevance | path

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

12345

/third_party/icu/icu4c/source/io/
Dufile.cpp65 const char *codepage, in finit_owner() argument
97 if(codepage == NULL || *codepage != '\0') { in finit_owner()
98 result->fConverter = ucnv_open(codepage, &status); in finit_owner()
120 const char *codepage) in u_finit() argument
122 return finit_owner(f, locale, codepage, false); in u_finit()
128 const char *codepage) in u_fadopt() argument
130 return finit_owner(f, locale, codepage, true); in u_fadopt()
137 const char *codepage) in u_fopen() argument
145 result = finit_owner(systemFile, locale, codepage, true); in u_fopen()
174 const char *codepage) in u_fopen_u() argument
[all …]
/third_party/skia/third_party/externals/icu/source/io/
Dufile.cpp55 const char *codepage, in finit_owner() argument
87 if(codepage == NULL || *codepage != '\0') { in finit_owner()
88 result->fConverter = ucnv_open(codepage, &status); in finit_owner()
110 const char *codepage) in u_finit() argument
112 return finit_owner(f, locale, codepage, FALSE); in u_finit()
118 const char *codepage) in u_fadopt() argument
120 return finit_owner(f, locale, codepage, TRUE); in u_fadopt()
127 const char *codepage) in u_fopen() argument
135 result = finit_owner(systemFile, locale, codepage, TRUE); in u_fopen()
164 const char *codepage) in u_fopen_u() argument
[all …]
/third_party/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.cpp2111 static char codepage[64]; local
2127 sprintf(codepage,"ibm-%d", ccsid);
2128 return codepage;
2131 static char codepage[64];
2133 strncpy(codepage, nl_langinfo(CODESET),63-strlen(UCNV_SWAP_LFNL_OPTION_STRING));
2134 strcat(codepage,UCNV_SWAP_LFNL_OPTION_STRING);
2135 codepage[63] = 0; /* NULL terminate */
2137 return codepage;
2140 static char codepage[64];
2164 sprintf(codepage, "windows-%ld", codepageNumber);
[all …]
/third_party/skia/third_party/externals/icu/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.cpp2102 static char codepage[64]; local
2118 sprintf(codepage,"ibm-%d", ccsid);
2119 return codepage;
2122 static char codepage[64];
2124 strncpy(codepage, nl_langinfo(CODESET),63-strlen(UCNV_SWAP_LFNL_OPTION_STRING));
2125 strcat(codepage,UCNV_SWAP_LFNL_OPTION_STRING);
2126 codepage[63] = 0; /* NULL terminate */
2128 return codepage;
2131 static char codepage[64];
2155 sprintf(codepage, "windows-%ld", codepageNumber);
[all …]
/third_party/node/deps/icu-small/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.cpp2111 static char codepage[64]; local
2127 snprintf(codepage, sizeof(codepage), "ibm-%d", ccsid);
2128 return codepage;
2131 static char codepage[64];
2133 strncpy(codepage, nl_langinfo(CODESET),63-strlen(UCNV_SWAP_LFNL_OPTION_STRING));
2134 strcat(codepage,UCNV_SWAP_LFNL_OPTION_STRING);
2135 codepage[63] = 0; /* NUL terminate */
2137 return codepage;
2140 static char codepage[64];
2164 snprintf(codepage, sizeof(codepage), "windows-%ld", codepageNumber);
[all …]
/third_party/python/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
/third_party/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.c48 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
50 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
53 …const char *codepage, UConverterFromUCallback callback, const int32_t *expectOffsets, UBool testRe…
55 …const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, UBool testRese…
57 static void setNuConvTestName(const char *codepage, const char *direction) in setNuConvTestName() argument
60 codepage, in setNuConvTestName()
997 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) in convertFromU() argument
1011 conv = ucnv_open(codepage, &status); in convertFromU()
1014 log_data_err("Couldn't open converter %s\n",codepage); in convertFromU()
1039 …log_err("ucnv_fromUnicode() failed for codepage=%s. Error =%s Expected=%s\n", codepage, myErrorNam… in convertFromU()
[all …]
Dncnvfbts.c122 static void setNuConvTestName(const char *codepage, const char *direction) in setNuConvTestName() argument
125 codepage, in setNuConvTestName()
133 const char *codepage, UBool fallback, const int32_t *expectOffsets) in testConvertFromUnicode() argument
160 setNuConvTestName(codepage, "FROM"); in testConvertFromUnicode()
162 …log_verbose("\nTesting========= %s FROM \n inputbuffer= %d outputbuffer= %d\n", codepage, gInB… in testConvertFromUnicode()
165 conv = my_ucnv_open(codepage, &status); in testConvertFromUnicode()
168 log_data_err("Couldn't open converter %s\n",codepage); in testConvertFromUnicode()
296 const char *codepage, UBool fallback, const int32_t *expectOffsets) in testConvertToUnicode() argument
325 setNuConvTestName(codepage, "TO"); in testConvertToUnicode()
329 conv = my_ucnv_open(codepage, &status); in testConvertToUnicode()
Dnccbtst.c78 static void setNuConvTestName(const char *codepage, const char *direction) in setNuConvTestName() argument
81 codepage, in setNuConvTestName()
2623 … const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, in testConvertFromUnicode() argument
2654 setNuConvTestName(codepage, "FROM"); in testConvertFromUnicode()
2656 …log_verbose("\nTesting========= %s FROM \n inputbuffer= %d outputbuffer= %d\n", codepage, gInB… in testConvertFromUnicode()
2659 conv = ucnv_open(codepage, &status); in testConvertFromUnicode()
2662 log_data_err("Couldn't open converter %s\n",codepage); in testConvertFromUnicode()
2821 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, in testConvertToUnicode() argument
2852 setNuConvTestName(codepage, "TO"); in testConvertToUnicode()
2856 conv = ucnv_open(codepage, &status); in testConvertToUnicode()
[all …]
/third_party/skia/third_party/externals/icu/source/io/unicode/
Dustdio.h249 const char *codepage);
272 const char *codepage);
293 const char *codepage);
314 const char *codepage);
459 u_fsetcodepage(const char *codepage,
/third_party/icu/icu4c/source/io/unicode/
Dustdio.h249 const char *codepage);
272 const char *codepage);
293 const char *codepage);
314 const char *codepage);
459 u_fsetcodepage(const char *codepage,
/third_party/icu/docs/userguide/conversion/
Dconverters.md45 character code points to and from single codepage character code points. ICU
59 The ICU mapping tables mostly come from an [IBM® codepage
61 codepages, there is typically an equivalent codepage registered with this
63 for other codepage mapping tables can also be added.
67 ICU has code to determine the default codepage of the system or process. This
68 default codepage can be used to convert `char *` strings to and from Unicode.
71 find a default codepage that fully works as expected. For example,
76 codepage. Note that the OEM codepage is used by default for console window
84 3. Some systems do not have a notion of a system or process codepage, and may
87 If you have means of detecting a default codepage name that are more appropriate
[all …]
Ddata.md27 In a comprehensive conversion library, there are three kinds of codepage
33 tables are necessary to define the conversion. If the codepage characters
35 structure of the codepage.
153 > points or codepage byte sequences are valid but do not have a **mapping**. This
168 provided by IBM® in the codepage repository and as used in the uconvdef tool on
169 AIX. UPMAP is a text file that specifies the mapping of a codepage character to
197 1. a header with general specifications of the codepage
233 1. code_set_name - The name of the codepage. The makeconv tool generates the
251 the codepage structure has the following <icu:state> lines. The other types
268 …ion character byte sequence for this codepage. This sequence must be a valid byte sequence accordi…
[all …]
/third_party/skia/third_party/externals/expat/expat/xmlwf/
DMakefile.am37 codepage.c \
51 codepage.h \
/third_party/skia/third_party/externals/icu/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
/third_party/skia/third_party/externals/icu/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
/third_party/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
/third_party/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
/third_party/icu/icu4c/source/test/intltest/
Dcsdetest.cpp146 static char *extractBytes(const UnicodeString &source, const char *codepage, int32_t &length) in extractBytes() argument
151 length = source.extract(0, sLength, NULL, codepage); in extractBytes()
155 source.extract(0, sLength, bytes, codepage); in extractBytes()
168 char codepage[64]; in checkEncoding() local
170 u_UCharsToChars(eSplit[0].getBuffer(), codepage, cpLength); in checkEncoding()
171 codepage[cpLength] = '\0'; in checkEncoding()
176 std::unique_ptr<char []> bytes(extractBytes(testString, codepage, byteLength)); in checkEncoding()
/third_party/icu/docs/userguide/io/
Dustdio.md30 * You can specify a file's [codepage](../conversion/converters.md) separately
31 from the codepage.

12345