Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 132) sorted by relevance

123456

/test/xts/acts/commonlibrary_lite/file_hal/src/
Dutils_file_func_test.c67 int fd = UtilsFileOpen(fileName, O_RDONLY_FS | O_CREAT_FS, 0); variable
82 int fd = UtilsFileOpen(fileName, O_WRONLY_FS | O_CREAT_FS, 0); variable
97 int fd = UtilsFileOpen(fileName, O_RDWR_FS | O_CREAT_FS, 0); variable
114 int fd = UtilsFileOpen(fileName, O_RDONLY_FS, 0); variable
131 int fd = UtilsFileOpen(fileName, O_WRONLY_FS, 0); variable
148 int fd = UtilsFileOpen(fileName, O_RDWR_FS, 0); variable
165 int fd = UtilsFileOpen(fileName, O_RDWR_FS | O_TRUNC_FS, 0); variable
182 int fd = UtilsFileOpen(fileName, O_RDWR_FS | O_APPEND_FS, 0); variable
197 int fd = UtilsFileOpen(fileName, O_RDONLY_FS | O_CREAT_FS | O_EXCL_FS, 0); variable
216 int fd = UtilsFileOpen(fileName, O_WRONLY_FS | O_CREAT_FS | O_EXCL_FS, 0); variable
[all …]
/test/xts/acts/kernel_lite/fs_posix/src/
DFsUnistdTest.cpp43 int fd = 0; variable
69 int fd = 0; variable
85 int fd = 0; variable
101 int fd = 0; variable
168 int fd = 0; variable
187 int fd = 0; variable
210 int fd = 0; variable
259 int fd = 0; variable
281 int fd = 0; variable
441 int fd = open(FILE0, O_CREAT | O_RDWR, 0777); variable
[all …]
DFsFcntlTest.cpp46 int fd = 0; variable
69 int fd = 0; variable
90 int fd = 0; variable
117 int fd = 0; variable
149 int fd = 0; variable
180 int fd = 0; variable
216 int fd = open(FILE0, O_RDWR | O_CREAT | O_EXCL, 0777); variable
262 int fd = open(FILE0, O_RDWR | O_CREAT | O_EXCL, 0777); variable
297 int fd = open(FILE0, O_RDWR | O_CREAT | O_EXCL, 0777); variable
309 int fd = 0; variable
[all …]
DFsStatTest.cpp62 int fd = 0; variable
97 int fd = 0; variable
133 int fd = 0; variable
242 int fd = creat(FILE0, 0777); variable
DFsOtherTest.cpp49 int fd = 0; variable
68 int fd = 0; variable
88 int fd = 0; variable
DFileSystemTest.h64 #define WriteCloseTest(fd) do { \ argument
71 #define ReadCloseTest(fd) do { \ argument
/test/xts/acts/multimedia/av_codec/demuxer/src/
Dfunc_test.cpp192 int fd = open(file, O_RDONLY); variable
211 int fd = open(file, O_RDONLY); variable
231 int fd = open(file, O_RDONLY); variable
279 int fd = open(file, O_RDONLY); variable
337 int fd = open(file, O_RDONLY); variable
394 int fd = open(file, O_RDONLY); variable
451 int fd = open(file, O_RDONLY); variable
502 int fd = open(file, O_RDONLY); variable
551 int fd = open(file, O_RDONLY); variable
600 int fd = open(file, O_RDONLY); variable
[all …]
Dproc_test.cpp161 int fd = open(file, O_RDONLY); variable
216 int fd = open(file, O_RDONLY); variable
270 int fd = open(file, O_RDONLY); variable
322 int fd = open(file, O_RDONLY); variable
374 int fd = open(file, O_RDONLY); variable
422 int fd = open(file, O_RDONLY); variable
463 int fd = open(file, O_RDONLY); variable
515 int fd = open(file, O_RDONLY); variable
567 int fd = open(file, O_RDONLY); variable
616 int fd = open(file, O_RDONLY); variable
[all …]
/test/xts/hats/kernel/accesstokenid/
Daccesstokenid_test.cpp76 int fd; in GenRand64() local
92 int fd = open(dev_accesstokenid, O_RDWR); in GetTokenid() local
111 int fd = open(dev_accesstokenid, O_RDWR); in SetTokenid() local
130 int fd = open(dev_accesstokenid, O_RDWR); in GetfTokenid() local
149 int fd = open(dev_accesstokenid, O_RDWR); in SetfTokenid() local
372 int fd = open(dev_accesstokenid, O_RDWR); variable
392 int fd = open(dev_accesstokenid, O_RDWR); variable
412 int fd = open(dev_accesstokenid, O_RDWR); variable
432 int fd = open(dev_accesstokenid, O_RDWR); variable
454 int fd = open(dev_accesstokenid, O_RDWR); variable
[all …]
/test/xts/acts/storage/storagefileiojstest/entry/src/ohosTest/js/test/module_fileio/members/
Dopen.test.js57 fileio.open(fpath, 0, 0o0400, function (err, fd) { argument
86 await fileio.open(fpath, 0, 0o0400, function (err, fd) { argument
114 await fileio.open(fpath, 0, function (err, fd) { argument
142 fileio.open(fpath, 0o2, function (err, fd) { argument
171 .then(function (fd) { argument
202 .then(function (fd) { argument
233 .then(function (fd) { argument
262 fileio.open(fpath, 0o0101, 0o0222, function (err, fd) { argument
290 fileio.open(fpath, 0o100, 0o0444, function (err, fd) { argument
313 fileio.open(fpath, 0o2101, 0o0222, function (err, fd) { argument
/test/xts/acts/kernel_lite/ipc_posix/pipe_fifo/
DPipeTest.cpp41 int fd[2]; variable
81 int fd[2]; variable
122 int fd[2]; variable
185 int fd[2]; variable
240 int fd[2]; variable
DFifoTest.cpp51 int fd; variable
108 int fd = -1; variable
172 int fd = -1; variable
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dxattrndk.cpp54 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms); in Lgetxattr() local
81 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms); in Setxattr() local
102 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms); in Getxattr() local
129 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms); in Listxattr() local
157 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms); in LListxattr() local
198 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms); in Lsetxattr() local
216 int fd = open(path, O_CREAT | O_WRONLY, PARAM_0667); in Removexattr() local
228 int fd = open(path, O_CREAT | O_WRONLY, PARAM_0667); in Lremovexattr() local
244 int fd = open(path, O_CREAT | O_WRONLY, PARAM_0667); in Fremovexattr() local
259 int fd = open(path, O_CREAT | O_WRONLY, PARAM_0667); in Fsetxattr() local
Dfcntl1ndk.cpp140 int fd = open(path, O_CREAT | O_RDWR, PARAM_0777); in Readahead() local
165 int fd = open(path, O_CREAT | O_RDWR, PARAM_0777); in PosixFallocate() local
193 int fd = 0; in NameToHandleAt() local
221 int fd; in Open() local
250 int fd; in Open64() local
282 int fd = 0; in OpenByHandleAt() local
313 int fd = open(path, O_CREAT | O_RDWR, PARAM_0777); in PosixFadvise() local
341 int fd = open(path, O_CREAT | O_RDWR, PARAM_0777); in FalLocate() local
366 int fd = open(path, O_CREAT | O_RDWR, PARAM_0777); in FalLocate64() local
390 int fd = open(path, O_CREAT, PARAM_0777); in FcnTl() local
Dmmanndk.cpp71 int fd = memfd_create(tmpfile, PARAM_0); in MemfdCreate() local
91 int fd = open(tmpfile, O_CREAT | O_RDWR, PARAM_0777); in Mincore() local
117 int fd; in Mmap() local
157 int fd = open(tmpfile, O_CREAT | O_RDWR, PARAM_0777); in MreMap() local
176 int fd = open(tmpfile, O_CREAT | O_RDWR, PARAM_0777); in MSync() local
223 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in MAdvise() local
298 int fd = open("/data/storage/el2/base/files/Fzl.txt", O_CREAT | O_RDWR, PARAM_0777); in Mmap64() local
316 int fd = open("/data/storage/el2/base/files/test.txt", O_CREAT, PARAM_0777); in Munmap() local
335 int fd = open(path, O_CREAT | O_RDWR, PARAM_0777); in RemapFilePages() local
Dtimendk1.cpp56 int fd = open(TEST_FILE, O_RDWR | O_CREAT, PARAM_777); in Futimes_One() local
71 int fd = open(TEST_FILE, O_CREAT, PARAM_0777); in Futimes_Two() local
84 int fd = openat(dir_fd, TEST_FILE_NAME, O_CREAT | O_RDWR | O_EXCL, PARAM_0666); in Futimesat_One() local
137 int fd = open(TEST_FILE, O_RDWR | O_RSYNC | O_CREAT, PARAM_0777); in Utimes_One() local
150 int fd = open(TEST_FILE, O_RDWR | O_RSYNC | O_CREAT, PARAM_0777); in Utimes_Two() local
Dstatfsndk.cpp75 int fd = open("/data/storage/el2/base/files/Fzl.txt", O_CREAT, PARAM_0777); in Fstatfs() local
87 int fd = open("/data/storage/el2/base/files/Fzl.txt", O_CREAT, PARAM_0777); in Fstatfs64() local
99 int fd = open("/data/storage/el2/base/files/Fzl.txt", O_CREAT, PARAM_0777); in Fstatvfs() local
111 int fd = open("/data/storage/el2/base/files/Fzl.txt", O_CREAT, PARAM_0777); in Fstatvfs64() local
Dinotifyndk.cpp61 int fd = inotify_init1(valueZero); in InotifyInit1() local
80 int fd = inotify_init(); in InotifyAddWatch() local
104 int fd = inotify_init(); in InotifyRmWatch() local
/test/xts/acts/ai/nncore/nncoretest/src/
DHdiTensorTest.cpp158 int fd = -1; variable
179 int fd = -1; variable
199 int fd = -1; variable
224 int fd = -1; variable
251 int fd = -1; variable
278 int fd = -1; variable
435 int fd = -1; variable
461 int fd = -1; variable
478 int fd = -1; variable
531 int fd = -1; variable
/test/xts/device_attest_lite/services/core/mini/utils/
Dattest_utils_file_detail.c87 int32_t fd = UtilsFileOpen(fileName, O_CREAT_FS | O_TRUNC_FS | O_RDWR_FS, 0); in WriteFile() local
118 int32_t fd = UtilsFileOpen(fileName, O_EXCL_FS | O_RDWR_FS, 0); in ReadFile() local
139 int32_t fd = UtilsFileOpen(fileName, O_CREAT_FS, 0); in CreateFile() local
153 int32_t fd = UtilsFileOpen(fileName, O_RDONLY_FS, 0); in IsFileExist() local
/test/xts/acts/kernel_lite/mem_posix/src/
DMmapApiTest.cpp324 int fd = open(file, O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); variable
370 int fd = open(file, O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); variable
415 int fd = open(file, O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); variable
456 int fd = open(file, O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); variable
502 int fd = open(file, O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); variable
549 int fd = open(file, O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); variable
596 int fd = open(file, O_CREAT | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); variable
710 int fd = open(file, O_CREAT | O_RDWR, 0777); variable
764 int fd; variable
810 int fd = open(file, O_CREAT | O_RDWR, 0777); variable
[all …]
DMprotectApiTest.cpp227 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); variable
277 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); variable
333 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); variable
376 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); variable
421 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); variable
460 int fd = open(file, O_CREAT|O_RDONLY, S_IRUSR|S_IRGRP|S_IROTH); variable
/test/xts/hats/kernel/madvise/
DMadviseApiTest.cpp102 int fd = open("output_file.txt", O_RDWR); variable
125 int fd = open("output_file.txt", O_RDWR); variable
187 int fd = open("output_file.txt", O_RDWR); variable
211 int fd = open("output_file.txt", O_RDWR); variable
/test/xts/acts/multimedia/avsource/entry/src/main/cpp/
Dmediaavsourcendk.cpp52 int fd = open(fileName, O_RDONLY, PARAM_0666); in AVSourceCreateWithFD() local
81 int fd = open(fileName, O_RDONLY, PARAM_0666); in AVSourceDestroy() local
109 int fd = open(fileName, O_RDONLY, PARAM_0666); in AVSourceGetSourceFormat() local
140 int fd = open(fileName, O_RDONLY, PARAM_0666); in AVSourceGetTrackFormat() local
/test/xts/acts/multimedia/image_effect/OHImageEffectNDK/entry/src/main/cpp/utils/
Dpixelmap_helper.cpp39 int fd = open(pathName.c_str(), O_RDWR); in Decode() local
40 std::shared_ptr<int> fdPtr(&fd, [](int *fd) { close(*fd); }); in Decode()
84 int fd = open(path.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in Encode() local

123456