Searched refs:out_value (Results 1 - 14 of 14) sorted by relevance

/external/libchrome/base/
H A Dvalues.cc180 bool FundamentalValue::GetAsBoolean(bool* out_value) const {
181 if (out_value && IsType(TYPE_BOOLEAN))
182 *out_value = boolean_value_;
186 bool FundamentalValue::GetAsInteger(int* out_value) const {
187 if (out_value && IsType(TYPE_INTEGER))
188 *out_value = integer_value_;
192 bool FundamentalValue::GetAsDouble(double* out_value) const {
193 if (out_value && IsType(TYPE_DOUBLE))
194 *out_value = double_value_;
195 else if (out_value
355 GetAsDictionary(DictionaryValue** out_value) argument
488 Get(StringPiece path, Value** out_value) argument
567 GetBinary(const std::string& path, BinaryValue** out_value) argument
587 GetDictionary(StringPiece path, DictionaryValue** out_value) argument
607 GetList(const std::string& path, ListValue** out_value) argument
625 GetWithoutPathExpansion(const std::string& key, Value** out_value) argument
692 GetDictionaryWithoutPathExpansion( const std::string& key, DictionaryValue** out_value) argument
716 GetListWithoutPathExpansion(const std::string& key, ListValue** out_value) argument
724 Remove(const std::string& path, std::unique_ptr<Value>* out_value) argument
741 RemoveWithoutPathExpansion( const std::string& key, std::unique_ptr<Value>* out_value) argument
755 RemovePath(const std::string& path, std::unique_ptr<Value>* out_value) argument
904 Get(size_t index, Value** out_value) argument
962 GetBinary(size_t index, BinaryValue** out_value) argument
981 GetDictionary(size_t index, DictionaryValue** out_value) argument
999 GetList(size_t index, ListValue** out_value) argument
1005 Remove(size_t index, std::unique_ptr<Value>* out_value) argument
1030 Erase(iterator iter, std::unique_ptr<Value>* out_value) argument
1113 GetAsList(ListValue** out_value) argument
[all...]
H A Dvalues.h80 // returned through the |out_value| parameter and true is returned;
81 // otherwise, false is returned and |out_value| is unchanged.
82 virtual bool GetAsBoolean(bool* out_value) const;
83 virtual bool GetAsInteger(int* out_value) const;
84 virtual bool GetAsDouble(double* out_value) const;
85 virtual bool GetAsString(std::string* out_value) const;
86 virtual bool GetAsString(string16* out_value) const;
87 virtual bool GetAsString(const StringValue** out_value) const;
88 virtual bool GetAsBinary(const BinaryValue** out_value) const;
89 virtual bool GetAsList(ListValue** out_value);
[all...]
H A Dpickle_unittest.cc568 int out_value; local
569 EXPECT_TRUE(iter.ReadInt(&out_value));
570 EXPECT_EQ(42, out_value);
/external/libbrillo/brillo/
H A Dvalue_conversion.h34 inline bool FromValue(const base::Value& in_value, bool* out_value) { argument
35 return in_value.GetAsBoolean(out_value);
38 inline bool FromValue(const base::Value& in_value, int* out_value) { argument
39 return in_value.GetAsInteger(out_value);
42 inline bool FromValue(const base::Value& in_value, double* out_value) { argument
43 return in_value.GetAsDouble(out_value);
46 inline bool FromValue(const base::Value& in_value, std::string* out_value) { argument
47 return in_value.GetAsString(out_value);
51 const base::ListValue** out_value) {
52 return in_value.GetAsList(out_value);
50 FromValue(const base::Value& in_value, const base::ListValue** out_value) argument
55 FromValue(const base::Value& in_value, const base::DictionaryValue** out_value) argument
70 FromValue(const base::Value& in_value, std::vector<T, Alloc>* out_value) argument
86 FromValue(const base::Value& in_value, std::map<std::string, T, Pred, Alloc>* out_value) argument
[all...]
H A Dvalue_conversion.cc23 std::unique_ptr<base::ListValue>* out_value) {
27 out_value->reset(list->DeepCopy());
32 std::unique_ptr<base::DictionaryValue>* out_value) {
36 out_value->reset(dict->DeepCopy());
22 FromValue(const base::Value& in_value, std::unique_ptr<base::ListValue>* out_value) argument
31 FromValue(const base::Value& in_value, std::unique_ptr<base::DictionaryValue>* out_value) argument
/external/avb/libavb/
H A Davb_property_descriptor.h94 * returned in |out_value|.
100 uint64_t* out_value)
H A Davb_property_descriptor.c139 uint64_t* out_value) {
179 if (out_value != NULL) {
180 *out_value = parsed_val;
135 avb_property_lookup_uint64(const uint8_t* image_data, size_t image_size, const char* key, size_t key_size, uint64_t* out_value) argument
/external/boringssl/src/crypto/test/
H A Dfile_test.h97 // GetAttribute looks up the attribute with key |key|. It sets |*out_value| to
100 bool GetAttribute(std::string *out_value, const std::string &key);
H A Dfile_test.cc156 bool FileTest::GetAttribute(std::string *out_value, const std::string &key) { argument
163 *out_value = iter->second;
/external/libchrome/base/trace_event/
H A Dmemory_allocator_dump_unittest.cc64 const Value* out_value = nullptr; local
71 EXPECT_TRUE(arg->Get("value", &out_value));
72 return out_value ? out_value->CreateDeepCopy() : std::unique_ptr<Value>();
/external/libchrome/base/json/
H A Djson_parser.cc146 bool GetAsString(std::string* out_value) const override {
147 string_piece_.CopyToString(out_value);
150 bool GetAsString(string16* out_value) const override {
151 *out_value = UTF8ToUTF16(string_piece_);
/external/v8/src/compiler/
H A Dcode-assembler.cc144 bool CodeAssembler::ToInt32Constant(Node* node, int32_t& out_value) { argument
149 out_value = static_cast<int32_t>(m.Value());
156 bool CodeAssembler::ToInt64Constant(Node* node, int64_t& out_value) { argument
158 if (m.HasValue()) out_value = m.Value();
162 bool CodeAssembler::ToSmiConstant(Node* node, Smi*& out_value) { argument
170 out_value = Smi::cast(bit_cast<Object*>(m.Value()));
176 bool CodeAssembler::ToIntPtrConstant(Node* node, intptr_t& out_value) { argument
178 if (m.HasValue()) out_value = m.Value();
H A Dcode-assembler.h237 bool ToInt32Constant(Node* node, int32_t& out_value);
238 bool ToInt64Constant(Node* node, int64_t& out_value);
239 bool ToSmiConstant(Node* node, Smi*& out_value);
240 bool ToIntPtrConstant(Node* node, intptr_t& out_value);
/external/protobuf/python/google/protobuf/
H A Dtext_format.py304 out_value = value.encode('utf-8')
306 out_value = value
312 out.write(text_encoding.CEscape(out_value, out_as_utf8))

Completed in 272 milliseconds