Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator_unittest.cc60 void RubyTest(string proto_file) { in RubyTest() argument
72 ruby_tests + proto_file + ".proto", in RubyTest()
76 TestTempDir() + proto_file + ".proto", in RubyTest()
83 string proto_target = TestTempDir() + proto_file + ".proto"; in RubyTest()
96 TestTempDir() + proto_file + "_pb.rb", in RubyTest()
101 ruby_tests + proto_file + "_pb.rb", in RubyTest()
Druby_generator.cc51 std::string GetRequireName(const std::string& proto_file);
70 std::string GetRequireName(const std::string& proto_file) { in GetRequireName() argument
71 int lastindex = proto_file.find_last_of("."); in GetRequireName()
72 return proto_file.substr(0, lastindex) + "_pb"; in GetRequireName()
75 std::string GetOutputFilename(const std::string& proto_file) { in GetOutputFilename() argument
76 return GetRequireName(proto_file) + ".rb"; in GetOutputFilename()
/third_party/grpc/tools/distrib/python/grpcio_tools/
Dsetup.py125 os.path.normpath(proto_file) for proto_file in protoc_lib_deps.PROTO_FILES
159 for proto_file in PROTO_FILES:
160 source = os.path.join(PROTO_INCLUDE, proto_file)
161 target = os.path.join(proto_resources_path, proto_file)
163 proto_file)
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_bootstrap_unittest.cc113 void Run(const FileDescriptor* proto_file, string file1, string file2) { in Run() argument
114 ASSERT_TRUE(proto_file != NULL) << TestSourceDir(); in Run()
115 ASSERT_TRUE(generator_.Generate(proto_file, parameter_, in Run()
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.h75 std::string StripDotProto(const std::string& proto_file);
/third_party/grpc/tools/distrib/python/grpcio_tools/grpc_tools/
Dcommand.py36 for proto_file in proto_files:
43 ] + [proto_file]
/third_party/protobuf/cmake/
Dtests.cmake99 foreach(proto_file ${lite_test_protos})
100 compile_proto_file(${proto_file})
101 string(REPLACE .proto .pb.cc pb_file ${proto_file})
104 endforeach(proto_file)
107 foreach(proto_file ${tests_protos})
108 compile_proto_file(${proto_file})
109 string(REPLACE .proto .pb.cc pb_file ${proto_file})
112 endforeach(proto_file)
/third_party/protobuf/ruby/
DRakefile32 well_known_protos.each do |proto_file|
33 input_file = "../src/" + proto_file
34 output_file = "lib/" + proto_file.sub(/\.proto$/, "_pb.rb")
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc1743 StringPiece proto_file = proto_file_list.substr(start, offset - start); in ConsumeLine() local
1744 TrimWhitespace(&proto_file); in ConsumeLine()
1745 if (!proto_file.empty()) { in ConsumeLine()
1747 map_->find(string(proto_file)); in ConsumeLine()
1751 << string(proto_file) << "' with '" << string(framework_name) in ConsumeLine()
1756 if (proto_file.find(' ') != StringPiece::npos) { in ConsumeLine()
1759 << string(proto_file) << "'" << std::endl; in ConsumeLine()
1763 (*map_)[string(proto_file)] = string(framework_name); in ConsumeLine()
/third_party/grpc/src/python/grpcio_tests/tests/protoc_plugin/
D_split_definitions_test.py215 with open(absolute_proto_file_name, 'wb') as proto_file:
216 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)
/third_party/protobuf/src/google/protobuf/compiler/
Dplugin.cc108 const FileDescriptor* file = pool.BuildFile(request.proto_file(i)); in GenerateCode()
Dplugin.proto71 // descriptor will be included in proto_file, below.
91 repeated FileDescriptorProto proto_file = 15; field
Dplugin.pb.h478 const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& proto_file(int index) const;
481 proto_file() const;
1299 inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index… in proto_file() function
1311 CodeGeneratorRequest::proto_file() const { in proto_file() function
/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc331 const string& proto_file = file->name(); in GeneratedMetadataFileName() local
333 int first_index = proto_file.find_first_of("/", start_index); in GeneratedMetadataFileName()
337 if (proto_file == kEmptyFile) { in GeneratedMetadataFileName()
346 int lastindex = proto_file.find_last_of("."); in GeneratedMetadataFileName()
347 if (proto_file == kEmptyFile) { in GeneratedMetadataFileName()
350 file_no_suffix = proto_file.substr(0, lastindex); in GeneratedMetadataFileName()