Home
last modified time | relevance | path

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

/cts/tests/tests/security/jni/
Dandroid_security_cts_NativeCodeTest.cpp222 static struct iovec *iovs = NULL; variable
236 readv(fd[0], iovs, BUFS); in func_readv()
256 iovs = (struct iovec*)malloc(BUFS * sizeof(struct iovec)); in android_security_cts_NativeCodeTest_doPipeReadVTest()
257 if (iovs == NULL) { in android_security_cts_NativeCodeTest_doPipeReadVTest()
272 iovs[OVERFLOW_BUF].iov_base = bufs[OVERFLOW_BUF]; in android_security_cts_NativeCodeTest_doPipeReadVTest()
273 iovs[OVERFLOW_BUF].iov_len = IOV_LEN; in android_security_cts_NativeCodeTest_doPipeReadVTest()
285 iovs[i].iov_base = bufs[i]; in android_security_cts_NativeCodeTest_doPipeReadVTest()
286 iovs[i].iov_len = IOV_LEN; in android_security_cts_NativeCodeTest_doPipeReadVTest()
321 free(iovs); in android_security_cts_NativeCodeTest_doPipeReadVTest()