/external/desugar/java/com/google/devtools/common/options/ |
Converter.java | 17 * A converter is a little helper object that can take a String and 18 * turn it into an instance of type T (the type parameter to the converter). 20 public interface Converter<T> {
|
IsolatedOptionsData.java | 85 * Mapping from each {@code Option}-annotated field to the proper converter (unordered). 89 private final ImmutableMap<Field, Converter<?>> converters; 114 Map<Field, Converter<?>> converters, 182 public Converter<?> getConverter(Field field) { 245 * Given an {@code @Option}-annotated field, retrieves the {@link Converter} that will be used, 248 static Converter<?> findConverter(Field optionField) { 250 if (annotation.converter() == Converter.class) { 251 // No converter provided, use the default one. 253 Converter<?> converter = Converters.DEFAULT_CONVERTERS.get(type) local 266 Class<?> converter = annotation.converter(); local 302 Converter<?> converter = findConverter(optionField); local 416 Class<? extends Converter> converter = annotation.converter(); local [all...] |
/external/icu/icu4c/source/common/ |
ucnvhz.c | 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] = mySourceChar; 203 args->converter->toULength = 2 [all...] |
ucnv_imp.h | 57 * @param converterName The name of the converter 59 * @return the newly created converter 65 * Open a purely algorithmic converter, specified by a type constant. 68 * @param type requested converter type 70 * @param options converter options bit set (default 0) 82 * Creates a converter from shared data. 97 * Load a converter but do not create a UConverter object.
|
ucnv.c | 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...] |
ures_cnv.c | 51 * the invariant converter is sufficient for package and tree names 57 /* use the default converter to support variant-character paths */ 70 /* the default converter is not available */
|
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/ |
RpcDefault.java | 37 public Class<? extends Converter> converter() default Converter.class;
|
/frameworks/support/room/common/src/main/java/android/arch/persistence/room/ |
TypeConverter.java | 25 * Marks a method as a type converter. A class can have as many @TypeConverter methods as it needs. 27 * Each converter method should receive 1 parameter and have non-void return type. 30 * // example converter for java.util.Date
|
/external/libmojo/mojo/edk/js/ |
handle.h | 11 #include "gin/converter.h" 55 // Note: It's important to use this converter rather than the one for 60 struct Converter<mojo::Handle> { 68 struct Converter<mojo::MessagePipeHandle> { 76 // We need to specialize the normal gin::Handle converter in order to handle 79 struct Converter<gin::Handle<mojo::edk::js::HandleWrapper>> { 95 if (!Converter<mojo::edk::js::HandleWrapper*>::FromV8(isolate, val,
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
Converter.cpp | 18 #define LOG_TAG "Converter" 21 #include "Converter.h" 44 Converter::Converter( 78 void Converter::releaseEncoder() { 91 Converter::~Converter() { 95 void Converter::shutdownAsync() { 100 status_t Converter::init() { 110 sp<IGraphicBufferProducer> Converter::getGraphicBufferProducer() [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
UConverterSharedData.java | 51 * UConverterImpl contains all the data and functions for a converter type. 52 * Its function pointers work much like a C++ vtable. Many converter types 56 * Every converter type must implement toUnicode, fromUnicode, and 57 * getNextUChar, otherwise the converter may crash. Every converter type 61 * only on whether the converter type needs them. 161 protected void doGetStarters(UConverter converter, boolean starters[], int[] pErrorCode) 166 final void getStarters(UConverter converter, boolean starters[], int[] pErrorCode) 168 doGetStarters(converter, starters, pErrorCode); 222 * Load a non-algorithmic converter [all...] |
CharsetUTF16BE.java | 13 * allow the Charset framework to open the variant UTF-16 converter without extra setup work.
|
CharsetUTF16LE.java | 13 * allow the Charset framework to open the variant UTF-16 converter without extra setup work.
|
CharsetUTF32BE.java | 13 * allow the Charset framework to open the variant UTF-32 converter without extra setup work.
|
CharsetUTF32LE.java | 13 * allow the Charset framework to open the variant UTF-32 converter without extra setup work.
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
table_API_readme.txt | 2 specialized TT/OT table converter: they can convert raw data 7 If you are writing you own table converter the following is 41 Eg. the 'glyf' table converter lives in a Python file called: 45 The converter itself is a class, named "table_" + expandedtag. Eg: 63 Your converter should minimally provide two methods: 65 class table_F_O_O_(DefaultTable.DefaultTable): # converter for table 'FOO '
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
Bra.h | 17 state - state variable for x86 converter
21 state - state variable for x86 converter
37 If (size < Alignment + LookAhead), converter returns 0.
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
Bra.h | 17 state - state variable for x86 converter
21 state - state variable for x86 converter
37 If (size < Alignment + LookAhead), converter returns 0.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
Bra.h | 17 state - state variable for x86 converter
21 state - state variable for x86 converter
37 If (size < Alignment + LookAhead), converter returns 0.
|
/external/lzma/C/ |
Bra.h | 19 state - state variable for x86 converter
23 state - state variable for x86 converter
39 If (size < Alignment + LookAhead), converter returns 0.
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
MapField.java | 83 private static interface Converter<K, V> { 90 private static class ImmutableMessageConverter<K, V> implements Converter<K, V> { 114 private final Converter<K, V> converter; field in class:MapField 117 Converter<K, V> converter, 120 this.converter = converter; 151 return converter.convertKeyAndValueToMessage(key, value); 156 converter.convertMessageToKeyAndValue(message, map) [all...] |
/system/libvintf/ |
utils.h | 70 status_t fetchAllInformation(const std::string& path, const XmlConverter<T>& converter, 85 bool success = converter(outObject, info); 88 << converter.lastError();
|
/external/icu/icu4c/source/test/cintltst/ |
ucnvseltst.h | 16 /* C API TEST FOR CONVERTER SELECTOR */
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/ |
manifest.stub | 8 Implementation-Title: XLIFF to ICU Converter
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
ArgsValidate2.java | 20 converter = FileConverter.class,
|