Home
last modified time | relevance | path

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

1234567891011

/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/cronet/testing/libfuzzer/proto/
Dskia_image_filter_proto_converter.cc156 const uint32_t Converter::kPictEofTag = SET_FOUR_BYTE_TAG('e', 'o', 'f', ' ');
158 const uint32_t Converter::kProfileLookupTable[] = {
165 const uint32_t Converter::kInputColorSpaceLookupTable[] = {
171 const uint32_t Converter::kPCSLookupTable[] = {
176 const uint32_t Converter::kTagLookupTable[] = {
190 const char Converter::kSkPictReaderTag[] = {'r', 'e', 'a', 'd'};
191 const char Converter::kPictureMagicString[] = {'s', 'k', 'i', 'a',
194 const uint8_t Converter::kCountNibBits[] = {0, 1, 1, 2, 1, 2, 2, 3,
198 const int Converter::kFlattenableDepthLimit = 3;
199 const int Converter::kColorTableBufferLength = 256;
[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/guava/src/com/google/common/base/
DConverter.java144 public abstract class Converter<A, B> implements Function<A, B> { class
148 @LazyInit @RetainedWith @CheckForNull private transient Converter<B, A> reverse;
151 protected Converter() { in Converter() method in Converter
156 Converter(boolean handleNullAutomatically) { in Converter() method in Converter
313 public Converter<B, A> reverse() {
314 Converter<B, A> result = reverse;
318 private static final class ReverseConverter<A, B> extends Converter<B, A>
320 final Converter<A, B> original;
322 ReverseConverter(Converter<A, B> original) {
356 public Converter<A, B> reverse() {
[all …]
/external/guava/android/guava/src/com/google/common/base/
DConverter.java144 public abstract class Converter<A, B> implements Function<A, B> { class
148 @LazyInit @RetainedWith @CheckForNull private transient Converter<B, A> reverse;
151 protected Converter() { in Converter() method in Converter
156 Converter(boolean handleNullAutomatically) { in Converter() method in Converter
313 public Converter<B, A> reverse() {
314 Converter<B, A> result = reverse;
318 private static final class ReverseConverter<A, B> extends Converter<B, A>
320 final Converter<A, B> original;
322 ReverseConverter(Converter<A, B> original) {
356 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;
/external/icing/icing/scoring/
Dpriority-queue-scored-document-hits-ranker.h30 typename Converter = typename ScoredDataType::Converter>
90 Converter converter_;
93 template <typename ScoredDataType, typename Converter>
94 PriorityQueueScoredDocumentHitsRanker<ScoredDataType, Converter>::
100 template <typename ScoredDataType, typename Converter>
102 PriorityQueueScoredDocumentHitsRanker<ScoredDataType, Converter>::PopNext() { in PopNext()
108 template <typename ScoredDataType, typename Converter>
110 ScoredDataType, Converter>::TruncateHitsTo(int new_size) { in TruncateHitsTo()
/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/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DConverter.java14 public class Converter<T> { class
21 static Converter getConverterFor(AttrData attrData, String type) { in getConverterFor()
48 public static Converter getConverter(ResType resType) { in getConverter()
77 return new Converter(); in getConverter()
103 public static class FromAttrData extends Converter<AttrData> {
116 public static class FromCharSequence extends Converter<String> {
137 public static class FromColor extends Converter<String> {
157 public static class FromFilePath extends Converter<String> {
168 public static class FromArray extends Converter {
175 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 …]
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/
DTypeConversionHandlerImpl.java50 static Map<Pair<String, String>, Converter<?>> standardConverterMap;
55 static Converter<?> toString;
60 static Converter<?> cacheMiss;
65 Map<Pair<String, String>, Converter<?>> converterCacheMap;
115Converter<Boolean> numberToBool = o -> Optional.ofNullable((Number)o).map(n -> Double.compare(n.do…
116Converter<Boolean> bigIntegerToBool = o -> Optional.ofNullable((BigInteger)o).map(bi -> bi.signum(…
117Converter<Boolean> bigDecimalToBool = o -> Optional.ofNullable((BigDecimal)o).map(bi -> bi.signum(…
152Converter<Boolean> charToBoolean = o -> Optional.ofNullable((Character)o).map(c -> c != 0).orElse(…
161 Converter<Boolean> stringToBoolean = o -> Boolean.valueOf(String.valueOf(o));
172 Converter<Byte> narrowingToByte = o -> Optional.ofNullable((Number)o)
[all …]
/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/tensorflow/third_party/absl/abseil-cpp/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/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/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.cc102 template <typename Converter>
105 ConverterConsumer(Converter converter, absl::Span<const FormatArgImpl> pack) in ConverterConsumer()
119 Converter converter_;
123 template <typename Converter>
125 absl::Span<const FormatArgImpl> args, Converter converter) { in ConvertAll()
128 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
131 ConverterConsumer<Converter>(converter, args)); in ConvertAll()
182 typedef SummarizingConverter Converter; in Summarize() typedef
188 if (!ConvertAll(format, args, Converter(&sink))) { in Summarize()
199 using Converter = DefaultConverter; in FormatUntyped() typedef
[all …]
/external/webrtc/third_party/abseil-cpp/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.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/angle/third_party/abseil-cpp/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/cronet/third_party/abseil-cpp/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/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()

1234567891011