| 189 | } |
| 190 | |
| 191 | const char* ProtocolTypeToString(ProtocolType type) { |
| 192 | // Force init of s_protocol_name. |
| 193 | GlobalInitializeOrDie(); |
| 194 | |
| 195 | const Protocol* p = FindProtocol(type); |
| 196 | if (p != NULL) { |
| 197 | return p->name; |
| 198 | } |
| 199 | return "unknown"; |
| 200 | } |
| 201 | |
| 202 | BUTIL_FORCE_INLINE bool ParsePbFromZeroCopyStreamInlined( |
| 203 | google::protobuf::Message* msg, |
no test coverage detected