Home
last modified time | relevance | path

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

/external/perfetto/tools/proto_to_cpp/
Dproto_to_cpp.cc82 std::string GetProtoHeader(const FileDescriptor* proto_file) { in GetProtoHeader() argument
83 return StringReplace(proto_file->name(), ".proto", ".pb.h", false); in GetProtoHeader()
149 std::string ProtoToCpp::GetHeaderPath(const FileDescriptor* proto_file) { in GetHeaderPath() argument
150 std::string basename = Split(proto_file->name(), "/").back(); in GetHeaderPath()
154 std::string ProtoToCpp::GetCppPath(const FileDescriptor* proto_file) { in GetCppPath() argument
155 std::string basename = Split(proto_file->name(), "/").back(); in GetCppPath()
159 std::string ProtoToCpp::GetIncludePath(const FileDescriptor* proto_file) { in GetIncludePath() argument
160 std::string basename = Split(proto_file->name(), "/").back(); in GetIncludePath()
202 const FileDescriptor* proto_file = importer_.Import(src_proto); in Convert() local
203 if (!proto_file) { in Convert()
[all …]
/external/grpc-grpc/tools/distrib/python/grpcio_tools/
Dsetup.py103 os.path.normpath(proto_file) for proto_file in protoc_lib_deps.PROTO_FILES
137 for proto_file in PROTO_FILES:
138 source = os.path.join(PROTO_INCLUDE, proto_file)
139 target = os.path.join(proto_resources_path, proto_file)
141 proto_file)
/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/tensorflow/tensorflow/python/tools/
Dselective_registration_header_lib.py50 for proto_file in proto_files:
51 tf_logging.info('Loading proto file %s', proto_file)
53 file_data = gfile.GFile(proto_file, 'rb').read()
/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/grpc-grpc/tools/distrib/python/grpcio_tools/grpc_tools/
Dcommand.py36 for proto_file in proto_files:
43 ] + [proto_file]
/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/golang-protobuf/protoc-gen-go/plugin/
Dplugin.pb.golden18 …gle_protobuf.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file" json:"proto_file,omitemp…
Dplugin.proto70 // descriptor will be included in proto_file, below.
90 repeated FileDescriptorProto proto_file = 15; field
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/
D_split_definitions_test.py213 with open(absolute_proto_file_name, 'wb') as proto_file:
214 proto_file.write(massaged_proto_content)
Dbeta_python_plugin_test.py313 with open(proto_file_name, 'wb') as proto_file:
314 proto_file.write(massaged_proto_content)
/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.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.cc101 const FileDescriptor* file = pool.BuildFile(request.proto_file(i)); in GenerateCode()
Dplugin.proto60 // descriptor will be included in proto_file, below.
77 repeated FileDescriptorProto proto_file = 15; field
/external/nanopb-c/generator/proto/
Dplugin.proto58 // descriptor will be included in proto_file, below.
75 repeated FileDescriptorProto proto_file = 15; field
/external/grpc-grpc/third_party/nanopb/generator/proto/
Dplugin.proto58 // descriptor will be included in proto_file, below.
75 repeated FileDescriptorProto proto_file = 15; field
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py1579 for fdesc in request.proto_file:
1583 for fdesc in request.proto_file:
/external/nanopb-c/generator/
Dnanopb_generator.py1694 for fdesc in request.proto_file:
1698 for fdesc in request.proto_file: