/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | time_util_test.cc | 57 EXPECT_EQ("0001-01-01T00:00:00Z", TimeUtil::ToString(begin)); in TEST() 58 EXPECT_EQ("9999-12-31T23:59:59.999999999Z", TimeUtil::ToString(end)); in TEST() 65 EXPECT_EQ("1969-12-31T23:59:59.999999999Z", TimeUtil::ToString(time)); in TEST() 69 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(0))); in TEST() 71 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(10000000))); in TEST() 73 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(10000))); in TEST() 75 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(10))); in TEST() 96 EXPECT_EQ("315537897599.999999999s", TimeUtil::ToString(end - begin)); in TEST() 98 EXPECT_EQ("-315537897599.999999999s", TimeUtil::ToString(begin - end)); in TEST() 102 EXPECT_EQ("1s", TimeUtil::ToString(TimeUtil::SecondsToDuration(1))); in TEST() [all …]
|
D | json_util.cc | 116 loc.ToString() + ": " + message.ToString()); in InvalidName() 123 loc.ToString() + ": invalid value " + value.ToString() + in InvalidValue() 124 " for type " + type_name.ToString()); in InvalidValue() 131 loc.ToString() + ": missing field " + missing_name.ToString()); in MissingField()
|
D | field_mask_util_test.cc | 122 EXPECT_EQ("", FieldMaskUtil::ToString(mask)); in TEST() 124 EXPECT_EQ("foo_bar", FieldMaskUtil::ToString(mask)); in TEST() 126 EXPECT_EQ("foo_bar,baz_quz", FieldMaskUtil::ToString(mask)); in TEST() 247 EXPECT_EQ("bar,baz.quz,foo", FieldMaskUtil::ToString(out)); in TEST() 251 EXPECT_EQ("bar,foo", FieldMaskUtil::ToString(out)); in TEST() 255 EXPECT_EQ("bar,foo.b1,foo.b2", FieldMaskUtil::ToString(out)); in TEST() 264 EXPECT_EQ("foo.bar.baz1,foo.bar.baz2", FieldMaskUtil::ToString(out)); in TEST() 271 EXPECT_EQ("foo.bar.baz1,foo.bar.baz2", FieldMaskUtil::ToString(out)); in TEST() 279 EXPECT_EQ("foo.bar", FieldMaskUtil::ToString(out)); in TEST() 287 EXPECT_EQ("foo", FieldMaskUtil::ToString(out)); in TEST() [all …]
|
D | time_util.h | 79 static string ToString(const Timestamp& timestamp); 88 static string ToString(const Duration& duration); 238 out << google::protobuf::util::TimeUtil::ToString(d); 285 out << google::protobuf::util::TimeUtil::ToString(t);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | status_test.cc | 43 EXPECT_EQ("OK", util::Status::OK.ToString()); in TEST() 55 EXPECT_EQ("OK", status.ToString()); in TEST() 68 EXPECT_EQ("", status.error_message().ToString()); in TEST() 69 EXPECT_EQ("INVALID_ARGUMENT", status.ToString()); in TEST() 72 EXPECT_EQ("msg", status.error_message().ToString()); in TEST() 73 EXPECT_EQ("INVALID_ARGUMENT:msg", status.ToString()); in TEST() 76 EXPECT_EQ("", status.error_message().ToString()); in TEST() 77 EXPECT_EQ("OK", status.ToString()); in TEST() 83 ASSERT_EQ(a.ToString(), b.ToString()); in TEST() 90 ASSERT_EQ(a.ToString(), b.ToString()); in TEST() [all …]
|
D | status.cc | 95 error_message_ = error_message.ToString(); in Status() 114 string Status::ToString() const { in ToString() function in google::protobuf::util::Status 128 os << x.ToString(); in operator <<()
|
D | stringpiece.h | 304 return ToString(); in as_string() 311 string ToString() const { in ToString() function 317 return ToString(); in string() 461 std::string ToString() const { return std::string(data_, size_); } in ToString() function
|
D | statusor.cc | 40 << status.ToString(); in Crash()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | expecting_objectwriter.h | 96 : EXPECT_CALL(*mock_, StartObject(StrEq(name.ToString())))) in StartObject() 112 : EXPECT_CALL(*mock_, StartList(StrEq(name.ToString())))) in StartList() 128 : EXPECT_CALL(*mock_, RenderBool(StrEq(name.ToString()), in RenderBool() 138 : EXPECT_CALL(*mock_, RenderInt32(StrEq(name.ToString()), in RenderInt32() 148 : EXPECT_CALL(*mock_, RenderUint32(StrEq(name.ToString()), in RenderUint32() 158 : EXPECT_CALL(*mock_, RenderInt64(StrEq(name.ToString()), in RenderInt64() 168 : EXPECT_CALL(*mock_, RenderUint64(StrEq(name.ToString()), in RenderUint64() 179 : EXPECT_CALL(*mock_, RenderDouble(StrEq(name.ToString()), in RenderDouble() 190 : EXPECT_CALL(*mock_, RenderFloat(StrEq(name.ToString()), in RenderFloat() 200 TypedEq<StringPiece>(value.ToString()))) in RenderString() [all …]
|
D | datapiece.cc | 203 StatusOr<string> DataPiece::ToString() const { in ToString() function in google::protobuf::util::converter::DataPiece 206 return str_.ToString(); in ToString() 235 return StrCat("\"", str_.ToString(), "\""); in ValueAsStringOrDefault() 244 return default_string.ToString(); in ValueAsStringOrDefault() 249 if (type_ == TYPE_BYTES) return str_.ToString(); in ToBytes() 267 string enum_name = str_.ToString(); in ToEnum() 319 return InvalidArgument(StrCat("\"", str_.ToString(), "\"")); in StringToNumber()
|
D | default_value_objectwriter.cc | 157 string_values_.push_back(new string(value.ToString())); in RenderString() 467 root_.reset(new Node(name.ToString(), &type_, OBJECT, DataPiece::NullData(), in StartObject() 480 name.ToString(), ((current_->kind() == LIST || current_->kind() == MAP) in StartObject() 515 root_.reset(new Node(name.ToString(), &type_, LIST, DataPiece::NullData(), in StartList() 525 new Node(name.ToString(), NULL, LIST, DataPiece::NullData(), false, in StartList() 557 util::StatusOr<string> data_string = data.ToString(); in RenderDataPiece() 583 new Node(name.ToString(), NULL, PRIMITIVE, data, false, in RenderDataPiece()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | DurationPartial.cs | 209 builder.Append(seconds.ToString("d", CultureInfo.InvariantCulture)); in ToJson() 212 return builder.ToString(); in ToJson() 257 builder.Append((nanos / 1000000).ToString("d3", CultureInfo.InvariantCulture)); in AppendNanoseconds() 261 builder.Append((nanos / 1000).ToString("d6", CultureInfo.InvariantCulture)); in AppendNanoseconds() 265 builder.Append(nanos.ToString("d9", CultureInfo.InvariantCulture)); in AppendNanoseconds()
|
D | FieldMaskPartial.cs | 68 return writer.ToString(); in ToJson() 78 return writer.ToString(); in ToJson()
|
D | Wrappers.cs | 129 public override string ToString() { in ToString() method in Google.Protobuf.WellKnownTypes.DoubleValue 254 public override string ToString() { in ToString() method in Google.Protobuf.WellKnownTypes.FloatValue 379 public override string ToString() { in ToString() method in Google.Protobuf.WellKnownTypes.Int64Value 504 public override string ToString() { in ToString() method in Google.Protobuf.WellKnownTypes.UInt64Value 629 public override string ToString() { in ToString() method in Google.Protobuf.WellKnownTypes.Int32Value 754 public override string ToString() { in ToString() method in Google.Protobuf.WellKnownTypes.UInt32Value 879 public override string ToString() { in ToString() method in Google.Protobuf.WellKnownTypes.BoolValue 1004 public override string ToString() { in ToString() method in Google.Protobuf.WellKnownTypes.StringValue 1129 public override string ToString() { in ToString() method in Google.Protobuf.WellKnownTypes.BytesValue
|
/frameworks/base/tools/aapt2/ |
D | DominatorTree_test.cpp | 43 std::string ToString(DominatorTree* tree) { in ToString() function in aapt::__anonf44aa5160111::PrettyPrinter 88 EXPECT_EQ(expected, printer.ToString(&tree)); in TEST() 110 EXPECT_EQ(expected, printer.ToString(&tree)); in TEST() 151 EXPECT_EQ(expected, printer.ToString(&tree)); in TEST() 173 EXPECT_EQ(expected, printer.ToString(&tree)); in TEST()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | AnyTest.cs | 98 var text = any.ToString(); in ToString_WithValues() 106 Assert.AreEqual("{ \"@type\": \"\", \"@value\": \"\" }", any.ToString()); in ToString_Empty() 113 … Assert.AreEqual("{ \"anyField\": { \"@type\": \"\", \"@value\": \"\" } }", message.ToString()); in ToString_MessageContainingAny()
|
D | FieldMaskTest.cs | 47 var text = mask.ToString(); in ToString_Invalid() 59 mask.ToString()); in ToString_Invalid_Precise()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_file.cc | 212 line.ToString() + "'."; in ConsumeLine() 230 map_->find(proto_file.ToString()); in ConsumeLine() 233 << proto_file.ToString() << "' with '" << framework_name.ToString() in ConsumeLine() 240 << proto_file.ToString() << "'" << endl; in ConsumeLine() 244 (*map_)[proto_file.ToString()] = framework_name.ToString(); in ConsumeLine()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/ |
D | JsonFormatterTest.cs | 336 Assert.AreEqual(WrapInQuotes(expected), new Timestamp { Nanos = nanos }.ToString()); in TimestampStandalone() 344 new DateTime(1673, 6, 19, 12, 34, 56, DateTimeKind.Utc).ToTimestamp().ToString()); in TimestampStandalone_FromDateTime() 346 new DateTime(2015, 7, 31, 10, 29, 34, DateTimeKind.Utc).ToTimestamp().ToString()); in TimestampStandalone_FromDateTime() 428 …alse, 'c': 10.5, 'd': 'text', 'e': [ 't1', 5 ], 'f': { 'nested': 'value' } }", message.ToString()); in StructSample() 445 …t.AreEqual("\",single,withUnderscore,nested.field.name,nested..doubleDot\"", fieldMask.ToString()); in FieldMaskStandalone() 449 Assert.AreEqual(@"""x\\y""", fieldMask.ToString()); in FieldMaskStandalone() 574 string actual = writer.ToString(); in AssertWriteValue()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/ |
D | ReadOnlyDictionary.cs | 142 public override string ToString() in ToString() method in Google.Protobuf.Collections.ReadOnlyDictionary 144 return wrapped.ToString(); in ToString()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.cpp | 165 ALOGE("Malformed log, uid not found. %s", event->ToString().c_str()); in mapIsolatedUidToHostUidIfNecessaryLocked() 205 ALOGI("%s", event->ToString().c_str()); in OnLogEvent() 316 VLOG("Updated configuration for key %s", key.ToString().c_str()); in OnConfigUpdatedLocked() 340 ALOGW("Config source %s does not exist", key.ToString().c_str()); in GetMetricsSize() 402 ALOGW("Config source %s does not exist", key.ToString().c_str()); in onDumpReport() 497 ALOGE("Failed to read backup config from disk for : %s", key.ToString().c_str()); in resetConfigsLocked() 566 VLOG("StatsD had to toss out metrics for %s", key.ToString().c_str()); in flushIfNecessaryLocked() 586 VLOG("StatsD triggered data fetch for %s", key.ToString().c_str()); in flushIfNecessaryLocked() 698 ALOGE("No config found for config %s", key.ToString().c_str()); in SetConfigsActiveStateLocked() 701 VLOG("Setting active config %s", key.ToString().c_str()); in SetConfigsActiveStateLocked()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 121 CommonRepresentations[i] = ((char) i).ToString(); in JsonFormatter() 148 return writer.ToString(); in Format() 326 return result.ToString(); in ToCamelCase() 421 writer.Write(formattable.ToString("d", CultureInfo.InvariantCulture)); in WriteValue() 427 writer.Write(formattable.ToString("d", CultureInfo.InvariantCulture)); in WriteValue() 444 string text = ((IFormattable) value).ToString("r", CultureInfo.InvariantCulture); in WriteValue() 708 keyText = ((IFormattable) pair.Key).ToString("d", CultureInfo.InvariantCulture); in WriteDictionary()
|
D | ByteString.cs | 200 public string ToString(Encoding encoding) in ToString() method in Google.Protobuf.ByteString 215 return ToString(Encoding.UTF8); in ToStringUtf8()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/ |
D | RepeatedFieldTest.cs | 694 var text = list.ToString(); in ToString_Integers() 702 var text = list.ToString(); in ToString_Strings() 710 var text = list.ToString(); in ToString_Messages() 718 var text = list.ToString(); in ToString_Empty() 726 Assert.Throws<ArgumentException>(() => list.ToString()); in ToString_InvalidElementType() 733 var text = list.ToString(); in ToString_Timestamp() 742 var text = list.ToString(); in ToString_Struct() 743 Assert.AreEqual(text, "[ { \"foo\": 20 } ]", message.ToString()); in ToString_Struct()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | DescriptorPool.cs | 289 int dotpos = scopeToTry.ToString().LastIndexOf("."); in LookupSymbol() 301 result = FindSymbol<IDescriptor>(scopeToTry.ToString()); in LookupSymbol() 312 result = FindSymbol<IDescriptor>(scopeToTry.ToString()); in LookupSymbol()
|