Home
last modified time | relevance | path

Searched refs:FileError (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/mojo/public/cpp/base/
Dfile_error_mojom_traits.h14 struct EnumTraits<mojo_base::mojom::FileError, base::File::Error> {
15 static mojo_base::mojom::FileError ToMojom(base::File::Error error) {
18 return mojo_base::mojom::FileError::OK;
20 return mojo_base::mojom::FileError::FAILED;
22 return mojo_base::mojom::FileError::IN_USE;
24 return mojo_base::mojom::FileError::EXISTS;
26 return mojo_base::mojom::FileError::NOT_FOUND;
28 return mojo_base::mojom::FileError::ACCESS_DENIED;
30 return mojo_base::mojom::FileError::TOO_MANY_OPENED;
32 return mojo_base::mojom::FileError::NO_MEMORY;
[all …]
Dfile_error.typemap12 type_mappings = [ "mojo_base.mojom.FileError=::base::File::Error" ]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DError.cpp21 FileError, enumerator
40 case ErrorErrorCode::FileError: in message()
59 char FileError::ID = 0;
82 std::error_code FileError::convertToErrorCode() const { in convertToErrorCode()
83 return std::error_code(static_cast<int>(ErrorErrorCode::FileError), in convertToErrorCode()
/external/llvm-project/llvm/lib/Support/
DError.cpp21 FileError, enumerator
40 case ErrorErrorCode::FileError: in message()
59 char FileError::ID = 0;
82 std::error_code FileError::convertToErrorCode() const { in convertToErrorCode()
83 return std::error_code(static_cast<int>(ErrorErrorCode::FileError), in convertToErrorCode()
/external/crosvm/arch/src/
Dserial.rs27 FileError(std::io::Error), enumerator
42 FileError(e) => write!(f, "unable to open/create file: {}", e), in fmt()
221 let input_file = File::open(input_path.as_path()).map_err(Error::FileError)?; in create_serial_device()
257 .map_err(Error::FileError)?; in create_serial_device()
286 .map_err(Error::FileError)?; in create_serial_device()
304 let sock = UnixDatagram::unbound().map_err(Error::FileError)?; in create_serial_device()
318 return Err(Error::FileError(e)); in create_serial_device()
/external/python/cpython2/Tools/faqwiz/
Dfaqwiz.py18 class FileError: class
22 class InvalidFile(FileError):
25 class NoSuchSection(FileError):
27 FileError.__init__(self, NEWFILENAME %(section, 1))
30 class NoSuchFile(FileError):
32 FileError.__init__(self, file)
454 except FileError:
/external/libchrome/mojo/public/mojom/base/
Dfile_error.mojom9 enum FileError {
/external/llvm-project/llvm/include/llvm/Support/
DError.h1225 class FileError final : public ErrorInfo<FileError> {
1249 FileError(const Twine &F, Optional<size_t> LineNum, in FileError() function
1267 std::unique_ptr<FileError>(new FileError(F, Line, std::move(Payload)))); in build()
1278 return FileError::build(F, Optional<size_t>(), std::move(E)); in createFileError()
1284 return FileError::build(F, Optional<size_t>(Line), std::move(E)); in createFileError()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DError.h1221 class FileError final : public ErrorInfo<FileError> {
1245 FileError(const Twine &F, Optional<size_t> LineNum, in FileError() function
1263 std::unique_ptr<FileError>(new FileError(F, Line, std::move(Payload)))); in build()
1274 return FileError::build(F, Optional<size_t>(), std::move(E)); in createFileError()
1280 return FileError::build(F, Optional<size_t>(Line), std::move(E)); in createFileError()
/external/llvm-project/llvm/lib/Target/X86/
DX86LoadValueInjectionLoadHardening.cpp288 std::error_code FileError; in runOnMachineFunction() local
292 raw_fd_ostream FileOut(FileName, FileError); in runOnMachineFunction()
293 if (FileError) in runOnMachineFunction()
294 errs() << FileError.message(); in runOnMachineFunction()
/external/llvm-project/llvm/tools/dsymutil/
DDwarfLinkerForBinary.cpp207 std::unique_ptr<FileError> FE) { in remarksErrorHandler()
284 std::move(E), [&](std::unique_ptr<FileError> EC) -> Error { in loadObject()
/external/llvm-project/llvm/unittests/Support/
DErrorTest.cpp932 handleAllErrors(std::move(FE2), [](const FileError &F) { in TEST()
938 auto E31 = handleErrors(std::move(FE3), [](std::unique_ptr<FileError> F) { in TEST()
/external/llvm-project/lldb/source/Core/
DFormatEntity.cpp79 enum FileKind { FileError = 0, Basename, Dirname, Fullpath }; enumerator
573 case FileKind::FileError: in DumpFile()