Home | History | Annotate | Download | only in protobuf

Lines Matching refs:CreateMessage

170 // allocated on an arena by using Arena::CreateMessage<T>(Arena*), below, and
177 // An arena provides two allocation interfaces: CreateMessage<T>, which works
180 // any arbitrary type T. CreateMessage<T> is better when the type T supports it,
187 // The arena message allocation protocol, required by CreateMessage<T>, is as
198 // such type trait exists, then the instantiation CreateMessage<T> will fail
207 // - One- and two-user-argument forms of CreateMessage<T>() also exist that
209 // CreateMessage<T>(Arena*, arg1, arg2) forwards to a constructor T(Arena*,
250 static T* CreateMessage(::google::protobuf::Arena* arena) {
258 // One-argument form of CreateMessage. This is useful for constructing objects
262 static T* CreateMessage(::google::protobuf::Arena* arena, const Arg& arg) {
271 // Two-argument form of CreateMessage. This is useful for constructing objects
275 static T* CreateMessage(::google::protobuf::Arena* arena,
289 // with CreateMessage<T>() instead.
571 // with CreateMessage. This is mainly to skip proto2/proto1 message objects
611 // CreateMessage<T> requires that T supports arenas, but this private method
619 return CreateMessage<Msg>(arena);