/external/icu4c/io/ |
H A D | ufile.c | 17 * 07/19/99 stephen Fixed to use ucnv's default codepage. 48 const char *codepage) 91 /* If the codepage is not "" use the ucnv_open default behavior */ 92 if(codepage == NULL || *codepage != '\0') { 93 result->fConverter = ucnv_open(codepage, &status); 113 const char *codepage) 121 result = u_finit(systemFile, locale, codepage); 256 const char *codepage = NULL; local 259 codepage 46 u_finit(FILE *f, const char *locale, const char *codepage) argument 110 u_fopen(const char *filename, const char *perm, const char *locale, const char *codepage) argument 267 u_fsetcodepage( const char *codepage, UFILE *file) argument [all...] |
/external/icu4c/common/ |
H A D | unistr_cnv.cpp | 65 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 184 // if the codepage is the default, use our cache 186 if (codepage == 0) { 192 } else if (*codepage == 0) { 203 converter = ucnv_open(codepage, &status); 209 if (codepage 64 UnicodeString(const char *codepageData, const char *codepage) argument 74 UnicodeString(const char *codepageData, int32_t dataLength, const char *codepage) argument 310 doCodepageCreate(const char *codepageData, int32_t dataLength, const char *codepage) argument [all...] |
H A D | ucnv_bld.h | 70 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 D | putil.c | 1281 * The default codepage detection also needs to use LC_CTYPE. 1321 LC_ALL ----> default_loc codepage 1339 The leftmost codepage (.xxx) wins. 1632 * The default codepage given by Solaris is 646 but the C library routines treat it as if it was 1647 /* Remap CP949 to a similar codepage to avoid issues with backslash and won symbol. */ 1652 /* Remap CP949 to a similar codepage to avoid issues with backslash and won symbol. */ 1723 static char codepage[64]; local 1739 sprintf(codepage,"ibm-%d", ccsid); 1740 return codepage; 1743 static char codepage[6 [all...] |
H A D | ucnv.c | 125 /*Assumes a $platform-#codepage.$CONVERTER_FILE_EXTENSION scheme and calls 128 ucnv_openCCSID (int32_t codepage, argument 140 T_CString_integerToString(myName + myNameLen, codepage, 10); 676 ccsid = converter->sharedData->staticData->codepage;
|
/external/icu4c/test/cintltst/ |
H A D | ucsdetst.c | 67 static char *extractBytes(const UChar *src, int32_t length, const char *codepage, int32_t *byteLength) argument 70 UConverter *cnv = ucnv_open(codepage, &status);
|
H A D | ncnvfbts.c | 117 static void setNuConvTestName(const char *codepage, const char *direction) argument 120 codepage, 128 const char *codepage, UBool fallback, const int32_t *expectOffsets) 155 setNuConvTestName(codepage, "FROM"); 157 log_verbose("\nTesting========= %s FROM \n inputbuffer= %d outputbuffer= %d\n", codepage, gInBufferSize, 160 conv = my_ucnv_open(codepage, &status); 163 log_data_err("Couldn't open converter %s\n",codepage); 291 const char *codepage, UBool fallback, const int32_t *expectOffsets) 320 setNuConvTestName(codepage, "TO"); 324 conv = my_ucnv_open(codepage, 127 testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, UBool fallback, const int32_t *expectOffsets) argument 290 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 D | ncnvtst.c | 43 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, 996 const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) 1010 conv = ucnv_open(codepage, &status); 1013 log_data_err("Couldn't open converter %s\n",codepage); 1038 log_err("ucnv_fromUnicode() failed for codepage 995 convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) argument 1084 convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) argument 1181 testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, UBool testReset) argument 1353 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 D | nccbtst.c | 73 static void setNuConvTestName(const char *codepage, const char *direction) argument 76 codepage, 231 /* SBCS NLTC codepage 367 for US-ASCII */ 704 /* SBCS NLTC codepage 367 for US-ASCII */ 2640 const char *codepage, UConverterFromUCallback callback , const int32_t *expectOffsets, 2671 setNuConvTestName(codepage, "FROM"); 2673 log_verbose("\nTesting========= %s FROM \n inputbuffer= %d outputbuffer= %d\n", codepage, gInBufferSize, 2676 conv = ucnv_open(codepage, &status); 2679 log_data_err("Couldn't open converter %s\n",codepage); 2841 const char *codepage, UConverterToUCallbac 2639 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 2840 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 3036 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 3216 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 D | nucnvtst.c | 313 static void setNuConvTestName(const char *codepage, const char *direction) argument 316 codepage, 332 const char *codepage, const int32_t *expectOffsets , UBool useFallback) 356 setNuConvTestName(codepage, "FROM"); 360 conv = my_ucnv_open(codepage, &status); 364 log_data_err("Couldn't open converter %s\n",codepage); 411 log_err("Problem doing fromUnicode to %s, errcode %s %s\n", codepage, myErrorName(status), gNuConvTestName); 489 const char *codepage, const int32_t *expectOffsets, UBool useFallback) 515 setNuConvTestName(codepage, "TO"); 519 conv = my_ucnv_open(codepage, 331 testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, const int32_t *expectOffsets , UBool useFallback) argument 488 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 D | csdetest.cpp | 122 static char *extractBytes(const UnicodeString &source, const char *codepage, int32_t &length) argument 127 length = source.extract(0, sLength, NULL, codepage); 131 source.extract(0, sLength, bytes, codepage); 149 char codepage[64]; local 151 u_UCharsToChars(eSplit[0].getBuffer(), codepage, cpLength); 152 codepage[cpLength] = '\0'; 157 char *bytes = extractBytes(testString, codepage, byteLength);
|
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/ |
H A D | SDL_sysevents.c | 95 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 D | msdos_fs.h | 206 unsigned short codepage; /* Codepage for shortname conversions */ member in struct:fat_mount_options
|
/external/sqlite/dist/ |
H A D | sqlite3.c | 2693 ** codepage is currently defined. Filenames containing international 20727 static UconvObject uclCp = NULL; /* convert between local codepage and UCS-2 */ 20752 ** Helper function to convert UTF-8 filenames to local OS/2 codepage. 20754 ** into UCS-2 and then from UCS-2 to the current codepage. 20771 /* conversion for current codepage which can be used for paths */ 20778 ** Helper function to convert filenames from local codepage to UTF-8. 20779 ** The two-step process: first convert the incoming codepage-specific 20780 ** string into UCS-2 and then from UCS-2 to the codepage of UTF-8. 20796 /* conversion for current codepage which can be used for paths */ 27527 ** current codepage setting 27535 int codepage = AreFileApisANSI() ? CP_ACP : CP_OEMCP; local 27560 int codepage = AreFileApisANSI() ? CP_ACP : CP_OEMCP; local [all...] |