Home
last modified time | relevance | path

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

12

/external/libchrome/base/json/
Djson_reader_unittest.cc54 EXPECT_TRUE(root->GetAsString(&value)); in TEST()
206 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
215 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
225 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
236 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
466 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
488 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
498 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
544 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
619 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_unittest.cc76 EXPECT_TRUE(value->GetAsString(&str)); in TEST_F()
370 EXPECT_TRUE(value->GetAsString(&str)); in TEST_F()
381 EXPECT_TRUE(value->GetAsString(&str)); in TEST_F()
Djson_writer.cc115 bool result = node.GetAsString(&value); in BuildJSONString()
Djson_value_serializer_unittest.cc388 ASSERT_TRUE(elt && elt->GetAsString(&value)); in TEST()
Djson_value_converter.h225 return value.GetAsString(&string_value) && in Convert()
/external/tensorflow/tensorflow/lite/tools/
Dverifier_test.cc53 string GetAsString() const { return string(buffer_, buffer_size_); } in GetAsString() function in tflite::MockErrorReporter
137 string GetErrorString() { return mock_reporter_.GetAsString(); } in GetErrorString()
169 EXPECT_THAT(mock_reporter.GetAsString(), in TEST()
241 EXPECT_THAT(mock_reporter.GetAsString(), in TEST()
253 EXPECT_THAT(mock_reporter.GetAsString(), in TEST()
328 mock_reporter.GetAsString(), in TEST()
604 EXPECT_THAT(mock_reporter.GetAsString(), in TEST()
628 EXPECT_THAT(mock_reporter.GetAsString(), in TEST()
652 EXPECT_THAT(mock_reporter.GetAsString(), in TEST()
678 EXPECT_THAT(mock_reporter.GetAsString(), in TEST()
/external/libtextclassifier/native/utils/
Dlua-utils_test.cc217 EXPECT_THAT(repeated_strings->GetAsString(0)->str(), Eq("a")); in TEST_F()
218 EXPECT_THAT(repeated_strings->GetAsString(1)->str(), Eq("bold")); in TEST_F()
219 EXPECT_THAT(repeated_strings->GetAsString(2)->str(), Eq("one")); in TEST_F()
/external/tensorflow/tensorflow/lite/core/api/
Dflatbuffer_conversions_test.cc38 string GetAsString() const { return string(buffer_, buffer_size_); } in GetAsString() function in tflite::__anon387682ca0111::MockErrorReporter
91 EXPECT_THAT(mock_reporter_.GetAsString(), in TEST_F()
/external/libchrome/components/policy/core/common/
Dregistry_dict.cc81 (value.GetAsString(&string_value) && in ConvertRegistryValue()
89 if (value.GetAsString(&string_value) && in ConvertRegistryValue()
99 (value.GetAsString(&string_value) && in ConvertRegistryValue()
127 if (value.GetAsString(&string_value)) { in ConvertRegistryValue()
Dschema.cc680 if (!it->GetAsString(&value)) { in ParseEnum()
903 } else if (value.GetAsString(&str_value)) { in Validate()
/external/libchrome/base/
Dvalues.cc472 bool Value::GetAsString(std::string* out_value) const { in GetAsString() function in base::Value
480 bool Value::GetAsString(string16* out_value) const { in GetAsString() function in base::Value
488 bool Value::GetAsString(const Value** out_value) const { in GetAsString() function in base::Value
496 bool Value::GetAsString(StringPiece* out_value) const { in GetAsString() function in base::Value
862 return value->GetAsString(out_value); in GetString()
870 return value->GetAsString(out_value); in GetString()
998 return value->GetAsString(out_value); in GetStringWithoutPathExpansion()
1007 return value->GetAsString(out_value); in GetStringWithoutPathExpansion()
1235 return value->GetAsString(out_value); in GetString()
1243 return value->GetAsString(out_value); in GetString()
Dvalues.h315 bool GetAsString(std::string* out_value) const;
316 bool GetAsString(string16* out_value) const;
317 bool GetAsString(const Value** out_value) const;
318 bool GetAsString(StringPiece* out_value) const;
Dvalues_unittest.cc823 ASSERT_TRUE(narrow_value->GetAsString(&narrow)); in TEST()
824 ASSERT_TRUE(narrow_value->GetAsString(&utf16)); in TEST()
825 ASSERT_TRUE(narrow_value->GetAsString(&string_value)); in TEST()
830 ASSERT_TRUE(utf16_value->GetAsString(&narrow)); in TEST()
831 ASSERT_TRUE(utf16_value->GetAsString(&utf16)); in TEST()
832 ASSERT_TRUE(utf16_value->GetAsString(&string_value)); in TEST()
838 ASSERT_TRUE(narrow_value->GetAsString(static_cast<string16*>(nullptr))); in TEST()
839 ASSERT_TRUE(narrow_value->GetAsString(static_cast<std::string*>(nullptr))); in TEST()
840 ASSERT_TRUE(narrow_value->GetAsString(static_cast<const Value**>(nullptr))); in TEST()
1128 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.cc162 std::string GetAsString(ShowInString show, FormatString format) { in GetAsString() function
Dvalues_util.cc242 bool success = value.GetAsString(&string_value); in AppendBasicTypeValueData()
/external/libbrillo/brillo/imageloader/
Dmanifest.cc54 if (!it.value().GetAsString(&parsed_value)) { in ParseMetadata()
/external/libbrillo/brillo/
Dvalue_conversion.h47 return in_value.GetAsString(out_value); in FromValue()
/external/libchrome/components/json_schema/
Djson_schema_validator.cc114 it.value().GetAsString(&string_value); in IsValidSchema()
769 CHECK(instance->GetAsString(&value)); in ValidateString()
/external/google-benchmark/src/
Dsysinfo.cc115 std::string GetAsString() const { return std::string(data()); } in GetAsString() function
/external/libcxx/utils/google-benchmark/src/
Dsysinfo.cc112 std::string GetAsString() const { return std::string(data()); } in GetAsString() function
/external/tensorflow/tensorflow/compiler/xla/
Dliteral.cc782 string LiteralBase::GetAsString(absl::Span<const int64> multi_index, in GetAsString() function in xla::LiteralBase
1035 elem = literal.GetAsString(*accum_indices, shape_index); in DenseArrayToStringHelper()
1116 per_cell(indices, GetAsString(indices)); in EachCellAsString()
Dliteral.h121 string GetAsString(absl::Span<const int64> multi_index,
/external/flatbuffers/tests/
Dtest.cpp2194 auto other = cs->GetAsString(3); in UnionVectorTest()
2196 auto unused = cs->GetAsString(4); in UnionVectorTest()

12