Home
last modified time | relevance | path

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

123456789

/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.h114 virtual bool Convert(const base::Value& value, FieldType* field) const = 0;
129 return value_converter_->Convert(value, &(dst->*field_pointer_)); in ConvertField()
146 bool Convert(const base::Value& value, int* field) const override;
158 bool Convert(const base::Value& value, std::string* field) const override;
170 bool Convert(const base::Value& value, string16* field) const override;
181 bool Convert(const base::Value& value, double* field) const override;
192 bool Convert(const base::Value& value, bool* field) const override;
206 bool Convert(const base::Value& value, FieldType* field) const override { in Convert() function
224 bool Convert(const base::Value& value, FieldType* field) const override { in Convert() function
241 bool Convert(const base::Value& value, NestedType* field) const override { 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()
Djson_parser.cc325 void JSONParser::StringBuilder::Convert() { in Convert() function in base::internal::JSONParser::StringBuilder
343 Convert(); in AsString()
608 string.Convert(); in ConsumeString()
640 string.Convert(); in ConsumeStringRaw()
817 dest->Convert(); in DecodeUTF8()
/external/llvm/tools/yaml2obj/
Dyaml2obj.cpp66 ConvertFuncPtr Convert) { in convertYAML() argument
70 return Convert(YIn, Out); in convertYAML()
100 ConvertFuncPtr Convert = nullptr; in main() local
102 Convert = yaml2coff; in main()
104 Convert = yaml2elf; in main()
112 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() argument
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/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);
Dcompile.h60 using fst::Convert; in CompileFst()
71 fst = Convert<Arc>(*fst, args->fst_type); in CompileFst()
Dfst-class.h232 static FstClassImplBase *Convert(const FstClass &other) { in Convert() function
325 static FstClassImplBase *Convert(const FstClass &other) { in Convert() function
369 static FstClassImplBase *Convert(const FstClass &other) { in Convert() function
/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/v8/src/
Dunicode.h189 static int Convert(uchar c,
197 static int Convert(uchar c,
204 static int Convert(uchar c,
211 static int Convert(uchar c,
218 static int Convert(uchar c,
/external/openfst/src/include/fst/
Dregister.h104 &FstRegisterer<F>::Convert); in BuildEntry()
107 static Fst<Arc> *Convert(const Fst<Arc> &fst) { return new F(fst); } in Convert() function
118 Fst<A> *Convert(const Fst<A> &fst, const string &ftype) { in Convert() function
/external/llvm/test/CodeGen/AArch64/
Dmul_pow2.ll3 ; Convert mul x, pow2 to shift.
4 ; Convert mul x, pow2 +/- 1 to shift + add/sub.
64 ; Convert mul x, -pow2 to shift.
65 ; Convert mul x, -(pow2 +/- 1) to shift + add/sub.
/external/libyuv/files/
DREADME.md4 * Convert to YUV from webcam formats.
5 * Convert from YUV to formats for rendering/effects.
/external/llvm/lib/Target/ARM/
DARMScheduleV6.td210 // Single to Double FP Convert
213 // Double to Single FP Convert
216 // Single-Precision FP to Integer Convert
219 // Double-Precision FP to Integer Convert
222 // Integer to Single-Precision FP Convert
225 // Integer to Double-Precision FP Convert
/external/llvm/test/CodeGen/SystemZ/
Dfp-conv-12.ll6 ; they were added in z196 as the Convert to Logical family of instructions.
7 ; Convert via signed i64s instead.
/external/llvm/test/Transforms/InstCombine/
Dcast-set.ll10 ; Convert to setne int %X, 12
21 ; Convert to setne int %X, %Y
/external/llvm/test/MC/Disassembler/Hexagon/
Dxtype_fp.txt32 # Convert floating-point value to other format
38 # Convert integer to floating-point value
56 # Convert floating-point value to integer
/external/libweave/third_party/chromium/base/json/
Djson_parser.cc320 void JSONParser::StringBuilder::Convert() { in Convert() function in base::internal::JSONParser::StringBuilder
338 Convert(); in AsString()
603 string.Convert(); in ConsumeString()
635 string.Convert(); in ConsumeStringRaw()
812 dest->Convert(); in DecodeUTF8()
/external/clang/test/Sema/
Dwarn-double-promotion.c27 void Convert(float f, double d, long double ld) { in Convert() function
/external/lzma/CPP/7zip/Compress/
DBranchMisc.cpp11 { return (UInt32)::name ## Convert(data, size, _bufferPos, coderNum); }
/external/clang/test/SemaCXX/
Dwarn-float-conversion.cpp19 void Convert(float f, double d, long double ld) { in Convert() function
/external/libweave/third_party/chromium/base/strings/
Dstring_number_conversions.cc63 static bool Convert(CHAR c, uint8_t* digit) { in Convert() function in base::__anon353a660a0111::BaseCharToDigit
75 static bool Convert(CHAR c, uint8_t* digit) { in Convert() function in base::__anon353a660a0111::BaseCharToDigit
91 return BaseCharToDigit<CHAR, BASE, BASE <= 10>::Convert(c, digit); in CharToDigit()

123456789