Home
last modified time | relevance | path

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

12345678910>>...17

/external/flatbuffers/samples/
DSampleBinary.cs76 Assert(monster.Mana == 150, "monster.Mana", Convert.ToString(monster.Mana), in Main()
77 Convert.ToString(150)); in Main()
78 Assert(monster.Hp == 300, "monster.Hp", Convert.ToString(monster.Hp), Convert.ToString(30)); in Main()
81 Assert(monster.Color == Color.Red, "monster.Color", Convert.ToString(monster.Color), in Main()
82 Convert.ToString(Color.Red)); in Main()
86 Convert.ToString(vec.X), Convert.ToString(1.0f)); in Main()
88 Convert.ToString(vec.Y), Convert.ToString(2.0f)); in Main()
90 Convert.ToString(vec.Z), Convert.ToString(3.0f)); in Main()
96 Convert.ToString(monster.Inventory(i)), Convert.ToString(i)); in Main()
107 Convert.ToString(monster.Weapons(i).Value.Damage), in Main()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs62 Expression downcast = Expression.Convert(parameter, method.DeclaringType); in CreateFuncIMessageObject()
64 Expression upcast = Expression.Convert(call, typeof(object)); in CreateFuncIMessageObject()
75 Expression downcast = Expression.Convert(parameter, method.DeclaringType); in CreateFuncIMessageT()
77 Expression upcast = Expression.Convert(call, typeof(T)); in CreateFuncIMessageT()
89 Expression castTarget = Expression.Convert(targetParameter, method.DeclaringType); in CreateActionIMessageObject()
90 …Expression castArgument = Expression.Convert(argParameter, method.GetParameters()[0].ParameterType… in CreateActionIMessageObject()
102 Expression castTarget = Expression.Convert(targetParameter, method.DeclaringType); in CreateActionIMessage()
/external/libchrome/base/json/
Djson_value_converter.cc10 bool BasicValueConverter<int>::Convert( in Convert() function in base::internal::BasicValueConverter
15 bool BasicValueConverter<std::string>::Convert( in Convert() function in base::internal::BasicValueConverter::string
20 bool BasicValueConverter<string16>::Convert( in Convert() function in base::internal::BasicValueConverter
25 bool BasicValueConverter<double>::Convert( in Convert() function in base::internal::BasicValueConverter
30 bool BasicValueConverter<bool>::Convert( in Convert() function in base::internal::BasicValueConverter
Djson_value_converter.h113 virtual bool Convert(const base::Value& value, FieldType* field) const = 0;
128 return value_converter_->Convert(value, &(dst->*field_pointer_)); in ConvertField()
145 bool Convert(const base::Value& value, int* field) const override;
157 bool Convert(const base::Value& value, std::string* field) const override;
169 bool Convert(const base::Value& value, string16* field) const override;
180 bool Convert(const base::Value& value, double* field) const override;
191 bool Convert(const base::Value& value, bool* field) const override;
205 bool Convert(const base::Value& value, FieldType* field) const override { in Convert() function
223 bool Convert(const base::Value& value, FieldType* field) const override { in Convert() function
240 bool Convert(const base::Value& value, NestedType* field) const override { in Convert() function
[all …]
Djson_value_converter_unittest.cc111 EXPECT_TRUE(converter.Convert(*value.get(), &message)); in TEST()
153 EXPECT_TRUE(converter.Convert(*value.get(), &message)); in TEST()
195 EXPECT_FALSE(converter.Convert(*value.get(), &message)); in TEST()
212 EXPECT_TRUE(converter.Convert(*value.get(), &message)); in TEST()
234 EXPECT_FALSE(converter.Convert(*value.get(), &message)); in TEST()
251 EXPECT_FALSE(converter.Convert(*value.get(), &message)); in TEST()
/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() argument
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()
107 …Agg<float> ce1 = { Convert<double>(1e300) }; // expected-error {{constant expression evaluates to … in shrink_float()
128 …Agg<float> ce1 = { Convert<int>(123456789) }; // expected-error {{constant expression evaluates to… in int_to_float()
172 …Agg<short> ce1 = { Convert<int>(100000) }; // expected-error {{constant expression evaluates to 10… in shrink_int()
/external/tensorflow/tensorflow/contrib/lite/schema/
Dupgrade_schema_test.py259 converter.Convert(non_existent, non_existent)
265 converter.Convert(invalid_extension, invalid_extension)
269 converter.Convert(in_json.name, invalid_extension)
288 converter.Convert(in_json.name, out_json.name)
291 converter.Convert(in_json.name, out_tflite.name)
292 converter.Convert(out_tflite.name, out_bin.name)
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_element_type_converter_test.cc84 EXPECT_THAT(bf16_op, op::Convert(op::Add(op::Constant(), op::Convert()))); in TEST_F()
115 op::Tuple(op::Convert(op::GetTupleElement(batch_norm, 0)), in TEST_F()
116 op::Convert(op::GetTupleElement(batch_norm, 1)), in TEST_F()
117 op::Convert(op::GetTupleElement(batch_norm, 2)))); in TEST_F()
Dbatchnorm_expander.cc171 elements_per_feature_literal->Convert(ptype)); in HandleBatchNormTraining()
180 TF_ASSIGN_OR_RETURN(zero_literal, zero_literal->Convert(ptype)); in HandleBatchNormTraining()
184 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal->Convert(ptype)); in HandleBatchNormTraining()
258 TF_ASSIGN_OR_RETURN(neg_half_literal, neg_half_literal->Convert(ptype)); in HandleBatchNormTraining()
322 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal->Convert(ptype)); in HandleBatchNormInference()
359 TF_ASSIGN_OR_RETURN(neg_half_literal, neg_half_literal->Convert(ptype)); in HandleBatchNormInference()
443 elements_per_feature_literal->Convert(ptype)); in HandleBatchNormGrad()
448 TF_ASSIGN_OR_RETURN(zero_literal, zero_literal->Convert(ptype)); in HandleBatchNormGrad()
452 TF_ASSIGN_OR_RETURN(neg_half_literal, neg_half_literal->Convert(ptype)); in HandleBatchNormGrad()
457 TF_ASSIGN_OR_RETURN(epsilon_literal, epsilon_literal->Convert(ptype)); in HandleBatchNormGrad()
/external/python/cpython3/Doc/library/
Dcolorsys.rst32 Convert the color from RGB coordinates to YIQ coordinates.
37 Convert the color from YIQ coordinates to RGB coordinates.
42 Convert the color from RGB coordinates to HLS coordinates.
47 Convert the color from HLS coordinates to RGB coordinates.
52 Convert the color from RGB coordinates to HSV coordinates.
57 Convert the color from HSV coordinates to RGB coordinates.
Dbinascii.rst1 :mod:`binascii` --- Convert between binary and ASCII
38 Convert a single line of uuencoded data back to binary and return the binary
45 Convert binary data to a line of ASCII characters, the return value is the
52 Convert a block of base64 data back to binary and return the binary data. More
58 Convert binary data to a line of ASCII characters in base64 coding. The return
68 Convert a block of quoted-printable data back to binary and return the binary
75 Convert binary data to a line(s) of ASCII characters in quoted-printable
88 Convert binhex4 formatted ASCII data to binary, without doing RLE-decompression.
/external/python/cpython2/Doc/library/
Dcolorsys.rst31 Convert the color from RGB coordinates to YIQ coordinates.
36 Convert the color from YIQ coordinates to RGB coordinates.
41 Convert the color from RGB coordinates to HLS coordinates.
46 Convert the color from HLS coordinates to RGB coordinates.
51 Convert the color from RGB coordinates to HSV coordinates.
56 Convert the color from HSV coordinates to RGB coordinates.
Dimageop.rst52 Convert an 8-bit deep greyscale image to a 1-bit deep image by thresholding all
59 Convert an 8-bit greyscale image to a 1-bit monochrome image using a
65 Convert a 1-bit monochrome image to an 8 bit greyscale or color image. All
73 Convert an 8-bit greyscale image to a 4-bit greyscale image without dithering.
78 Convert an 8-bit greyscale image to a 2-bit greyscale image without dithering.
83 Convert an 8-bit greyscale image to a 2-bit greyscale image with dithering. As
89 Convert a 4-bit greyscale image to an 8-bit greyscale image.
94 Convert a 2-bit greyscale image to an 8-bit greyscale image.
Dbinascii.rst2 :mod:`binascii` --- Convert between binary and ASCII
27 Convert a single line of uuencoded data back to binary and return the binary
34 Convert binary data to a line of ASCII characters, the return value is the
41 Convert a block of base64 data back to binary and return the binary data. More
47 Convert binary data to a line of ASCII characters in base64 coding. The return
56 Convert a block of quoted-printable data back to binary and return the binary
63 Convert binary data to a line(s) of ASCII characters in quoted-printable
76 Convert binhex4 formatted ASCII data to binary, without doing RLE-decompression.
/external/webrtc/webrtc/common_audio/
Daudio_converter.cc33 void Convert(const float* const* src, size_t src_size, float* const* dst, in Convert() function in webrtc::CopyConverter
50 void Convert(const float* const* src, size_t src_size, float* const* dst, in Convert() function in webrtc::UpmixConverter
69 void Convert(const float* const* src, size_t src_size, float* const* dst, in Convert() function in webrtc::DownmixConverter
93 void Convert(const float* const* src, size_t src_size, float* const* dst, in Convert() function in webrtc::ResampleConverter
118 void Convert(const float* const* src, size_t src_size, float* const* dst, in Convert() function in webrtc::CompositionConverter
120 converters_.front()->Convert(src, src_size, buffers_.front()->channels(), in Convert()
125 converters_[i]->Convert(src_buffer->channels(), in Convert()
130 converters_.back()->Convert(buffers_.back()->channels(), in Convert()
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddynamic_ops_test.cc133 ->Convert(primitive_util::NativeToPrimitiveType<DataT>()) in RunR1()
137 ->Convert(primitive_util::NativeToPrimitiveType<DataT>()) in RunR1()
159 ->Convert(primitive_util::NativeToPrimitiveType<DataT>()) in RunR2()
163 ->Convert(primitive_util::NativeToPrimitiveType<DataT>()) in RunR2()
185 ->Convert(primitive_util::NativeToPrimitiveType<DataT>()) in RunR3()
189 ->Convert(primitive_util::NativeToPrimitiveType<DataT>()) in RunR3()
351 ->Convert(primitive_util::NativeToPrimitiveType<DataT>()) in RunR1()
355 ->Convert(primitive_util::NativeToPrimitiveType<DataT>()) in RunR1()
359 ->Convert(primitive_util::NativeToPrimitiveType<DataT>()) in RunR1()
382 ->Convert(primitive_util::NativeToPrimitiveType<DataT>()) in RunR2()
[all …]
/external/python/cpython3/Doc/c-api/
Darg.rst68 Convert a Unicode object to a C pointer to a character string.
142 Convert a Python Unicode object to a C pointer to a NUL-terminated buffer of
240 Convert a nonnegative Python integer to an unsigned tiny int, stored in a C
244 Convert a Python integer to a tiny int without overflow checking, stored in a C
248 Convert a Python integer to a C :c:type:`short int`.
251 Convert a Python integer to a C :c:type:`unsigned short int`, without overflow
255 Convert a Python integer to a plain C :c:type:`int`.
258 Convert a Python integer to a C :c:type:`unsigned int`, without overflow
262 Convert a Python integer to a C :c:type:`long int`.
265 Convert a Python integer to a C :c:type:`unsigned long` without
[all …]
/external/tensorflow/tensorflow/core/lib/strings/
Dbase64.cc48 inline uint32 Convert(char x) { in Convert() function
62 const uint32 packed = (Convert(codes[0]) << 18) | (Convert(codes[1]) << 12) | in DecodeThreeChars()
63 (Convert(codes[2]) << 6) | (Convert(codes[3])); in DecodeThreeChars()
/external/python/cpython2/Doc/c-api/
Darg.rst33 Convert a Python string or Unicode object to a C pointer to a character
76 Convert a Python Unicode object to a C pointer to a NUL-terminated buffer
151 Convert a nonnegative Python integer to an unsigned tiny int, stored in a C
155 Convert a Python integer to a tiny int without overflow checking, stored in
161 Convert a Python integer to a C :c:type:`short int`.
164 Convert a Python integer to a C :c:type:`unsigned short int`, without
170 Convert a Python integer to a plain C :c:type:`int`.
173 Convert a Python integer to a C :c:type:`unsigned int`, without overflow
179 Convert a Python integer to a C :c:type:`long int`.
182 Convert a Python integer or long integer to a C :c:type:`unsigned long`
[all …]
/external/v8/src/
Dunicode.h196 static int Convert(uchar c,
204 static int Convert(uchar c,
211 static int Convert(uchar c,
218 static int Convert(uchar c,
225 static int Convert(uchar c,
/external/v8/src/wasm/
Dwasm-opcodes.cc89 CASE_CONVERT_OP(Convert, INT, F32, "f32", "trunc") in OpcodeName()
90 CASE_CONVERT_OP(Convert, INT, F64, "f64", "trunc") in OpcodeName()
91 CASE_CONVERT_OP(Convert, I64, I32, "i32", "extend") in OpcodeName()
92 CASE_CONVERT_OP(Convert, F32, I32, "i32", "convert") in OpcodeName()
93 CASE_CONVERT_OP(Convert, F32, I64, "i64", "convert") in OpcodeName()
95 CASE_CONVERT_OP(Convert, F64, I32, "i32", "convert") in OpcodeName()
96 CASE_CONVERT_OP(Convert, F64, I64, "i64", "convert") in OpcodeName()
187 CASE_CONVERT_OP(Convert, F32x4, I32x4, "i32", "convert") in OpcodeName()
188 CASE_CONVERT_OP(Convert, I32x4, F32x4, "f32", "convert") in OpcodeName()
/external/libmojo/mojo/public/cpp/bindings/
Dtype_converter.h91 static T Convert(const T& obj) { return obj; }
96 static std::vector<T> Convert(const Container& container) {
111 return TypeConverter<T, U>::Convert(obj);
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86GenAsmMatcher.inc1476 Convert,
1587 case Convert:
2867 { X86::AAA, "aaa", Convert, { }, Feature_In32BitMode},
2872 { X86::AAS, "aas", Convert, { }, Feature_In32BitMode},
3092 { X86::CBW, "cbtw", Convert, { }, 0},
3093 { X86::CLC, "clc", Convert, { }, 0},
3094 { X86::CLD, "cld", Convert, { }, 0},
3096 { X86::CLI, "cli", Convert, { }, 0},
3101 { X86::CDQ, "cltd", Convert, { }, 0},
3102 { X86::CDQE, "cltq", Convert, { }, 0},
[all …]
/external/curl/docs/cmdline-opts/
Dcrlf.d2 Help: Convert LF to CRLF in upload
5 Convert LF to CRLF in upload. Useful for MVS (OS/390).

12345678910>>...17