Searched refs:Convert (Results 1 - 25 of 65) sorted by relevance

123

/external/libchrome/base/json/
H A Djson_value_converter.cc10 bool BasicValueConverter<int>::Convert( function in class:base::internal::BasicValueConverter
15 bool BasicValueConverter<std::string>::Convert( function in class:base::internal::BasicValueConverter
20 bool BasicValueConverter<string16>::Convert( function in class:base::internal::BasicValueConverter
25 bool BasicValueConverter<double>::Convert( function in class:base::internal::BasicValueConverter
30 bool BasicValueConverter<bool>::Convert( function in class:base::internal::BasicValueConverter
H A Djson_value_converter.h47 // Convert() method.
50 // converter.Convert(json, &message);
52 // Convert() returns false when it fails. Here "fail" means that the value is
55 // Also note that Convert() will modify the passed |message| even when it
114 virtual bool Convert(const base::Value& value, FieldType* field) const = 0;
129 return value_converter_->Convert(value, &(dst->*field_pointer_));
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(cons
489 bool Convert(const base::Value& value, StructType* output) const { function in class:base::JSONValueConverter
[all...]
H A Djson_value_converter_unittest.cc112 EXPECT_TRUE(converter.Convert(*value.get(), &message));
154 EXPECT_TRUE(converter.Convert(*value.get(), &message));
196 EXPECT_FALSE(converter.Convert(*value.get(), &message));
198 // Convert() even it fails.
212 // Convert() still succeeds even if the input doesn't have "bar" field.
213 EXPECT_TRUE(converter.Convert(*value.get(), &message));
235 EXPECT_FALSE(converter.Convert(*value.get(), &message));
252 EXPECT_FALSE(converter.Convert(*value.get(), &message));
H A Djson_parser.h110 // Appends a string to the std::string. Must be Convert()ed to use.
116 void Convert();
135 // The copied string representation. NULL until Convert() is called.
H A Djson_parser.cc325 void JSONParser::StringBuilder::Convert() { function in class:base::internal::JSONParser::StringBuilder
343 Convert();
608 string.Convert();
640 string.Convert();
817 dest->Convert();
/external/llvm/tools/yaml2obj/
H A Dyaml2obj.cpp1 //===- yaml2obj - Convert YAML to a binary object file --------------------===//
66 ConvertFuncPtr Convert) {
70 return Convert(YIn, Out);
100 ConvertFuncPtr Convert = nullptr;
102 Convert = yaml2coff;
104 Convert = yaml2elf;
112 int Res = convertYAML(YIn, Out->os(), Convert);
65 convertYAML(yaml::Input &YIn, raw_ostream &Out, ConvertFuncPtr Convert) argument
/external/clang/test/Sema/
H A Dwarn-double-promotion.c27 void Convert(float f, double d, long double ld) { function
/external/lzma/CPP/7zip/Compress/
H A DBranchMisc.cpp11 { return (UInt32)::name ## Convert(data, size, _bufferPos, coderNum); }
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
H A Dp7-0x.cpp35 struct Convert { struct
36 constexpr Convert(T v) : v(v) {} function in struct:Convert
40 template<typename T> Convert<T> ConvertVar();
58 Agg<char> ce1 = { Convert<float>(1.0) }; // expected-error {{type 'float' cannot be narrowed to 'char'}} expected-note {{silence}}
107 Agg<float> ce1 = { Convert<double>(1e300) }; // expected-error {{constant expression evaluates to 1.000000e+300 which cannot be narrowed to type 'float'}} expected-note {{silence}}
128 Agg<float> ce1 = { Convert<int>(123456789) }; // expected-error {{constant expression evaluates to 123456789 which cannot be narrowed to type 'float'}} expected-note {{silence}}
172 Agg<short> ce1 = { Convert<int>(100000) }; // expected-error {{constant expression evaluates to 100000 which cannot be narrowed to type 'short'}} expected-note {{silence}} expected-warning {{changes value from 100000 to -31072}}
H A Dp7-cxx11-nowarn.cpp36 struct Convert { struct
37 constexpr Convert(T v) : v(v) {} function in struct:Convert
41 template<typename T> Convert<T> ConvertVar();
59 Agg<char> ce1 = { Convert<float>(1.0) }; // expected-warning {{type 'float' cannot be narrowed to 'char'}} expected-note {{silence}}
105 Agg<float> ce1 = { Convert<double>(1e300) }; // expected-warning {{constant expression evaluates to 1.000000e+300 which cannot be narrowed to type 'float'}} expected-note {{silence}}
126 Agg<float> ce1 = { Convert<int>(123456789) }; // expected-warning {{constant expression evaluates to 123456789 which cannot be narrowed to type 'float'}} expected-note {{silence}}
170 Agg<short> ce1 = { Convert<int>(100000) }; // expected-warning {{constant expression evaluates to 100000 which cannot be narrowed to type 'short'}} expected-note {{silence}} expected-warning {{changes value from 100000 to -31072}}
/external/clang/test/SemaCXX/
H A Dwarn-float-conversion.cpp19 void Convert(float f, double d, long double ld) { function
/external/webrtc/webrtc/common_audio/
H A Daudio_converter.cc33 void Convert(const float* const* src, size_t src_size, float* const* dst,
50 void Convert(const float* const* src, size_t src_size, float* const* dst,
69 void Convert(const float* const* src, size_t src_size, float* const* dst,
93 void Convert(const float* const* src, size_t src_size, float* const* dst,
118 void Convert(const float* const* src, size_t src_size, float* const* dst,
120 converters_.front()->Convert(src, src_size, buffers_.front()->channels(),
125 converters_[i]->Convert(src_buffer->channels(),
130 converters_.back()->Convert(buffers_.back()->channels(),
H A Daudio_converter.h35 // Convert |src|, containing |src_size| samples, to |dst|, having a sample
39 virtual void Convert(const float* const* src, size_t src_size,
H A Daudio_converter_unittest.cc137 converter->Convert(src_buffer->channels(), src_buffer->size(),
/external/v8/src/
H A Dunicode.h184 static int Convert(uchar c,
192 static int Convert(uchar c,
199 static int Convert(uchar c,
206 static int Convert(uchar c,
213 static int Convert(uchar c,
H A Darguments.cc21 return Utils::Convert<Object, V>(Handle<Object>(handle));
H A Dunicode-inl.h45 int length = T::Convert(c, n, result, &allow_caching);
/external/opencv3/modules/imgproc/perf/opencl/
H A Dperf_3vs4.cpp20 Pure = 0, Split, Convert enumerator in enum:cvtest::ocl::__anon15605
23 CV_ENUM(Modes, Pure, Split, Convert)
65 else if (mode == Convert)
119 else if (mode == Convert)
/external/webrtc/talk/media/base/
H A Dscreencastid.h93 static cricket::ScreencastIdList Convert(const std::vector<T>& list) { function in class:cricket::ScreencastId
/external/libweave/third_party/chromium/base/strings/
H A Dstring_number_conversions.cc63 static bool Convert(CHAR c, uint8_t* digit) { function in class:base::__anon11291::BaseCharToDigit
75 static bool Convert(CHAR c, uint8_t* digit) { function in class:base::__anon11291::BaseCharToDigit
91 return BaseCharToDigit<CHAR, BASE, BASE <= 10>::Convert(c, digit);
/external/libweave/third_party/chromium/base/json/
H A Djson_parser.h110 // Appends a string to the std::string. Must be Convert()ed to use.
116 void Convert();
135 // The copied string representation. NULL until Convert() is called.
H A Djson_parser.cc320 void JSONParser::StringBuilder::Convert() { function in class:base::internal::JSONParser::StringBuilder
338 Convert();
603 string.Convert();
635 string.Convert();
812 dest->Convert();
/external/opencv3/modules/cudaarithm/test/
H A Dtest_stream.cpp118 CUDA_TEST_P(Async, Convert)
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h101 /// Convert - Create a new persistent APSInt with the same value as 'From'
103 const llvm::APSInt &Convert(const llvm::APSInt& To, function in class:clang::ento::BasicValueFactory
112 const llvm::APSInt &Convert(QualType T, const llvm::APSInt &From) { function in class:clang::ento::BasicValueFactory
/external/libchrome/base/strings/
H A Dstring_number_conversions.cc64 static bool Convert(CHAR c, uint8_t* digit) { function in class:base::__anon9089::BaseCharToDigit
76 static bool Convert(CHAR c, uint8_t* digit) { function in class:base::__anon9089::BaseCharToDigit
92 return BaseCharToDigit<CHAR, BASE, BASE <= 10>::Convert(c, digit);

Completed in 2346 milliseconds

123