Home
last modified time | relevance | path

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

/external/libevent/test/
Dregress_main.c193 evutil_socket_t spair[2] = { -1, -1 }; in basic_test_setup() local
216 if (evutil_socketpair(AF_UNIX, SOCK_STREAM, 0, spair) == -1) { in basic_test_setup()
221 if (evutil_make_socket_nonblocking(spair[0]) == -1) { in basic_test_setup()
226 if (evutil_make_socket_nonblocking(spair[1]) == -1) { in basic_test_setup()
259 data->pair[0] = spair[0]; in basic_test_setup()
260 data->pair[1] = spair[1]; in basic_test_setup()
/external/ipsec-tools/src/racoon/
Dipsec_doi.c927 struct prop_pair **rpair = NULL, **spair = NULL; local
934 spair = get_proppair(iph2->sa, IPSECDOI_TYPE_PH2);
935 if (spair == NULL) {
971 if (spair[n] == NULL) {
983 if (cmp_aproppair_i(rpair[n], spair[n])) {
1010 if (spair)
1011 free_proppair(spair);