Home
last modified time | relevance | path

Searched refs:Converter (Results 1 – 25 of 158) sorted by relevance

1234567

/external/doclava/src/com/google/doclava/
DConverter.java48 public class Converter { class
59 Converter.obtainClass(c); in makeInfo()
82 mRootClasses = Converter.convertClasses(classes); in makeInfo()
132 cl.init(Converter.obtainType(c), in initClass()
133 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.interfaces()))), in initClass()
134 new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(c.interfaceTypes()))), in initClass()
135 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.innerClasses()))), in initClass()
137 Converter.convertMethods(c.constructors(false)))), in initClass()
138 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(c.methods(false)))), in initClass()
139 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(annotationElements))), in initClass()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DConverterTest.java39 private static final Converter<String, Long> STR_TO_LONG =
40 new Converter<String, Long>() {
80 Converter<Long, String> reverseConverter = STR_TO_LONG.reverse(); in testReverse()
99 Converter<String, Long> converter = STR_TO_LONG; in testReverseReverse()
116 Converter<StringWrapper, String> first = new Converter<StringWrapper, String>() { in testAndThen()
130 Converter<StringWrapper, Long> converter = first.andThen(STR_TO_LONG); in testAndThen()
141 Converter<String, String> stringIdentityConverter = Converter.identity(); in testIdentityConverter()
151 assertSame(Converter.identity(), Converter.identity()); in testIdentityConverter()
162 Converter<String, Number> converter = Converter.<String, Number>from(forward, backward); in testFrom()
172 Converter<String, String> nullsArePassed = sillyConverter(false); in testNullIsPassedThrough()
[all …]
DEnumsTest.java108 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_convert()
117 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_convertError()
126 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_reverse()
134 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_nullPointerTester()
140 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_nullConversions()
/external/guava/guava/src/com/google/common/base/
DConverter.java95 public abstract class Converter<A, B> implements Function<A, B> { class
99 private transient Converter<B, A> reverse;
102 protected Converter() { in Converter() method in Converter
109 Converter(boolean handleNullAutomatically) { in Converter() method in Converter
211 public Converter<B, A> reverse() {
212 Converter<B, A> result = reverse;
217 extends Converter<B, A> implements Serializable {
218 final Converter<A, B> original;
220 ReverseConverter(Converter<A, B> original) {
254 public Converter<A, B> reverse() {
[all …]
/external/swiftshader/third_party/subzero/src/
DIceConverter.h28 class Converter : public Translator {
29 Converter() = delete;
30 Converter(const Converter &) = delete;
31 Converter &operator=(const Converter &) = delete;
34 Converter(llvm::Module *Mod, GlobalContext *Ctx) in Converter() function
38 ~Converter() override = default;
DIceConverter.cpp71 explicit LLVM2ICEConverter(Ice::Converter &Converter) in LLVM2ICEConverter() argument
72 : Converter(Converter), Ctx(Converter.getContext()), in LLVM2ICEConverter()
73 TypeConverter(Converter.getModule()->getContext()) {} in LLVM2ICEConverter()
75 Ice::Converter &getConverter() const { return Converter; } in getConverter()
78 Ice::Converter &Converter; member in __anon0674e6300111::LLVM2ICEConverter
95 explicit LLVM2ICEFunctionConverter(Ice::Converter &Converter) in LLVM2ICEFunctionConverter() argument
96 : LLVM2ICEConverter(Converter), Func(nullptr) {} in LLVM2ICEFunctionConverter()
99 Func = Ice::Cfg::create(Ctx, Converter.getNextSequenceNumber()); in convertFunction()
127 Converter.translateFcn(std::move(Func)); in convertFunction()
664 explicit LLVM2ICEGlobalsConverter(Ice::Converter &Converter, in LLVM2ICEGlobalsConverter() argument
[all …]
DIceCompiler.cpp148 std::unique_ptr<Converter> Converter(new class Converter(Mod.get(), &Ctx)); in run() local
149 Converter->convertToIce(); in run()
150 Translator.reset(Converter.release()); in run()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DConverter.java13 public class Converter<T> { class
20 static Converter getConverterFor(AttrData attrData, String type) { in getConverterFor()
47 public static Converter getConverter(ResType resType) { in getConverter()
76 return new Converter(); in getConverter()
102 public static class FromAttrData extends Converter<AttrData> {
115 public static class FromCharSequence extends Converter<String> {
136 public static class FromColor extends Converter<String> {
156 public static class FromFilePath extends Converter<String> {
167 public static class FromArray extends Converter {
174 private static class FromInt extends Converter<String> {
[all …]
/external/desugar/java/com/google/devtools/common/options/
DConverters.java33 public static class BooleanConverter implements Converter<Boolean> {
64 public static class StringConverter implements Converter<String> {
77 public static class IntegerConverter implements Converter<Integer> {
94 public static class LongConverter implements Converter<Long> {
111 public static class DoubleConverter implements Converter<Double> {
128 public static class TriStateConverter implements Converter<TriState> {
165 public static class VoidConverter implements Converter<Void> {
181 public static class DurationConverter implements Converter<Duration> {
225 public static final ImmutableMap<Class<?>, Converter<?>> DEFAULT_CONVERTERS =
226 new ImmutableMap.Builder<Class<?>, Converter<?>>()
[all …]
DOptionDefinition.java61 private Converter<?> converter = null;
125 public Class<? extends Converter> getProvidedConverter() { in getProvidedConverter()
218 public Converter<?> getConverter() { in getConverter()
222 Class<? extends Converter> converterClass = getProvidedConverter(); in getConverter()
223 if (converterClass == Converter.class) { in getConverter()
231 converter = (Converter<?>) constructor.newInstance(); in getConverter()
259 Converter<?> converter = getConverter(); in getDefaultValue()
/external/webrtc/webrtc/tools/converter/
Dconverter.cc30 Converter::Converter(int width, int height) in Converter() function in webrtc::test::Converter
35 bool Converter::ConvertRGBAToI420Video(std::string frames_dir, in ConvertRGBAToI420Video()
109 bool Converter::AddYUVToFile(uint8_t* y_plane, in AddYUVToFile()
122 bool Converter::AddYUVPlaneToFile(uint8_t* yuv_plane, in AddYUVPlaneToFile()
135 bool Converter::ReadRGBAFrame(const char* input_file_name, int input_frame_size, in ReadRGBAFrame()
155 std::string Converter::FindFullFileName(std::string dir_name, in FindFullFileName()
160 bool Converter:: FileExists(std::string file_name_to_check) { in FileExists()
166 std::string Converter::FormFrameName(int width, int number) { in FormFrameName()
/external/desugar/java/com/google/devtools/common/options/testing/
DConverterTesterMap.java19 import com.google.devtools.common.options.Converter;
28 extends ForwardingMap<Class<? extends Converter<?>>, ConverterTester> {
30 private final ImmutableMap<Class<? extends Converter<?>>, ConverterTester> delegate;
33 ImmutableMap<Class<? extends Converter<?>>, ConverterTester> delegate) { in ConverterTesterMap() argument
38 protected Map<Class<? extends Converter<?>>, ConverterTester> delegate() { in delegate()
44 private final ImmutableMap.Builder<Class<? extends Converter<?>>, ConverterTester> delegate;
DConverterTester.java21 import com.google.devtools.common.options.Converter;
32 private final Converter<?> converter;
33 private final Class<? extends Converter<?>> converterClass;
39 public ConverterTester(Class<? extends Converter<?>> converterClass) { in ConverterTester()
44 private Converter<?> createConverter() { in createConverter()
53 public Class<? extends Converter<?>> getConverterClass() { in getConverterClass()
122 Converter<?> converter = createConverter(); in testItems()
123 Converter<?> converter2 = createConverter(); in testItems()
DOptionsTester.java21 import com.google.devtools.common.options.Converter;
82 ImmutableListMultimap.Builder<Class<? extends Converter<?>>, Field> converterClassesBuilder = in testAllDefaultValuesTestedBy()
86 if (option != null && !Converter.class.equals(option.converter())) { in testAllDefaultValuesTestedBy()
88 Class<? extends Converter<?>> converter = in testAllDefaultValuesTestedBy()
89 (Class<? extends Converter<?>>) option.converter(); in testAllDefaultValuesTestedBy()
93 ImmutableListMultimap<Class<? extends Converter<?>>, Field> converterClasses = in testAllDefaultValuesTestedBy()
95 for (Class<? extends Converter<?>> converter : converterClasses.keySet()) { in testAllDefaultValuesTestedBy()
/external/catch2/include/internal/
Dcatch_matchers_floating.cpp32 struct Converter;
35 struct Converter<float> { struct
37 Converter(float f) { in Converter() argument
44 struct Converter<double> { struct
46 Converter(double d) { in Converter() argument
53 auto convert(T t) -> Converter<T> { in convert()
54 return Converter<T>(t); in convert()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DConverterTest.java33 assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asInt(resource)).isEqualTo(100); in fromCharSequence_asInt_shouldHandleSpacesInString()
39 …assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asCharSequence(resource)).isEqualTo("Robo… in fromCharSequence_asCharSequence_shouldHandleSpacesInString()
45 assertThat(Converter.getConverter(ResType.COLOR).asInt(resource)).isEqualTo(-5592406); in fromColor_asInt_shouldHandleSpacesInString()
51 assertThat(Converter.getConverter(ResType.DRAWABLE).asInt(resource)).isEqualTo(-5592406); in fromDrawableValue_asInt_shouldHandleSpacesInString()
57 assertThat(Converter.getConverter(ResType.INTEGER).asInt(resource)).isEqualTo(100); in fromInt_asInt_shouldHandleSpacesInString()
/external/desugar/java/com/google/devtools/build/android/
DConverters.java16 import com.google.devtools.common.options.Converter;
27 private static final Converter<String> IDENTITY_CONVERTER =
28 new Converter<String>() {
41 public static class PathConverter implements Converter<Path> {
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java48 private static final Map<Class<?>, Converter<?>> sConverters = populateConverters();
495 Converter<?> converter = converterFor(parameterType, defaultAnnotation.converter()); in getDefaultValue()
505 private static Converter<?> converterFor(Type parameterType, in converterFor()
506 Class<? extends Converter> converterClass) { in converterFor()
507 if (converterClass == Converter.class) { in converterFor()
508 Converter<?> converter = sConverters.get(parameterType); in converterFor()
517 return (Converter<?>) constructor.newInstance(new Object[0]); in converterFor()
554 private static Map<Class<?>, Converter<?>> populateConverters() { in populateConverters()
555 Map<Class<?>, Converter<?>> converters = new HashMap<Class<?>, Converter<?>>(); in populateConverters()
556 converters.put(String.class, new Converter<String>() { in populateConverters()
[all …]
/external/turbine/javatests/com/google/turbine/lower/testdata/
Dfuse.test1 === pkg/Converter.java ===
4 public interface Converter<T> {
11 public abstract class EnumConverter<T extends Enum<T>> implements Converter<T> {
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DEnumsTest.java74 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_convert()
83 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_convertError()
92 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_reverse()
99 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_nullConversions()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java422 public interface Converter<F, T> { interface in Internal.ListAdapter
427 private final Converter<F, T> converter;
429 public ListAdapter(List<F> fromList, Converter<F, T> converter) { in ListAdapter()
453 public interface Converter<A, B> { interface in Internal.MapAdapter
458 public static <T extends EnumLite> Converter<Integer, T> newEnumConverter( in newEnumConverter()
460 return new Converter<Integer, T>() { in newEnumConverter()
475 private final Converter<RealValue, V> valueConverter;
478 Converter<RealValue, V> valueConverter) { in MapAdapter()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp1657 class Converter : public BuildUtil class
1660 Converter(Program *, const tgsi::Source *);
1661 ~Converter();
1731 BindArgumentsPass(Converter &conv) : conv(conv) { } in BindArgumentsPass()
1734 Converter &conv;
1791 Converter::srcToSym(tgsi::Instruction::SrcRegister src, int c) in srcToSym()
1803 Converter::dstToSym(tgsi::Instruction::DstRegister dst, int c) in dstToSym()
1813 Converter::makeSym(uint tgsiFile, int fileIdx, int idx, int c, uint32_t address) in makeSym()
1857 Converter::translateInterpMode(const struct nv50_ir_varying *var, operation& op) in translateInterpMode()
1880 Converter::interpolate(tgsi::Instruction::SrcRegister src, int c, Value *ptr) in interpolate()
[all …]
/external/guice/core/src/com/google/inject/internal/
DMessages.java165 for (Converter<?> converter : converters) { in convert()
316 private abstract static class Converter<T> { class in Messages
320 Converter(Class<T> type) { in Converter() method in Messages.Converter
336 private static final Collection<Converter<?>> converters =
338 new Converter<Class>(Class.class) {
344 new Converter<Member>(Member.class) {
350 new Converter<Key>(Key.class) {
/external/tensorflow/tensorflow/lite/toco/
DREADME.md1 # TensorFlow Lite Converter
3 The TensorFlow Lite Converter converts TensorFlow graphs into
18 Lite Converter will accept
/external/tensorflow/tensorflow/lite/schema/
Dupgrade_schema_test.py256 converter = upgrade_schema_lib.Converter()
262 converter = upgrade_schema_lib.Converter()
278 converter = upgrade_schema_lib.Converter()

1234567