/external/protobuf/src/google/protobuf/ |
any.cc | 53 AnyMetadata::AnyMetadata(UrlType* type_url, ValueType* value) 54 : type_url_(type_url), value_(value) { 78 const string type_url = type_url_->GetNoArena( local 81 if (!ParseAnyTypeUrl(type_url, &full_name)) { 87 bool ParseAnyTypeUrl(const string& type_url, string* full_type_name) { 88 size_t pos = type_url.find_last_of("/"); 89 if (pos == string::npos || pos + 1 == type_url.size()) { 92 *full_type_name = type_url.substr(pos + 1);
|
any.pb.h | 111 // optional string type_url = 1; 114 const ::std::string& type_url() const; 120 void set_allocated_type_url(::std::string* type_url); 157 // optional string type_url = 1; 161 inline const ::std::string& Any::type_url() const { function in class:google::protobuf::Any 162 // @@protoc_insertion_point(field_get:google.protobuf.Any.type_url) 168 // @@protoc_insertion_point(field_set:google.protobuf.Any.type_url) 173 // @@protoc_insertion_point(field_set_char:google.protobuf.Any.type_url) 179 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Any.type_url) 183 // @@protoc_insertion_point(field_mutable:google.protobuf.Any.type_url) 197 type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url); local [all...] |
any.pb.cc | 85 "obuf\"&\n\003Any\022\020\n\010type_url\030\001 \001(\t\022\r\n\005value\030\002" 214 // optional string type_url = 1; 220 this->type_url().data(), this->type_url().length(), 222 "google.protobuf.Any.type_url")); 267 // optional string type_url = 1; 268 if (this->type_url().size() > 0) { 270 this->type_url().data(), this->type_url().length(), 272 "google.protobuf.Any.type_url"); 408 const ::std::string& Any::type_url() const { function in class:google::protobuf::Any 444 type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url); local [all...] |
text_format.cc | 1526 const string& type_url = reflection->GetString(message, type_url_field); local [all...] |
type.pb.cc | 211 "\n\006number\030\003 \001(\005\022\014\n\004name\030\004 \001(\t\022\020\n\010type_url" 1773 const ::std::string& Field::type_url() const { function in class:google::protobuf::Field 1809 type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url); local [all...] |
type.pb.h | 451 // optional string type_url = 6; 454 const ::std::string& type_url() const; 460 void set_allocated_type_url(::std::string* type_url); 1166 inline const ::std::string& Field::type_url() const { function in class:google::protobuf::Field 1202 type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url); local [all...] |
/external/protobuf/conformance/ |
conformance_cpp.cc | 61 string* type_url; variable 103 Status status = JsonToBinaryString(type_resolver, *type_url, 137 Status status = BinaryToJsonString(type_resolver, *type_url, proto_binary, 199 type_url = new string(GetTypeUrl(TestAllTypes::descriptor()));
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
any.pb.h | 111 // optional string type_url = 1; 114 const ::std::string& type_url() const; 120 void set_allocated_type_url(::std::string* type_url); 157 // optional string type_url = 1; 161 inline const ::std::string& Any::type_url() const { function in class:google::protobuf::Any 162 // @@protoc_insertion_point(field_get:google.protobuf.Any.type_url) 168 // @@protoc_insertion_point(field_set:google.protobuf.Any.type_url) 173 // @@protoc_insertion_point(field_set_char:google.protobuf.Any.type_url) 179 // @@protoc_insertion_point(field_set_pointer:google.protobuf.Any.type_url) 183 // @@protoc_insertion_point(field_mutable:google.protobuf.Any.type_url) 197 type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url); local [all...] |
type.pb.h | 451 // optional string type_url = 6; 454 const ::std::string& type_url() const; 460 void set_allocated_type_url(::std::string* type_url); 1166 inline const ::std::string& Field::type_url() const { function in class:google::protobuf::Field 1202 type_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_url); local [all...] |
/external/protobuf/src/google/protobuf/util/internal/ |
protostream_objectsource.cc | 256 typeinfo_->GetTypeByTypeUrl(field->type_url()); 568 // An Any is of the form { string type_url = 1; bytes value = 2; } 570 string type_url; local 573 // First read out the type_url and value from the proto stream 580 // 'type_url' has field number of 1 and 'value' has field number 2 583 // read type_url 586 os->stream_->ReadString(&type_url, type_url_size); 599 if (!type_url.empty()) { 600 ow->RenderString("@type", type_url); 607 if (type_url.empty()) [all...] |
/external/protobuf/src/google/protobuf/util/ |
message_differencer.cc | 1017 const string& type_url = reflection->GetString(any, type_url_field); local [all...] |