HomeSort by relevance Sort by last modified time
    Searched refs:Convert (Results 1 - 25 of 101) sorted by null

1 2 3 4 5

  /external/libchrome/base/json/
json_value_converter.cc 10 bool BasicValueConverter<int>::Convert(
15 bool BasicValueConverter<std::string>::Convert(
20 bool BasicValueConverter<string16>::Convert(
25 bool BasicValueConverter<double>::Convert(
30 bool BasicValueConverter<bool>::Convert(
json_value_converter.h 47 // 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
75 // and specify a function to convert a StringPiece to your type.
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
    [all...]
json_value_converter_unittest.cc 112 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));
json_parser.h 110 // 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.
  /toolchain/binutils/binutils-2.25/elfcpp/
elfcpp.h 1036 { return Convert<16, big_endian>::convert_host(this->p_->e_type); }
1040 { return Convert<16, big_endian>::convert_host(this->p_->e_machine); }
1044 { return Convert<32, big_endian>::convert_host(this->p_->e_version); }
1048 { return Convert<size, big_endian>::convert_host(this->p_->e_entry); }
1052 { return Convert<size, big_endian>::convert_host(this->p_->e_phoff); }
1056 { return Convert<size, big_endian>::convert_host(this->p_->e_shoff); }
1060 { return Convert<32, big_endian>::convert_host(this->p_->e_flags); }
1064 { return Convert<16, big_endian>::convert_host(this->p_->e_ehsize); }
1068 { return Convert<16, big_endian>::convert_host(this->p_->e_phentsize); }
1072 { return Convert<16, big_endian>::convert_host(this->p_->e_phnum);
    [all...]
elfcpp_swap.h 201 // Convert is a template based on size and on whether the target is
207 struct Convert
233 { return Convert<size, big_endian>::convert_host(*wv); }
237 { *wv = Convert<size, big_endian>::convert_host(v); }
  /external/llvm/tools/yaml2obj/
yaml2obj.cpp 1 //===- 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);
  /external/autotest/client/site_tests/power_LoadTest/extension/
params.js 5 // Convert seconds to milliseconds
10 // Convert minutes to milliseconds
time.js 5 // Convert seconds to milliseconds
10 // Convert minutes to milliseconds
  /external/clang/test/Sema/
warn-double-promotion.c 27 void Convert(float f, double d, long double ld) {
  /external/lzma/CPP/7zip/Compress/
BranchMisc.cpp 11 { return (UInt32)::name ## Convert(data, size, _bufferPos, coderNum); }
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
p7-0x.cpp 35 struct Convert {
36 constexpr Convert(T v) : v(v) {}
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}}
p7-cxx11-nowarn.cpp 36 struct Convert {
37 constexpr Convert(T v) : v(v) {}
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/
warn-float-conversion.cpp 19 void Convert(float f, double d, long double ld) {
  /external/webrtc/webrtc/common_audio/
audio_converter.cc 33 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(),
audio_converter.h 35 // Convert |src|, containing |src_size| samples, to |dst|, having a sample
39 virtual void Convert(const float* const* src, size_t src_size,
  /external/v8/src/
unicode.h 184 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,
arguments.cc 21 return Utils::Convert<Object, V>(Handle<Object>(handle));
  /external/opencv3/modules/imgproc/perf/opencl/
perf_3vs4.cpp 20 Pure = 0, Split, Convert
23 CV_ENUM(Modes, Pure, Split, Convert)
65 else if (mode == Convert)
119 else if (mode == Convert)
  /external/libweave/third_party/chromium/base/json/
json_parser.h 110 // 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.
  /external/webrtc/talk/media/base/
screencastid.h 93 static cricket::ScreencastIdList Convert(const std::vector<T>& list) {
  /external/opencv3/modules/cudaarithm/test/
test_stream.cpp 118 CUDA_TEST_P(Async, Convert)
  /frameworks/rs/api/
rs_convert.spec 20 The functions below convert from a numerical vector type to another, or from one color
32 summary: Convert numerical vectors
162 summary: Convert a YUV value to RGBA
  /cts/tests/signature/api/
Android.mk 33 @echo "Convert API file $@"
  /external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/
util.js 40 * Convert underscores and dashes to camelCase.

Completed in 571 milliseconds

1 2 3 4 5