HomeSort by relevance Sort by last modified time
    Searched refs:converter (Results 1 - 25 of 701) 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/protobuf/src/google/protobuf/util/internal/
error_listener.cc 36 namespace converter { namespace in namespace:google::protobuf::util
39 } // namespace converter
location_tracker.h 41 namespace converter { namespace in namespace:google::protobuf::util
60 } // namespace converter
field_mask_utility.h 46 namespace converter { namespace in namespace:google::protobuf::util
51 // Applies a 'converter' to each segment of a FieldMask path and returns the
56 ConverterCallback converter);
67 } // namespace converter
  /external/junit-params/src/main/java/junitparams/converters/
ParamAnnotation.java 12 return converter(annotation).convert(param);
22 private static Converter converter(Annotation annotation) { method in class:ParamAnnotation
23 Converter converter = null; local
25 converter = getParam(annotation).converter().newInstance();
27 throw new RuntimeException("Your Converter class must have a public no-arg constructor!", e);
29 converter.initialize(annotation);
30 return converter;
    [all...]
  /external/icu/icu4c/source/common/
ucnv_cb.cpp 48 args->converter,
64 just retry shoving data through the same converter. Note, if you got
83 ucnv_fromUnicode(args->converter,
117 errBuffLen = args->converter->charErrorBufferLength;
120 newTarget = (char *)(args->converter->charErrorBuffer + errBuffLen);
122 newTargetLimit = (char *)(args->converter->charErrorBuffer +
123 sizeof(args->converter->charErrorBuffer));
131 /* We're going to tell the converter that the errbuff len is empty.
133 itself. If the errbuff is needed by the converter this time,
136 args->converter->charErrorBufferLength = 0
181 UConverter *converter; local
    [all...]
ustr_cnv.cpp 33 /* mutexed access to a shared default converter ----------------------------- */
40 UConverter *converter = NULL; local
47 converter = gDefaultConverter;
53 /* if the cache was empty, create a converter */
54 if(converter == NULL) {
55 converter = ucnv_open(NULL, status);
57 ucnv_close(converter);
58 converter = NULL;
62 return converter;
66 u_releaseDefaultConverter(UConverter *converter)
89 UConverter *converter = NULL; local
    [all...]
ustr_cnv.h 26 * Get the default converter. This is a commonly used converter
36 * Release the default converter to the converter cache.
40 u_releaseDefaultConverter(UConverter *converter);
43 * Flush the default converter, if cached.
ucnv_u32.cpp 16 * UTF-32 converter implementation. Used to be in ucnv_utf.c.
54 unsigned char *toUBytes = args->converter->toUBytes;
58 if (args->converter->toULength > 0 && myTarget < targetLimit) {
59 i = args->converter->toULength; /* restore # of bytes consumed */
60 args->converter->toULength = 0;
62 ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous call*/
63 args->converter->toUnicodeStatus = 0;
79 args->converter->toUnicodeStatus = ch + 1;
80 args->converter->toULength = (int8_t) i;
101 args->converter->UCharErrorBuffer[0] = (UChar) ch
    [all...]
ucnv.cpp 152 and created from a converter that is shared across threads.
197 UTRACE_DATA3(UTRACE_OPEN_CLOSE, "clone converter %s at %p into stackBuffer %p",
310 toUArgs.converter = fromUArgs.converter = localConverter;
326 ucnv_close (UConverter * converter)
332 if (converter == NULL)
338 UTRACE_DATA3(UTRACE_OPEN_CLOSE, "close converter %s at %p, isCopyLocal=%b",
339 ucnv_getName(converter, &errorCode), converter, converter->isCopyLocal)
    [all...]
ucnvhz.cpp 51 args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) *strToAppend; \
164 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo);
169 /*if ((args->converter == NULL) || (args->targetLimit < args->target) || (mySourceLimit < args->source)){
180 if(args->converter->mode == UCNV_TILDE) {
182 args->converter->mode=0;
200 args->converter->toUCallbackReason = UCNV_IRREGULAR;
201 args->converter->toUBytes[0] = UCNV_TILDE;
202 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar);
203 args->converter->toULength = 2
    [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 32 /* converter */
33 UConverter *converter; local
50 /* open a default converter */
51 converter = ucnv_open(0, status);
62 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize,
77 /* close the converter */
78 ucnv_close(converter);
  /external/icu/icu4c/source/samples/date/
uprint.c 33 /* converter */
34 UConverter *converter; local
51 /* open a default converter */
52 converter = ucnv_open(0, status);
63 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize,
78 /* close the converter */
79 ucnv_close(converter);
  /external/testng/src/test/java/test/converter/
ConverterSample1.java 1 package test.converter;
  /external/libchrome/base/json/
json_value_converter_unittest.cc 61 base::JSONValueConverter<SimpleMessage>* converter) {
62 converter->RegisterIntField("foo", &SimpleMessage::foo);
63 converter->RegisterStringField("bar", &SimpleMessage::bar);
64 converter->RegisterBoolField("baz", &SimpleMessage::baz);
65 converter->RegisterCustomField<SimpleEnum>(
67 converter->RegisterRepeatedInt("ints", &SimpleMessage::ints);
68 converter->RegisterCustomValueField<bool>("bstruct",
71 converter->RegisterRepeatedCustomValue<std::string>(
87 base::JSONValueConverter<NestedMessage>* converter) {
88 converter->RegisterDoubleField("foo", &NestedMessage::foo)
110 base::JSONValueConverter<SimpleMessage> converter; local
152 base::JSONValueConverter<NestedMessage> converter; local
194 base::JSONValueConverter<SimpleMessage> converter; local
210 base::JSONValueConverter<SimpleMessage> converter; local
233 base::JSONValueConverter<SimpleMessage> converter; local
250 base::JSONValueConverter<SimpleMessage> converter; local
    [all...]
  /external/desugar/java/com/google/devtools/common/options/testing/
OptionsTester.java 21 import com.google.devtools.common.options.Converter;
82 ImmutableListMultimap.Builder<Class<? extends Converter<?>>, Field> converterClassesBuilder =
86 if (option != null && !Converter.class.equals(option.converter())) {
87 @SuppressWarnings("unchecked") // converter is rawtyped; see comment on Option.converter()
88 Class<? extends Converter<?>> converter = local
89 (Class<? extends Converter<?>>) option.converter();
    [all...]
  /external/tensorflow/tensorflow/lite/schema/
upgrade_schema_test.py 256 converter = upgrade_schema_lib.Converter()
259 converter.Convert(non_existent, non_existent)
262 converter = upgrade_schema_lib.Converter()
265 converter.Convert(invalid_extension, invalid_extension)
269 converter.Convert(in_json.name, invalid_extension)
278 converter = upgrade_schema_lib.Converter()
288 converter.Convert(in_json.name, out_json.name
    [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/tensorflow/tensorflow/python/autograph/converters/
conditional_expressions.py 21 from tensorflow.python.autograph.core import converter
25 class ConditionalExpressionTransformer(converter.Base):
  /external/icu/icu4c/source/common/unicode/
ucnv.h 28 * from UTF-16. You can open a converter with {@link ucnv_open() }. With that
29 * converter, you can get its properties, set options, convert your data and
30 * close the converter.</p>
32 * <p>Since many software programs recognize different converter names for
34 * iterate over the converter aliases. The functions {@link ucnv_getAvailableName() },
38 * <p>When a converter encounters an illegal, irregular, invalid or unmappable character
41 * or {@link ucnv_setToUCallBack() } on the converter. The header ucnv_err.h defines
76 /** Maximum length of a converter name including the terminating NULL @stable ICU 2.0 */
78 /** Maximum length of a converter name including path and terminating NULL @stable ICU 2.0 */
166 /* Number of converter types for which we have conversion routines. *
    [all...]
  /external/icu/libandroidicu/include/unicode/
ucnv.h 28 * from UTF-16. You can open a converter with {@link ucnv_open() }. With that
29 * converter, you can get its properties, set options, convert your data and
30 * close the converter.</p>
32 * <p>Since many software programs recognize different converter names for
34 * iterate over the converter aliases. The functions {@link ucnv_getAvailableName() },
38 * <p>When a converter encounters an illegal, irregular, invalid or unmappable character
41 * or {@link ucnv_setToUCallBack() } on the converter. The header ucnv_err.h defines
76 /** Maximum length of a converter name including the terminating NULL @stable ICU 2.0 */
78 /** Maximum length of a converter name including path and terminating NULL @stable ICU 2.0 */
166 /* Number of converter types for which we have conversion routines. *
    [all...]
  /external/fonttools/Tests/ttLib/tables/
otConverters_test.py 16 converter = otConverters.Char64("char64", 0, None, None) variable in class:Char64Test
20 self.assertEqual(self.converter.read(reader, self.font, {}), "Hello")
26 data = self.converter.read(reader, self.font, {})
34 self.converter.write(writer, self.font, {}, "Hello world")
40 self.converter.write(writer, self.font, {}, "Hello ?")
48 self.converter.write(writer, self.font, {}, "A" * 80)
54 value = self.converter.xmlRead({"value": "Foo"}, [], self.font)
59 self.converter.xmlWrite(writer, self.font, "Hello world", "Element",
67 converter = otConverters.GlyphID('GlyphID', 0, None, None) variable in class:GlyphIDTest
71 self.assertEqual(self.converter.readArray(reader, self.font, {}, 4)
88 converter = otConverters.Long('Long', 0, None, None) variable in class:LongTest
112 converter = otConverters.NameID('NameID', 0, None, None) variable in class:NameIDTest
163 converter = otConverters.UInt8("UInt8", 0, None, None) variable in class:UInt8Test
188 converter = otConverters.AATLookup("AATLookup", 0, None, variable in class:AATLookupTest
    [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...]

Completed in 932 milliseconds

1 2 3 4 5 6 7 8 91011>>