HomeSort by relevance Sort by last modified time
    Searched full:converter (Results 101 - 125 of 1841) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/guava/guava-tests/test/com/google/common/primitives/
IntsTest.java 21 import com.google.common.base.Converter;
425 Converter<String, Integer> converter = Ints.stringConverter(); local
426 assertEquals((Integer) 1, converter.convert("1"));
427 assertEquals((Integer) 0, converter.convert("0"));
428 assertEquals((Integer) (-1), converter.convert("-1"));
429 assertEquals((Integer) 255, converter.convert("0xff"));
430 assertEquals((Integer) 255, converter.convert("0xFF"));
431 assertEquals((Integer) (-255), converter.convert("-0xFF"));
432 assertEquals((Integer) 255, converter.convert("#0000FF"))
450 Converter<String, Integer> converter = Ints.stringConverter(); local
    [all...]
LongsTest.java 24 import com.google.common.base.Converter;
408 Converter<String, Long> converter = Longs.stringConverter(); local
409 assertEquals((Long) 1L, converter.convert("1"));
410 assertEquals((Long) 0L, converter.convert("0"));
411 assertEquals((Long) (-1L), converter.convert("-1"));
412 assertEquals((Long) 255L, converter.convert("0xff"));
413 assertEquals((Long) 255L, converter.convert("0xFF"));
414 assertEquals((Long) (-255L), converter.convert("-0xFF"));
415 assertEquals((Long) 255L, converter.convert("#0000FF"))
433 Converter<String, Long> converter = Longs.stringConverter(); local
    [all...]
ShortsTest.java 21 import com.google.common.base.Converter;
432 Converter<String, Short> converter = Shorts.stringConverter(); local
433 assertEquals((Short) (short) 1, converter.convert("1"));
434 assertEquals((Short) (short) 0, converter.convert("0"));
435 assertEquals((Short) (short) (-1), converter.convert("-1"));
436 assertEquals((Short) (short) 255, converter.convert("0xff"));
437 assertEquals((Short) (short) 255, converter.convert("0xFF"));
438 assertEquals((Short) (short) (-255), converter.convert("-0xFF"));
439 assertEquals((Short) (short) 255, converter.convert("#0000FF"))
457 Converter<String, Short> converter = Shorts.stringConverter(); local
    [all...]
  /external/junit-params/src/test/java/junitparams/
