/macosx-10.9.5/ICU-511.35/icuSources/common/ |
H A D | ucnv_cb.c | 46 args->converter, 62 just retry shoving data through the same converter. Note, if you got 81 ucnv_fromUnicode(args->converter, 115 errBuffLen = args->converter->charErrorBufferLength; 118 newTarget = (char *)(args->converter->charErrorBuffer + errBuffLen); 120 newTargetLimit = (char *)(args->converter->charErrorBuffer + 121 sizeof(args->converter->charErrorBuffer)); 129 /* We're going to tell the converter that the errbuff len is empty. 131 itself. If the errbuff is needed by the converter this time, 134 args->converter 179 UConverter *converter; local [all...] |
H A D | ustr_cnv.c | 30 /* mutexed access to a shared default converter ----------------------------- */ 37 UConverter *converter = NULL; local 44 converter = gDefaultConverter; 50 /* if the cache was empty, create a converter */ 51 if(converter == NULL) { 52 converter = ucnv_open(NULL, status); 54 ucnv_close(converter); 55 converter = NULL; 59 return converter; 63 u_releaseDefaultConverter(UConverter *converter) argument 86 UConverter *converter = NULL; local [all...] |
H A D | ustr_cnv.h | 24 * Get the default converter. This is a commonly used converter 34 * Release the default converter to the converter cache. 38 u_releaseDefaultConverter(UConverter *converter); 41 * Flush the default converter, if cached.
|
H A D | ucnv_u32.c | 14 * UTF-32 converter implementation. Used to be in ucnv_utf.c. 52 unsigned char *toUBytes = args->converter->toUBytes; 56 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { 57 i = args->converter->toULength; /* restore # of bytes consumed */ 58 args->converter->toULength = 0; 60 ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous call*/ 61 args->converter->toUnicodeStatus = 0; 77 args->converter->toUnicodeStatus = ch + 1; 78 args->converter->toULength = (int8_t) i; 99 args->converter [all...] |
H A D | ucnvhz.c | 49 args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) *strToAppend; \ 162 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo); 167 /*if ((args->converter == NULL) || (args->targetLimit < args->target) || (mySourceLimit < args->source)){ 178 if(args->converter->mode == UCNV_TILDE) { 180 args->converter->mode=0; 198 args->converter->toUCallbackReason = UCNV_IRREGULAR; 199 args->converter->toUBytes[0] = UCNV_TILDE; 200 args->converter->toUBytes[1] = mySourceChar; 201 args->converter [all...] |
H A D | ucnv.c | 150 and created from a converter that is shared across threads. 194 UTRACE_DATA3(UTRACE_OPEN_CLOSE, "clone converter %s at %p into stackBuffer %p", 291 Checking whether it's an algorithic converter is okay 305 toUArgs.converter = fromUArgs.converter = localConverter; 321 ucnv_close (UConverter * converter) argument 327 if (converter == NULL) 333 UTRACE_DATA3(UTRACE_OPEN_CLOSE, "close converter %s at %p, isCopyLocal=%b", 334 ucnv_getName(converter, &errorCode), converter, converte 419 ucnv_getSubstChars(const UConverter * converter, char *mySubChar, int8_t * len, UErrorCode * err) argument 444 ucnv_setSubstChars(UConverter * converter, const char *mySubChar, int8_t len, UErrorCode * err) argument 563 _reset(UConverter *converter, UConverterResetChoice choice, UBool callCallback) argument 628 ucnv_reset(UConverter *converter) argument 634 ucnv_resetToUnicode(UConverter *converter) argument 640 ucnv_resetFromUnicode(UConverter *converter) argument 646 ucnv_getMaxCharSize(const UConverter * converter) argument 653 ucnv_getMinCharSize(const UConverter * converter) argument 659 ucnv_getName(const UConverter * converter, UErrorCode * err) argument 673 ucnv_getCCSID(const UConverter * converter, UErrorCode * err) argument 697 ucnv_getPlatform(const UConverter * converter, UErrorCode * err) argument 707 ucnv_getToUCallBack(const UConverter * converter, UConverterToUCallback *action, const void **context) argument 716 ucnv_getFromUCallBack(const UConverter * converter, UConverterFromUCallback *action, const void **context) argument 725 ucnv_setToUCallBack(UConverter * converter, UConverterToUCallback newAction, const void* newContext, UConverterToUCallback *oldAction, const void** oldContext, UErrorCode * err) argument 741 ucnv_setFromUCallBack(UConverter * converter, UConverterFromUCallback newAction, const void* newContext, UConverterFromUCallback *oldAction, const void** oldContext, UErrorCode * err) argument 2608 ucnv_getType(const UConverter* converter) argument 2620 ucnv_getStarters(const UConverter* converter, UBool starters[256], UErrorCode* err) argument 2701 ucnv_getInvalidChars(const UConverter * converter, char *errBytes, int8_t * len, UErrorCode * err) argument 2727 ucnv_getInvalidUChars(const UConverter * converter, UChar *errChars, int8_t * len, UErrorCode * err) argument [all...] |
H A D | unistr_cnv.cpp | 104 // use the provided converter 108 // use the default converter 171 // create the converter 172 UConverter *converter; local 187 converter = u_getDefaultConverter(&status); 199 converter = ucnv_open(codepage, &status); 202 length = doExtract(start, length, target, capacity, converter, status); 204 // close the converter 206 u_releaseDefaultConverter(converter); 208 ucnv_close(converter); 323 UConverter *converter; local 365 doCodepageCreate(const char *codepageData, int32_t dataLength, UConverter *converter, UErrorCode &status) argument [all...] |
/macosx-10.9.5/ICU-511.35/icuSources/samples/cal/ |
H A D | uprint.c | 28 /* converter */ 29 UConverter *converter; local 46 /* open a default converter */ 47 converter = ucnv_open(0, status); 58 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, 73 /* close the converter */ 74 ucnv_close(converter);
|
/macosx-10.9.5/ICU-511.35/icuSources/samples/date/ |
H A D | uprint.c | 29 /* converter */ 30 UConverter *converter; local 47 /* open a default converter */ 48 converter = ucnv_open(0, status); 59 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, 74 /* close the converter */ 75 ucnv_close(converter);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/text/mac/ |
H A D | TextCodecMac.h | 64 TECConverterWrapper() : converter(0), encoding(invalidEncoding) { } 65 ~TECConverterWrapper() { if (converter) TECDisposeConverter(converter); } 67 TECObjectRef converter; member in struct:WebCore::TECConverterWrapper
|
/macosx-10.9.5/ICU-511.35/icuSources/tools/genrb/ |
H A D | derb.c | 62 static void printOutBundle(FILE *out, UConverter *converter, UResourceBundle *resource, int32_t indent, const char *pname, UErrorCode *status); 63 static void printString(FILE *out, UConverter *converter, const UChar *str, int32_t len); 64 static void printCString(FILE *out, UConverter *converter, const char *str, int32_t len); 65 static void printIndent(FILE *out, UConverter *converter, int32_t indent); 66 static void printHex(FILE *out, UConverter *converter, uint8_t what); 100 UConverter *converter; local 189 converter = ucnv_open(encoding, &status); 191 fprintf(stderr, "%s: couldn't create %s converter for encoding\n", pname, encoding ? encoding : ucnv_getDefaultName()); 194 ucnv_setFromUCallBack(converter, UCNV_FROM_U_CALLBACK_ESCAPE, UCNV_ESCAPE_C, 0, 0, &status); 196 fprintf(stderr, "%s: couldn't configure converter fo 410 printString(FILE *out, UConverter *converter, const UChar *str, int32_t len) argument 430 printCString(FILE *out, UConverter *converter, const char *str, int32_t len) argument 450 printIndent(FILE *out, UConverter *converter, int32_t indent) argument 461 printHex(FILE *out, UConverter *converter, uint8_t what) argument 471 printOutAlias(FILE *out, UConverter *converter, UResourceBundle *parent, Resource r, const char *key, int32_t indent, const char *pname, UErrorCode *status) argument 504 printOutBundle(FILE *out, UConverter *converter, UResourceBundle *resource, int32_t indent, const char *pname, UErrorCode *status) argument [all...] |
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/persist/impl/ |
H A D | ConverterReader.java | 23 private Converter converter; field in class:ConverterReader 26 ConverterReader(Converter converter) { argument 27 this.converter = converter; 51 o = converter.getConversion().convert(o);
|
/macosx-10.9.5/CF-855.17/ |
H A D | CFStringEncodingConverter.c | 40 typedef CFIndex (*_CFToBytesProc)(const void *converter, uint32_t flags, const UniChar *characters, CFIndex numChars, uint8_t *bytes, CFIndex maxByteLen, CFIndex *usedByteLen); 41 typedef CFIndex (*_CFToUnicodeProc)(const void *converter, uint32_t flags, const uint8_t *bytes, CFIndex numBytes, UniChar *characters, CFIndex maxCharLen, CFIndex *usedCharLen); 239 static CFIndex __CFToBytesCheapEightBitWrapper(const void *converter, uint32_t flags, const UniChar *characters, CFIndex numChars, uint8_t *bytes, CFIndex maxByteLen, CFIndex *usedByteLen) { argument 245 if (!((CFStringEncodingCheapEightBitToBytesProc)((const _CFEncodingConverter*)converter)->definition->toBytes)(flags, characters[processedCharLen], &byte)) break; 255 static CFIndex __CFToUnicodeCheapEightBitWrapper(const void *converter, uint32_t flags, const uint8_t *bytes, CFIndex numBytes, UniChar *characters, CFIndex maxCharLen, CFIndex *usedCharLen) { argument 261 if (!((CFStringEncodingCheapEightBitToUnicodeProc)((const _CFEncodingConverter*)converter)->definition->toUnicode)(flags, bytes[processedByteLen], &character)) break; 271 static CFIndex __CFToCanonicalUnicodeCheapEightBitWrapper(const void *converter, uint32_t flags, const uint8_t *bytes, CFIndex numBytes, UniChar *characters, CFIndex maxCharLen, CFIndex *usedCharLen) { argument 280 if (!((CFStringEncodingCheapEightBitToUnicodeProc)((const _CFEncodingConverter*)converter)->definition->toUnicode)(flags, bytes[processedByteLen], &character)) break; 314 static CFIndex __CFToBytesStandardEightBitWrapper(const void *converter, uint32_t flags, const UniChar *characters, CFIndex numChars, uint8_t *bytes, CFIndex maxByteLen, CFIndex *usedByteLen) { argument 322 if (!(usedLen = ((CFStringEncodingStandardEightBitToBytesProc)((const _CFEncodingConverter*)converter) 334 __CFToUnicodeStandardEightBitWrapper(const void *converter, uint32_t flags, const uint8_t *bytes, CFIndex numBytes, UniChar *characters, CFIndex maxCharLen, CFIndex *usedCharLen) argument 360 __CFToCanonicalUnicodeStandardEightBitWrapper(const void *converter, uint32_t flags, const uint8_t *bytes, CFIndex numBytes, UniChar *characters, CFIndex maxCharLen, CFIndex *usedCharLen) argument 405 __CFToBytesCheapMultiByteWrapper(const void *converter, uint32_t flags, const UniChar *characters, CFIndex numChars, uint8_t *bytes, CFIndex maxByteLen, CFIndex *usedByteLen) argument 432 __CFToUnicodeCheapMultiByteWrapper(const void *converter, uint32_t flags, const uint8_t *bytes, CFIndex numBytes, UniChar *characters, CFIndex maxCharLen, CFIndex *usedCharLen) argument 452 __CFToCanonicalUnicodeCheapMultiByteWrapper(const void *converter, uint32_t flags, const uint8_t *bytes, CFIndex numBytes, UniChar *characters, CFIndex maxCharLen, CFIndex *usedCharLen) argument 505 _CFEncodingConverter *converter; local 597 const _CFEncodingConverter *converter = NULL; local 681 const _CFEncodingConverter *converter = __CFGetConverter(encoding); local 812 const _CFEncodingConverter *converter = __CFGetConverter(encoding); local 861 const _CFEncodingConverter *converter = __CFGetConverter(encoding); local 905 const _CFEncodingConverter *converter = __CFGetConverter(encoding); local 929 _CFEncodingConverter *converter = (_CFEncodingConverter *)__CFGetConverter(encoding); local 940 const _CFEncodingConverter *converter = __CFGetConverter(encoding); local [all...] |
H A D | CFICUConverters.c | 50 UConverter **converter = data->_converters; local 51 UConverter **limit = converter + data->_numSlots; 53 while (converter < limit) { 54 if (NULL != converter) ucnv_close(*converter); 55 ++converter; 129 UConverter *converter; local 141 converter = ucnv_open(icuName, &errorCode); 143 if (NULL != converter) { 150 ucnv_setToUCallBack(converter, 165 __CFStringEncodingConverterReleaseICUConverter(UConverter *converter, uint32_t flags, CFIndex status) argument 253 UConverter *converter; local 355 UConverter *converter; local [all...] |
/macosx-10.9.5/ICU-511.35/icuSources/io/ |
H A D | ustream.cpp | 41 UConverter *converter; local 44 // use the default converter to convert chunks of text 45 converter = u_getDefaultConverter(&errorCode); 53 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 61 u_releaseDefaultConverter(converter); 81 UConverter *converter; local 84 // use the default converter to convert chunks of text 85 converter = u_getDefaultConverter(&errorCode); 114 ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, 0, !continueReading, &errorCode); 158 u_releaseDefaultConverter(converter); [all...] |
/macosx-10.9.5/ICU-511.35/icuSources/common/unicode/ |
H A D | ucnv.h | 26 * from UTF-16. You can open a converter with {@link ucnv_open() }. With that 27 * converter, you can get its properties, set options, convert your data and 28 * close the converter.</p> 30 * <p>Since many software programs recogize different converter names for 32 * iterate over the converter aliases. The functions {@link ucnv_getAvailableName() }, 36 * <p>When a converter encounters an illegal, irregular, invalid or unmappable character 39 * or {@link ucnv_setToUCallBack() } on the converter. The header ucnv_err.h defines 75 /** Maximum length of a converter name including the terminating NULL @stable ICU 2.0 */ 77 /** Maximum length of a converter name including path and terminating NULL @stable ICU 2.0 */ 165 /* Number of converter type [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/icu/unicode/ |
H A D | ucnv.h | 26 * from UTF-16. You can open a converter with {@link ucnv_open() }. With that 27 * converter, you can get its properties, set options, convert your data and 28 * close the converter.</p> 30 * <p>Since many software programs recogize different converter names for 32 * iterate over the converter aliases. The functions {@link ucnv_getAvailableName() }, 36 * <p>When a converter encounters an illegal, irregular, invalid or unmappable character 39 * or {@link ucnv_setToUCallBack() } on the converter. The header ucnv_err.h defines 75 /** Maximum length of a converter name including the terminating NULL @stable ICU 2.0 */ 77 /** Maximum length of a converter name including path and terminating NULL @stable ICU 2.0 */ 128 /* Number of converter type [all...] |
/macosx-10.9.5/WebCore-7537.78.1/icu/unicode/ |
H A D | ucnv.h | 26 * from UTF-16. You can open a converter with {@link ucnv_open() }. With that 27 * converter, you can get its properties, set options, convert your data and 28 * close the converter.</p> 30 * <p>Since many software programs recogize different converter names for 32 * iterate over the converter aliases. The functions {@link ucnv_getAvailableName() }, 36 * <p>When a converter encounters an illegal, irregular, invalid or unmappable character 39 * or {@link ucnv_setToUCallBack() } on the converter. The header ucnv_err.h defines 75 /** Maximum length of a converter name including the terminating NULL @stable ICU 2.0 */ 77 /** Maximum length of a converter name including path and terminating NULL @stable ICU 2.0 */ 128 /* Number of converter type [all...] |
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/include/idn/ |
H A D | punycode.h | 56 #include <idn/converter.h>
|
H A D | race.h | 58 #include <idn/converter.h>
|
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/PSConverterTool/ |
H A D | PSConverterTool.py | 14 self.converter = None 54 CGPSConverterAbort(info.converter); 95 # Create a converter object with myConverterData as the 97 # to use for the conversion. There are no converter options 99 myConverterData.converter = CGPSConverterCreate(myConverterData, ( 109 if myConverterData.converter is None: 110 print >>sys.stderr, "Couldn't create converter object!" 115 success = CGPSConverterConvert(myConverterData.converter,
|
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/PSConverterTool/ |
H A D | PSConverterTool.py | 14 self.converter = None 54 CGPSConverterAbort(info.converter); 95 # Create a converter object with myConverterData as the 97 # to use for the conversion. There are no converter options 99 myConverterData.converter = CGPSConverterCreate(myConverterData, ( 109 if myConverterData.converter is None: 110 print >>sys.stderr, "Couldn't create converter object!" 115 success = CGPSConverterConvert(myConverterData.converter,
|
/macosx-10.9.5/WebCore-7537.78.1/platform/text/ |
H A D | TextCodecICU.h | 68 ICUConverterWrapper() : converter(0) { } 71 UConverter* converter; member in struct:WebCore::ICUConverterWrapper
|
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CurrencyConverter/ |
H A D | CurrencyConverter.py | 16 converter = objc.IBOutlet() variable in class:ConverterController 31 total = self.converter.convertAmount(rate, amt)
|
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CurrencyConverter/ |
H A D | CurrencyConverter.py | 16 converter = objc.IBOutlet() variable in class:ConverterController 31 total = self.converter.convertAmount(rate, amt)
|