/external/ltp/utils/sctp/func_tests/ |
D | test_autoclose.c | 64 int sk1, sk2; in main() local 88 sk2 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 92 test_enable_assoc_change(sk2); in main() 96 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main() 99 test_listen(sk2, 1); in main() 106 test_setsockopt(sk2, SCTP_AUTOCLOSE, &autoclose, sizeof(autoclose)); in main() 129 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 141 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 155 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 164 close(sk2); in main()
|
D | test_1_to_1_sockopt.c | 85 int sk, sk1, sk2, acpt_sk, pf_class; in main() local 223 sk2 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 259 test_getsockopt(sk2, SCTP_INITMSG, &ginmsg, &len); in main() 275 test_connect(sk2, (struct sockaddr *) &conn_addr, len); in main() 281 error = setsockopt(sk2, SOL_SOCKET, SO_LINGER, &slinger, len); in main() 289 error = getsockopt(sk2, SOL_SOCKET, SO_LINGER, &glinger, &len); in main() 305 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &rcvbuf_val_get, &len); in main() 314 error = getsockopt(sk2, IPPROTO_SCTP, SCTP_STATUS, &gstatus, &len); in main() 326 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &rcvbuf_val_set, len); in main() 333 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &rcvbuf_val_get, &len); in main() [all …]
|
D | test_inaddr_any.c | 67 int sk1, sk2; in main() local 117 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 121 test_enable_assoc_change(sk2); in main() 125 test_bind(sk2, &anyaddr.sa, sizeof(anyaddr)); in main() 130 test_listen(sk2, 1); in main() 139 error = getsockname(sk2, &anyaddr.sa, &namelen); in main() 182 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 196 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 226 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 231 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() [all …]
|
D | test_sctp_sendrecvmsg.c | 75 int sk1, sk2; in main() local 125 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 138 test_setsockopt(sk2, SCTP_EVENTS, &subscribe, sizeof(subscribe)); in main() 142 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main() 149 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &oldlen, &len); in main() 157 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &len, sizeof(len)); in main() 163 test_listen(sk2, 1); in main() 179 error = test_sctp_recvmsg(sk2, big_buffer, buflen, in main() 191 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &oldlen, in main() 216 error = test_sctp_recvmsg(sk2, big_buffer, buflen, in main() [all …]
|
D | test_fragments.c | 77 int sk1, sk2; in main() local 128 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 132 test_enable_assoc_change(sk2); in main() 136 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main() 139 test_listen(sk2, 1); in main() 178 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 198 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 257 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 272 remain = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 289 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() [all …]
|
D | test_timetolive.c | 92 int sk1, sk2; in main() local 147 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 150 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &orig_len, in main() 166 test_setsockopt(sk2, SCTP_EVENTS, &subscribe, sizeof(subscribe)); in main() 170 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main() 182 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &len, in main() 189 test_listen(sk2, 1); in main() 225 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 244 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &orig_len, in main() 253 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() [all …]
|
D | test_basic.c | 66 int sk1, sk2; in main() local 125 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 131 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main() 137 test_enable_assoc_change(sk2); in main() 153 error = recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 162 error = test_listen(sk2, 1); in main() 194 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 251 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 335 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() 340 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main() [all …]
|
D | test_1_to_1_initmsg_connect.c | 58 int sk1, sk2, sk3, pf_class; in main() local 104 sk2 = test_accept(sk3, (struct sockaddr *) &acpt_addr, &len); in main() 111 test_recv(sk2, buffer_rcv, (strlen(message) + 1), MSG_NOSIGNAL); in main() 116 close (sk2); in main()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | UCAConformanceTest.java | 200 RawCollationKey sk1 = new RawCollationKey(), sk2 = new RawCollationKey(); in conformanceTest() local 269 newSk = sk2; in conformanceTest()
|
D | CollationMiscTest.java | 3080 CollationKey sk2 = importviescoll.getCollationKey(t); in TestImport() local 3081 if(!sk1.equals(sk2)){ in TestImport() 3111 CollationKey sk2 = importvidecoll.getCollationKey(t); in TestImportWithType() local 3112 if(!sk1.equals(sk2)){ in TestImportWithType()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | UCAConformanceTest.java | 199 RawCollationKey sk1 = new RawCollationKey(), sk2 = new RawCollationKey(); in conformanceTest() local 268 newSk = sk2; in conformanceTest()
|
D | CollationMiscTest.java | 3079 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/icu4c/source/test/intltest/ |
D | ucaconf.cpp | 197 uint8_t sk1[1024], sk2[1024]; in testConformance() local 282 newSk = sk2; in testConformance()
|
D | tsmthred.cpp | 916 uint8_t sk1[1024], sk2[1024]; in run() local 964 newSk = (newSk == sk1)?sk2:sk1; in run()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cmsccoll.c | 5552 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/hyphenation-patterns/en-US/ |
D | hyph-en-us.pat.txt | 3652 sk2
|
/external/hyphenation-patterns/hu/ |
D | hyph-hu.pat.txt | 1049 .sk2
|