Home
last modified time | relevance | path

Searched refs:FieldValuePrinter (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/src/google/protobuf/
Dtext_format.h95 class LIBPROTOBUF_EXPORT FieldValuePrinter {
97 FieldValuePrinter();
98 virtual ~FieldValuePrinter();
122 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldValuePrinter);
187 void SetDefaultFieldValuePrinter(const FieldValuePrinter* printer);
214 const FieldValuePrinter* printer);
271 scoped_ptr<const FieldValuePrinter> default_field_value_printer_;
273 const FieldValuePrinter*> CustomPrinterMap;
Dtext_format.cc1251 TextFormat::FieldValuePrinter::FieldValuePrinter() {} in FieldValuePrinter() function in google::protobuf::TextFormat::FieldValuePrinter
1252 TextFormat::FieldValuePrinter::~FieldValuePrinter() {} in ~FieldValuePrinter()
1253 string TextFormat::FieldValuePrinter::PrintBool(bool val) const { in PrintBool()
1256 string TextFormat::FieldValuePrinter::PrintInt32(int32 val) const { in PrintInt32()
1259 string TextFormat::FieldValuePrinter::PrintUInt32(uint32 val) const { in PrintUInt32()
1262 string TextFormat::FieldValuePrinter::PrintInt64(int64 val) const { in PrintInt64()
1265 string TextFormat::FieldValuePrinter::PrintUInt64(uint64 val) const { in PrintUInt64()
1268 string TextFormat::FieldValuePrinter::PrintFloat(float val) const { in PrintFloat()
1271 string TextFormat::FieldValuePrinter::PrintDouble(double val) const { in PrintDouble()
1274 string TextFormat::FieldValuePrinter::PrintString(const string& val) const { in PrintString()
[all …]
Dtext_format_unittest.cc392 class CustomUInt32FieldValuePrinter : public TextFormat::FieldValuePrinter {
395 return StrCat(FieldValuePrinter::PrintUInt32(val), "u"); in PrintUInt32()
416 class CustomInt32FieldValuePrinter : public TextFormat::FieldValuePrinter {
419 return StrCat("value-is(", FieldValuePrinter::PrintInt32(val), ")"); in PrintInt32()
446 TextFormat::FieldValuePrinter my_field_printer; in TEST_F()
451 class CustomMessageFieldValuePrinter : public TextFormat::FieldValuePrinter {
454 return StrCat(FieldValuePrinter::PrintInt32(v), " # x", ToHex(v)); in PrintInt32()
501 class CustomMultilineCommentPrinter : public TextFormat::FieldValuePrinter {
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1247 class PythonFieldValuePrinter : public google::protobuf::TextFormat::FieldValuePrinter { in CheckAndGetInteger()