/dports/net/nng/nng-1.5.2/tests/ |
H A D | compat_reqrep.c | 44 rep1 = test_socket (AF_SP, NN_REP); in main() 46 req1 = test_socket (AF_SP, NN_REQ); in main() 48 req2 = test_socket (AF_SP, NN_REQ); in main() 73 req1 = test_socket (AF_SP, NN_REQ); in main() 76 rep1 = test_socket (AF_SP, NN_REP); in main() 81 rep2 = test_socket (AF_SP, NN_REP); in main() 107 rep1 = test_socket (AF_SP, NN_REP); in main() 109 req1 = test_socket (AF_SP, NN_REQ); in main() 128 req1 = test_socket (AF_SP, NN_REQ); in main() 133 rep1 = test_socket (AF_SP, NN_REP); in main() [all …]
|
H A D | compat_pipeline.c | 39 push1 = test_socket (AF_SP, NN_PUSH); in main() 41 pull1 = test_socket (AF_SP, NN_PULL); in main() 44 pull2 = test_socket (AF_SP, NN_PULL); in main() 63 pull1 = test_socket (AF_SP, NN_PULL); in main() 65 push1 = test_socket (AF_SP, NN_PUSH); in main() 67 push2 = test_socket (AF_SP, NN_PUSH); in main()
|
H A D | compat_device.c | 108 enda = test_socket(AF_SP, NN_PAIR); in main() 110 endb = test_socket(AF_SP, NN_PAIR); in main() 135 endc = test_socket(AF_SP, NN_PUSH); in main() 137 endd = test_socket(AF_SP, NN_PULL); in main() 158 ende1 = test_socket(AF_SP, NN_BUS); in main() 160 ende2 = test_socket(AF_SP, NN_BUS); in main()
|
H A D | compat_survey.c | 43 surveyor = test_socket(AF_SP, NN_SURVEYOR); in main() 49 respondent1 = test_socket(AF_SP, NN_RESPONDENT); in main() 51 respondent2 = test_socket(AF_SP, NN_RESPONDENT); in main() 53 respondent3 = test_socket(AF_SP, NN_RESPONDENT); in main()
|
H A D | compat_bug777.c | 34 sb = test_socket (AF_SP, NN_PAIR); in main() 36 sc1 = test_socket (AF_SP, NN_PAIR); in main() 39 sc2 = test_socket (AF_SP, NN_PAIR); in main()
|
H A D | compat_msg.c | 51 sb = test_socket (AF_SP, NN_PAIR); in main() 53 sc = test_socket (AF_SP, NN_PAIR); in main() 107 sb = test_socket (AF_SP, NN_PAIR); in main() 109 sc = test_socket (AF_SP, NN_PAIR); in main()
|
/dports/net/nanomsg/nanomsg-1.1.5/tests/ |
H A D | reqrep.c | 42 rep1 = test_socket (AF_SP, NN_REP); in main() 44 req1 = test_socket (AF_SP, NN_REQ); in main() 46 req2 = test_socket (AF_SP, NN_REQ); in main() 71 req1 = test_socket (AF_SP, NN_REQ); in main() 73 rep1 = test_socket (AF_SP, NN_REP); in main() 75 rep2 = test_socket (AF_SP, NN_REP); in main() 93 rep1 = test_socket (AF_SP, NN_REP); in main() 95 req1 = test_socket (AF_SP, NN_REQ); in main() 113 req1 = test_socket (AF_SP, NN_REQ); in main() 117 rep1 = test_socket (AF_SP, NN_REP); in main() [all …]
|
H A D | ipc.c | 51 sc = test_socket (AF_SP, NN_PAIR); in main() 56 sc = test_socket (AF_SP, NN_PAIR); in main() 62 sb = test_socket (AF_SP, NN_PAIR); in main() 96 sb = test_socket (AF_SP, NN_PAIR); in main() 98 s1 = test_socket (AF_SP, NN_PAIR); in main() 100 s2 = test_socket (AF_SP, NN_PAIR); in main() 113 sb = test_socket (AF_SP, NN_PAIR); in main() 115 s1 = test_socket (AF_SP, NN_PAIR); in main() 119 sc = test_socket (AF_SP, NN_PAIR); in main() 130 sb = test_socket (AF_SP, NN_PAIR); in main() [all …]
|
H A D | tcp.c | 53 sb = test_socket (AF_SP, NN_PAIR); in main() 59 sc = test_socket (AF_SP, NN_PAIR); in main() 65 sc = test_socket (AF_SP, NN_PAIR); in main() 134 sb = test_socket (AF_SP, NN_PAIR); in main() 159 sb = test_socket (AF_SP, NN_PAIR); in main() 161 s1 = test_socket (AF_SP, NN_PAIR); in main() 163 s2 = test_socket (AF_SP, NN_PAIR); in main() 171 sb = test_socket (AF_SP, NN_PAIR); in main() 173 s1 = test_socket (AF_SP, NN_PAIR); in main() 179 sc = test_socket (AF_SP, NN_PAIR); in main() [all …]
|
H A D | prio.c | 44 pull1 = test_socket (AF_SP, NN_PULL); in main() 46 pull2 = test_socket (AF_SP, NN_PULL); in main() 48 push1 = test_socket (AF_SP, NN_PUSH); in main() 71 push1 = test_socket (AF_SP, NN_PUSH); in main() 73 push2 = test_socket (AF_SP, NN_PUSH); in main() 75 pull1 = test_socket (AF_SP, NN_PULL); in main() 99 push1 = test_socket (AF_SP, NN_PUSH); in main() 101 pull1 = test_socket (AF_SP, NN_PULL); in main() 111 pull1 = test_socket (AF_SP, NN_PULL); in main()
|
H A D | inproc.c | 52 sc = test_socket (AF_SP, NN_PAIR); in main() 54 sb = test_socket (AF_SP, NN_PAIR); in main() 82 sb = test_socket (AF_SP, NN_PAIR); in main() 86 sc = test_socket (AF_SP, NN_PAIR); in main() 125 sb = test_socket (AF_SP, NN_PAIR); in main() 127 s1 = test_socket (AF_SP, NN_PAIR); in main() 140 sc = test_socket (AF_SP, NN_REQ); in main() 172 sb = test_socket (AF_SP, NN_BUS); in main() 175 sc = test_socket (AF_SP, NN_BUS); in main() 178 s1 = test_socket (AF_SP, NN_BUS); in main() [all …]
|
H A D | ws.c | 46 sb = test_socket (AF_SP, NN_PAIR); in test_text() 47 sc = test_socket (AF_SP, NN_PAIR); in test_text() 94 sb = test_socket (AF_SP, NN_PAIR); in main() 100 sc = test_socket (AF_SP, NN_PAIR); in main() 105 sc = test_socket (AF_SP, NN_PAIR); in main() 162 sb = test_socket (AF_SP, NN_PAIR); in main() 164 sc = test_socket (AF_SP, NN_PAIR); in main() 189 sb = test_socket (AF_SP, NN_PAIR); in main() 200 sb = test_socket (AF_SP, NN_PAIR); in main() 211 sb = test_socket (AF_SP, NN_PAIR); in main() [all …]
|
H A D | separation.c | 52 pair = test_socket (AF_SP, NN_PAIR); in main() 54 pull = test_socket (AF_SP, NN_PULL); in main() 65 pull = test_socket (AF_SP, NN_PULL); in main() 67 pair = test_socket (AF_SP, NN_PAIR); in main() 80 pair = test_socket (AF_SP, NN_PAIR); in main() 82 pull = test_socket (AF_SP, NN_PULL); in main() 95 pair = test_socket (AF_SP, NN_PAIR); in main() 97 pull = test_socket (AF_SP, NN_PULL); in main()
|
H A D | pipeline.c | 39 push1 = test_socket (AF_SP, NN_PUSH); in main() 41 pull1 = test_socket (AF_SP, NN_PULL); in main() 43 pull2 = test_socket (AF_SP, NN_PULL); in main() 62 pull1 = test_socket (AF_SP, NN_PULL); in main() 64 push1 = test_socket (AF_SP, NN_PUSH); in main() 66 push2 = test_socket (AF_SP, NN_PUSH); in main()
|
H A D | pubsub.c | 40 pub1 = test_socket (AF_SP, NN_PUB); in main() 42 sub1 = test_socket (AF_SP, NN_SUB); in main() 49 sub2 = test_socket (AF_SP, NN_SUB); in main() 67 sub1 = test_socket (AF_SP, NN_SUB); in main() 71 pub1 = test_socket (AF_SP, NN_PUB); in main() 73 pub2 = test_socket (AF_SP, NN_PUB); in main()
|
H A D | device.c | 118 enda = test_socket (AF_SP, NN_PAIR); in main() 120 endb = test_socket (AF_SP, NN_PAIR); in main() 139 endc = test_socket (AF_SP, NN_PUSH); in main() 141 endd = test_socket (AF_SP, NN_PULL); in main() 158 ende1 = test_socket (AF_SP, NN_BUS); in main() 160 ende2 = test_socket (AF_SP, NN_BUS); in main()
|
H A D | survey.c | 42 surveyor = test_socket (AF_SP, NN_SURVEYOR); in main() 48 respondent1 = test_socket (AF_SP, NN_RESPONDENT); in main() 50 respondent2 = test_socket (AF_SP, NN_RESPONDENT); in main() 52 respondent3 = test_socket (AF_SP, NN_RESPONDENT); in main()
|
H A D | ipc_shutdown.c | 49 s = nn_socket (AF_SP, NN_SUB); in routine() 62 s = test_socket (AF_SP, NN_PULL); in routine2() 93 sb = test_socket (AF_SP, NN_PUB); in main() 107 sb = test_socket (AF_SP, NN_PUSH); in main()
|
H A D | bug777.c | 34 sb = test_socket (AF_SP, NN_PAIR); in main() 36 sc1 = test_socket (AF_SP, NN_PAIR); in main() 38 sc2 = test_socket (AF_SP, NN_PAIR); in main()
|
H A D | tcp_shutdown.c | 56 s = nn_socket (AF_SP, NN_SUB); in routine() 70 s = test_socket (AF_SP, NN_PULL); in routine2() 101 sb = test_socket (AF_SP, NN_PUB); in main() 116 sb = test_socket (AF_SP, NN_PUSH); in main()
|
H A D | term.c | 36 s = test_socket (AF_SP, NN_PAIR); in worker() 56 s = test_socket (AF_SP, NN_PAIR); in main() 65 rc = nn_socket (AF_SP, NN_PAIR); in main()
|
H A D | zerocopy.c | 102 req = nn_socket (AF_SP, NN_REQ); 103 rep = nn_socket (AF_SP, NN_REP); 153 pub = nn_socket (AF_SP, NN_PUB); 154 sub1 = nn_socket (AF_SP, NN_SUB); 155 sub2 = nn_socket (AF_SP, NN_SUB);
|
H A D | bus.c | 39 bus1 = test_socket (AF_SP, NN_BUS); in main() 41 bus2 = test_socket (AF_SP, NN_BUS); in main() 44 bus3 = test_socket (AF_SP, NN_BUS); in main()
|
H A D | msg.c | 50 sb = test_socket (AF_SP, NN_PAIR); in main() 52 sc = test_socket (AF_SP, NN_PAIR); in main() 106 sb = test_socket (AF_SP, NN_PAIR); in main() 108 sc = test_socket (AF_SP, NN_PAIR); in main()
|
/dports/net/nng/nng-1.5.2/src/compat/nanomsg/ |
H A D | compat_tcp_test.c | 45 NUTS_TRUE((sb = nn_socket(AF_SP, NN_PAIR)) >= 0); in test_bind_and_close() 69 NUTS_TRUE((sb = nn_socket(AF_SP, NN_PAIR)) >= 0); in test_bind_and_connect() 70 NUTS_TRUE((sc = nn_socket(AF_SP, NN_PAIR)) >= 0); in test_bind_and_connect() 83 NUTS_TRUE((s = nn_socket(AF_SP, NN_PAIR)) >= 0); in test_bad_addresses() 102 NUTS_TRUE((s = nn_socket(AF_SP, NN_PAIR)) >= 0); in test_no_delay() 129 NUTS_NN_PASS((sb = nn_socket(AF_SP, NN_PAIR))); in test_ping_pong() 130 NUTS_NN_PASS((sc = nn_socket(AF_SP, NN_PAIR))); in test_ping_pong() 164 NUTS_TRUE((sb = nn_socket(AF_SP, NN_PAIR)) >= 0); in test_pair_reject() 165 NUTS_TRUE((sc = nn_socket(AF_SP, NN_PAIR)) >= 0); in test_pair_reject() 166 NUTS_TRUE((sd = nn_socket(AF_SP, NN_PAIR)) >= 0); in test_pair_reject() [all …]
|