Searched defs:codepage (Results 1 - 17 of 17) sorted by relevance

/external/chromium/net/base/
H A Descape_icu.cc14 bool EscapeQueryParamValue(const string16& text, const char* codepage, argument
19 if (!base::UTF16ToCodepage(text, codepage,
/external/icu4c/common/
H A Dunistr_cnv.cpp65 const char *codepage)
70 doCodepageCreate(codepageData, (int32_t)uprv_strlen(codepageData), codepage);
76 const char *codepage)
81 doCodepageCreate(codepageData, dataLength, codepage);
144 const char *codepage) const
180 // if the codepage is the default, use our cache
182 if (codepage == 0) {
188 } else if (*codepage == 0) {
199 converter = ucnv_open(codepage, &status);
205 if (codepage
64 UnicodeString(const char *codepageData, const char *codepage) argument
74 UnicodeString(const char *codepageData, int32_t dataLength, const char *codepage) argument
306 doCodepageCreate(const char *codepageData, int32_t dataLength, const char *codepage) argument
[all...]
H A Ducnv_bld.h70 int32_t codepage; /* +64: 4 codepage # (now IBM-$codepage) */ member in struct:UConverterStaticData
75 int8_t minBytesPerChar; /* +70: 1 Minimum # bytes per char in this codepage */
76 int8_t maxBytesPerChar; /* +71: 1 Maximum # bytes output per UChar in this codepage */
206 int8_t subCharLen; /* length of the codepage specific character sequence */
216 uint8_t charErrorBuffer[UCNV_ERROR_BUFFER_LENGTH]; /* codepage output from Error functions */
H A Dputil.c1387 * The default codepage detection also needs to use LC_CTYPE.
1429 /* Return just the POSIX id for the default codepage, whatever happens to be in
1449 LC_ALL ----> default_loc codepage
1467 The leftmost codepage (.xxx) wins.
1760 * The default codepage given by Solaris is 646 but the C library routines treat it as if it was
1775 /* Remap CP949 to a similar codepage to avoid issues with backslash and won symbol. */
1786 /* Remap CP949 to a similar codepage to avoid issues with backslash and won symbol. */
1869 static char codepage[64]; local
1885 sprintf(codepage,"ibm-%d", ccsid);
1886 return codepage;
[all...]
H A Ducnv.c127 /*Assumes a $platform-#codepage.$CONVERTER_FILE_EXTENSION scheme and calls
130 ucnv_openCCSID (int32_t codepage, argument
142 T_CString_integerToString(myName + myNameLen, codepage, 10);
678 ccsid = converter->sharedData->staticData->codepage;
/external/icu4c/io/
H A Dufile.c17 * 07/19/99 stephen Fixed to use ucnv's default codepage.
48 const char *codepage,
93 /* If the codepage is not "" use the ucnv_open default behavior */
94 if(codepage == NULL || *codepage != '\0') {
95 result->fConverter = ucnv_open(codepage, &status);
117 const char *codepage)
119 return finit_owner(f, locale, codepage, FALSE);
125 const char *codepage)
127 return finit_owner(f, locale, codepage, TRU
46 finit_owner(FILE *f, const char *locale, const char *codepage, UBool takeOwnership ) argument
115 u_finit(FILE *f, const char *locale, const char *codepage) argument
123 u_fadopt(FILE *f, const char *locale, const char *codepage) argument
131 u_fopen(const char *filename, const char *perm, const char *locale, const char *codepage) argument
277 const char *codepage = NULL; local
288 u_fsetcodepage( const char *codepage, UFILE *file) argument
[all...]
/external/chromium/net/proxy/
H A Dproxy_script_fetcher_impl.cc53 const char* codepage; local
57 codepage = base::kCodepageLatin1;
60 codepage = charset.c_str();
66 base::CodepageToUTF16(bytes, codepage,
/external/icu4c/test/cintltst/
H A Ducsdetst.c69 static char *extractBytes(const UChar *src, int32_t length, const char *codepage, int32_t *byteLength) argument
72 UConverter *cnv = ucnv_open(codepage, &status);
H A Dncnvfbts.c119 static void setNuConvTestName(const char *codepage, const char *direction) argument
122 codepage,
130 const char *codepage, UBool fallback, const int32_t *expectOffsets)
157 setNuConvTestName(codepage, "FROM");
159 log_verbose("\nTesting========= %s FROM \n inputbuffer= %d outputbuffer= %d\n", codepage, gInBufferSize,
162 conv = my_ucnv_open(codepage, &status);
165 log_data_err("Couldn't open converter %s\n",codepage);
293 const char *codepage, UBool fallback, const int32_t *expectOffsets)
322 setNuConvTestName(codepage, "TO");
326 conv = my_ucnv_open(codepage,
129 testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, UBool fallback, const int32_t *expectOffsets) argument
292 testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, const char *codepage, UBool fallback, const int32_t *expectOffsets) argument
[all...]
H A 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 testReset);
50 const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, UBool testReset);
52 static void setNuConvTestName(const char *codepage, const char *direction) argument
55 codepage,
1009 const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus)
1023 conv = ucnv_open(codepage, &status);
1026 log_data_err("Couldn't open converter %s\n",codepage);
1051 log_err("ucnv_fromUnicode() failed for codepage
1008 convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) argument
1097 convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) argument
1194 testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, UBool testReset) argument
1366 testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, UBool testReset) argument
[all...]
H A Dnccbtst.c73 static void setNuConvTestName(const char *codepage, const char *direction) argument
76 codepage,
235 /* SBCS NLTC codepage 367 for US-ASCII */
708 /* SBCS NLTC codepage 367 for US-ASCII */
2643 const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets,
2674 setNuConvTestName(codepage, "FROM");
2676 log_verbose("\nTesting========= %s FROM \n inputbuffer= %d outputbuffer= %d\n", codepage, gInBufferSize,
2679 conv = ucnv_open(codepage, &status);
2682 log_data_err("Couldn't open converter %s\n",codepage);
2844 const char *codepage, UConverterToUCallbac
2642 testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, const char *mySubChar, int8_t len) argument
2843 testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, const char *mySubChar, int8_t len) argument
3039 testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, const char *mySubChar, int8_t len, const void* context, UErrorCode expectedError) argument
3219 testConvertToUnicodeWithContext( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, const char *codepage, UConverterToUCallback callback, const int32_t *expectOffsets, const char *mySubChar, int8_t len, const void* context, UErrorCode expectedError) argument
[all...]
H A Dnucnvtst.c354 static void setNuConvTestName(const char *codepage, const char *direction) argument
357 codepage,
373 const char *codepage, const int32_t *expectOffsets , UBool useFallback)
397 setNuConvTestName(codepage, "FROM");
401 conv = my_ucnv_open(codepage, &status);
405 log_data_err("Couldn't open converter %s\n",codepage);
452 log_err("Problem doing fromUnicode to %s, errcode %s %s\n", codepage, myErrorName(status), gNuConvTestName);
530 const char *codepage, const int32_t *expectOffsets, UBool useFallback)
556 setNuConvTestName(codepage, "TO");
560 conv = my_ucnv_open(codepage,
372 testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, const int32_t *expectOffsets , UBool useFallback) argument
529 testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, const char *codepage, const int32_t *expectOffsets, UBool useFallback) argument
[all...]
/external/icu4c/test/intltest/
H A Dcsdetest.cpp125 static char *extractBytes(const UnicodeString &source, const char *codepage, int32_t &length) argument
130 length = source.extract(0, sLength, NULL, codepage);
134 source.extract(0, sLength, bytes, codepage);
152 char codepage[64]; local
154 u_UCharsToChars(eSplit[0].getBuffer(), codepage, cpLength);
155 codepage[cpLength] = '\0';
160 char *bytes = extractBytes(testString, codepage, byteLength);
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/
H A DSDL_sysevents.c95 static int codepage; variable
749 codepage = GetCodePage();
859 codepage = GetCodePage();
919 return MultiByteToWideChar(codepage, 0, chars, 1, wchars, wsize);
/external/kernel-headers/original/linux/
H A Dmsdos_fs.h206 unsigned short codepage; /* Codepage for shortname conversions */ member in struct:fat_mount_options
/external/sqlite/dist/orig/
H A Dsqlite3.c3194 ** codepage is currently defined. Filenames containing international
23491 static UconvObject uclCp = NULL; /* convert between local codepage and UCS-2 */
23516 ** Helper function to convert UTF-8 filenames to local OS/2 codepage.
23518 ** into UCS-2 and then from UCS-2 to the current codepage.
23535 /* conversion for current codepage which can be used for paths */
23542 ** Helper function to convert filenames from local codepage to UTF-8.
23543 ** The two-step process: first convert the incoming codepage-specific
23544 ** string into UCS-2 and then from UCS-2 to the codepage of UTF-8.
23560 /* conversion for current codepage which can be used for paths */
33082 int codepage = osAreFileApisANSI() ? CP_ACP : CP_OEMCP; local
33112 int codepage = osAreFileApisANSI() ? CP_ACP : CP_OEMCP; local
[all...]
/external/sqlite/dist/
H A Dsqlite3.c3194 ** codepage is currently defined. Filenames containing international
23491 static UconvObject uclCp = NULL; /* convert between local codepage and UCS-2 */
23516 ** Helper function to convert UTF-8 filenames to local OS/2 codepage.
23518 ** into UCS-2 and then from UCS-2 to the current codepage.
23535 /* conversion for current codepage which can be used for paths */
23542 ** Helper function to convert filenames from local codepage to UTF-8.
23543 ** The two-step process: first convert the incoming codepage-specific
23544 ** string into UCS-2 and then from UCS-2 to the codepage of UTF-8.
23560 /* conversion for current codepage which can be used for paths */
33093 int codepage = osAreFileApisANSI() ? CP_ACP : CP_OEMCP; local
33123 int codepage = osAreFileApisANSI() ? CP_ACP : CP_OEMCP; local
[all...]

Completed in 722 milliseconds