Home
last modified time | relevance | path

Searched refs:file_t (Results 1 – 25 of 42) sorted by relevance

12

/external/selinux/libsepol/tests/policies/test-deps/
Dmodule.conf5 type system_t, sysadm_t, file_t;
15 allow system_t file_t : file { read write };
19 allow sysadm_t file_t : file { read write };
Dmodreq-type-opt.conf4 type file_t;
15 allow type_req_t file_t : file { read write };
Dbase-notmetreq.conf439 type file_t;
Dsmall-base.conf440 type file_t;
Dbase-metreq.conf444 type file_t;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DMemoryBuffer.cpp185 MemoryBufferMMapFile(bool RequiresNullTerminator, sys::fs::file_t FD, uint64_t Len, in MemoryBufferMMapFile()
211 getMemoryBufferForStream(sys::fs::file_t FD, const Twine &BufferName) { in getMemoryBufferForStream()
239 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
247 Expected<sys::fs::file_t> FDOrErr = in getFileAux()
251 sys::fs::file_t FD = *FDOrErr; in getFileAux()
308 static bool shouldUseMmap(sys::fs::file_t FD, in shouldUseMmap()
366 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForReadWrite( in getReadWriteFile()
370 sys::fs::file_t FD = *FDOrErr; in getReadWriteFile()
418 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, in getOpenFileImpl()
482 MemoryBuffer::getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, in getOpenFile()
[all …]
/external/llvm-project/llvm/lib/Support/
DMemoryBuffer.cpp199 MemoryBufferMMapFile(bool RequiresNullTerminator, sys::fs::file_t FD, uint64_t Len, in MemoryBufferMMapFile()
225 getMemoryBufferForStream(sys::fs::file_t FD, const Twine &BufferName) { in getMemoryBufferForStream()
253 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
261 Expected<sys::fs::file_t> FDOrErr = in getFileAux()
265 sys::fs::file_t FD = *FDOrErr; in getFileAux()
322 static bool shouldUseMmap(sys::fs::file_t FD, in shouldUseMmap()
380 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForReadWrite( in getReadWriteFile()
384 sys::fs::file_t FD = *FDOrErr; in getReadWriteFile()
432 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, in getOpenFileImpl()
496 MemoryBuffer::getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, in getOpenFile()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileSystem.h58 using file_t = void *; variable
60 using file_t = int;
63 extern const file_t kInvalidFile;
653 std::error_code status(file_t FD, file_status &Result);
969 Expected<file_t> openNativeFile(const Twine &Name, CreationDisposition Disp,
976 file_t convertFDToNativeFile(int FD);
979 inline file_t convertFDToNativeFile(int FD) { return FD; } in convertFDToNativeFile()
984 file_t getStdinHandle();
988 file_t getStdoutHandle();
992 file_t getStderrHandle();
[all …]
DMemoryBuffer.h93 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize,
103 getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
/external/llvm-project/llvm/include/llvm/Support/
DFileSystem.h58 using file_t = void *; variable
60 using file_t = int;
63 extern const file_t kInvalidFile;
633 std::error_code status(file_t FD, file_status &Result);
949 Expected<file_t> openNativeFile(const Twine &Name, CreationDisposition Disp,
956 file_t convertFDToNativeFile(int FD);
959 inline file_t convertFDToNativeFile(int FD) { return FD; } in convertFDToNativeFile()
964 file_t getStdinHandle();
968 file_t getStdoutHandle();
972 file_t getStderrHandle();
[all …]
DMemoryBuffer.h33 using file_t = void *; variable
35 using file_t = int;
99 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize,
109 getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
/external/llvm-project/lldb/include/lldb/
Dlldb-types.h42 typedef void *file_t; // Host file type typedef
59 typedef int file_t; // Host file type typedef
/external/llvm-project/llvm/lib/Support/Windows/
DPath.inc124 const file_t kInvalidFile = INVALID_HANDLE_VALUE;
763 std::error_code status(file_t FileHandle, file_status &Result) {
817 std::error_code mapped_file_region::init(sys::fs::file_t OrigFileHandle,
886 mapped_file_region::mapped_file_region(sys::fs::file_t fd, mapmode mode,
1123 file_t &ResultFile, DWORD Disp,
1155 Expected<file_t> openNativeFile(const Twine &Name, CreationDisposition Disp,
1169 file_t Result;
1199 Expected<file_t> Result = openNativeFile(Name, Disp, Access, Flags);
1208 file_t File;
1226 Expected<file_t> openNativeFileForRead(const Twine &Name, OpenFlags Flags,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc125 const file_t kInvalidFile = INVALID_HANDLE_VALUE;
743 std::error_code status(file_t FileHandle, file_status &Result) {
797 std::error_code mapped_file_region::init(sys::fs::file_t OrigFileHandle,
866 mapped_file_region::mapped_file_region(sys::fs::file_t fd, mapmode mode,
1103 file_t &ResultFile, DWORD Disp,
1135 Expected<file_t> openNativeFile(const Twine &Name, CreationDisposition Disp,
1149 file_t Result;
1179 Expected<file_t> Result = openNativeFile(Name, Disp, Access, Flags);
1188 file_t File;
1206 Expected<file_t> openNativeFileForRead(const Twine &Name, OpenFlags Flags,
[all …]
/external/llvm-project/llvm/unittests/Support/
DMemoryBufferTest.cpp111 Expected<sys::fs::file_t> File = sys::fs::openNativeFileForRead(TestPath); in TEST_F()
120 Expected<sys::fs::file_t> File = sys::fs::openNativeFileForWrite( in TEST_F()
167 sys::fs::file_t pipes[2]; in TEST_F()
398 Expected<sys::fs::file_t> File = sys::fs::openNativeFileForRead(TestPath); in TEST_F()
/external/llvm-project/lldb/include/lldb/Host/windows/
DConnectionGenericFileWindows.h24 ConnectionGenericFile(lldb::file_t file, bool owns_file);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DInstrumentationMap.cpp188 loadYAML(sys::fs::file_t Fd, size_t FileSize, StringRef Filename, in loadYAML()
231 Expected<sys::fs::file_t> FdOrErr = sys::fs::openNativeFileForRead(Filename); in loadInstrumentationMap()
/external/llvm-project/llvm/lib/XRay/
DInstrumentationMap.cpp223 loadYAML(sys::fs::file_t Fd, size_t FileSize, StringRef Filename, in loadYAML()
266 Expected<sys::fs::file_t> FdOrErr = in loadInstrumentationMap()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DPath.inc116 const file_t kInvalidFile = -1;
1024 Expected<file_t> openNativeFileForRead(const Twine &Name, OpenFlags Flags,
1026 file_t ResultFD;
1033 file_t getStdinHandle() { return 0; }
1034 file_t getStdoutHandle() { return 1; }
1035 file_t getStderrHandle() { return 2; }
1037 Expected<size_t> readNativeFile(file_t FD, MutableArrayRef<char> Buf) {
1045 Expected<size_t> readNativeFileSlice(file_t FD, MutableArrayRef<char> Buf,
1061 std::error_code closeFile(file_t &F) {
1062 file_t TmpF = F;
/external/llvm-project/llvm/lib/Support/Unix/
DPath.inc123 const file_t kInvalidFile = -1;
1058 Expected<file_t> openNativeFileForRead(const Twine &Name, OpenFlags Flags,
1060 file_t ResultFD;
1067 file_t getStdinHandle() { return 0; }
1068 file_t getStdoutHandle() { return 1; }
1069 file_t getStderrHandle() { return 2; }
1071 Expected<size_t> readNativeFile(file_t FD, MutableArrayRef<char> Buf) {
1084 Expected<size_t> readNativeFileSlice(file_t FD, MutableArrayRef<char> Buf,
1149 std::error_code closeFile(file_t &F) {
1150 file_t TmpF = F;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DCaching.cpp42 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForRead( in localCache()
/external/llvm-project/llvm/lib/LTO/
DCaching.cpp42 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForRead( in localCache()
/external/llvm-project/lldb/source/Interpreter/
DScriptInterpreter.cpp164 lldb::file_t read_file = pipe.GetReadNativeHandle(); in ScriptInterpreterIORedirect()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/debuginfo/
Dv1_1.0_224_frozen.wrong_attr.stack.part.pbtxt.debug52 files: "fake/user/code/file_t.py"
Dv1_1.0_224_frozen.wrong_attr.line.part.pbtxt.debug52 files: "fake/user/code/file_t.py"

12