Searched refs:fpath (Results 1 - 10 of 10) sorted by relevance
/test/xts/acts/storage/storagefileiov9jstest/entry/src/ohosTest/js/test/members/ |
H A D | stat.test.js | 40 let fpath = await nextFileName('fileIO_stat_sync_000'); 41 expect(prepareFile(fpath, FILE_CONTENT)).assertTrue(); 44 let stat = fileIO.statSync(fpath); 47 let file = fileIO.openSync(fpath); 51 fileIO.unlinkSync(fpath); 69 let fpath = await nextFileName('fileIO_stat_sync_001'); 72 fileIO.statSync(fpath); 111 let fpath = await nextFileName('fileIO_stat_sync_ino_000'); 112 expect(prepareFile(fpath, FILE_CONTENT)).assertTrue(); 115 let stat = fileIO.statSync(fpath); [all...] |
H A D | watcher.test.js | 75 let fpath = dpath + '/file_000'; 83 expect(prepareFile(fpath, FILE_CONTENT)).assertTrue(); 88 let file1 = fileIO.openSync(fpath, fileIO.OpenMode.WRITE_ONLY); 127 let fpath = dpath + '/file_001.txt'; 129 expect(prepareFile(fpath, FILE_CONTENT)).assertTrue(); 132 let file = fileIO.openSync(fpath, fileIO.OpenMode.READ_WRITE); 160 let fpath = dpath + '/file_002.txt'; 162 expect(prepareFile(fpath, FILE_CONTENT)).assertTrue(); 165 let file = fileIO.openSync(fpath, fileIO.OpenMode.READ_WRITE); 193 let fpath [all...] |
/test/xts/dcts/filemanagement/fileio/client/src/main/js/test/ |
H A D | FileioJsUnit.test.js | 61 * @param fpath
64 async function prepareFile(fpath) {
66 let file = fs.openSync(fpath, fs.OpenMode.CREATE | fs.OpenMode.READ_WRITE);
68 securityLabel.setSecurityLabelSync(fpath, "s0");
2605 let fpath = await getDistributedFilePath(tcNumber);
2606 console.info('fpath == ' + fpath);
2608 let fd = fileio.openSync(fpath, 0o100, 0o777);
2610 fileio.accessSync(fpath, 0);
2613 await getServerFileInfo(tcNumber, fpath, CODE_CREATE_FIL [all...] |
/test/xts/acts/storage/storagefileiojstest/entry/src/ohosTest/js/test/ |
H A D | Common.js | 27 export function prepareFile(fpath, content) { 29 let fd = fileio.openSync(fpath, 0o102, 0o666) 41 export function prepareEmptyFile(fpath) { 43 let fd = fileio.openSync(fpath, 0o102, 0o777) 52 export function fileToReadOnly(fpath) { 54 let fd = fileio.openSync(fpath, 0o1) 65 export function fileToWriteOnly(fpath) { 67 let fd = fileio.openSync(fpath, 0o2)
|
/test/xts/acts/storage/storagefilejstest/entry/src/ohosTest/js/test/ |
H A D | Common.js | 26 export function prepareFile(fpath, content) { 28 let fd = fileio.openSync(fpath, 0o102, 0o666) 40 export function prepareEmptyFile(fpath) { 42 let fd = fileio.openSync(fpath, 0o102, 0o777)
|
/test/xts/acts/storage/storagefileiov9jstest/entry/src/ohosTest/js/test/ |
H A D | Common.js | 28 export function prepareFile(fpath, content) { 30 let file = fileIO.openSync(fpath, fileIO.OpenMode.CREATE | fileIO.OpenMode.READ_WRITE) 43 export function prepare200MFile(fpath) { 45 let file = fileIO.openSync(fpath, fileIO.OpenMode.CREATE | fileIO.OpenMode.READ_WRITE)
|
/test/xts/acts/kernel_lite/utils/ |
H A D | libfs.cpp | 80 int RemoveFile(const char *fpath)
in RemoveFile() argument 82 if (!remove(fpath)) {
in RemoveFile() 85 LOG("remove file failed! path=%s: errno=%d:%s", fpath, errno, strerror(errno));
in RemoveFile()
|
H A D | libfs.h | 42 int RemoveFile(const char *fpath);
|
/test/xts/hats/kernel/posix_interface/interface_gn/utils/ |
H A D | libfs.cpp | 83 int RemoveFile(const char *fpath)
in RemoveFile() argument 85 if (!remove(fpath)) {
in RemoveFile() 88 LOG("remove file failed! path=%s: errno=%d:%s", fpath, errno, strerror(errno));
in RemoveFile()
|
H A D | libfs.h | 42 int RemoveFile(const char *fpath);
|
Completed in 11 milliseconds