Home
last modified time | relevance | path

Searched defs:File (Results 1 – 25 of 465) sorted by relevance

12345678910>>...19

/external/rust/crates/tempfile/src/file/imp/
Dunix.rs43 pub fn create_named(path: &Path, open_options: &mut OpenOptions) -> io::Result<File> { in create_named()
54 fn create_unlinked(path: &Path) -> io::Result<File> { in create_unlinked()
72 pub fn create(dir: &Path) -> io::Result<File> { in create()
89 pub fn create(dir: &Path) -> io::Result<File> { in create()
93 fn create_unix(dir: &Path) -> io::Result<File> { in create_unix()
104 pub fn reopen(file: &File, path: &Path) -> io::Result<File> { in reopen()
118 pub fn reopen(_file: &File, _path: &Path) -> io::Result<File> { in reopen()
Dother.rs12 pub fn create_named(_path: &Path, open_options: &mut OpenOptions) -> io::Result<File> { in create_named()
16 pub fn create(_dir: &Path) -> io::Result<File> { in create()
20 pub fn reopen(_file: &File, _path: &Path) -> io::Result<File> { in reopen()
Dwindows.rs23 pub fn create_named(path: &Path, open_options: &mut OpenOptions) -> io::Result<File> { in create_named()
32 pub fn create(dir: &Path) -> io::Result<File> { in create()
50 pub fn reopen(file: &File, _path: &Path) -> io::Result<File> { in reopen()
/external/libchrome/base/files/
Dfile.cc26 File::File() in File() function in base::File
33 File::File(const FilePath& path, uint32_t flags) in File() function in base::File
39 File::File(PlatformFile platform_file) : File(platform_file, false) {} in File() function in base::File
41 File::File(PlatformFile platform_file, bool async) in File() function in base::File
51 File::File(Error error_details) in File() function in base::File
57 File::File(File&& other) in File() function in base::File
/external/rust/crates/tokio/src/fs/
Dfile.rs93 pub struct File { struct
94 std: Arc<StdFile>, argument
95 inner: Mutex<Inner>,
122 impl File { impl
156 pub async fn open(path: impl AsRef<Path>) -> io::Result<File> { in open()
196 pub async fn create(path: impl AsRef<Path>) -> io::Result<File> { in create()
215 pub fn from_std(std: StdFile) -> File { in from_std()
401 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()
495 impl AsyncRead for File { implementation
563 impl AsyncSeek for File { implementation
[all …]
/external/crosvm/common/cros_asyncv2/src/unix/
Dfile.rs13 pub struct File { struct
17 impl File { implementation
18 pub fn open<P: AsRef<Path>>(p: P) -> anyhow::Result<File> { in open()
23 pub fn create<P: AsRef<Path>>(p: P) -> anyhow::Result<File> { in create()
112 pub fn try_clone(&self) -> anyhow::Result<File> { in try_clone()
121 impl TryFrom<StdFile> for File { implementation
134 fn try_from(f: File) -> Result<StdFile, File> { in try_from() argument
141 impl AsRawDescriptor for File { implementation
/external/clang/unittests/Lex/
DHeaderMapTest.cpp63 FileTy &File; member
102 MapFile<1, 1> File; in TEST() local
110 MapFile<1, 1> File; in TEST() local
118 MapFile<1, 1> File; in TEST() local
126 MapFile<1, 1> File; in TEST() local
138 MapFile<3, 1> File; in TEST() local
148 MapFile<1, 1> File; in TEST() local
156 MapFile<1, 1> File; in TEST() local
165 FileTy File; in TEST() local
184 FileTy File; member
[all …]
/external/crosvm/common/cros_asyncv2/src/
Dfile.rs61 pub struct File { struct
62 inner: sys::File, argument
65 impl File { implementation
69 pub fn open<P: AsRef<Path>>(p: P) -> anyhow::Result<File> { in open()
77 pub fn create<P: AsRef<Path>>(p: P) -> anyhow::Result<File> { in create()
85 pub fn from_std(f: StdFile) -> anyhow::Result<File> { in from_std()
93 pub fn into_std(self) -> Result<StdFile, File> { in into_std() argument
331 pub fn try_clone(&self) -> anyhow::Result<File> { in try_clone()
336 impl TryFrom<StdFile> for File { implementation
346 fn try_from(f: File) -> Result<StdFile, File> { in try_from() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMinidumpEmitter.cpp116 static LocationDescriptor layout(BlobAllocator &File, yaml::BinaryRef Data) { in layout()
121 static size_t layout(BlobAllocator &File, MinidumpYAML::ExceptionStream &S) { in layout()
138 static void layout(BlobAllocator &File, MemoryListStream::entry_type &Range) { in layout()
142 static void layout(BlobAllocator &File, ModuleListStream::entry_type &M) { in layout()
149 static void layout(BlobAllocator &File, ThreadListStream::entry_type &T) { in layout()
155 static size_t layout(BlobAllocator &File, in layout()
172 static Directory layout(BlobAllocator &File, Stream &S) { in layout()
231 BlobAllocator File; in yaml2minidump() local
/external/golang-protobuf/compiler/protogen/
Dprotogen.go382 type File struct { struct
383 Desc protoreflect.FileDescriptor
384 Proto *descriptorpb.FileDescriptorProto
386 GoDescriptorIdent GoIdent // name of Go variable for the file descriptor
387 GoPackageName GoPackageName // name of this file's Go package
388 GoImportPath GoImportPath // import path of this file's Go package
390 Enums []*Enum // top-level enum declarations
391 Messages []*Message // top-level message declarations
392 Extensions []*Extension // top-level extension declarations
393 Services []*Service // top-level service declarations
[all …]
/external/rust/crates/codespan-reporting/examples/
Dcustom_files.rs49 struct File { struct
51 name: String,
53 source: String,
55 line_starts: Vec<usize>,
58 impl File { implementation
116 fn get(&self, file_id: FileId) -> Result<&File, files::Error> { in get()
/external/tflite-support/tensorflow_lite_support/codegen/
Dcode_generator.h32 struct File { struct
33 std::string path;
34 std::string content;
/external/swiftshader/tests/regres/cov/
Dimport.go31 type File struct { struct
32 Path string
33 Covered SpanList // Spans with coverage
34 Uncovered SpanList // Compiled spans without coverage
/external/rust/crates/grpcio-sys/grpc/src/compiler/
Dschema_interface.h102 struct File : public CommentHolder { struct
103 virtual ~File() {} in ~File() argument
110 virtual std::vector<std::string> GetImportNames() const { return {}; } in GetImportNames()
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp37 unsigned Lang, const char *File, in LLVMDIBuilderCreateCompileUnit()
47 LLVMMetadataRef LLVMDIBuilderCreateFile(LLVMDIBuilderRef Dref, const char *File, in LLVMDIBuilderCreateFile()
55 LLVMMetadataRef File, in LLVMDIBuilderCreateLexicalBlock()
66 LLVMMetadataRef File, in LLVMDIBuilderCreateLexicalBlockFile()
75 const char *LinkageName, LLVMMetadataRef File, unsigned Line, in LLVMDIBuilderCreateFunction()
88 const char *Name, LLVMMetadataRef File, in LLVMDIBuilderCreateAutoVariable()
99 unsigned ArgNo, LLVMMetadataRef File, unsigned Line, LLVMMetadataRef Ty, in LLVMDIBuilderCreateParameterVariable()
127 LLVMDIBuilderCreateSubroutineType(LLVMDIBuilderRef Dref, LLVMMetadataRef File, in LLVMDIBuilderCreateSubroutineType()
136 LLVMMetadataRef File, unsigned Line, uint64_t SizeInBits, in LLVMDIBuilderCreateStructType()
149 LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line, in LLVMDIBuilderCreateReplaceableCompositeType()
[all …]
/external/golang-protobuf/internal/filedesc/
Ddesc.go37 File struct { struct
38 fileRaw
39 L1 FileL1
41 once uint32 // atomically set if L2 is valid
42 mu sync.Mutex // protects L2
43 L2 *FileL2
62 func (fd *File) ParentFile() pref.FileDescriptor { return fd }
63 func (fd *File) Parent() pref.Descriptor { return nil }
64 func (fd *File) Index() int { return 0 }
65 func (fd *File) Syntax() pref.Syntax { return fd.L1.Syntax }
[all …]
/external/rust/cxx/gen/src/
Dfile.rs7 pub struct File { struct
11 impl Parse for File { argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp139 unsigned Lang, DIFile *File, StringRef Producer, bool isOptimized, in createCompileUnit()
165 Metadata *NS, DIFile *File, unsigned Line, StringRef Name, in createImportedModule()
180 DINamespace *NS, DIFile *File, in createImportedModule()
189 DIFile *File, unsigned Line) { in createImportedModule()
196 DIFile *File, unsigned Line) { in createImportedModule()
204 DIFile *File, in createImportedDeclaration()
233 unsigned LineNumber, DIFile *File) { in createTempMacroFile()
308 DIFile *File, unsigned LineNo, in createTypedef()
336 DIFile *File, unsigned LineNumber, in createMemberType()
353 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createVariantMemberType()
[all …]
/external/clang/include/clang/Lex/
DHeaderMap.h36 HeaderMapImpl(std::unique_ptr<const llvm::MemoryBuffer> File, bool NeedsBSwap) in HeaderMapImpl()
68 HeaderMap(std::unique_ptr<const llvm::MemoryBuffer> File, bool BSwap) in HeaderMap()
/external/dagger2/java/dagger/hilt/android/plugin/src/main/kotlin/dagger/hilt/android/plugin/util/
DFiles.kt8 fun File.isClassFile() = this.isFile && this.extension == SdkConstants.EXT_CLASS method
14 fun File.isJarFile() = this.isFile && this.extension == SdkConstants.EXT_JAR method
/external/rust/crates/syn/src/
Dfile.rs94 impl Parse for File { implementation
119 impl ToTokens for File { implementation
/external/rust/crates/tempfile/src/file/
Dmod.rs95 pub fn tempfile_in<P: AsRef<Path>>(dir: P) -> io::Result<File> { in tempfile_in()
702 pub fn persist<P: AsRef<Path>>(self, new_path: P) -> Result<File, PersistError> { in persist()
755 pub fn persist_noclobber<P: AsRef<Path>>(self, new_path: P) -> Result<File, PersistError> { in persist_noclobber()
799 pub fn keep(self) -> Result<(File, PathBuf), PersistError> { in keep()
845 pub fn reopen(&self) -> io::Result<File> { in reopen()
851 pub fn as_file(&self) -> &File { in as_file()
856 pub fn as_file_mut(&mut self) -> &mut File { in as_file_mut()
863 pub fn into_file(self) -> File { in into_file()
879 pub fn into_parts(self) -> (File, TempPath) { in into_parts()
/external/crosvm/third_party/vmm_vhost/src/
Dconnection.rs73 ) -> Result<(usize, Option<Vec<File>>)>; in recv_into_bufs()
283 ) -> Result<(usize, Option<Vec<File>>)> { in recv_into_bufs_all()
317 fn recv_into_buf(&mut self, buf_size: usize) -> Result<(usize, Vec<u8>, Option<Vec<File>>)> { in recv_into_buf()
334 fn recv_header(&mut self) -> Result<(VhostUserMsgHeader<R>, Option<Vec<File>>)> { in recv_header()
361 ) -> Result<(VhostUserMsgHeader<R>, T, Option<Vec<File>>)> { in recv_body()
393 ) -> Result<(VhostUserMsgHeader<R>, usize, Option<Vec<File>>)> { in recv_body_into_buf()
420 ) -> Result<(VhostUserMsgHeader<R>, T, usize, Option<Vec<File>>)> { in recv_payload_into_buf()
/external/crosvm/fuse/src/
Dworker.rs42 fn read_to(&mut self, f: &mut File, count: usize, off: u64) -> io::Result<usize> { in read_to()
61 pub fn new(dev_fuse: File, write_buf: Cursor<Vec<u8>>) -> Self { in new()
105 fn write_from(&mut self, f: &mut File, count: usize, off: u64) -> io::Result<usize> { in write_from()
157 pub fn start_message_loop<F: FileSystem + Sync>( in start_message_loop()
167 fn do_start_message_loop<F: FileSystem + Sync>( in do_start_message_loop()
210 pub fn start_message_loop_mt<F: FileSystem + Sync + Send>( in start_message_loop_mt()
/external/google-breakpad/src/common/
Dmodule.h76 struct File { struct
77 explicit File(const string &name_input) : name(name_input), source_id(0) {} in File() function
80 const string name;
85 int source_id;

12345678910>>...19