Searched refs:fd2 (Results 1 - 4 of 4) sorted by relevance
/test/xts/acts/commonlibrary_lite/file_hal/src/ |
H A D | utils_file_reli_test.c | 256 int fd2 = UtilsFileOpen(fileName2, O_RDWR_FS | O_APPEND_FS, 0); variable 257 TEST_ASSERT_GREATER_THAN_INT(0, fd2); 258 ret = UtilsFileWrite(fd2, g_def, strlen(g_def)); 260 ret = UtilsFileSeek(fd2, FILE_SEEK_OFFSET_20, SEEK_SET_FS); 263 ret = UtilsFileRead(fd2, buf, LENGTH_OF_READ_BUF); 265 ret = UtilsFileClose(fd2); 297 int fd2 = UtilsFileOpen(fileName3, O_RDWR_FS | O_APPEND_FS, 0); variable 298 TEST_ASSERT_GREATER_THAN_INT(0, fd2); 299 ret = UtilsFileWrite(fd2, g_def, strlen(g_def)); 301 ret = UtilsFileSeek(fd2, FILE_SEEK_OFFSET_2 336 int fd2 = UtilsFileOpen(fileName2, O_RDWR_FS, 0); global() variable 374 int fd2 = UtilsFileOpen(fileName3, O_RDWR_FS, 0); global() variable [all...] |
/test/xts/hats/kernel/syscalls/fileio/tee/ |
H A D | TeeApiTest.cpp | 105 int fd2; in HWTEST_F() local 113 fd2 = open(teeFile2, O_RDWR | O_CREAT | O_TRUNC, 0644); in HWTEST_F() 114 EXPECT_TRUE(fd2 >= 0); in HWTEST_F() 119 ssize_t size = tee(fd1, fd2, TEST_DATA_LEN, SPLICE_F_NONBLOCK); in HWTEST_F() 129 size = tee(pipeFd[0], fd2, TEST_DATA_LEN, SPLICE_F_NONBLOCK); in HWTEST_F() 137 close(fd2); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/flock/ |
H A D | FlockApiTest.cpp | 118 int fd2 = open(TEST_FILE, O_RDWR | O_CREAT | O_TRUNC, MODE_0600); in HWTEST_F() local 119 EXPECT_TRUE(fd2 > 0); in HWTEST_F() 125 ret = flock(fd2, LOCK_EX | LOCK_NB); in HWTEST_F() 131 close(fd2); in HWTEST_F()
|
/test/xts/acts/multimedia/av_codec/demuxer/src/ |
H A D | api_test.cpp | 504 int fd2 = open(g_file2, O_RDONLY); in HWTEST_F() local 512 OH_AVSource *source2 = OH_AVSource_CreateWithFD(fd2, 0, size2); in HWTEST_F() 519 close(fd2); in HWTEST_F()
|
Completed in 3 milliseconds