Home
last modified time | relevance | path

Searched refs:FileDescriptor (Results 1 – 25 of 94) sorted by relevance

1234

/external/protobuf/src/google/protobuf/
Ddescriptor.h74 class FileDescriptor; variable
143 const FileDescriptor* file() const;
294 const FileDescriptor* file_;
326 friend class FileDescriptor; variable
417 const FileDescriptor* file() const;// File in which this field was defined.
576 const FileDescriptor* file_;
618 friend class FileDescriptor; variable
695 const FileDescriptor* file() const;
750 const FileDescriptor* file_;
771 friend class FileDescriptor; variable
[all …]
Ddescriptor.cc258 const FileDescriptor* package_file_descriptor;
284 CONSTRUCTOR(FileDescriptor , PACKAGE , package_file_descriptor) in CONSTRUCTOR()
287 const FileDescriptor* GetFile() const { in CONSTRUCTOR()
311 typedef hash_map<const char*, const FileDescriptor*,
414 inline const FileDescriptor* FindFile(const string& key) const;
428 bool AddFile(const FileDescriptor* file);
725 inline const FileDescriptor* DescriptorPool::Tables::FindFile( in FindFile()
784 bool DescriptorPool::Tables::AddFile(const FileDescriptor* file) { in AddFile()
1028 const FileDescriptor* DescriptorPool::FindFileByName(const string& name) const { in FindFileByName()
1032 const FileDescriptor* result = tables_->FindFile(name); in FindFileByName()
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_name_resolver.h44 class FileDescriptor; variable
59 string GetFileClassName(const FileDescriptor* file, bool immutable);
61 string GetFileImmutableClassName(const FileDescriptor* file);
64 string GetFileDefaultImmutableClassName(const FileDescriptor* file);
68 bool HasConflictingClassName(const FileDescriptor* file,
75 string GetDescriptorClassName(const FileDescriptor* file);
81 string GetClassName(const FileDescriptor* descriptor, bool immutable);
105 const FileDescriptor* file,
111 const FileDescriptor* file,
114 map<const FileDescriptor*, string> file_immutable_outer_class_names_;
Djava_name_resolver.cc55 const FileDescriptor* file) { in StripPackageName()
120 const FileDescriptor* file) { in GetFileDefaultImmutableClassName()
132 const FileDescriptor* file) { in GetFileImmutableClassName()
147 string ClassNameResolver::GetFileClassName(const FileDescriptor* file, in GetFileClassName()
159 const FileDescriptor* file, const string& classname) { in HasConflictingClassName()
179 const FileDescriptor* descriptor) { in GetDescriptorClassName()
183 string ClassNameResolver::GetClassName(const FileDescriptor* descriptor, in GetClassName()
194 const FileDescriptor* file, in GetClassFullName()
234 const FileDescriptor* file, in GetJavaClassFullName()
Djava_helpers.h76 string FileClassName(const FileDescriptor* file, bool immutable = true);
79 string FileJavaPackage(const FileDescriptor* file, bool immutable = true);
90 const FileDescriptor* file);
99 string ClassName(const FileDescriptor* descriptor);
125 const FileDescriptor* descriptor, bool immutable) { in MultipleJavaFiles()
199 inline bool HasDescriptorMethods(const FileDescriptor* descriptor) { in HasDescriptorMethods()
211 inline bool HasGenericServices(const FileDescriptor *file) { in HasGenericServices()
310 inline bool SupportFieldPresence(const FileDescriptor* descriptor) { in SupportFieldPresence()
Djava_shared_code_generator.h46 class FileDescriptor; // descriptor.h variable
66 explicit SharedCodeGenerator(const FileDescriptor* file);
77 bool ShouldIncludeDependency(const FileDescriptor* descriptor);
80 const FileDescriptor* file_;
Djava_file.h45 class FileDescriptor; // descriptor.h variable
67 FileGenerator(const FileDescriptor* file, bool immutable_api = true);
92 bool ShouldIncludeDependency(const FileDescriptor* descriptor,
95 const FileDescriptor* file_;
Djava_context.h42 class FileDescriptor; variable
63 explicit Context(const FileDescriptor* file);
79 void InitializeFieldGeneratorInfo(const FileDescriptor* file);
/external/protobuf/java/src/main/java/com/google/protobuf/
DDescriptors.java73 public static final class FileDescriptor extends GenericDescriptor { class in Descriptors
81 public FileDescriptor getFile() { return this; } in getFile()
117 public List<FileDescriptor> getDependencies() { in getDependencies()
122 public List<FileDescriptor> getPublicDependencies() { in getPublicDependencies()
232 public static FileDescriptor buildFrom(final FileDescriptorProto proto, in buildFrom()
233 final FileDescriptor[] dependencies) in buildFrom()
253 private static FileDescriptor buildFrom( in buildFrom()
254 final FileDescriptorProto proto, final FileDescriptor[] dependencies, in buildFrom()
268 final FileDescriptor result = new FileDescriptor( in buildFrom()
281 final FileDescriptor[] dependencies, in internalBuildGeneratedFileFrom()
[all …]
/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java39 import com.google.protobuf.Descriptors.FileDescriptor;
95 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor()
459 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorValidatorException()
460 new FileDescriptor[0]); in testDescriptorValidatorException()
499 FileDescriptor file = in testDescriptorComplexCrosslink()
500 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorComplexCrosslink()
501 new FileDescriptor[0]); in testDescriptorComplexCrosslink()
536 FileDescriptor fooFile = Descriptors.FileDescriptor.buildFrom(fooProto, in testDependencyOrder()
537 new FileDescriptor[0]); in testDependencyOrder()
538 FileDescriptor barFile = Descriptors.FileDescriptor.buildFrom(barProto, in testDependencyOrder()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h140 inline bool UseUnknownFieldSet(const FileDescriptor* file) { in UseUnknownFieldSet()
146 bool HasEnumDefinitions(const FileDescriptor* file);
150 inline bool HasGeneratedMethods(const FileDescriptor* file) { in HasGeneratedMethods()
155 inline bool HasDescriptorMethods(const FileDescriptor* file) { in HasDescriptorMethods()
160 inline bool HasGenericServices(const FileDescriptor* file) { in HasGenericServices()
167 inline bool HasUtf8Verification(const FileDescriptor* file) { in HasUtf8Verification()
174 inline bool HasFastArraySerialization(const FileDescriptor* file) { in HasFastArraySerialization()
179 bool StaticInitializersForced(const FileDescriptor* file);
185 const FileDescriptor* file, io::Printer* printer,
191 const map<string, string>& vars, const FileDescriptor* file,
Dcpp_file.h47 class FileDescriptor; // descriptor.h variable
65 explicit FileGenerator(const FileDescriptor* file,
80 const FileDescriptor* file_;
/external/protobuf/src/google/protobuf/compiler/
Dplugin.cc65 const vector<const FileDescriptor*>& parsed_files) in GeneratorResponseContext()
86 void ListParsedFiles(vector<const FileDescriptor*>* output) { in ListParsedFiles()
92 const vector<const FileDescriptor*>& parsed_files_;
115 const FileDescriptor* file = pool.BuildFile(request.proto_file(i)); in PluginMain()
122 vector<const FileDescriptor*> parsed_files; in PluginMain()
137 const FileDescriptor* file = parsed_files[i]; in PluginMain()
Dcommand_line_interface.h53 class FileDescriptor; // descriptor.h variable
235 bool GenerateOutput(const vector<const FileDescriptor*>& parsed_files,
238 bool GeneratePluginOutput(const vector<const FileDescriptor*>& parsed_files,
248 bool WriteDescriptorSet(const vector<const FileDescriptor*> parsed_files);
258 const FileDescriptor* file,
260 set<const FileDescriptor*>* already_seen,
Dmock_code_generator.h88 const FileDescriptor* file);
94 virtual bool Generate(const FileDescriptor* file,
104 const FileDescriptor* file,
Dcode_generator.h50 class FileDescriptor; variable
77 virtual bool Generate(const FileDescriptor* file,
122 virtual void ListParsedFiles(vector<const FileDescriptor*>* output);
Dmock_code_generator.cc53 string CommaSeparatedList(const vector<const FileDescriptor*> all_files) { in CommaSeparatedList()
121 const FileDescriptor* file, in Generate()
204 const FileDescriptor* file) { in GetOutputFileName()
216 const FileDescriptor* file, in GetOutputFileContent()
218 vector<const FileDescriptor*> all_files; in GetOutputFileContent()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.h67 string FileClassName(const Params& params, const FileDescriptor* file);
70 string FileJavaPackage(const Params& params, const FileDescriptor* file);
75 bool IsOuterClassNeeded(const Params& params, const FileDescriptor* file);
84 const Descriptor* parent, const FileDescriptor* file);
102 string ClassName(const Params& params, const FileDescriptor* descriptor);
Djavamicro_file.h46 class FileDescriptor; // descriptor.h variable
58 explicit FileGenerator(const FileDescriptor* file, const Params& params);
79 const FileDescriptor* file_;
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_helpers.h72 string FileClassName(const Params& params, const FileDescriptor* file);
75 string FileJavaPackage(const Params& params, const FileDescriptor* file);
80 bool IsOuterClassNeeded(const Params& params, const FileDescriptor* file);
89 const Descriptor* parent, const FileDescriptor* file);
107 string ClassName(const Params& params, const FileDescriptor* descriptor);
Djavanano_file.h46 class FileDescriptor; // descriptor.h variable
58 explicit FileGenerator(const FileDescriptor* file, const Params& params);
79 const FileDescriptor* file_;
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_ProcessReadWriteTest.java20 import java.io.FileDescriptor;
29 FileInputStream input = new FileInputStream(FileDescriptor.in); in main()
30 FileOutputStream output = new FileOutputStream(FileDescriptor.out); in main()
DSupport_AvailTest.java20 import java.io.FileDescriptor;
41 FileInputStream myin = new FileInputStream(FileDescriptor.in); in main()
105 FileOutputStream myout = new FileOutputStream(FileDescriptor.out); in main()
/external/conscrypt/src/platform/java/org/conscrypt/
DPlatform.java27 import java.io.FileDescriptor;
77 public static FileDescriptor getFileDescriptor(Socket s) { in getFileDescriptor()
81 … public static FileDescriptor getFileDescriptorFromSSLSocket(OpenSSLSocketImpl openSSLSocketImpl) { in getFileDescriptorFromSSLSocket()
88 return (FileDescriptor) f_fd.get(socketImpl); in getFileDescriptorFromSSLSocket()
/external/conscrypt/src/compat/java/org/conscrypt/
DPlatform.java21 import java.io.FileDescriptor;
56 public static FileDescriptor getFileDescriptor(Socket s) { in getFileDescriptor()
64 return (FileDescriptor) f_fd.get(socketImpl); in getFileDescriptor()
70 … public static FileDescriptor getFileDescriptorFromSSLSocket(OpenSSLSocketImpl openSSLSocketImpl) { in getFileDescriptorFromSSLSocket()
123 FileDescriptor.class, int.class, int.class, c_structTimeval); in setSocketWriteTimeout()

1234