/cts/tools/signature-tools/src/signature/converter/ |
Visibility.java | 17 package signature.converter;
|
/cts/tools/signature-tools/test/signature/converter/util/ |
AbstractConvertTest.java | 17 package signature.converter.util; 24 import signature.converter.Visibility; 29 private ITestSourceConverter converter; field in class:AbstractConvertTest 32 * Creates and returns a converter instance. 33 * @return a converter instance 40 converter = createConverter(); 44 return converter.convert(visibility, units);
|
/external/chromium/third_party/icu/source/common/ |
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->charErrorBufferLength = 0 179 UConverter *converter; local [all...] |
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);
|
ucnv_u32.c | 14 * UTF-32 converter implementation. Used to be in ucnv_utf.c. 51 unsigned char *toUBytes = args->converter->toUBytes; 55 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { 56 i = args->converter->toULength; /* restore # of bytes consumed */ 57 args->converter->toULength = 0; 59 ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous call*/ 60 args->converter->toUnicodeStatus = 0; 76 args->converter->toUnicodeStatus = ch + 1; 77 args->converter->toULength = (int8_t) i; 98 args->converter->UCharErrorBuffer[0] = (UChar) ch [all...] |
ucnvhz.c | 48 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->toULength = 2 [all...] |
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) [all...] |
/external/icu4c/common/ |
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->charErrorBufferLength = 0 179 UConverter *converter; local [all...] |
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);
|
ucnv_u32.c | 14 * UTF-32 converter implementation. Used to be in ucnv_utf.c. 51 unsigned char *toUBytes = args->converter->toUBytes; 55 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { 56 i = args->converter->toULength; /* restore # of bytes consumed */ 57 args->converter->toULength = 0; 59 ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous call*/ 60 args->converter->toUnicodeStatus = 0; 76 args->converter->toUnicodeStatus = ch + 1; 77 args->converter->toULength = (int8_t) i; 98 args->converter->UCharErrorBuffer[0] = (UChar) ch [all...] |
ucnvhz.c | 48 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->toULength = 2 [all...] |
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) [all...] |
/cts/tools/signature-tools/src/signature/converter/dex/ |
IClassInitializer.java | 17 package signature.converter.dex;
|
/cts/tools/signature-tools/test/signature/converter/dex/ |
DexExternalizerTest.java | 17 package signature.converter.dex; 21 import signature.converter.Visibility; 34 DexToSigConverter converter = new DexToSigConverter(); local 35 IApi api = converter.convertApi("Dex Tests", DexUtil.getDexFiles(new HashSet<String>(Arrays.asList(new String[]{"resources/javaCore.dex"}))), Visibility.PRIVATE);
|
GenericSignatureParserTest.java | 17 package signature.converter.dex; 30 import signature.converter.dex.DexToSigConverter; 31 import signature.converter.dex.DexUtil; 32 import signature.converter.dex.GenericSignatureParser; 40 private DexToSigConverter converter; field in class:GenericSignatureParserTest 46 converter = new DexToSigConverter(); 48 parser = new GenericSignatureParser(new TypePool(), converter); 56 SigClassDefinition sigClass = converter.convertClass(dexClass);
|
DexTestConverter.java | 17 package signature.converter.dex; 22 import signature.converter.Visibility; 23 import signature.converter.dex.DexToSigConverter; 24 import signature.converter.util.AbstractTestSourceConverter; 25 import signature.converter.util.CompilationUnit; 37 DexToSigConverter converter = new DexToSigConverter(); local 43 return converter.convertApi("Dex Tests", Collections.singleton(dexFile), visibility);
|
/cts/tools/signature-tools/src/signature/model/ |
IApi.java | 19 import signature.converter.Visibility;
|
/external/chromium/googleurl/src/ |
url_canon_icu.h | 45 // Constructs a converter using an already-existing ICU character set 46 // converter. This converter is NOT owned by this object; the lifetime must 48 ICUCharsetConverter(UConverter* converter); 57 // The ICU converter, not owned by this class.
|
url_canon_query.cc | 94 // Runs the converter on the given UTF-8 input. Since the converter expects 95 // UTF-16, we have to convert first. The converter must be non-NULL. 98 CharsetConverter* converter, 104 converter->ConvertFromUTF16(utf16.data(), utf16.length(), output); 107 // Runs the converter with the given UTF-16 input. We don't have to do 112 CharsetConverter* converter, 114 converter->ConvertFromUTF16(&spec[query.begin], query.len, output); 120 CharsetConverter* converter, 128 if (converter) { [all...] |
/external/icu4c/samples/cal/ |
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);
|
/external/icu4c/samples/date/ |
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);
|
/external/webkit/WebCore/platform/text/mac/ |
TextCodecMac.h | 64 TECConverterWrapper() : converter(0), encoding(invalidEncoding) { } 65 ~TECConverterWrapper() { if (converter) TECDisposeConverter(converter); } 67 TECObjectRef converter; member in struct:WebCore::TECConverterWrapper
|
/external/chromium/third_party/icu/source/tools/genrb/ |
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 for encoding\n", pname) [all...] |
/external/icu4c/tools/genrb/ |
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 for encoding\n", pname) [all...] |
/external/chromium/base/i18n/ |
icu_string_conversions.cc | 87 bool ConvertFromUTF16(UConverter* converter, const UChar* uchar_src, 91 ucnv_getMaxCharSize(converter)); 99 ucnv_setFromUCallBack(converter, UCNV_FROM_U_CALLBACK_STOP, 0, 104 ucnv_setFromUCallBack(converter, UCNV_FROM_U_CALLBACK_SKIP, 0, 112 int actual_size = ucnv_fromUChars(converter, &(*encoded)[0], 115 ucnv_close(converter); 124 UConverter* converter, UErrorCode* status) { 127 ucnv_setToUCallBack(converter, UCNV_TO_U_CALLBACK_STOP, 0, 131 ucnv_setToUCallBack(converter, UCNV_TO_U_CALLBACK_SKIP, 0, 135 ucnv_setToUCallBack(converter, ToUnicodeCallbackSubstitute, 0 167 UConverter* converter = ucnv_open(codepage_name, &status); local 182 UConverter* converter = ucnv_open(codepage_name, &status); local [all...] |