Home
last modified time | relevance | path

Searched refs:Convert (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/external/chromium_org/mojo/services/public/cpp/surfaces/
Dsurfaces_type_converters.h33 static SurfaceIdPtr Convert(const cc::SurfaceId& input);
37 static cc::SurfaceId Convert(const SurfaceIdPtr& input);
43 static ColorPtr Convert(const SkColor& input);
47 static SkColor Convert(const ColorPtr& input);
52 static RenderPassIdPtr Convert(const cc::RenderPassId& input);
57 static cc::RenderPassId Convert(const RenderPassIdPtr& input);
62 static QuadPtr Convert(const cc::DrawQuad& input);
68 static SharedQuadStatePtr Convert(const cc::SharedQuadState& input);
73 static PassPtr Convert(const cc::RenderPass& input);
78 static scoped_ptr<cc::RenderPass> Convert(const PassPtr& input);
[all …]
/external/chromium_org/mojo/services/public/cpp/geometry/
Dgeometry_type_converters.h20 static PointPtr Convert(const gfx::Point& input);
24 static gfx::Point Convert(const PointPtr& input);
29 static PointFPtr Convert(const gfx::PointF& input);
33 static gfx::PointF Convert(const PointFPtr& input);
38 static SizePtr Convert(const gfx::Size& input);
42 static gfx::Size Convert(const SizePtr& input);
47 static RectPtr Convert(const gfx::Rect& input);
51 static gfx::Rect Convert(const RectPtr& input);
56 static RectFPtr Convert(const gfx::RectF& input);
60 static gfx::RectF Convert(const RectFPtr& input);
[all …]
/external/chromium_org/mojo/common/
Dcommon_type_converters.h21 static String Convert(const base::StringPiece& input);
26 static base::StringPiece Convert(const String& input);
31 static String Convert(const base::string16& input);
36 static base::string16 Convert(const String& input);
41 static String Convert(const GURL& input);
46 static GURL Convert(const String& input);
55 static std::string Convert(const Array<uint8_t>& input);
60 static Array<uint8_t> Convert(const std::string& input);
Dcommon_type_converters.cc15 String TypeConverter<String, base::StringPiece>::Convert( in Convert() function in mojo::TypeConverter::StringPiece
24 base::StringPiece TypeConverter<base::StringPiece, String>::Convert( in Convert() function in mojo::TypeConverter::StringPiece
30 String TypeConverter<String, base::string16>::Convert( in Convert() function in mojo::TypeConverter::string16
32 return TypeConverter<String, base::StringPiece>::Convert( in Convert()
36 base::string16 TypeConverter<base::string16, String>::Convert( in Convert() function in mojo::TypeConverter::string16
41 String TypeConverter<String, GURL>::Convert(const GURL& input) { in Convert() function in mojo::TypeConverter
45 GURL TypeConverter<GURL, String>::Convert(const String& input) { in Convert() function in mojo::TypeConverter
49 std::string TypeConverter<std::string, Array<uint8_t> >::Convert( in Convert() function in mojo::TypeConverter::string
58 Array<uint8_t> TypeConverter<Array<uint8_t>, std::string>::Convert( in Convert() function in mojo::TypeConverter::string
/external/chromium_org/mojo/services/public/cpp/geometry/lib/
Dgeometry_type_converters.cc10 PointPtr TypeConverter<PointPtr, gfx::Point>::Convert(const gfx::Point& input) { in Convert() function in mojo::TypeConverter::Point
18 gfx::Point TypeConverter<gfx::Point, PointPtr>::Convert(const PointPtr& input) { in Convert() function in mojo::TypeConverter::Point
25 PointFPtr TypeConverter<PointFPtr, gfx::PointF>::Convert( in Convert() function in mojo::TypeConverter::PointF
34 gfx::PointF TypeConverter<gfx::PointF, PointFPtr>::Convert( in Convert() function in mojo::TypeConverter::PointF
42 SizePtr TypeConverter<SizePtr, gfx::Size>::Convert(const gfx::Size& input) { in Convert() function in mojo::TypeConverter::Size
50 gfx::Size TypeConverter<gfx::Size, SizePtr>::Convert(const SizePtr& input) { in Convert() function in mojo::TypeConverter::Size
57 RectPtr TypeConverter<RectPtr, gfx::Rect>::Convert(const gfx::Rect& input) { in Convert() function in mojo::TypeConverter::Rect
67 gfx::Rect TypeConverter<gfx::Rect, RectPtr>::Convert(const RectPtr& input) { in Convert() function in mojo::TypeConverter::Rect
74 RectFPtr TypeConverter<RectFPtr, gfx::RectF>::Convert(const gfx::RectF& input) { in Convert() function in mojo::TypeConverter::RectF
84 gfx::RectF TypeConverter<gfx::RectF, RectFPtr>::Convert(const RectFPtr& input) { in Convert() function in mojo::TypeConverter::RectF
[all …]
/external/chromium_org/mojo/services/public/cpp/input_events/
Dinput_events_type_converters.h17 static EventType Convert(ui::EventType type);
22 static ui::EventType Convert(EventType type);
27 static EventPtr Convert(const ui::Event& input);
32 static EventPtr Convert(const ui::KeyEvent& input);
37 static scoped_ptr<ui::Event> Convert(const EventPtr& input);
/external/chromium_org/mojo/examples/pepper_container_app/
Dtype_converters.h18 static PointPtr Convert(const PP_Point& input) {
28 static PP_Point Convert(const PointPtr& input) {
38 static SizePtr Convert(const PP_Size& input) {
48 static PP_Size Convert(const SizePtr& input) {
58 static RectPtr Convert(const PP_Rect& input) {
70 static PP_Rect Convert(const SizePtr& input) {
/external/chromium_org/mojo/services/html_viewer/
Dblink_basic_type_converters.h22 static String Convert(const blink::WebString& str);
26 static blink::WebString Convert(const String& str);
30 static Array<uint8_t> Convert(const blink::WebString& input);
35 static Array<T> Convert(const blink::WebVector<U>& vector) {
38 array[i] = TypeConverter<T, U>::Convert(vector[i]);
Dblink_basic_type_converters.cc15 String TypeConverter<String, WebString>::Convert(const WebString& str) { in Convert() function in mojo::TypeConverter
20 WebString TypeConverter<WebString, String>::Convert(const String& str) { in Convert() function in mojo::TypeConverter
25 Array<uint8_t> TypeConverter<Array<uint8_t>, blink::WebString>::Convert( in Convert() function in mojo::TypeConverter::WebString
/external/llvm/tools/yaml2obj/
Dyaml2obj.cpp65 int convertYAML(yaml::Input & YIn, raw_ostream &Out, ConvertFuncPtr Convert) { in convertYAML() argument
69 return Convert(YIn, Out); in convertYAML()
99 ConvertFuncPtr Convert = nullptr; in main() local
101 Convert = yaml2coff; in main()
103 Convert = yaml2elf; in main()
111 int Res = convertYAML(YIn, Out->os(), Convert); in main()
/external/openfst/src/script/
Dconvert.cc25 FstClass *Convert(const FstClass &ifst, const string &new_type) { in Convert() function
35 REGISTER_FST_OPERATION(Convert, StdArc, ConvertArgs);
36 REGISTER_FST_OPERATION(Convert, LogArc, ConvertArgs);
37 REGISTER_FST_OPERATION(Convert, Log64Arc, ConvertArgs);
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
Dp7-cxx11-nowarn.cpp36 struct Convert { struct
37 constexpr Convert(T v) : v(v) {} in Convert() function
41 template<typename T> Convert<T> ConvertVar(); argument
59 …Agg<char> ce1 = { Convert<float>(1.0) }; // expected-warning {{type 'float' cannot be narrowed to … in float_to_int()
105 …Agg<float> ce1 = { Convert<double>(1e300) }; // expected-warning {{constant expression evaluates t… in shrink_float()
126 …Agg<float> ce1 = { Convert<int>(123456789) }; // expected-warning {{constant expression evaluates … in int_to_float()
170 …Agg<short> ce1 = { Convert<int>(100000) }; // expected-warning {{constant expression evaluates to … in shrink_int()
Dp7-0x.cpp35 struct Convert { struct
36 constexpr Convert(T v) : v(v) {} in Convert() function
40 template<typename T> Convert<T> ConvertVar(); argument
58 …Agg<char> ce1 = { Convert<float>(1.0) }; // expected-error {{type 'float' cannot be narrowed to 'c… in float_to_int()
104 …Agg<float> ce1 = { Convert<double>(1e300) }; // expected-error {{constant expression evaluates to … in shrink_float()
125 …Agg<float> ce1 = { Convert<int>(123456789) }; // expected-error {{constant expression evaluates to… in int_to_float()
169 …Agg<short> ce1 = { Convert<int>(100000) }; // expected-error {{constant expression evaluates to 10… in shrink_int()
/external/chromium_org/media/mojo/services/
Dmedia_type_converters.h21 static MediaDecoderBufferPtr Convert(
27 static scoped_refptr<media::DecoderBuffer> Convert(
33 static AudioDecoderConfigPtr Convert(const media::AudioDecoderConfig& input);
37 static media::AudioDecoderConfig Convert(const AudioDecoderConfigPtr& input);
/external/chromium_org/base/json/
Djson_value_converter.h111 virtual bool Convert(const base::Value& value, FieldType* field) const = 0;
127 return value_converter_->Convert(value, &(dst->*field_pointer_)); in ConvertField()
144 virtual bool Convert(const base::Value& value, int* field) const OVERRIDE { in Convert() function
157 virtual bool Convert( in Convert() function
171 virtual bool Convert( in Convert() function
185 virtual bool Convert(const base::Value& value, double* field) const OVERRIDE { in Convert() function
198 virtual bool Convert(const base::Value& value, bool* field) const OVERRIDE { in Convert() function
214 virtual bool Convert(const base::Value& value, in Convert() function
233 virtual bool Convert(const base::Value& value, in Convert() function
251 virtual bool Convert( in Convert() function
[all …]
Djson_value_converter_unittest.cc112 EXPECT_TRUE(converter.Convert(*value.get(), &message)); in TEST()
154 EXPECT_TRUE(converter.Convert(*value.get(), &message)); in TEST()
196 EXPECT_FALSE(converter.Convert(*value.get(), &message)); in TEST()
213 EXPECT_TRUE(converter.Convert(*value.get(), &message)); in TEST()
235 EXPECT_FALSE(converter.Convert(*value.get(), &message)); in TEST()
252 EXPECT_FALSE(converter.Convert(*value.get(), &message)); in TEST()
/external/openfst/src/include/fst/script/
Dconvert.h32 void Convert(ConvertArgs *args) { in Convert() function
36 Fst<Arc> *result = Convert(fst, new_type); in Convert()
42 %newobject Convert;
44 FstClass *Convert(const FstClass& f, const string &new_type);
/external/chromium_org/mojo/public/cpp/bindings/
Dstring.h35 return TypeConverter<String, U>::Convert(other); in From()
40 return TypeConverter<U, String>::Convert(*this); in To()
117 static String Convert(const std::string& input) { return String(input); }
122 static std::string Convert(const String& input) { return input; }
127 static String Convert(const char input[N]) {
136 static String Convert(const char input[N]) {
145 static String Convert(const char* input) { return String(input); }
Darray.h53 return TypeConverter<Array, U>::Convert(other); in From()
58 return TypeConverter<U, Array>::Convert(*this); in To()
126 static Array<T> Convert(const std::vector<E>& input) {
129 result[i] = TypeConverter<T, E>::Convert(input[i]);
136 static std::vector<E> Convert(const Array<T>& input) {
141 result[i] = TypeConverter<E, T>::Convert(input[i]);
/external/chromium_org/mojo/services/public/cpp/surfaces/lib/
Dsurfaces_type_converters.cc190 SurfaceIdPtr TypeConverter<SurfaceIdPtr, cc::SurfaceId>::Convert( in Convert() function in mojo::TypeConverter::SurfaceId
198 cc::SurfaceId TypeConverter<cc::SurfaceId, SurfaceIdPtr>::Convert( in Convert() function in mojo::TypeConverter::SurfaceId
204 ColorPtr TypeConverter<ColorPtr, SkColor>::Convert(const SkColor& input) { in Convert() function in mojo::TypeConverter
211 SkColor TypeConverter<SkColor, ColorPtr>::Convert(const ColorPtr& input) { in Convert() function in mojo::TypeConverter
216 RenderPassIdPtr TypeConverter<RenderPassIdPtr, cc::RenderPassId>::Convert( in Convert() function in mojo::TypeConverter::RenderPassId
225 cc::RenderPassId TypeConverter<cc::RenderPassId, RenderPassIdPtr>::Convert( in Convert() function in mojo::TypeConverter::RenderPassId
231 QuadPtr TypeConverter<QuadPtr, cc::DrawQuad>::Convert( in Convert() function in mojo::TypeConverter::DrawQuad
332 TypeConverter<SharedQuadStatePtr, cc::SharedQuadState>::Convert( in Convert() function in mojo::TypeConverter::SharedQuadState
348 PassPtr TypeConverter<PassPtr, cc::RenderPass>::Convert( in Convert() function in mojo::TypeConverter::RenderPass
386 TypeConverter<scoped_ptr<cc::RenderPass>, PassPtr>::Convert( in Convert() function in mojo::TypeConverter::RenderPass
[all …]
/external/chromium_org/mojo/public/python/mojo/bindings/
Ddescriptor.py21 def Convert(self, value): # pylint: disable=R0201 member in Type
33 return self.Convert(value)
92 def Convert(self, value): member in BooleanType
101 return self.Convert(0)
102 return self.Convert(value)
125 def Convert(self, value): member in IntegerType
139 def Convert(self, value): member in FloatType
192 def Convert(self, value): member in StringType
218 def Convert(self, value): member in HandleType
274 def Convert(self, value): member in BooleanArrayType
[all …]
/external/chromium_org/v8/src/
Dunicode.h224 static int Convert(uchar c,
232 static int Convert(uchar c,
239 static int Convert(uchar c,
246 static int Convert(uchar c,
253 static int Convert(uchar c,
/external/chromium_org/google_apis/drive/
Ddrive_api_parser.cc51 !converter.Convert(*parent_value, &(*result)[i])) in GetParentsFromValue()
242 if (!converter.Convert(value, this)) { in Parse()
281 if (!converter.Convert(value, this)) { in Parse()
346 if (!converter.Convert(value, this)) { in Parse()
380 if (!converter.Convert(value, this)) { in Parse()
417 if (!converter.Convert(value, this)) { in Parse()
497 if (!converter.Convert(value, this)) { in Parse()
538 if (!converter.Convert(value, this)) { in Parse()
580 if (!converter.Convert(value, this)) { in Parse()
624 if (!converter.Convert(value, this)) { in Parse()
[all …]
/external/chromium_org/content/common/
Dinter_process_time_ticks_converter.cc47 DCHECK_EQ(target_range, Convert(source_range)); in InterProcessTimeTicksConverter()
65 return LocalTimeDelta(Convert(remote_delta.value_)); in ToLocalTimeDelta()
68 int64 InterProcessTimeTicksConverter::Convert(int64 value) const { in Convert() function in content::InterProcessTimeTicksConverter
/external/chromium_org/mojo/services/gles2/
Dcommand_buffer_type_conversions.h18 static CommandBufferStatePtr Convert(const gpu::CommandBuffer::State& input);
23 static gpu::CommandBuffer::State Convert(const CommandBufferStatePtr& input);

12345678910>>...12