Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/compiler/ruby/
H A 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()
H A 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/
H A 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()
H A 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()
H A Dcsharp_helpers.h75 std::string StripDotProto(const std::string& proto_file);
/third_party/curl/src/
H A Dtool_libinfo.c45 const char *proto_file = NULL; variable
61 { "file", &proto_file },
H A Dtool_libinfo.h38 extern const char *proto_file;
H A Dtool_cb_hdr.c216 scheme == proto_rtsp || scheme == proto_file)) { in tool_header_cb()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
H A 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/
H A Dplugin.cc108 const FileDescriptor* file = pool.BuildFile(request.proto_file(i)); in GenerateCode()
H A Dplugin.pb.h465 // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
478 const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& proto_file(int index) const;
481 proto_file() const;
1280 // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
1288 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.proto_file) in mutable_proto_file()
1293 // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file) in mutable_proto_file()
1299 inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) const { in proto_file() function in compiler::CodeGeneratorRequest
1300 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.proto_file) in proto_file()
1307 // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.proto_file) in add_proto_file()
1311 CodeGeneratorRequest::proto_file() cons function in compiler::CodeGeneratorRequest
[all...]
/third_party/protobuf/src/google/protobuf/compiler/php/
H A 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()

Completed in 15 milliseconds