/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | FileDescriptor.cs | 69 public sealed class FileDescriptor : IDescriptor class 72 static FileDescriptor() in FileDescriptor() method in Google.Protobuf.Reflection.FileDescriptor 83 …private FileDescriptor(ByteString descriptorData, FileDescriptorProto proto, IEnumerable<FileDescr… in FileDescriptor() method in Google.Protobuf.Reflection.FileDescriptor 88 Dependencies = new ReadOnlyCollection<FileDescriptor>(dependencies.ToList()); in FileDescriptor() 218 …ate static IList<FileDescriptor> DeterminePublicDependencies(FileDescriptor @this, FileDescriptorP… 221 var publicDependencies = new List<FileDescriptor>(); 230 FileDescriptor file; 244 return new ReadOnlyCollection<FileDescriptor>(publicDependencies); 294 public IList<FileDescriptor> Dependencies { get; } 299 public IList<FileDescriptor> PublicDependencies { get; } [all …]
|
D | DescriptorPool.cs | 54 private readonly HashSet<FileDescriptor> dependencies; 56 internal DescriptorPool(IEnumerable<FileDescriptor> dependencyFiles) in DescriptorPool() 58 dependencies = new HashSet<FileDescriptor>(); in DescriptorPool() 65 foreach (FileDescriptor dependency in dependencyFiles) in DescriptorPool() 71 private void ImportPublicDependencies(FileDescriptor file) in ImportPublicDependencies() 73 foreach (FileDescriptor dependency in file.PublicDependencies) in ImportPublicDependencies() 101 foreach (FileDescriptor dependency in dependencies) 120 internal void AddPackage(string fullName, FileDescriptor file) in AddPackage()
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_file.cc | 89 bool FileContainsEnums(const FileDescriptor* file) { in FileContainsEnums() 103 bool FileContainsExtensions(const FileDescriptor* file) { in FileContainsExtensions() 118 const FileDescriptor* file, in PruneFileAndDepsMarkingAsVisited() 119 std::vector<const FileDescriptor*>* files, in PruneFileAndDepsMarkingAsVisited() 120 std::set<const FileDescriptor*>* files_visited) { in PruneFileAndDepsMarkingAsVisited() 121 std::vector<const FileDescriptor*>::iterator iter = in PruneFileAndDepsMarkingAsVisited() 134 const FileDescriptor* file, in CollectMinimalFileDepsContainingExtensionsWorker() 135 std::vector<const FileDescriptor*>* files, in CollectMinimalFileDepsContainingExtensionsWorker() 136 std::set<const FileDescriptor*>* files_visited) { in CollectMinimalFileDepsContainingExtensionsWorker() 145 const FileDescriptor* dep = file->dependency(i); in CollectMinimalFileDepsContainingExtensionsWorker() [all …]
|
D | objectivec_helpers.h | 77 string PROTOC_EXPORT FileClassPrefix(const FileDescriptor* file); 82 string PROTOC_EXPORT FilePath(const FileDescriptor* file); 85 string PROTOC_EXPORT FilePathBasename(const FileDescriptor* file); 90 string PROTOC_EXPORT FileClassName(const FileDescriptor* file); 130 inline bool HasPreservingUnknownEnumSemantics(const FileDescriptor* file) { in HasPreservingUnknownEnumSemantics() 131 return file->syntax() == FileDescriptor::SYNTAX_PROTO3; in HasPreservingUnknownEnumSemantics() 165 const FileDescriptor* file = NULL, 178 const FileDescriptor* sourceFile = descriptor->file(); 233 IsProtobufLibraryBundledProtoFile(const FileDescriptor* file); 239 ValidateObjCClassPrefixes(const std::vector<const FileDescriptor*>& files, [all …]
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor.h | 90 class FileDescriptor; variable 206 void SetLazy(StringPiece name, const FileDescriptor* file); 224 const FileDescriptor* file_; 252 const FileDescriptor* file() const; 528 const FileDescriptor* file_; 571 friend class FileDescriptor; variable 664 const FileDescriptor* file() const; // File in which this field was defined. 872 const FileDescriptor* file_; 922 friend class FileDescriptor; variable 945 const FileDescriptor* file() const; [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_name_resolver.h | 44 class FileDescriptor; variable 62 std::string GetFileClassName(const FileDescriptor* file, bool immutable); 64 std::string GetFileImmutableClassName(const FileDescriptor* file); 67 std::string GetFileDefaultImmutableClassName(const FileDescriptor* file); 71 bool HasConflictingClassName(const FileDescriptor* file, 79 std::string GetDescriptorClassName(const FileDescriptor* file); 85 std::string GetClassName(const FileDescriptor* descriptor, bool immutable); 110 const FileDescriptor* file, bool immutable, 114 const FileDescriptor* file, bool immutable); 116 std::map<const FileDescriptor*, std::string>
|
D | java_helpers.h | 105 std::string FileClassName(const FileDescriptor* file, bool immutable = true); 108 std::string FileJavaPackage(const FileDescriptor* file); 109 std::string FileJavaPackage(const FileDescriptor* file, bool immutable); 121 std::string ClassName(const FileDescriptor* descriptor); 158 inline bool MultipleJavaFiles(const FileDescriptor* descriptor, in MultipleJavaFiles() 254 inline bool HasDescriptorMethods(const FileDescriptor* descriptor, in HasDescriptorMethods() 260 inline bool HasGenericServices(const FileDescriptor* file, bool enforce_lite) { in HasGenericServices() 358 inline bool IsProto2(const FileDescriptor* descriptor) { in IsProto2() 359 return descriptor->syntax() == FileDescriptor::SYNTAX_PROTO2; in IsProto2() 385 inline bool ExposePublicParser(const FileDescriptor* descriptor) { in ExposePublicParser() [all …]
|
D | java_name_resolver.cc | 55 const FileDescriptor* file) { in StripPackageName() 133 const FileDescriptor* file) { in GetFileDefaultImmutableClassName() 145 const FileDescriptor* file) { in GetFileImmutableClassName() 161 std::string ClassNameResolver::GetFileClassName(const FileDescriptor* file, in GetFileClassName() 172 bool ClassNameResolver::HasConflictingClassName(const FileDescriptor* file, in HasConflictingClassName() 197 const FileDescriptor* descriptor) { in GetDescriptorClassName() 201 std::string ClassNameResolver::GetClassName(const FileDescriptor* descriptor, in GetClassName() 212 const std::string& name_without_package, const FileDescriptor* file, in GetClassFullName() 250 const std::string& name_without_package, const FileDescriptor* file, in GetJavaClassFullName()
|
D | java_file.h | 46 class FileDescriptor; // descriptor.h variable 70 FileGenerator(const FileDescriptor* file, const Options& options, 96 bool ShouldIncludeDependency(const FileDescriptor* descriptor, 99 const FileDescriptor* file_;
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 51 import com.google.protobuf.Descriptors.FileDescriptor.Syntax; 87 public static final class FileDescriptor extends GenericDescriptor { class in Descriptors 102 public FileDescriptor getFile() { in getFile() 146 public List<FileDescriptor> getDependencies() { in getDependencies() 151 public List<FileDescriptor> getPublicDependencies() { in getPublicDependencies() 279 public static FileDescriptor buildFrom( in buildFrom() 280 final FileDescriptorProto proto, final FileDescriptor[] dependencies) in buildFrom() 296 public static FileDescriptor buildFrom( in buildFrom() 298 final FileDescriptor[] dependencies, in buildFrom() 311 final FileDescriptor result = in buildFrom() [all …]
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DescriptorsTest.java | 48 import com.google.protobuf.Descriptors.FileDescriptor; 96 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor() 437 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, new FileDescriptor[0]); in testDescriptorValidatorException() 481 FileDescriptor file = in testDescriptorComplexCrosslink() 482 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, new FileDescriptor[0]); in testDescriptorComplexCrosslink() 515 FileDescriptor fooFile = Descriptors.FileDescriptor.buildFrom(fooProto, new FileDescriptor[0]); in testDependencyOrder() 516 FileDescriptor barFile = in testDependencyOrder() 517 Descriptors.FileDescriptor.buildFrom(barProto, new FileDescriptor[] {fooFile}); in testDependencyOrder() 520 Descriptors.FileDescriptor.buildFrom(bazProto, new FileDescriptor[] {fooFile, barFile}); in testDependencyOrder() 521 Descriptors.FileDescriptor.buildFrom(bazProto, new FileDescriptor[] {barFile, fooFile}); in testDependencyOrder() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_helpers.h | 94 bool IsBootstrapProto(const Options& options, const FileDescriptor* file); 100 std::string Namespace(const FileDescriptor* d, const Options& options); 163 std::string DescriptorTableName(const FileDescriptor* file, 168 std::string FileDllExport(const FileDescriptor* file, const Options& options); 239 inline std::string UniqueName(const std::string& name, const FileDescriptor* d, in UniqueName() 269 const FileDescriptor* d) { in UniqueName() 285 std::string QualifiedFileLevelSymbol(const FileDescriptor* file, 299 return message->file()->syntax() != FileDescriptor::SYNTAX_PROTO3; in PublicUnknownFieldsAccessors() 303 FileOptions_OptimizeMode GetOptimizeFor(const FileDescriptor* file, 308 inline bool UseUnknownFieldSet(const FileDescriptor* file, in UseUnknownFieldSet() [all …]
|
D | cpp_file.h | 51 class FileDescriptor; // descriptor.h variable 71 FileGenerator(const FileDescriptor* file, const Options& options); 106 const FileDescriptor* file); 109 void GetCrossFileReferencesForFile(const FileDescriptor* file, 173 bool IsDepWeak(const FileDescriptor* dep) const { in IsDepWeak() 181 std::set<const FileDescriptor*> weak_deps_; 184 const FileDescriptor* file_;
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | DescriptorsTest.java | 40 import com.google.protobuf.Descriptors.FileDescriptor; 92 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor() 452 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorValidatorException() 453 new FileDescriptor[0]); in testDescriptorValidatorException() 492 FileDescriptor file = in testDescriptorComplexCrosslink() 493 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorComplexCrosslink() 494 new FileDescriptor[0]); in testDescriptorComplexCrosslink() 523 FileDescriptor fooFile = Descriptors.FileDescriptor.buildFrom(fooProto, in testInvalidPublicDependency() 524 new FileDescriptor[0]); in testInvalidPublicDependency() 526 Descriptors.FileDescriptor.buildFrom(barProto, in testInvalidPublicDependency() [all …]
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.h | 43 class FileDescriptor; variable 87 PyObject* NewFileMessageTypesByName(const FileDescriptor* descriptor); 89 PyObject* NewFileEnumTypesByName(const FileDescriptor* descriptor); 91 PyObject* NewFileExtensionsByName(const FileDescriptor* descriptor); 93 PyObject* NewFileServicesByName(const FileDescriptor* descriptor); 95 PyObject* NewFileDependencies(const FileDescriptor* descriptor); 96 PyObject* NewFilePublicDependencies(const FileDescriptor* descriptor);
|
/third_party/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.h | 53 class FileDescriptor; variable 145 bool Generate(const FileDescriptor* file, const std::string& parameter, in Generate() 153 bool GenerateAll(const std::vector<const FileDescriptor*>& files, 163 const FileDescriptor* file, io::Printer* printer) const; 167 const std::vector<const FileDescriptor*>& file, 170 io::Printer* printer, const FileDescriptor* file, 194 const std::vector<const FileDescriptor*>& files, 226 bool GenerateFile(const FileDescriptor* file, const GeneratorOptions& options, 229 const FileDescriptor* file) const; 235 const std::vector<const FileDescriptor*>& file) const; [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.h | 59 class FileDescriptor; // descriptor.h variable 232 bool AllowProto3Optional(const FileDescriptor& file) const; 238 const std::vector<const FileDescriptor*>& parsed_files) const; 286 std::vector<const FileDescriptor*>* parsed_files); 290 bool GenerateOutput(const std::vector<const FileDescriptor*>& parsed_files, 294 const std::vector<const FileDescriptor*>& parsed_files, 303 const std::vector<const FileDescriptor*>& parsed_files); 307 const std::vector<const FileDescriptor*>& parsed_files, 321 const FileDescriptor* file, bool include_json_name, 323 std::set<const FileDescriptor*>* already_seen,
|
D | plugin.cc | 67 const std::vector<const FileDescriptor*>& parsed_files) in GeneratorResponseContext() 89 void ListParsedFiles(std::vector<const FileDescriptor*>* output) { in ListParsedFiles() 100 const std::vector<const FileDescriptor*>& parsed_files_; 108 const FileDescriptor* file = pool.BuildFile(request.proto_file(i)); in GenerateCode() 115 std::vector<const FileDescriptor*> parsed_files; in GenerateCode()
|
D | code_generator.h | 54 class FileDescriptor; variable 84 virtual bool Generate(const FileDescriptor* file, 100 virtual bool GenerateAll(const std::vector<const FileDescriptor*>& files, 162 virtual void ListParsedFiles(std::vector<const FileDescriptor*>* output);
|
D | mock_code_generator.h | 42 class FileDescriptor; variable 103 const FileDescriptor* file); 109 bool Generate(const FileDescriptor* file, const std::string& parameter, 121 const FileDescriptor* file,
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | OldExtensions2.cs | 19 public static pbr::FileDescriptor Descriptor { 22 private static pbr::FileDescriptor descriptor; 31 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, in OldExtensions2Reflection() 32 new pbr::FileDescriptor[] { pbr::FileDescriptor.DescriptorProtoFileDescriptor, }, in OldExtensions2Reflection()
|
D | UnittestIssue6936A.cs | 19 public static pbr::FileDescriptor Descriptor { 22 private static pbr::FileDescriptor descriptor; 31 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, in UnittestIssue6936AReflection() 32 … new pbr::FileDescriptor[] { global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor, }, in UnittestIssue6936AReflection()
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 81 field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3) { in LabelForField() 116 string StringifySyntax(FileDescriptor::Syntax syntax) { in StringifySyntax() 118 case FileDescriptor::SYNTAX_PROTO2: in StringifySyntax() 120 case FileDescriptor::SYNTAX_PROTO3: in StringifySyntax() 122 case FileDescriptor::SYNTAX_UNKNOWN: in StringifySyntax() 403 int GeneratePackageModules(const FileDescriptor* file, io::Printer* printer) { in GeneratePackageModules() 464 bool UsesTypeFromFile(const Descriptor* message, const FileDescriptor* file, in UsesTypeFromFile() 499 bool MaybeEmitDependency(const FileDescriptor* import, in MaybeEmitDependency() 500 const FileDescriptor* from, in MaybeEmitDependency() 503 if (from->syntax() == FileDescriptor::SYNTAX_PROTO3 && in MaybeEmitDependency() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_helpers.h | 78 std::string GetReflectionClassUnqualifiedName(const FileDescriptor* descriptor); 80 std::string GetExtensionClassUnqualifiedName(const FileDescriptor* descriptor); 110 std::string FileDescriptorToBase64(const FileDescriptor* descriptor); 132 inline bool IsDescriptorProto(const FileDescriptor* descriptor) { in IsDescriptorProto() 157 inline bool IsProto2(const FileDescriptor* descriptor) { in IsProto2() 158 return descriptor->syntax() == FileDescriptor::SYNTAX_PROTO2; in IsProto2()
|
D | csharp_names.h | 52 class FileDescriptor; variable 63 string PROTOC_EXPORT GetFileNamespace(const FileDescriptor* descriptor); 79 string PROTOC_EXPORT GetReflectionClassName(const FileDescriptor* descriptor); 95 string PROTOC_EXPORT GetOutputFile(const FileDescriptor* descriptor,
|