/external/libchrome/dbus/ |
D | file_descriptor.cc | 18 void CHROME_DBUS_EXPORT FileDescriptor::Deleter::operator()( in operator ()() 19 FileDescriptor* fd) { in operator ()() 21 FROM_HERE, base::Bind(&base::DeletePointer<FileDescriptor>, fd), false); in operator ()() 24 FileDescriptor::FileDescriptor(FileDescriptor&& other) : FileDescriptor() { in FileDescriptor() function in dbus::FileDescriptor 28 FileDescriptor::~FileDescriptor() { in ~FileDescriptor() 33 FileDescriptor& FileDescriptor::operator=(FileDescriptor&& other) { in operator =() 38 int FileDescriptor::value() const { in value() 43 int FileDescriptor::TakeValue() { in TakeValue() 49 void FileDescriptor::CheckValidity() { in CheckValidity() 62 void FileDescriptor::Swap(FileDescriptor* other) { in Swap()
|
D | file_descriptor.h | 35 class CHROME_DBUS_EXPORT FileDescriptor { 36 MOVE_ONLY_TYPE_FOR_CPP_03(FileDescriptor); 42 void CHROME_DBUS_EXPORT operator()(FileDescriptor* fd); 47 FileDescriptor() : value_(-1), owner_(false), valid_(false) {} in FileDescriptor() function 48 explicit FileDescriptor(int value) : value_(value), owner_(false), in FileDescriptor() function 51 FileDescriptor(FileDescriptor&& other); 53 virtual ~FileDescriptor(); 55 FileDescriptor& operator=(FileDescriptor&& other); 79 void Swap(FileDescriptor* other); 87 scoped_ptr<FileDescriptor, FileDescriptor::Deleter>;
|
/external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/ |
D | FileDescriptor.java | 36 public class FileDescriptor { class 53 protected FileDescriptor () { in FileDescriptor() method in FileDescriptor 59 public FileDescriptor (String fileName) { in FileDescriptor() method in FileDescriptor 67 public FileDescriptor (File file) { in FileDescriptor() method in FileDescriptor 72 protected FileDescriptor (String fileName, FileType type) { in FileDescriptor() method in FileDescriptor 77 protected FileDescriptor (File file, FileType type) { in FileDescriptor() method in FileDescriptor 118 …InputStream input = FileDescriptor.class.getResourceAsStream("/" + file.getPath().replace('\\', '/… in read() 382 public FileDescriptor[] list () { in list() 385 if (relativePaths == null) return new FileDescriptor[0]; in list() 386 FileDescriptor[] handles = new FileDescriptor[relativePaths.length]; in list() [all …]
|
D | BuildConfig.java | 31 public final FileDescriptor buildDir; 33 public final FileDescriptor libsDir; 35 public final FileDescriptor jniDir; 44 this.buildDir = new FileDescriptor("target"); in BuildConfig() 45 this.libsDir = new FileDescriptor("libs"); in BuildConfig() 46 this.jniDir = new FileDescriptor("jni"); in BuildConfig() 56 this.buildDir = new FileDescriptor(temporaryDir); in BuildConfig() 57 this.libsDir = new FileDescriptor(libsDir); in BuildConfig() 58 this.jniDir = new FileDescriptor(jniDir); in BuildConfig()
|
D | AndroidNdkScriptGenerator.java | 22 import com.badlogic.gdx.jnigen.FileDescriptor.FileType; 38 ArrayList<FileDescriptor> files = new ArrayList<FileDescriptor>(); in generate() 58 FileDescriptor application = config.jniDir.child("Application.mk"); in generate() 59 …application.writeString(new FileDescriptor("com/badlogic/gdx/jnigen/resources/scripts/Application.… in generate() 63 …String template = new FileDescriptor("com/badlogic/gdx/jnigen/resources/scripts/Android.mk.templat… in generate() 92 …private void gatherSourceFiles (FileDescriptor file, String[] includes, String[] excludes, ArrayLi… in gatherSourceFiles() 96 for (FileDescriptor child : file.list()) { in gatherSourceFiles()
|
D | AntScriptGenerator.java | 22 import com.badlogic.gdx.jnigen.FileDescriptor.FileType; 77 …new FileDescriptor("com/badlogic/gdx/jnigen/resources/scripts/memcpy_wrap.c", FileType.Classpath).… in generate() 88 FileDescriptor libsDir = new FileDescriptor(getLibsDirectory(config, target)); in generate() 117 …String template = new FileDescriptor("com/badlogic/gdx/jnigen/resources/scripts/build.xml.template… in generate() 154 new FileDescriptor(pack, FileType.Classpath).child(file).copyTo( in copyJniHeaders() 155 new FileDescriptor(jniDir).child("jni-headers").child(file)); in copyJniHeaders() 198 …String template = new FileDescriptor("com/badlogic/gdx/jnigen/resources/scripts/build-android.xml.… in generateBuildTargetTemplate() 208 …template = new FileDescriptor("com/badlogic/gdx/jnigen/resources/scripts/build-ios.xml.template", … in generateBuildTargetTemplate() 211 …template = new FileDescriptor("com/badlogic/gdx/jnigen/resources/scripts/build-target.xml.template… in generateBuildTargetTemplate()
|
D | NativeCodeGenerator.java | 177 FileDescriptor sourceDir; 179 FileDescriptor jniDir; 217 this.sourceDir = new FileDescriptor(sourceDir); in generate() 218 this.jniDir = new FileDescriptor(jniDir); in generate() 239 private void processDirectory (FileDescriptor dir) throws Exception { in processDirectory() 240 FileDescriptor[] files = dir.list(); in processDirectory() 241 for (FileDescriptor file : files) { in processDirectory() 252 FileDescriptor hFile = new FileDescriptor(jniDir.path() + "/" + className + ".h"); in processDirectory() 253 FileDescriptor cppFile = new FileDescriptor(jniDir + "/" + className + ".cpp"); in processDirectory() 275 private String getFullyQualifiedClassName (FileDescriptor file) { in getFullyQualifiedClassName() [all …]
|
D | BuildExecutor.java | 34 FileDescriptor build = new FileDescriptor(buildFile); in executeAnt() 44 FileDescriptor build = new FileDescriptor(directory); in executeNdk() 75 FileDescriptor file = new FileDescriptor(fileName); in startProcess()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_name_resolver.h | 44 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_;
|
D | java_helpers.h | 76 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()
|
D | java_name_resolver.cc | 55 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()
|
D | java_shared_code_generator.h | 46 class FileDescriptor; // descriptor.h variable 66 explicit SharedCodeGenerator(const FileDescriptor* file); 77 bool ShouldIncludeDependency(const FileDescriptor* descriptor); 80 const FileDescriptor* file_;
|
D | java_file.h | 45 class FileDescriptor; // descriptor.h variable 67 FileGenerator(const FileDescriptor* file, bool immutable_api = true); 92 bool ShouldIncludeDependency(const FileDescriptor* descriptor, 95 const FileDescriptor* file_;
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.h | 74 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 …]
|
/external/libchrome/base/ |
D | file_descriptor_posix.h | 28 struct FileDescriptor { struct 29 FileDescriptor() : fd(-1), auto_close(false) {} in FileDescriptor() argument 31 FileDescriptor(int ifd, bool iauto_close) : fd(ifd), auto_close(iauto_close) { in FileDescriptor() argument 34 FileDescriptor(File file) : fd(file.TakePlatformFile()), auto_close(true) {} in FileDescriptor() function 35 explicit FileDescriptor(ScopedFD fd) : fd(fd.release()), auto_close(true) {} in FileDescriptor() argument 37 bool operator==(const FileDescriptor& other) const { 41 bool operator!=(const FileDescriptor& other) const { 46 bool operator<(const FileDescriptor& other) const {
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 73 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/ |
D | DescriptorsTest.java | 39 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/ |
D | cpp_helpers.h | 140 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,
|
/external/protobuf/src/google/protobuf/compiler/ |
D | plugin.cc | 65 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()
|
D | command_line_interface.h | 53 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,
|
/external/sl4a/Common/src/com/googlecode/android_scripting/ |
D | Exec.java | 19 import java.io.FileDescriptor; 35 public static FileDescriptor createSubprocess(String command, String[] arguments, in createSubprocess() 52 public static native FileDescriptor createSubprocess(String command, String[] arguments, in createSubprocess() 55 public static native void setPtyWindowSize(FileDescriptor fd, int row, int col, int xpixel, in setPtyWindowSize()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_helpers.h | 67 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);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/ |
D | InProcessInterpreter.java | 19 import java.io.FileDescriptor; 22 public FileDescriptor getStdOut(); in getStdOut() 24 public FileDescriptor getStdIn(); in getStdIn()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_helpers.h | 72 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);
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_ProcessReadWriteTest.java | 20 import java.io.FileDescriptor; 29 FileInputStream input = new FileInputStream(FileDescriptor.in); in main() 30 FileOutputStream output = new FileOutputStream(FileDescriptor.out); in main()
|