Home
last modified time | relevance | path

Searched refs:GetAsString (Results 1 – 21 of 21) sorted by relevance

/external/libchrome/base/json/
Djson_reader_unittest.cc62 EXPECT_TRUE(root->GetAsString(&value)); in TEST()
218 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
228 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
239 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
250 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
491 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
515 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
525 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
568 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
646 EXPECT_TRUE(dict_string_0->GetAsString(&s)); in TEST()
[all …]
Djson_value_converter.cc17 return value.GetAsString(field); in Convert()
22 return value.GetAsString(field); in Convert()
Djson_parser.cc146 bool GetAsString(std::string* out_value) const override { in GetAsString() function in base::internal::__anon3b7557e10111::JSONStringValue
150 bool GetAsString(string16* out_value) const override { in GetAsString() function in base::internal::__anon3b7557e10111::JSONStringValue
159 return other->IsType(TYPE_STRING) && other->GetAsString(&other_string) && in Equals()
Djson_writer.cc115 bool result = node.GetAsString(&value); in BuildJSONString()
Djson_parser_unittest.cc57 EXPECT_TRUE(value->GetAsString(&str)); in TEST_F()
Djson_value_serializer_unittest.cc390 ASSERT_TRUE(elt && elt->GetAsString(&value)); in TEST()
Djson_value_converter.h226 return value.GetAsString(&string_value) && in Convert()
/external/libchrome/base/
Dvalues.cc96 bool Value::GetAsString(std::string*) const { in GetAsString() function in base::Value
100 bool Value::GetAsString(string16*) const { in GetAsString() function in base::Value
104 bool Value::GetAsString(const StringValue**) const { in GetAsString() function in base::Value
264 bool StringValue::GetAsString(std::string* out_value) const { in GetAsString() function in base::StringValue
270 bool StringValue::GetAsString(string16* out_value) const { in GetAsString() function in base::StringValue
276 bool StringValue::GetAsString(const StringValue** out_value) const { in GetAsString() function in base::StringValue
290 return GetAsString(&lhs) && other->GetAsString(&rhs) && lhs == rhs; in Equals()
527 return value->GetAsString(out_value); in GetString()
536 return value->GetAsString(out_value); in GetString()
666 return value->GetAsString(out_value); in GetStringWithoutPathExpansion()
[all …]
Dvalues.h85 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;
161 bool GetAsString(std::string* out_value) const override;
162 bool GetAsString(string16* out_value) const override;
163 bool GetAsString(const StringValue** out_value) const override;
Dvalues_unittest.cc157 ASSERT_TRUE(narrow_value->GetAsString(&narrow)); in TEST()
158 ASSERT_TRUE(narrow_value->GetAsString(&utf16)); in TEST()
159 ASSERT_TRUE(narrow_value->GetAsString(&string_value)); in TEST()
164 ASSERT_TRUE(utf16_value->GetAsString(&narrow)); in TEST()
165 ASSERT_TRUE(utf16_value->GetAsString(&utf16)); in TEST()
166 ASSERT_TRUE(utf16_value->GetAsString(&string_value)); in TEST()
172 ASSERT_TRUE(narrow_value->GetAsString(static_cast<string16*>(NULL))); in TEST()
173 ASSERT_TRUE(narrow_value->GetAsString(static_cast<std::string*>(NULL))); in TEST()
174 ASSERT_TRUE(narrow_value->GetAsString( in TEST()
489 ASSERT_TRUE(copy_string->GetAsString(&copy_string_value)); in TEST()
[all …]
/external/libchrome/dbus/
Ddbus_statistics.h61 CHROME_DBUS_EXPORT std::string GetAsString(ShowInString show,
Ddbus_statistics.cc181 std::string GetAsString(ShowInString show, FormatString format) { in GetAsString() function
Dvalues_util.cc245 bool success = value.GetAsString(&string_value); in AppendBasicTypeValueData()
/external/libchrome/base/test/
Dtrace_event_analyzer.cc106 if (it.value().GetAsString(&str)) { in SetFromJSON()
286 bool is_str = GetAsString(event, &str_value); in Evaluate()
351 if (!left().GetAsString(event, &lhs) || !right().GetAsString(event, &rhs)) in CompareAsString()
440 bool Query::GetAsString(const TraceEvent& event, std::string* str) const { in GetAsString() function in trace_analyzer::Query
Dtrace_event_analyzer.h603 bool GetAsString(const TraceEvent& event, std::string* str) const;
/external/libchrome/base/trace_event/
Dtrace_event_memory_overhead.cc81 value.GetAsString(&string_value); in AddValue()
Dtrace_event_argument.cc272 value.GetAsString(&string_value); in SetBaseValueWithCopiedName()
326 value.GetAsString(&string_value); in AppendBaseValue()
Dmemory_allocator_dump_unittest.cc82 EXPECT_TRUE(attr_value->GetAsString(&attr_str_value)); in CheckString()
Dtrace_event_unittest.cc235 value->GetAsString(&value_str) && in IsKeyValueInDict()
345 it.value().GetAsString(&value_str); in IsStringInDict()
1544 ASSERT_TRUE(value->GetAsString(&async_begin_id_str)); in TEST_F()
1546 ASSERT_TRUE(value->GetAsString(&async_begin2_id_str)); in TEST_F()
1548 ASSERT_TRUE(value->GetAsString(&async_end_id_str)); in TEST_F()
/external/libbrillo/brillo/
Dvalue_conversion.h47 return in_value.GetAsString(out_value); in FromValue()
/external/libmojo/ipc/
Dipc_message_utils.cc98 value->GetAsString(&result); in GetValueSize()
99 if (value->GetAsString(&result)) { in GetValueSize()
104 bool as_string_result = value->GetAsString(&str); in GetValueSize()
175 result = value->GetAsString(&val); in WriteValue()