Home
last modified time | relevance | path

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

12345678910>>...32

/external/rust/crates/tokio/src/fs/
Dfile.rs80 pub struct File { struct
81 std: Arc<sys::File>, argument
82 inner: Mutex<Inner>,
109 impl File { impl
143 pub async fn open(path: impl AsRef<Path>) -> io::Result<File> { in open()
183 pub async fn create(path: impl AsRef<Path>) -> io::Result<File> { in create()
202 pub fn from_std(std: sys::File) -> File { in from_std()
388 pub async fn try_clone(&self) -> io::Result<File> { in try_clone()
412 pub async fn into_std(mut self) -> sys::File { in into_std()
437 pub fn try_into_std(mut self) -> Result<sys::File, Self> { in try_into_std()
[all …]
/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/llvm-project/llvm/unittests/TextAPI/
DTextStubV1Tests.cpp72 TBDFile File = std::move(Result.get()); in TEST() local
126 TBDFile File = std::move(Result.get()); in TEST() local
171 InterfaceFile File; in TEST() local
212 TBDFile File = std::move(Result.get()); in TEST() local
229 TBDFile File = std::move(Result.get()); in TEST() local
246 TBDFile File = std::move(Result.get()); in TEST() local
263 TBDFile File = std::move(Result.get()); in TEST() local
280 TBDFile File = std::move(Result.get()); in TEST() local
297 TBDFile File = std::move(Result.get()); in TEST() local
313 TBDFile File = std::move(Result.get()); in TEST() local
[all …]
DTextStubV2Tests.cpp73 TBDFile File = std::move(Result.get()); in TEST() local
145 TBDFile File = std::move(Result.get()); in TEST() local
189 InterfaceFile File; in TEST() local
231 TBDFile File = std::move(Result.get()); in TEST() local
249 TBDFile File = std::move(Result.get()); in TEST() local
266 TBDFile File = std::move(Result.get()); in TEST() local
283 TBDFile File = std::move(Result.get()); in TEST() local
300 TBDFile File = std::move(Result.get()); in TEST() local
317 TBDFile File = std::move(Result.get()); in TEST() local
333 TBDFile File = std::move(Result.get()); in TEST() local
[all …]
DTextStubV3Tests.cpp76 TBDFile File = std::move(Result.get()); in TEST() local
165 TBDFile File = std::move(Result.get()); in TEST() local
265 InterfaceFile File; in TEST() local
330 InterfaceFile File; in TEST() local
389 TBDFile File = std::move(Result.get()); in TEST() local
413 TBDFile File = std::move(Result.get()); in TEST() local
436 TBDFile File = std::move(Result.get()); in TEST() local
458 TBDFile File = std::move(Result.get()); in TEST() local
483 TBDFile File = std::move(Result.get()); in TEST() local
506 TBDFile File = std::move(Result.get()); in TEST() local
[all …]
DTextStubV4Tests.cpp82 TBDFile File = std::move(Result.get()); in TEST() local
241 TBDFile File = std::move(Result.get()); in TEST() local
368 InterfaceFile File; in TEST() local
435 InterfaceFile File; in TEST() local
499 TBDFile File = std::move(Result.get()); in TEST() local
528 TBDFile File = std::move(Result.get()); in TEST() local
554 TBDFile File = std::move(Result.get()); in TEST() local
579 TBDFile File = std::move(Result.get()); in TEST() local
603 TBDFile File = std::move(Result.get()); in TEST() local
627 TBDFile File = std::move(Result.get()); in TEST() local
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSyncAPI.cpp15 void runAddDocument(ClangdServer &Server, PathRef File, in runAddDocument()
72 runCodeComplete(ClangdServer &Server, PathRef File, Position Pos, in runCodeComplete()
80 PathRef File, Position Pos) { in runSignatureHelp()
87 runLocateSymbolAt(ClangdServer &Server, PathRef File, Position Pos) { in runLocateSymbolAt()
94 runFindDocumentHighlights(ClangdServer &Server, PathRef File, Position Pos) { in runFindDocumentHighlights()
100 llvm::Expected<RenameResult> runRename(ClangdServer &Server, PathRef File, in runRename()
109 runPrepareRename(ClangdServer &Server, PathRef File, Position Pos, in runPrepareRename()
118 runFormatFile(ClangdServer &Server, PathRef File, StringRef Code) { in runFormatFile()
146 runSemanticRanges(ClangdServer &Server, PathRef File, in runSemanticRanges()
154 runSwitchHeaderSource(ClangdServer &Server, PathRef File) { in runSwitchHeaderSource()
[all …]
DDraftStoreTests.cpp190 Path File = "foo.cpp"; in TEST() local
213 Path File = "foo.cpp"; in TEST() local
233 Path File = "foo.cpp"; in TEST() local
254 Path File = "foo.cpp"; in TEST() local
275 Path File = "foo.cpp"; in TEST() local
295 Path File = "foo.cpp"; in TEST() local
317 Path File = "foo.cpp"; in TEST() local
354 Path File = "foo.cpp"; in TEST() local
/external/llvm-project/llvm/unittests/Object/
DMinidumpTest.cpp39 const MinidumpFile &File = **ExpectedFile; in TEST() local
199 const MinidumpFile &File = **ExpectedFile; in TEST() local
229 const MinidumpFile &File = **ExpectedFile; in TEST() local
275 const MinidumpFile &File = **ExpectedFile; in TEST() local
349 const MinidumpFile &File = **ExpectedFile; in TEST() local
396 const MinidumpFile &File = **ExpectedFile; in TEST() local
449 const MinidumpFile &File = **ExpectedFile; in TEST() local
504 const MinidumpFile &File = **ExpectedFile; in TEST() local
589 const MinidumpFile &File = **ExpectedFile; in TEST() local
620 Expected<std::unique_ptr<MinidumpFile>> File = create(HeaderTooBig); in TEST() local
[all …]
/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/llvm-project/clang/unittests/Lex/
DHeaderMapTest.cpp62 FileTy &File; member
101 MapFile<1, 1> File; in TEST() local
109 MapFile<1, 1> File; in TEST() local
117 MapFile<1, 1> File; in TEST() local
125 MapFile<1, 1> File; in TEST() local
137 MapFile<3, 1> File; in TEST() local
147 MapFile<1, 1> File; in TEST() local
155 MapFile<1, 1> File; in TEST() local
164 FileTy File; in TEST() local
183 FileTy File; member
[all …]
/external/rust/crates/tokio/tests/support/
Dmock_file.rs12 pub struct File { struct
13 shared: Arc<Mutex<Shared>>,
129 impl File { impl
130 pub fn open(_: PathBuf) -> io::Result<File> { in open()
134 pub fn create(_: PathBuf) -> io::Result<File> { in create()
203 impl Read for &'_ File { implementation
224 impl Write for &'_ File { implementation
246 impl Seek for &'_ File { implementation
263 impl fmt::Debug for File { implementation
270 impl std::os::unix::io::AsRawFd for File { implementation
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DClangdServer.cpp193 [&CDB](llvm::StringRef File) { return CDB.getProjectInfo(File); }), in __anonb0c0fe120902()
201 void ClangdServer::addDocument(PathRef File, llvm::StringRef Contents, in addDocument()
224 void ClangdServer::removeDocument(PathRef File) { WorkScheduler.remove(File); } in removeDocument()
226 void ClangdServer::codeComplete(PathRef File, Position Pos, in codeComplete()
291 void ClangdServer::signatureHelp(PathRef File, Position Pos, in signatureHelp()
315 void ClangdServer::formatRange(PathRef File, llvm::StringRef Code, Range Rng, in formatRange()
327 void ClangdServer::formatFile(PathRef File, llvm::StringRef Code, in formatFile()
333 void ClangdServer::formatOnType(PathRef File, llvm::StringRef Code, in formatOnType()
357 void ClangdServer::prepareRename(PathRef File, Position Pos, in prepareRename()
387 void ClangdServer::rename(PathRef File, Position Pos, llvm::StringRef NewName, in rename()
[all …]
DRIFF.h59 struct File { struct
63 inline bool operator==(const File &L, const File &R) { argument
/external/llvm-project/llvm/unittests/ObjectYAML/
DMinidumpYAMLTest.cpp48 object::MinidumpFile &File = **ExpectedFile; in TEST() local
81 object::MinidumpFile &File = **ExpectedFile; in TEST() local
102 object::MinidumpFile &File = **ExpectedFile; in TEST() local
129 object::MinidumpFile &File = **ExpectedFile; in TEST() local
161 object::MinidumpFile &File = **ExpectedFile; in TEST() local
204 object::MinidumpFile &File = **ExpectedFile; in TEST() local
260 object::MinidumpFile &File = **ExpectedFile; in TEST() local
311 object::MinidumpFile &File = **ExpectedFile; in TEST() local
/external/llvm-project/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/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/tflite-support/tensorflow_lite_support/codegen/
Dcode_generator.h32 struct File { struct
33 std::string path;
34 std::string content;
/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 { impl
116 fn get(&self, file_id: FileId) -> Result<&File, files::Error> { in get()
/external/llvm-project/lldb/source/Host/linux/
DSupport.cpp16 std::string File = in getProcFile() local
28 std::string File = ("/proc/" + llvm::Twine(pid) + "/" + file).str(); in getProcFile() local
38 std::string File = ("/proc/" + file).str(); in getProcFile() local
/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/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/cxx/gen/src/
Dfile.rs7 pub struct File { struct
11 impl Parse for File { implementation
/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/llvm-project/libc/utils/UnitTest/
DTest.cpp60 const char *RHSStr, const char *File, unsigned long Line, in explainDifference()
74 const char *LHSStr, const char *RHSStr, const char *File, in test()
239 const char *RHSStr, const char *File, unsigned long Line) { in testStrEq()
246 const char *RHSStr, const char *File, unsigned long Line) { in testStrNe()
253 const char *RHSStr, const char *File, unsigned long Line) { in testMatch()
267 const char *File, unsigned long Line) { in testProcessKilled()
309 const char *File, unsigned long Line) { in testProcessExits()

12345678910>>...32