HomeSort by relevance Sort by last modified time
    Searched refs:converter (Results 1 - 25 of 735) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CodeGen/
2003-11-20-UnionBitfield.c 5 char converter; member in struct:printf_spec
  /external/icu/icu4c/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.cpp 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)
86 UConverter *converter = NULL; 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);
41 * Flush the default converter, if cached.
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->UCharErrorBuffer[0] = (UChar) ch
    [all...]
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->toULength = 2
    [all...]
ucnv.c 150 and created from a converter that is shared across threads.
195 UTRACE_DATA3(UTRACE_OPEN_CLOSE, "clone converter %s at %p into stackBuffer %p",
308 toUArgs.converter = fromUArgs.converter = localConverter;
324 ucnv_close (UConverter * converter)
330 if (converter == NULL)
336 UTRACE_DATA3(UTRACE_OPEN_CLOSE, "close converter %s at %p, isCopyLocal=%b",
337 ucnv_getName(converter, &errorCode), converter, converter->isCopyLocal)
    [all...]
unistr_cnv.cpp 94 // use the provided converter
98 // use the default converter
161 // create the converter
162 UConverter *converter; local
177 converter = u_getDefaultConverter(&status);
189 converter = ucnv_open(codepage, &status);
192 length = doExtract(start, length, target, capacity, converter, status);
194 // close the converter
196 u_releaseDefaultConverter(converter);
198 ucnv_close(converter);
313 UConverter *converter; local
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
EnumsTest.java 74 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); local
75 assertEquals(TestEnum.CHEETO, converter.convert("CHEETO"));
76 assertEquals(TestEnum.HONDA, converter.convert("HONDA"));
77 assertEquals(TestEnum.POODLE, converter.convert("POODLE"));
78 assertNull(converter.convert(null));
79 assertNull(converter.reverse().convert(null));
83 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); local
85 converter.convert("xxx")
92 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); local
99 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); local
    [all...]
  /external/icu/icu4c/source/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/icu/icu4c/source/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/testng/src/test/java/test/converter/
ConverterSample1.java 1 package test.converter;
  /frameworks/base/core/java/android/animation/
BidirectionalTypeConverter.java 42 * Returns the inverse of this converter, where the from and to classes are reversed.
43 * The inverted converter uses this convert to call {@link #convertBack(Object)} for
46 * @return The inverse of this converter, where the from and to classes are reversed.
58 public InvertedConverter(BidirectionalTypeConverter<To, From> converter) {
59 super(converter.getTargetType(), converter.getSourceType());
60 mConverter = converter;
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/
cast.hpp 33 #include <boost/numeric/conversion/converter.hpp>
43 typedef boost::numeric::converter
52 > converter; typedef
53 return converter::convert(arg);
  /external/libchrome/base/json/
json_value_converter_unittest.cc 62 base::JSONValueConverter<SimpleMessage>* converter) {
63 converter->RegisterIntField("foo", &SimpleMessage::foo);
64 converter->RegisterStringField("bar", &SimpleMessage::bar);
65 converter->RegisterBoolField("baz", &SimpleMessage::baz);
66 converter->RegisterCustomField<SimpleEnum>(
68 converter->RegisterRepeatedInt("ints", &SimpleMessage::ints);
69 converter->RegisterCustomValueField<bool>("bstruct",
72 converter->RegisterRepeatedCustomValue<std::string>(
88 base::JSONValueConverter<NestedMessage>* converter) {
89 converter->RegisterDoubleField("foo", &NestedMessage::foo)
111 base::JSONValueConverter<SimpleMessage> converter; local
153 base::JSONValueConverter<NestedMessage> converter; local
195 base::JSONValueConverter<SimpleMessage> converter; local
211 base::JSONValueConverter<SimpleMessage> converter; local
234 base::JSONValueConverter<SimpleMessage> converter; local
251 base::JSONValueConverter<SimpleMessage> converter; local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/
Utils.java 90 ByteBuffer converter = ByteBuffer.wrap(valueBuf); local
91 converter.order(ByteOrder.nativeOrder());
92 return converter.getShort();
96 ByteBuffer converter = ByteBuffer.wrap(valueBuf); local
97 converter.order(ByteOrder.nativeOrder());
98 return converter.getInt(offset);
102 ByteBuffer converter = ByteBuffer.allocate(4); local
103 converter.order(ByteOrder.nativeOrder());
104 converter.putInt(value);
105 return converter.array()
110 ByteBuffer converter = ByteBuffer.allocate(length); local
123 ByteBuffer converter = ByteBuffer.allocate(length); local
143 ByteBuffer converter = ByteBuffer.wrap(val); local
    [all...]
  /external/icu/icu4c/source/io/
ustream.cpp 44 UConverter *converter; local
47 // use the default converter to convert chunks of text
48 converter = u_getDefaultConverter(&errorCode);
56 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode);
64 u_releaseDefaultConverter(converter);
84 UConverter *converter; local
87 // use the default converter to convert chunks of text
88 converter = u_getDefaultConverter(&errorCode);
117 ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, 0, !continueReading, &errorCode);
161 u_releaseDefaultConverter(converter);
    [all...]
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/
ConversionTask.java 46 ProjectConverter converter = new ProjectConverter(conversionType, pl); local
47 converter.convertProject(folder);
  /external/icu/icu4c/source/common/unicode/
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 types for which we have conversion routines. *
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
EnumsTest.java 108 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); local
109 assertEquals(TestEnum.CHEETO, converter.convert("CHEETO"));
110 assertEquals(TestEnum.HONDA, converter.convert("HONDA"));
111 assertEquals(TestEnum.POODLE, converter.convert("POODLE"));
112 assertNull(converter.convert(null));
113 assertNull(converter.reverse().convert(null));
117 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); local
119 converter.convert("xxx")
126 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); local
134 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); local
140 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); local
    [all...]
  /external/jcommander/src/test/java/com/beust/jcommander/args/
ArgsConverter.java 36 @Parameter(names = "-file", converter = FileConverter.class)
39 @Parameter(names = "-url", converter = URLConverter.class)
42 @Parameter(names = "-uri", converter = URIConverter.class)
45 @Parameter(names = "-path", converter = PathConverter.class)
ArgsWithSet.java 9 @Parameter(names = "-s", converter = SetConverter.class)
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
Android.mk 28 LOCAL_MODULE := libfwdlock-converter
  /hardware/ti/omap4-aah/libI420colorconvert/
ColorConvert.cpp 108 extern "C" void getI420ColorConverter(II420ColorConverter *converter) {
109 converter->getDecoderOutputFormat = getDecoderOutputFormat;
110 converter->convertDecoderOutputToI420 = convertDecoderOutputToI420;
111 converter->getEncoderInputFormat = getEncoderInputFormat;
112 converter->convertI420ToEncoderInput = convertI420ToEncoderInput;
113 converter->getEncoderInputBufferInfo = getEncoderInputBufferInfo;
  /hardware/ti/omap4xxx/libI420colorconvert/
ColorConvert.cpp 108 extern "C" void getI420ColorConverter(II420ColorConverter *converter) {
109 converter->getDecoderOutputFormat = getDecoderOutputFormat;
110 converter->convertDecoderOutputToI420 = convertDecoderOutputToI420;
111 converter->getEncoderInputFormat = getEncoderInputFormat;
112 converter->convertI420ToEncoderInput = convertI420ToEncoderInput;
113 converter->getEncoderInputBufferInfo = getEncoderInputBufferInfo;

Completed in 672 milliseconds

1 2 3 4 5 6 7 8 91011>>