Searched refs:cpbs (Results 1 – 1 of 1) sorted by relevance
25 tuningfork::ProtobufSerialization ToProtobufSerialization(const CProtobufSerialization& cpbs) { in ToProtobufSerialization() argument26 return tuningfork::ProtobufSerialization(cpbs.bytes, cpbs.bytes + cpbs.size); in ToProtobufSerialization()29 CProtobufSerialization* cpbs) { in ToCProtobufSerialization() argument30 cpbs->bytes = (uint8_t*)::malloc(pbs.size()); in ToCProtobufSerialization()31 memcpy(cpbs->bytes, pbs.data(), pbs.size()); in ToCProtobufSerialization()32 cpbs->size = pbs.size(); in ToCProtobufSerialization()33 cpbs->dealloc = ::free; in ToCProtobufSerialization()