Home
last modified time | relevance | path

Searched refs:TypeConverter (Results 1 – 25 of 40) sorted by relevance

12

/external/libmojo/mojo/common/
Dcommon_type_converters.h20 struct MOJO_COMMON_EXPORT TypeConverter<String, base::StringPiece> {
25 struct MOJO_COMMON_EXPORT TypeConverter<base::StringPiece, String> {
30 struct MOJO_COMMON_EXPORT TypeConverter<String, base::string16> {
35 struct MOJO_COMMON_EXPORT TypeConverter<base::string16, String> {
40 struct MOJO_COMMON_EXPORT TypeConverter<std::string, Array<uint8_t>> {
45 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, std::string> {
50 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, base::StringPiece> {
55 struct MOJO_COMMON_EXPORT TypeConverter<base::string16, Array<uint8_t>> {
60 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, base::string16> {
Dcommon_type_converters.cc16 String TypeConverter<String, base::StringPiece>::Convert( in Convert()
25 base::StringPiece TypeConverter<base::StringPiece, String>::Convert( in Convert()
31 String TypeConverter<String, base::string16>::Convert( in Convert()
33 return TypeConverter<String, base::StringPiece>::Convert( in Convert()
37 base::string16 TypeConverter<base::string16, String>::Convert( in Convert()
42 std::string TypeConverter<std::string, Array<uint8_t>>::Convert( in Convert()
51 Array<uint8_t> TypeConverter<Array<uint8_t>, std::string>::Convert( in Convert()
59 Array<uint8_t> TypeConverter<Array<uint8_t>, base::StringPiece>::Convert( in Convert()
67 base::string16 TypeConverter<base::string16, Array<uint8_t>>::Convert( in Convert()
76 Array<uint8_t> TypeConverter<Array<uint8_t>, base::string16>::Convert( in Convert()
/external/swiftshader/third_party/subzero/src/
DIceTypeConverter.h40 class TypeConverter {
41 TypeConverter() = delete;
42 TypeConverter(const TypeConverter &) = delete;
43 TypeConverter &operator=(const TypeConverter &) = delete;
47 explicit TypeConverter(llvm::LLVMContext &Context);
DIceTypeConverter.cpp22 TypeConverter::TypeConverter(llvm::LLVMContext &Context) { in TypeConverter() function in Ice::TypeConverter
46 void TypeConverter::addLLVMType(Type Ty, llvm::Type *LLVMTy) { in addLLVMType()
50 Type TypeConverter::convertToIceTypeOther(llvm::Type *LLVMTy) const { in convertToIceTypeOther()
/external/guice/core/src/com/google/inject/internal/
DTypeConverterBindingProcessor.java24 import com.google.inject.spi.TypeConverter;
54 convertToClass(injector, Character.class, new TypeConverter() { in prepareBuiltInConverters()
68 convertToClasses(injector, Matchers.subclassesOf(Enum.class), new TypeConverter() { in prepareBuiltInConverters()
88 new TypeConverter() { in prepareBuiltInConverters()
111 TypeConverter typeConverter = new TypeConverter() { in convertToPrimitiveType()
135 TypeConverter converter) { in convertToClass()
140 final Matcher<? super Class<?>> typeMatcher, TypeConverter converter) { in convertToClasses()
159 TypeConverter converter) { in internalConvertToTypes()
/external/libmojo/mojo/public/cpp/bindings/
Darray.h80 return TypeConverter<Array, U>::Convert(other); in From()
86 return TypeConverter<U, Array>::Convert(*this); in To()
214 struct TypeConverter<Array<T>, std::vector<E>> {
218 result[i] = TypeConverter<T, E>::Convert(input[i]);
227 struct TypeConverter<std::vector<E>, Array<T>> {
233 result[i] = TypeConverter<E, T>::Convert(input[i]);
243 struct TypeConverter<Array<T>, std::set<E>> {
247 result.push_back(TypeConverter<T, E>::Convert(i));
256 struct TypeConverter<std::set<E>, Array<T>> {
261 result.insert(TypeConverter<E, T>::Convert(input[i]));
Dstring.h44 return TypeConverter<String, U>::Convert(other); in From()
49 return TypeConverter<U, String>::Convert(*this); in To()
162 struct TypeConverter<String, std::string> {
167 struct TypeConverter<std::string, String> {
172 struct TypeConverter<String, char[N]> {
181 struct TypeConverter<String, const char[N]> {
189 struct TypeConverter<String, const char*> {
Dtype_converter.h75 struct TypeConverter;
80 struct TypeConverter<T, T> {
89 return TypeConverter<T, U>::Convert(obj);
Dmap.h82 return TypeConverter<Map, U>::Convert(other); in From()
89 return TypeConverter<U, Map>::Convert(*this); in To()
269 struct TypeConverter<Map<MojoKey, MojoValue>, std::map<STLKey, STLValue>> {
274 result.insert(TypeConverter<MojoKey, STLKey>::Convert(pair.first),
275 TypeConverter<MojoValue, STLValue>::Convert(pair.second));
287 struct TypeConverter<std::map<STLKey, STLValue>, Map<MojoKey, MojoValue>> {
294 TypeConverter<STLKey, MojoKey>::Convert(it->first),
295 TypeConverter<STLValue, MojoValue>::Convert(it->second)));
Dnative_struct.h28 return TypeConverter<NativeStructPtr, U>::Convert(u); in From()
33 return TypeConverter<U, NativeStruct>::Convert(*this); in To()
Dwtf_array.h69 return TypeConverter<WTFArray, U>::Convert(other); in From()
75 return TypeConverter<U, WTFArray>::Convert(*this); in To()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DAbstractData.java34 return TypeConverter.asNumber(getValue()); in getIntValue()
41 return TypeConverter.asBoolean(getValue()); in getBooleanValue()
74 return result == null ? defaultValue : TypeConverter.parseNumber(result); in getIntValue()
94 return TypeConverter.asNumber(getChild(path)); in getIntValue()
102 return TypeConverter.asBoolean(getChild(path)); in getBooleanValue()
DTypeConverter.java23 public class TypeConverter { class
24 private TypeConverter() {} in TypeConverter() method in TypeConverter
/external/jsilver/src/com/google/clearsilver/jsilver/values/
DVariantValue.java20 import com.google.clearsilver.jsilver.data.TypeConverter;
40 return TypeConverter.asBoolean(value()); in asBoolean()
52 return TypeConverter.asNumber(value()); in asNumber()
DVariableValue.java22 import com.google.clearsilver.jsilver.data.TypeConverter;
72 return TypeConverter.exists(getReference()); in exists()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DBaseCompiledTemplate.java24 import com.google.clearsilver.jsilver.data.TypeConverter;
129 return TypeConverter.exists(data); in exists()
133 return TypeConverter.asNumber(value); in asInt()
149 return TypeConverter.asNumber(data); in asInt()
169 return TypeConverter.asString(data); in asString()
206 return TypeConverter.asBoolean(value); in asBoolean()
218 return TypeConverter.asBoolean(data); in asBoolean()
/external/guice/core/src/com/google/inject/spi/
DTypeConverterBinding.java39 private final TypeConverter typeConverter;
43 TypeConverter typeConverter) { in TypeConverterBinding()
57 public TypeConverter getTypeConverter() { in getTypeConverter()
DTypeConverter.java27 public interface TypeConverter { interface
/external/clang/tools/clang-format-vs/ClangFormat/
DClangFormatPackage.cs40 public class StyleConverter : TypeConverter
91 [TypeConverter(typeof(StyleConverter))]
98 public sealed class FilenameConverter : TypeConverter
129 [TypeConverter(typeof(FilenameConverter))]
150 [TypeConverter(typeof(FallbackStyleConverter))]
/external/guice/core/test/com/google/inject/
DTypeConversionTest.java27 import com.google.inject.spi.TypeConverter;
377 final TypeConverter converter = new TypeConverter() { in testStringIsConvertedOnlyOnce()
453 TypeConverter mockTypeConverter(final Object result) { in mockTypeConverter()
454 return new TypeConverter() { in mockTypeConverter()
465 private static TypeConverter failingTypeConverter() {
466 return new TypeConverter() {
/external/libmojo/mojo/public/cpp/bindings/tests/
Dtype_conversion_unittest.cc45 struct TypeConverter<test::RectPtr, RedmondRect> { struct
57 struct TypeConverter<RedmondRect, test::RectPtr> { struct
69 struct TypeConverter<test::NamedRegionPtr, RedmondNamedRegion> { struct
79 struct TypeConverter<RedmondNamedRegion, test::NamedRegionPtr> { struct
/external/guice/core/src/com/google/inject/
DBinder.java27 import com.google.inject.spi.TypeConverter;
380 TypeConverter converter); in convertToTypes()
DAbstractModule.java28 import com.google.inject.spi.TypeConverter;
220 TypeConverter converter) { in convertToTypes()
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dwrapper_union_class_declaration.tmpl10 return mojo::TypeConverter<{{union.name}}Ptr, U>::Convert(u);
15 return mojo::TypeConverter<U, {{union.name}}>::Convert(*this);
Dwrapper_class_declaration.tmpl30 return mojo::TypeConverter<{{struct.name}}Ptr, U>::Convert(u);
35 return mojo::TypeConverter<U, {{struct.name}}>::Convert(*this);

12