Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-10229/
Dpoc.c51 char buf1[10], buf2[10], buf3[10]; in udp_recv() local
60 memset(buf1, 0, sizeof(buf1)); in udp_recv()
67 iov[0].iov_base = buf1; in udp_recv()
68 iov[0].iov_len = sizeof(buf1); in udp_recv()
73 memset(buf1, 0, sizeof(buf1)); in udp_recv()
/cts/tests/tests/net/jni/
DNativeMultinetworkJni.cpp184 uint8_t buf1[MAXPACKET] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() local
186 int len1 = makeQuery(kGoogleName, ns_t_a, buf1, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
193 int fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
204 memset(buf1, 0, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
205 len1 = makeQuery(kNxDomainName, ns_t_a, buf1, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
207 fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
213 memset(buf1, 0, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
215 len1 = makeQuery(kGoogleName, ns_t_aaaa, buf1, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
220 fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
231 memset(buf1, 0, sizeof(buf1)); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
[all …]
/cts/tests/tests/net/native/dns/
DNativeDnsAsyncTest.cpp128 uint8_t buf1[MAXPACKET] = {}; in TEST() local
130 ns_c_in, ns_t_a, nullptr, 0, nullptr, buf1, sizeof(buf1)); in TEST()
138 int fd1 = android_res_nsend(NETWORK_UNSPECIFIED, buf1, len1, 0); in TEST()
147 memset(buf1, 0, sizeof(buf1)); in TEST()
150 ns_c_in, ns_t_aaaa, nullptr, 0, nullptr, buf1, sizeof(buf1)); in TEST()
156 fd1 = android_res_nsend(NETWORK_UNSPECIFIED, buf1, len1, 0); in TEST()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTest.java579 ByteBuffer buf1 = ByteBuffer.allocate(1024*1024); in testTrackSelection() local
587 int n1 = ex1.readSampleData(buf1, 0); in testTrackSelection()
612 int n1 = ex1.readSampleData(buf1, 0); in testTrackSelection()
632 int n1 = ex1.readSampleData(buf1, 0); in testTrackSelection()
652 int n1 = ex1.readSampleData(buf1, 0); in testTrackSelection()
684 int n1 = ex1.readSampleData(buf1, 0); in testTrackSelection()
717 int n1 = ex1.readSampleData(buf1, 0); in testTrackSelection()
959 ByteBuffer buf1 = ByteBuffer.allocate(1024*1024); in testDecodeFragmented() local
971 int n1 = ex1.readSampleData(buf1, 0); in testDecodeFragmented()
979 buf1.limit(n1); in testDecodeFragmented()
[all …]