Home
last modified time | relevance | path

Searched refs:proto_file (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_bootstrap_unittest.cc126 const FileDescriptor* proto_file = in TEST() local
131 ASSERT_TRUE(proto_file != NULL); in TEST()
138 ASSERT_TRUE(generator.Generate(proto_file, parameter, in TEST()
/external/protobuf/cmake/
Dtests.cmake84 foreach(proto_file ${lite_test_protos})
85 compile_proto_file(${proto_file})
86 string(REPLACE .proto .pb.cc pb_file ${proto_file})
89 endforeach(proto_file)
92 foreach(proto_file ${tests_protos})
93 compile_proto_file(${proto_file})
94 string(REPLACE .proto .pb.cc pb_file ${proto_file})
97 endforeach(proto_file)
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc109 std::string StripDotProto(const std::string& proto_file) { in StripDotProto() argument
110 int lastindex = proto_file.find_last_of("."); in StripDotProto()
111 return proto_file.substr(0, lastindex); in StripDotProto()
124 std::string proto_file = descriptor->name(); in GetFileNameBase() local
125 int lastslash = proto_file.find_last_of("/"); in GetFileNameBase()
126 std::string base = proto_file.substr(lastslash + 1); in GetFileNameBase()
Dcsharp_helpers.h72 std::string StripDotProto(const std::string& proto_file);
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc51 std::string StripDotProto(const std::string& proto_file);
73 std::string StripDotProto(const std::string& proto_file) { in StripDotProto() argument
74 int lastindex = proto_file.find_last_of("."); in StripDotProto()
75 return proto_file.substr(0, lastindex); in StripDotProto()
78 std::string GetOutputFilename(const std::string& proto_file) { in GetOutputFilename() argument
79 return StripDotProto(proto_file) + ".rb"; in GetOutputFilename()
/external/protobuf/ruby/
DRakefile32 well_known_protos.each do |proto_file|
33 input_file = "../src/" + proto_file
34 output_file = "lib/" + proto_file.sub(/\.proto$/, ".rb")
/external/protobuf/src/google/protobuf/compiler/
Dplugin.pb.h144 const ::google::protobuf::FileDescriptorProto& proto_file(int index) const;
150 proto_file() const;
527 inline const ::google::protobuf::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) c… in proto_file() function
545 CodeGeneratorRequest::proto_file() const { in proto_file() function
Dplugin.cc101 const FileDescriptor* file = pool.BuildFile(request.proto_file(i)); in GenerateCode()
Dplugin.pb.cc366 15, this->proto_file(i), output); in SerializeWithCachedSizes()
404 15, this->proto_file(i), target); in SerializeWithCachedSizesToArray()
438 this->proto_file(i)); in ByteSize()
499 if (!::google::protobuf::internal::AllAreInitialized(this->proto_file())) return false; in IsInitialized()
643 const ::google::protobuf::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) const { in proto_file() function in google::protobuf::compiler::CodeGeneratorRequest
661 CodeGeneratorRequest::proto_file() const { in proto_file() function in google::protobuf::compiler::CodeGeneratorRequest
Dplugin.proto60 // descriptor will be included in proto_file, below.
77 repeated FileDescriptorProto proto_file = 15; field
/external/nanopb-c/generator/proto/
Dplugin.proto55 // descriptor will be included in proto_file, below.
72 repeated FileDescriptorProto proto_file = 15; field
/external/nanopb-c/generator/
Dnanopb_generator.py1096 for fdesc in request.proto_file: