Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeMuxerUnitTest.cpp81 int pipefd[2]; in nativeTestIfNonSeekableFdIsRejected() local
82 if (pipe(pipefd) == -1) { in nativeTestIfNonSeekableFdIsRejected()
86 AMediaMuxer* muxer = AMediaMuxer_new(pipefd[1], AMEDIAMUXER_OUTPUT_FORMAT_THREE_GPP); in nativeTestIfNonSeekableFdIsRejected()
93 close(pipefd[0]); in nativeTestIfNonSeekableFdIsRejected()
94 close(pipefd[1]); in nativeTestIfNonSeekableFdIsRejected()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c1163 int pipefd[PIPES]; variable
1256 pipefd[i] = open_pipe(i); in open_pipes()
1271 if (do_poll(pipefd[i], 0) & POLLHUP) { in find_bad_pipe()
1273 bad_pipe = pipefd[i]; in find_bad_pipe()
1283 if (close(pipefd[i]) < 0) in close_pipes()
1284 fail("close pipe fail, i=%d fd=%d", i, pipefd[i]); in close_pipes()