FD 1578 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("double" , GetTypeNameForFieldType(FD::TYPE_DOUBLE )); FD 1579 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("float" , GetTypeNameForFieldType(FD::TYPE_FLOAT )); FD 1580 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("int64" , GetTypeNameForFieldType(FD::TYPE_INT64 )); FD 1581 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("uint64" , GetTypeNameForFieldType(FD::TYPE_UINT64 )); FD 1582 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("int32" , GetTypeNameForFieldType(FD::TYPE_INT32 )); FD 1583 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("fixed64" , GetTypeNameForFieldType(FD::TYPE_FIXED64 )); FD 1584 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("fixed32" , GetTypeNameForFieldType(FD::TYPE_FIXED32 )); FD 1585 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("bool" , GetTypeNameForFieldType(FD::TYPE_BOOL )); FD 1586 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("string" , GetTypeNameForFieldType(FD::TYPE_STRING )); FD 1587 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("group" , GetTypeNameForFieldType(FD::TYPE_GROUP )); FD 1588 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("message" , GetTypeNameForFieldType(FD::TYPE_MESSAGE )); FD 1589 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("bytes" , GetTypeNameForFieldType(FD::TYPE_BYTES )); FD 1590 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("uint32" , GetTypeNameForFieldType(FD::TYPE_UINT32 )); FD 1591 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("enum" , GetTypeNameForFieldType(FD::TYPE_ENUM )); FD 1592 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("sfixed32", GetTypeNameForFieldType(FD::TYPE_SFIXED32)); FD 1593 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("sfixed64", GetTypeNameForFieldType(FD::TYPE_SFIXED64)); FD 1594 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("sint32" , GetTypeNameForFieldType(FD::TYPE_SINT32 )); FD 1595 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("sint64" , GetTypeNameForFieldType(FD::TYPE_SINT64 )); FD 1603 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_DOUBLE , GetCppTypeForFieldType(FD::TYPE_DOUBLE )); FD 1604 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_FLOAT , GetCppTypeForFieldType(FD::TYPE_FLOAT )); FD 1605 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_INT64 , GetCppTypeForFieldType(FD::TYPE_INT64 )); FD 1606 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_UINT64 , GetCppTypeForFieldType(FD::TYPE_UINT64 )); FD 1607 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_INT32 , GetCppTypeForFieldType(FD::TYPE_INT32 )); FD 1608 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_UINT64 , GetCppTypeForFieldType(FD::TYPE_FIXED64 )); FD 1609 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_UINT32 , GetCppTypeForFieldType(FD::TYPE_FIXED32 )); FD 1610 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_BOOL , GetCppTypeForFieldType(FD::TYPE_BOOL )); FD 1611 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_STRING , GetCppTypeForFieldType(FD::TYPE_STRING )); FD 1612 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_MESSAGE, GetCppTypeForFieldType(FD::TYPE_GROUP )); FD 1613 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_MESSAGE, GetCppTypeForFieldType(FD::TYPE_MESSAGE )); FD 1614 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_STRING , GetCppTypeForFieldType(FD::TYPE_BYTES )); FD 1615 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_UINT32 , GetCppTypeForFieldType(FD::TYPE_UINT32 )); FD 1616 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_ENUM , GetCppTypeForFieldType(FD::TYPE_ENUM )); FD 1617 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_INT32 , GetCppTypeForFieldType(FD::TYPE_SFIXED32)); FD 1618 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_INT64 , GetCppTypeForFieldType(FD::TYPE_SFIXED64)); FD 1619 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_INT32 , GetCppTypeForFieldType(FD::TYPE_SINT32 )); FD 1620 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FD::CPPTYPE_INT64 , GetCppTypeForFieldType(FD::TYPE_SINT64 )); FD 1628 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("double" , GetCppTypeNameForFieldType(FD::TYPE_DOUBLE )); FD 1629 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("float" , GetCppTypeNameForFieldType(FD::TYPE_FLOAT )); FD 1630 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("int64" , GetCppTypeNameForFieldType(FD::TYPE_INT64 )); FD 1631 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("uint64" , GetCppTypeNameForFieldType(FD::TYPE_UINT64 )); FD 1632 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("int32" , GetCppTypeNameForFieldType(FD::TYPE_INT32 )); FD 1633 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("uint64" , GetCppTypeNameForFieldType(FD::TYPE_FIXED64 )); FD 1634 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("uint32" , GetCppTypeNameForFieldType(FD::TYPE_FIXED32 )); FD 1635 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("bool" , GetCppTypeNameForFieldType(FD::TYPE_BOOL )); FD 1636 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("string" , GetCppTypeNameForFieldType(FD::TYPE_STRING )); FD 1637 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("message", GetCppTypeNameForFieldType(FD::TYPE_GROUP )); FD 1638 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("message", GetCppTypeNameForFieldType(FD::TYPE_MESSAGE )); FD 1639 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("string" , GetCppTypeNameForFieldType(FD::TYPE_BYTES )); FD 1640 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("uint32" , GetCppTypeNameForFieldType(FD::TYPE_UINT32 )); FD 1641 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("enum" , GetCppTypeNameForFieldType(FD::TYPE_ENUM )); FD 1642 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("int32" , GetCppTypeNameForFieldType(FD::TYPE_SFIXED32)); FD 1643 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("int64" , GetCppTypeNameForFieldType(FD::TYPE_SFIXED64)); FD 1644 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("int32" , GetCppTypeNameForFieldType(FD::TYPE_SINT32 )); FD 1645 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_STREQ("int64" , GetCppTypeNameForFieldType(FD::TYPE_SINT64 )); FD 1660 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FD::Label label = FD::LABEL_OPTIONAL; FD 1663 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "int32" , 1, label, FD::TYPE_INT32 ) FD 1665 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "int64" , 2, label, FD::TYPE_INT64 ) FD 1667 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "uint32", 3, label, FD::TYPE_UINT32) FD 1669 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "uint64", 4, label, FD::TYPE_UINT64) FD 1671 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "float" , 5, label, FD::TYPE_FLOAT ) FD 1673 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "double", 6, label, FD::TYPE_DOUBLE) FD 1675 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "bool" , 7, label, FD::TYPE_BOOL ) FD 1677 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "string", 8, label, FD::TYPE_STRING) FD 1679 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "data" , 9, label, FD::TYPE_BYTES ) FD 1683 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "enum", 10, label, FD::TYPE_ENUM); FD 1689 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "empty_string", 11, label, FD::TYPE_STRING) FD 1693 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "implicit_int32" , 21, label, FD::TYPE_INT32 ); FD 1694 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "implicit_int64" , 22, label, FD::TYPE_INT64 ); FD 1695 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "implicit_uint32", 23, label, FD::TYPE_UINT32); FD 1696 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "implicit_uint64", 24, label, FD::TYPE_UINT64); FD 1697 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "implicit_float" , 25, label, FD::TYPE_FLOAT ); FD 1698 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "implicit_double", 26, label, FD::TYPE_DOUBLE); FD 1699 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "implicit_bool" , 27, label, FD::TYPE_BOOL ); FD 1700 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "implicit_string", 28, label, FD::TYPE_STRING); FD 1701 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "implicit_data" , 29, label, FD::TYPE_BYTES ); FD 1702 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc AddField(message_proto, "implicit_enum" , 30, label, FD::TYPE_ENUM) FD 96 third_party/protobuf/src/google/protobuf/dynamic_message.cc if (field->label() == FD::LABEL_REPEATED) { FD 98 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_INT32 : return sizeof(RepeatedField<int32 >); FD 99 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_INT64 : return sizeof(RepeatedField<int64 >); FD 100 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_UINT32 : return sizeof(RepeatedField<uint32 >); FD 101 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_UINT64 : return sizeof(RepeatedField<uint64 >); FD 102 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_DOUBLE : return sizeof(RepeatedField<double >); FD 103 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_FLOAT : return sizeof(RepeatedField<float >); FD 104 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_BOOL : return sizeof(RepeatedField<bool >); FD 105 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_ENUM : return sizeof(RepeatedField<int >); FD 106 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_MESSAGE: return sizeof(RepeatedPtrField<Message>); FD 108 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_STRING: FD 118 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_INT32 : return sizeof(int32 ); FD 119 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_INT64 : return sizeof(int64 ); FD 120 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_UINT32 : return sizeof(uint32 ); FD 121 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_UINT64 : return sizeof(uint64 ); FD 122 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_DOUBLE : return sizeof(double ); FD 123 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_FLOAT : return sizeof(float ); FD 124 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_BOOL : return sizeof(bool ); FD 125 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_ENUM : return sizeof(int ); FD 127 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_MESSAGE: FD 130 third_party/protobuf/src/google/protobuf/dynamic_message.cc case FD::CPPTYPE_STRING: