Home
last modified time | relevance | path

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

12345678910

/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.java35 private static final Converter<String, Long> STR_TO_LONG =
36 new Converter<String, Long>() {
79 Converter<Long, String> reverseConverter = STR_TO_LONG.reverse(); in testReverse()
98 Converter<String, Long> converter = STR_TO_LONG; in testReverseReverse()
115 Converter<StringWrapper, String> first = in testAndThen()
116 new Converter<StringWrapper, String>() { in testAndThen()
133 Converter<StringWrapper, Long> converter = first.andThen(STR_TO_LONG); in testAndThen()
144 Converter<String, String> stringIdentityConverter = Converter.identity(); in testIdentityConverter()
154 assertSame(Converter.identity(), Converter.identity()); in testIdentityConverter()
167 Converter<String, Number> converter = Converter.<String, Number>from(forward, backward); in testFrom()
[all …]
/external/guava/android/guava-tests/test/com/google/common/base/
DConverterTest.java35 private static final Converter<String, Long> STR_TO_LONG =
36 new Converter<String, Long>() {
79 Converter<Long, String> reverseConverter = STR_TO_LONG.reverse(); in testReverse()
98 Converter<String, Long> converter = STR_TO_LONG; in testReverseReverse()
115 Converter<StringWrapper, String> first = in testAndThen()
116 new Converter<StringWrapper, String>() { in testAndThen()
133 Converter<StringWrapper, Long> converter = first.andThen(STR_TO_LONG); in testAndThen()
144 Converter<String, String> stringIdentityConverter = Converter.identity(); in testIdentityConverter()
154 assertSame(Converter.identity(), Converter.identity()); in testIdentityConverter()
167 Converter<String, Number> converter = Converter.<String, Number>from(forward, backward); in testFrom()
[all …]
/external/guava/android/guava/src/com/google/common/base/
DConverter.java117 public abstract class Converter<A, B> implements Function<A, B> { class
121 @LazyInit @RetainedWith @NullableDecl private transient Converter<B, A> reverse;
124 protected Converter() { in Converter() method in Converter
129 Converter(boolean handleNullAutomatically) { in Converter() method in Converter
238 public Converter<B, A> reverse() {
239 Converter<B, A> result = reverse;
243 private static final class ReverseConverter<A, B> extends Converter<B, A>
245 final Converter<A, B> original;
247 ReverseConverter(Converter<A, B> original) {
281 public Converter<A, B> reverse() {
[all …]
/external/guava/guava/src/com/google/common/base/
DConverter.java117 public abstract class Converter<A, B> implements Function<A, B> { class
121 @LazyInit @RetainedWith private transient @Nullable Converter<B, A> reverse;
124 protected Converter() { in Converter() method in Converter
129 Converter(boolean handleNullAutomatically) { in Converter() method in Converter
237 public Converter<B, A> reverse() {
238 Converter<B, A> result = reverse;
242 private static final class ReverseConverter<A, B> extends Converter<B, A>
244 final Converter<A, B> original;
246 ReverseConverter(Converter<A, B> original) {
280 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 __anon7b11ea470111::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()
666 explicit LLVM2ICEGlobalsConverter(Ice::Converter &Converter, in LLVM2ICEGlobalsConverter() argument
[all …]
/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/rtc_tools/converter/
Dconverter.cc32 Converter::Converter(int width, int height) : width_(width), height_(height) {} in Converter() function in webrtc::test::Converter
34 bool Converter::ConvertRGBAToI420Video(std::string frames_dir, in ConvertRGBAToI420Video()
105 bool Converter::AddYUVToFile(uint8_t* y_plane, in AddYUVToFile()
118 bool Converter::AddYUVPlaneToFile(uint8_t* yuv_plane, in AddYUVPlaneToFile()
133 bool Converter::ReadRGBAFrame(const char* input_file_name, in ReadRGBAFrame()
154 std::string Converter::FindFullFileName(std::string dir_name, in FindFullFileName()
159 bool Converter::FileExists(std::string file_name_to_check) { in FileExists()
165 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/webrtc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc89 template <typename Converter>
92 ConverterConsumer(Converter converter, absl::Span<const FormatArgImpl> pack) in ConverterConsumer()
106 Converter converter_;
110 template <typename Converter>
112 absl::Span<const FormatArgImpl> args, Converter converter) { in ConvertAll()
115 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
118 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
169 typedef SummarizingConverter Converter; in Summarize() typedef
175 if (!ConvertAll(format, args, Converter(&sink))) { in Summarize()
186 using Converter = DefaultConverter; in FormatUntyped() typedef
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/
Dbind.cc103 template <typename Converter>
106 ConverterConsumer(Converter converter, absl::Span<const FormatArgImpl> pack) in ConverterConsumer()
120 Converter converter_;
124 template <typename Converter>
126 absl::Span<const FormatArgImpl> args, Converter converter) { in ConvertAll()
129 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
132 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
183 typedef SummarizingConverter Converter; in Summarize() typedef
189 if (!ConvertAll(format, args, Converter(&sink))) { in Summarize()
200 using Converter = DefaultConverter; in FormatUntyped() typedef
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc89 template <typename Converter>
92 ConverterConsumer(Converter converter, absl::Span<const FormatArgImpl> pack) in ConverterConsumer()
106 Converter converter_;
110 template <typename Converter>
112 absl::Span<const FormatArgImpl> args, Converter converter) { in ConvertAll()
115 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
118 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
169 typedef SummarizingConverter Converter; in Summarize() typedef
175 if (!ConvertAll(format, args, Converter(&sink))) { in Summarize()
186 using Converter = DefaultConverter; in FormatUntyped() typedef
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc89 template <typename Converter>
92 ConverterConsumer(Converter converter, absl::Span<const FormatArgImpl> pack) in ConverterConsumer()
106 Converter converter_;
110 template <typename Converter>
112 absl::Span<const FormatArgImpl> args, Converter converter) { in ConvertAll()
115 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
118 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
169 typedef SummarizingConverter Converter; in Summarize() typedef
175 if (!ConvertAll(format, args, Converter(&sink))) { in Summarize()
186 using Converter = DefaultConverter; in FormatUntyped() typedef
[all …]
/external/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc89 template <typename Converter>
92 ConverterConsumer(Converter converter, absl::Span<const FormatArgImpl> pack) in ConverterConsumer()
106 Converter converter_;
110 template <typename Converter>
112 absl::Span<const FormatArgImpl> args, Converter converter) { in ConvertAll()
115 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
118 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
169 typedef SummarizingConverter Converter; in Summarize() typedef
175 if (!ConvertAll(format, args, Converter(&sink))) { in Summarize()
186 using Converter = DefaultConverter; in FormatUntyped() typedef
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DStdDelegatingSerializer.java13 import com.fasterxml.jackson.databind.util.Converter;
34 protected final Converter<Object,?> _converter;
53 public StdDelegatingSerializer(Converter<?,?> converter) in StdDelegatingSerializer() argument
56 _converter = (Converter<Object,?>)converter; in StdDelegatingSerializer()
62 public <T> StdDelegatingSerializer(Class<T> cls, Converter<T,?> converter) in StdDelegatingSerializer()
65 _converter = (Converter<Object,?>)converter; in StdDelegatingSerializer()
71 public StdDelegatingSerializer(Converter<Object,?> converter, in StdDelegatingSerializer()
84 protected StdDelegatingSerializer withDelegate(Converter<Object,?> converter, in withDelegate()
139 protected Converter<Object, ?> getConverter() { in getConverter()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/annotation/
DJsonDeserialize.java10 import com.fasterxml.jackson.databind.util.Converter;
100 public Class<? extends Converter> converter() default Converter.None.class; in converter()
109 public Class<? extends Converter> contentConverter() default Converter.None.class; in contentConverter()
DJsonSerialize.java9 import com.fasterxml.jackson.databind.util.Converter;
138 public Class<? extends Converter> converter() default Converter.None.class; in converter()
151 public Class<? extends Converter> contentConverter() default Converter.None.class; in contentConverter()
/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/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DStdDelegatingDeserializer.java13 import com.fasterxml.jackson.databind.util.Converter;
45 protected final Converter<Object,T> _converter;
64 public StdDelegatingDeserializer(Converter<?,T> converter) in StdDelegatingDeserializer() argument
67 _converter = (Converter<Object,T>)converter; in StdDelegatingDeserializer()
73 public StdDelegatingDeserializer(Converter<Object,T> converter, in StdDelegatingDeserializer()
97 protected StdDelegatingDeserializer<T> withDelegate(Converter<Object,T> converter, in withDelegate()

12345678910