/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/persist/evolve/ |
H A D | Mutations.java | 122 * Adds a converter mutation. 124 public void addConverter(Converter converter) { argument 125 converters.put(new Key(converter), converter); 129 * Returns the converter mutation for the given class, version and field, 131 * class converter. 140 * Returns an unmodifiable collection of all converter mutations.
|
/macosx-10.9.5/BerkeleyDB-21/db/java/src/com/sleepycat/persist/impl/ |
H A D | ComplexFormat.java | 803 Converter converter = mutations.getConverter 805 if (converter != null) { 809 "Converter appears on its superclass: " + converter); 1006 Converter converter, 1021 if (converter instanceof EntityConverter) { 1022 EntityConverter entityConverter = (EntityConverter) converter; 1045 (this, newFormat, converter, 1273 Converter converter = mutations.getConverter 1275 if (deleter != null && (converter != null || renamer != null)) { 1394 if (converter ! 1005 evolveMetadata(Format newFormatParam, Converter converter, Evolver evolver) argument 1695 private Converter converter; field in class:ComplexFormat.ConvertFieldReader 1702 ConvertFieldReader(Converter converter, int oldFieldIndex, int newFieldIndex, boolean isNewSecKeyField) argument [all...] |
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);
|
H A D | Evolver.java | 282 Converter converter = 284 if (deleter != null && (converter != null || renamer != null)) { 299 if (deleter != null || converter != null || renamer != null) { 301 ((converter != null) ? converter : renamer); 386 if (converter != null) { 391 "Class converter not allowed for an entity class " + 396 if (!oldFormat.evolveMetadata(newFormat, converter, this)) { 400 return applyConverter(converter, oldFormat, newFormat); 566 private boolean applyConverter(Converter converter, argument [all...] |
H A D | Format.java | 724 Converter converter, 723 evolveMetadata(Format newFormat, Converter converter, Evolver evolver) argument
|
H A D | Store.java | 211 for (Converter converter : mutations.getConverters()) { 212 converter.getConversion().initialize(model);
|
/macosx-10.9.5/BerkeleyDB-21/db/test/scr024/src/com/sleepycat/persist/test/ |
H A D | EvolveClasses.java | 4347 Converter converter = new Converter 4350 m.addConverter(converter); 4457 Converter converter = new Converter 4460 m.addConverter(converter); 4633 Converter converter = new Converter 4636 m.addConverter(converter); 4770 Converter converter = new Converter 4773 m.addConverter(converter); 4923 Converter converter = new Converter 4926 m.addConverter(converter); [all...] |
/macosx-10.9.5/CF-855.17/ |
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...] |
H A D | CFString.c | 436 const CFStringEncodingConverter *converter = CFStringEncodingGetConverter(__CFDefaultSystemEncoding); local 437 __CFSetCharToUniCharFunc(converter->encodingClass == kCFStringEncodingConverterCheapEightBit ? (UNI_CHAR_FUNC)converter->toUnicode : NULL);
|
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 | CFStringEncodings.c | 112 !!! converterFlags is only used for the UTF8 converter at this point 323 const CFStringEncodingConverter *converter = CFStringEncodingGetConverter(kCFStringEncodingUTF8); local 324 __CFFromUTF8 = (CFStringEncodingToUnicodeProc)converter->toUnicode; 415 const CFStringEncodingConverter *converter = CFStringEncodingGetConverter(encoding); local 417 if (!converter) return false; 432 if (converter->encodingClass == kCFStringEncodingConverterCheapEightBit) { 450 } else if (!((CFStringEncodingCheapEightBitToUnicodeProc)converter->toUnicode)(0, chars[idx], buffer->chars.unicode + idx)) {
|
/macosx-10.9.5/Chess-310.5/sjeng/ |
H A D | utils.c | 151 int f_rank, t_rank, converter; local 159 converter = (int) 'a'; 160 f_file = file (move.from)+converter-1; 161 t_file = file (move.target)+converter-1; 313 int prom, from, target, f_rank, t_rank, converter; local 324 converter = (int) 'a'; 325 f_file = file (from)+converter-1; 326 t_file = file (target)+converter-1;
|
/macosx-10.9.5/ICU-511.35/icuSources/common/ |
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 | ucnv2022.cpp | 50 * I am disabling the generic ISO-2022 converter after proposing to do so on 60 * 2. I believe that no one is really using the generic ISO-2022 converter 62 * Note that ICU's generic ISO-2022 converter has always output one escape 65 * the previous converter is closed and a new one opened, 72 * The ICU ISO-2022 converter does not handle this - and has no information 165 * Note: The converter uses some leniency: 265 * v) Get the converter name form escSeqStateTable_Result_2022[21] which is JISX208 303 * When the generic ISO-2022 converter is completely removed, not just disabled 379 _ISO2022Close(UConverter *converter); 382 _ISO2022Reset(UConverter *converter, UConverterResetChoic 437 setInitialStateFromUnicodeKR(UConverter* converter,UConverterDataISO2022 *myConverterData) argument 616 _ISO2022Close(UConverter *converter) argument 639 _ISO2022Reset(UConverter *converter, UConverterResetChoice choice) argument [all...] |
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 | ucnv_cnv.h | 8 * Definitions for converter implementations. 150 typedef void (*UConverterGetStarters)(const UConverter* converter, 165 * specificially for the converter in order to properly maintain the state. 170 * For converter-specific safeClone processing 171 * If this function is not set, then ucnv_safeClone assumes that the converter has no private data that changes 172 * after the converter is done opening. 174 * converter data to the new, empty converter, and is expected to set up 175 * the initial state of the converter. It is not expected to increment the 197 * Fills the set of Unicode code points that can be converted by an ICU converter [all...] |
H A D | ucnv_ct.c | 172 _CompoundTextClose(UConverter *converter); 175 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice); 304 _CompoundTextClose(UConverter *converter) { argument 305 UConverterDataCompoundText* myConverterData = (UConverterDataCompoundText*)(converter->extraInfo); 308 if (converter->extraInfo != NULL) { 309 /*close the array of converter pointers and free the memory*/ 316 uprv_free(converter->extraInfo); 321 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice) { argument 331 UConverter *cnv = args->converter; 445 args->converter [all...] |
H A D | ucnv_err.c | 30 /*Magic # 32 = 4(number of char in value string) * 8(max number of bytes per char for any converter) */ 127 *uses a clean copy (resetted) of the converter, to convert that unicode 159 ucnv_setFromUCallBack (fromArgs->converter, 270 ucnv_setFromUCallBack (fromArgs->converter,
|
H A D | ucnv_lmb.c | 55 The code in this file provides an implementation for an ICU converter of 219 optimization group as part of the name of the converter (LMBCS-1, LMBCS-2, 220 etc.). Using plain 'LMBCS' as the name of the converter will give you 227 Because of the extensive use of other character sets, the LMBCS converter 232 byte, only those at 0x13 or below can map to an actual converter. To limit 233 some loops and searches, we define a value for that last group converter:*/ 235 #define ULMBCS_GRP_LAST 0x13 /* last LMBCS group that has a converter */ 465 We also ask the creator of a converter to send in a preferred locale 568 vtable. There is also room in there for converter-specific data. LMBCS 569 uses that converter [all...] |
H A D | ucnv_u16.c | 14 * UTF-16 converter implementation. Used to be in ucnv_utf.c. 66 cnv=pArgs->converter; 262 if(pArgs->converter->mode<8) { 267 cnv=pArgs->converter; 494 if(pArgs->converter->mode<8) { 509 pArgs->converter->toUBytes[0]=*s++; 510 pArgs->converter->toULength=1; 537 uint8_t *bytes=pArgs->converter->toUBytes; 539 pArgs->converter->toULength=(int8_t)(sourceLimit-s); 554 uint8_t *bytes=pArgs->converter [all...] |
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 | ucnv_u7.c | 14 * UTF-7 converter implementation. Used to be in ucnv_utf.c. 40 * By default, the ICU UTF-7 converter encodes set O directly. 164 * converter status values: 230 cnv=pArgs->converter; 445 /* set the converter state back into UConverter */ 474 cnv=pArgs->converter; 719 /* set the converter state back into UConverter */ 872 * converter status values: 914 cnv=pArgs->converter; 1144 /* set the converter stat [all...] |
H A D | ucnv_u8.c | 14 * UTF-8 converter implementation. Used to be in ucnv_utf.c. 17 * The CESU-8 converter uses all the same functions as the 18 * UTF-8 converter, with a branch for converting supplementary code points. 93 UConverter *cnv = args->converter; 221 UConverter *cnv = args->converter; 351 UConverter *cnv = args->converter; 465 UConverter *cnv = args->converter; 613 cnv = args->converter; 767 utf8=pToUArgs->converter; 773 /* get the converter stat [all...] |
H A D | ucnvbocu.cpp | 256 * The BOCU-1 converter uses the standard setup code in ucnv.c/ucnv_bld.c. 405 cnv=pArgs->converter; 412 /* get the converter state from UConverter */ 626 /* set the converter state back into UConverter */ 654 cnv=pArgs->converter; 660 /* get the converter state from UConverter */ 847 /* set the converter state back into UConverter */ 955 cnv=pArgs->converter; 962 /* get the converter state from UConverter */ 1137 /* set the converter stat [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...] |