ParamsConverterTest.java 19 import junitparams.converters.Converter;
56 public void convertParamsUsingParamAnnotation(@Param(converter = SimpleDateConverter.class) Date date) {
124 @Param(converter = FormattedDateConverter.class)
135 public static class FormattedDateConverter implements Converter<DateParam, Date> {
154 public static class SimpleDateConverter implements Converter<Param, Date> {
  /external/webrtc/webrtc/tools/converter/
rgba_to_i420_converter.cc 18 #include "webrtc/tools/converter/converter.h"
78 webrtc::test::Converter converter(width, height);
79 bool success = converter.ConvertRGBAToI420Video(parser.GetFlag("frames_dir"),
  /external/webrtc/webrtc/tools/
tools.gyp 58 'converter/converter.h',
59 'converter/converter.cc',
60 'converter/rgba_to_i420_converter.cc',
  /prebuilts/misc/common/swig/include/2.0.11/uffi/
uffi.swg 32 ;;; You can define your own identifier converter if you want.
33 ;;; Use the -identifier-converter command line argument to
83 (let ((symbol (funcall *swig-identifier-converter* string :type :constant)))
88 (let ((symbol (funcall *swig-identifier-converter* name :type :operator)))
95 (let ((symbol (funcall *swig-identifier-converter* name :type :type)))
  /system/bt/vendor_libs/test_vendor_lib/src/
device_properties.cc 95 base::JSONValueConverter<DeviceProperties> converter; local
97 if (!converter.Convert(properties_dictionary, this))
104 base::JSONValueConverter<DeviceProperties>* converter) {
107 converter->RegisterCustomField<uint8_t>( \
110 converter->RegisterCustomField<uint16_t>( \
  /prebuilts/tools/common/m2/repository/com/squareup/retrofit2/retrofit/2.1.0/
retrofit-2.1.0.jar 
  /external/icu/icu4c/source/common/
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
171 * Note: The converter uses some leniency:
277 * v) Get the converter name form escSeqStateTable_Result_2022[21] which is JISX208
315 * When the generic ISO-2022 converter is completely removed, not just disabled
387 /*********** ISO 2022 Converter Protos ***********/
392 _ISO2022Close(UConverter *converter);
    [all...]
ucnv_bld.h 43 /* converter options bits */
71 [UCNV_MAX_CONVERTER_NAME_LENGTH]; /* +4: 60 internal name of the converter- invariant chars */
75 int8_t platform; /* +68: 1 platform of the converter (only IBM now) */
161 * Pointer to additional data that depends on the converter type.
180 UConverterSharedData *sharedData; /* Pointer to the shared immutable part of the converter object */
210 * the value depending on the converter type and options
249 * Return the number of all converter names.
251 * @return the number of all converter names
257 * Return the (n)th converter name in mixed case, or NULL
260 * @param n The number specifies which converter name to ge
    [all...]
ucnv_bld.cpp 207 /* This contains the resolved converter name. So no further alias lookup is needed again. */
212 If the default converter is an algorithmic converter, this is the cached value.
215 because ucnv_flushCache must be able to unload the default converter and its table.
219 /* Does gDefaultConverterName have a converter option and require extra parsing? */
240 /* ucnv_cleanup - delete all storage held by the converter cache, except any */
331 /*Takes an alias name gets an actual converter file name
347 UTRACE_DATA2(UTRACE_OPEN_CLOSE, "load converter %s from package %s", pArgs->name, pArgs->pkg);
367 * If the pkg name is longer than the field, then either do not load the converter
375 /*returns a converter type from a strin
    [all...]
  /external/icu/icu4c/source/extra/uconv/
uwmsg.c 41 /* converter */
42 UConverter *converter; local
57 /* open a default converter */
58 converter = ucnv_open(0, status);
69 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize,
84 /* close the converter */
85 ucnv_close(converter);
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
UConverterConstants.java 45 * Character that separates converter names from options and options from each other.
50 /** Maximum length of a converter name including the terminating NULL */
52 /** Maximum length of a converter name including path and terminating NULL */
73 /* converter options bits */
140 static final int CLOSE = 4; /**< Called when the converter is closed. The
143 converter. the pointer available as the
146 by the new converter, the callback must clone
  /external/javassist/sample/evolve/
Evolution.java 55 CodeConverter converter = new CodeConverter(); local
56 converter.replaceNew(absClass, absClass, handlerMethod);
57 clazz.instrument(converter);
173 CodeConverter converter = new CodeConverter(); local
178 converter.redirectFieldAccess(f, abstractClass, f.getName());
183 cs[i].instrument(converter);
187 ms[i].instrument(converter);
  /external/python/cpython2/Lib/
audiodev.py 15 ## inited_nchannels, port, converter, classinited: private
53 self.converter = None
102 self.converter = self.ulaw2lin
124 if self.converter:
125 data = self.converter(data)
149 ## inited_nchannels, converter: private
158 self.converter = None
194 if self.converter:
195 data = self.converter(data)
  /prebuilts/gdb/darwin-x86/lib/python2.7/
audiodev.py 15 ## inited_nchannels, port, converter, classinited: private
53 self.converter = None
102 self.converter = self.ulaw2lin
124 if self.converter:
125 data = self.converter(data)
149 ## inited_nchannels, converter: private
158 self.converter = None
194 if self.converter:
195 data = self.converter(data)
  /prebuilts/gdb/linux-x86/lib/python2.7/
audiodev.py 15 ## inited_nchannels, port, converter, classinited: private
53 self.converter = None
102 self.converter = self.ulaw2lin
124 if self.converter:
125 data = self.converter(data)
149 ## inited_nchannels, converter: private
158 self.converter = None
194 if self.converter:
195 data = self.converter(data)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
audiodev.py 15 ## inited_nchannels, port, converter, classinited: private
53 self.converter = None
102 self.converter = self.ulaw2lin
124 if self.converter:
125 data = self.converter(data)
149 ## inited_nchannels, converter: private
158 self.converter = None
194 if self.converter:
195 data = self.converter(data)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
audiodev.py 15 ## inited_nchannels, port, converter, classinited: private
53 self.converter = None
102 self.converter = self.ulaw2lin
124 if self.converter:
125 data = self.converter(data)
149 ## inited_nchannels, converter: private
158 self.converter = None
194 if self.converter:
195 data = self.converter(data)
  /external/desugar/java/com/google/devtools/common/options/
EnumConverter.java 20 * A converter superclass for converters that parse enums.
30 implements Converter<T> {
36 * Creates a new enum converter. You *must* implement a zero-argument
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/
MultiGroupConversionRule.java 53 * @see org.slf4j.converter.ConversionRule#getPattern()
69 * @see org.slf4j.converter.ConversionRule#getReplacement(java.lang.Integer)
78 * @see org.slf4j.converter.ConversionRule#replace(java.util.regex.Matcher)
  /external/testng/src/main/java/org/testng/
Converter.java 28 public class Converter {
38 Converter c = new Converter();
  /frameworks/support/room/common/src/main/java/androidx/room/
TypeConverters.java 44 * The list of type converter classes. If converter methods are not static, Room will create
47 * @return The list of classes that contains the converter methods.
  /external/desugar/java/com/google/devtools/common/options/processor/
OptionProcessor.java 19 import com.google.devtools.common.options.Converter;
66 * <li>The type of the option must match the converter that will convert the unparsed string value
67 * into the option type. For options that do not specify a converter, check that there is a
83 private ImmutableMap<TypeMirror, Converter<?>> defaultConverters;
94 // directly use the get() method for the default converter map. Instead, we'll convert it once,
96 ImmutableMap.Builder<TypeMirror, Converter<?>> converterMapBuilder = new Builder<>();
107 for (Entry<Class<?>, Converter<?>> entry : Converters.DEFAULT_CONVERTERS.entrySet()) {
175 // individual mention has type T. Identify type T to use it for checking the converter's return
230 Converter<?> converterInstance = defaultConverters.get(acceptedConverterReturnType);
235 TypeElement converter local
    [all...]

Completed in 2853 milliseconds

1 2 3 45 6 7 8 91011>>