Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/io/
Dufile.c51 const char *codepage, in finit_owner() argument
109 if(codepage == NULL || *codepage != '\0') { in finit_owner()
110 result->fConverter = ucnv_open(codepage, &status); in finit_owner()
132 const char *codepage) in u_finit() argument
134 return finit_owner(f, locale, codepage, FALSE); in u_finit()
140 const char *codepage) in u_fadopt() argument
142 return finit_owner(f, locale, codepage, TRUE); in u_fadopt()
149 const char *codepage) in u_fopen() argument
157 result = finit_owner(systemFile, locale, codepage, TRUE); in u_fopen()
172 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.cpp1896 static char codepage[64]; local
1912 sprintf(codepage,"ibm-%d", ccsid);
1913 return codepage;
1916 static char codepage[64];
1918 strncpy(codepage, nl_langinfo(CODESET),63-strlen(UCNV_SWAP_LFNL_OPTION_STRING));
1919 strcat(codepage,UCNV_SWAP_LFNL_OPTION_STRING);
1920 codepage[63] = 0; /* NULL terminate */
1922 return codepage;
1925 static char codepage[64];
1926 sprintf(codepage, "windows-%d", GetACP());
[all …]
/external/syslinux/core/
Dcodepage.S2 .globl codepage symbol
3 codepage: label
5 .size codepage, .-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.c45 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
47 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
50 …const char *codepage, UConverterFromUCallback callback, const int32_t *expectOffsets, UBool testRe…
52 …const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, UBool testRese…
54 static void setNuConvTestName(const char *codepage, const char *direction) in setNuConvTestName() argument
57 codepage, in setNuConvTestName()
1006 … const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) in convertFromU() argument
1020 conv = ucnv_open(codepage, &status); in convertFromU()
1023 log_data_err("Couldn't open converter %s\n",codepage); in convertFromU()
1048 …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/syslinux/efi/
DMakefile50 OBJS += $(objdir)/core/codepage.o $(ARCH)/linux.o
91 codepage.o: ../codepage/cp865.cp
92 cp $(objdir)/../codepage/cp865.cp codepage.cp
93 $(CC) $(SFLAGS) -c -o $@ $(core)/codepage.S
/external/syslinux/core/include/
Dcodepage.h11 struct codepage { struct
25 extern const struct codepage codepage; argument
/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/pdfium/core/fxcrt/
Dfx_basic_wstring.cpp25 bool IsValidCodePage(uint16_t codepage) { in IsValidCodePage() argument
26 switch (codepage) { in IsValidCodePage()
804 uint16_t codepage) { in FromCodePage() argument
805 return CFX_CharMap::GetWideString(codepage, str); in FromCodePage()
991 CFX_ByteString CFX_CharMap::GetByteString(uint16_t codepage, in GetByteString() argument
993 ASSERT(IsValidCodePage(codepage)); in GetByteString()
995 int dest_len = FXSYS_WideCharToMultiByte(codepage, 0, wstr.c_str(), src_len, in GetByteString()
1000 FXSYS_WideCharToMultiByte(codepage, 0, wstr.c_str(), src_len, dest_buf, in GetByteString()
1008 CFX_WideString CFX_CharMap::GetWideString(uint16_t codepage, in GetWideString() argument
1010 ASSERT(IsValidCodePage(codepage)); in GetWideString()
[all …]
/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.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/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/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/ge/
Dcfx_fontmapper.cpp157 uint16_t codepage; member
195 uint8_t GetCharsetFromCodePage(uint16_t codepage) { in GetCharsetFromCodePage() argument
199 std::lower_bound(g_Codepage2CharsetTable, pEnd, codepage, in GetCharsetFromCodePage()
201 return charset.codepage < page; in GetCharsetFromCodePage()
203 if (pCharmap < pEnd && codepage == pCharmap->codepage) in GetCharsetFromCodePage()
/external/syslinux/core/fs/fat/
Dfat.c304 c = codepage.upper[c]; in mangle_dos_name()
338 if (cp != codepage.uni[0][c] && cp != codepage.uni[1][c]) in vfat_match_longname()
379 if (codepage.uni[0][c] == cp) { in vfat_cvt_longname()
674 c = codepage.lower[c]; in vfat_readdir()
684 c = codepage.lower[c]; in vfat_readdir()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterStaticData.java18 int codepage; /* +64: 4 codepage # (now IBM-$codepage) */ field in UConverterStaticData

123