Home
last modified time | relevance | path

Searched refs:sk2 (Results 1 – 25 of 26) sorted by relevance

12

/external/ltp/utils/sctp/func_tests/
Dtest_autoclose.c65 int sk1, sk2; in main() local
92 sk2 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
96 test_enable_assoc_change(sk2); in main()
100 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main()
103 test_listen(sk2, 1); in main()
110 test_setsockopt(sk2, SCTP_AUTOCLOSE, &autoclose, sizeof(autoclose)); in main()
133 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
145 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
159 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
168 close(sk2); in main()
Dtest_1_to_1_sockopt.c86 int sk, sk1, sk2, acpt_sk, pf_class; in main() local
227 sk2 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
263 test_getsockopt(sk2, SCTP_INITMSG, &ginmsg, &len); in main()
279 test_connect(sk2, (struct sockaddr *) &conn_addr, len); in main()
285 error = setsockopt(sk2, SOL_SOCKET, SO_LINGER, &slinger, len); in main()
293 error = getsockopt(sk2, SOL_SOCKET, SO_LINGER, &glinger, &len); in main()
309 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &rcvbuf_val_get, &len); in main()
318 error = getsockopt(sk2, IPPROTO_SCTP, SCTP_STATUS, &gstatus, &len); in main()
330 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &rcvbuf_val_set, len); in main()
337 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &rcvbuf_val_get, &len); in main()
[all …]
Dtest_inaddr_any.c68 int sk1, sk2; in main() local
121 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
125 test_enable_assoc_change(sk2); in main()
129 test_bind(sk2, &anyaddr.sa, sizeof(anyaddr)); in main()
134 test_listen(sk2, 1); in main()
143 error = getsockname(sk2, &anyaddr.sa, &namelen); in main()
186 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
200 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
230 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
235 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
[all …]
Dtest_sctp_sendrecvmsg.c76 int sk1, sk2; in main() local
129 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
142 test_setsockopt(sk2, SCTP_EVENTS, &subscribe, sizeof(subscribe)); in main()
146 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main()
153 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &oldlen, &len); in main()
161 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &len, sizeof(len)); in main()
167 test_listen(sk2, 1); in main()
183 error = test_sctp_recvmsg(sk2, big_buffer, buflen, in main()
195 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &oldlen, in main()
220 error = test_sctp_recvmsg(sk2, big_buffer, buflen, in main()
[all …]
Dtest_fragments.c78 int sk1, sk2; in main() local
132 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
136 test_enable_assoc_change(sk2); in main()
140 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main()
143 test_listen(sk2, 1); in main()
182 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
202 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
261 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
276 remain = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
293 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
[all …]
Dtest_timetolive.c93 int sk1, sk2; in main() local
151 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
154 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &orig_len, in main()
170 test_setsockopt(sk2, SCTP_EVENTS, &subscribe, sizeof(subscribe)); in main()
174 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main()
186 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &len, in main()
193 test_listen(sk2, 1); in main()
229 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
248 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &orig_len, in main()
257 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
[all …]
Dtest_basic.c67 int sk1, sk2; in main() local
129 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
135 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main()
141 test_enable_assoc_change(sk2); in main()
157 error = recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
166 error = test_listen(sk2, 1); in main()
198 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
255 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
339 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
344 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
[all …]
Dtest_1_to_1_initmsg_connect.c42 int sk1, sk2, sk3, msglen; in test_sctp() local
85 sk2 = SAFE_ACCEPT(sk3, (struct sockaddr *) &acpt_addr, &len); in test_sctp()
96 TEST(recv(sk2, buffer_rcv, msglen, MSG_NOSIGNAL)); in test_sctp()
106 SAFE_CLOSE(sk2); in test_sctp()
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_sk_lookup.c327 struct bpf_sock *sk1 = NULL, *sk2 = NULL; in access_ctx_sk() local
360 sk2 = bpf_map_lookup_elem(&redir_map, &KEY_SERVER_B); in access_ctx_sk()
361 if (!sk2) in access_ctx_sk()
363 err = bpf_sk_assign(ctx, sk2, BPF_SK_LOOKUP_F_REPLACE); in access_ctx_sk()
366 if (ctx->sk != sk2) in access_ctx_sk()
379 if (sk2) in access_ctx_sk()
380 bpf_sk_release(sk2); in access_ctx_sk()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DUCAConformanceTest.java202 RawCollationKey sk1 = new RawCollationKey(), sk2 = new RawCollationKey(); in conformanceTest() local
271 newSk = sk2; in conformanceTest()
DCollationMiscTest.java3079 CollationKey sk2 = importviescoll.getCollationKey(t); in TestImport() local
3080 if(!sk1.equals(sk2)){ in TestImport()
3110 CollationKey sk2 = importvidecoll.getCollationKey(t); in TestImportWithType() local
3111 if(!sk1.equals(sk2)){ in TestImportWithType()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DUCAConformanceTest.java205 RawCollationKey sk1 = new RawCollationKey(), sk2 = new RawCollationKey(); in conformanceTest() local
274 newSk = sk2; in conformanceTest()
DCollationMiscTest.java3082 CollationKey sk2 = importviescoll.getCollationKey(t); in TestImport() local
3083 if(!sk1.equals(sk2)){ in TestImport()
3113 CollationKey sk2 = importvidecoll.getCollationKey(t); in TestImportWithType() local
3114 if(!sk1.equals(sk2)){ in TestImportWithType()
/external/cronet/third_party/icu/source/test/intltest/
Ducaconf.cpp197 uint8_t sk1[1024], sk2[1024]; in testConformance() local
282 newSk = sk2; in testConformance()
Dtsmthred.cpp743 uint8_t sk1[1024], sk2[1024]; in run() local
789 newSk = (newSk == sk1)?sk2:sk1; in run()
/external/icu/icu4c/source/test/intltest/
Ducaconf.cpp197 uint8_t sk1[1024], sk2[1024]; in testConformance() local
282 newSk = sk2; in testConformance()
Dtsmthred.cpp743 uint8_t sk1[1024], sk2[1024]; in run() local
789 newSk = (newSk == sk1)?sk2:sk1; in run()
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c5552 uint8_t sk2[500]; in TestImport() local
5607 ucol_getSortKey(importviescoll, str, 1, sk2, 500); in TestImport()
5608 if(compare_uint8_t_arrays(sk1, sk2) != 0){ in TestImport()
5615 ucol_getSortKey(importviescoll, str, strLength, sk2, 500); in TestImport()
5616 if(compare_uint8_t_arrays(sk1, sk2) != 0){ in TestImport()
5659 uint8_t sk2[500]; in TestImportWithType() local
5717 ucol_getSortKey(importvidecoll, str, 1, sk2, 500); in TestImportWithType()
5718 if(compare_uint8_t_arrays(sk1, sk2) != 0){ in TestImportWithType()
5725 ucol_getSortKey(importvidecoll, str, strLength, sk2, 500); in TestImportWithType()
5726 if(compare_uint8_t_arrays(sk1, sk2) != 0){ in TestImportWithType()
/external/cronet/third_party/icu/source/test/cintltst/
Dcmsccoll.c5552 uint8_t sk2[500]; in TestImport() local
5607 ucol_getSortKey(importviescoll, str, 1, sk2, 500); in TestImport()
5608 if(compare_uint8_t_arrays(sk1, sk2) != 0){ in TestImport()
5615 ucol_getSortKey(importviescoll, str, strLength, sk2, 500); in TestImport()
5616 if(compare_uint8_t_arrays(sk1, sk2) != 0){ in TestImport()
5659 uint8_t sk2[500]; in TestImportWithType() local
5717 ucol_getSortKey(importvidecoll, str, 1, sk2, 500); in TestImportWithType()
5718 if(compare_uint8_t_arrays(sk1, sk2) != 0){ in TestImportWithType()
5725 ucol_getSortKey(importvidecoll, str, strLength, sk2, 500); in TestImportWithType()
5726 if(compare_uint8_t_arrays(sk1, sk2) != 0){ in TestImportWithType()
/external/libfuse/
DAUTHORS174 Stephen Kitt <steve@sk2.org>
/external/hyphenation-patterns/en-US/
Dhyph-en-us.pat.txt3652 sk2
/external/hyphenation-patterns/af/
Dhyph-af.pat.txt8368 1sk2
/external/hyphenation-patterns/sk/
Dhyph-sk.pat.txt8368 1sk2
/external/hyphenation-patterns/cs/
Dhyph-cs.pat.txt8368 1sk2
/external/hyphenation-patterns/sv/
Dhyph-sv.pat.txt775 .sk2

12