Home
last modified time | relevance | path

Searched refs:pipefd (Results 1 - 2 of 2) sorted by relevance

/test/xts/hats/kernel/syscalls/fileio/write/
H A DWriteApiTest.cpp102 int pipefd[2]; in HWTEST_F() local
110 ret = pipe(pipefd); in HWTEST_F()
113 ret = write(pipefd[0], TEST_DATA, TEST_DATA_LEN); in HWTEST_F()
116 close(pipefd[0]); in HWTEST_F()
117 close(pipefd[1]); in HWTEST_F()
185 int pipefd[2]; in HWTEST_F() local
190 ret = pipe(pipefd); in HWTEST_F()
192 ret = write(pipefd[1], TEST_DATA, TEST_DATA_LEN); in HWTEST_F()
195 ret = read(pipefd[0], buf, TEST_DATA_LEN); in HWTEST_F()
201 close(pipefd[ in HWTEST_F()
[all...]
/test/xts/hats/kernel/syscalls/fileio/writev/
H A DWritevApiTest.cpp120 int pipefd[2]; in HWTEST_F() local
136 ret = pipe(pipefd); in HWTEST_F()
138 ret = writev(pipefd[1], vec, VEC_LEN); in HWTEST_F()
141 ret = read(pipefd[0], readBuf, TEST_DATA_LEN); in HWTEST_F()
147 close(pipefd[0]); in HWTEST_F()
148 close(pipefd[1]); in HWTEST_F()

Completed in 2 milliseconds