Home
last modified time | relevance | path

Searched refs:proto_file (Results 1 – 15 of 15) 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/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/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/curl/src/
Dtool_libinfo.c45 const char *proto_file = NULL; variable
61 { "file", &proto_file },
Dtool_libinfo.h38 extern const char *proto_file;
Dtool_cb_hdr.c205 scheme == proto_rtsp || scheme == proto_file)) { in tool_header_cb()
/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/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()