Home
last modified time | relevance | path

Searched refs:OP_EQ (Results 1 – 25 of 1254) sorted by relevance

12345678910>>...51

/dports/security/tor/tor-0.4.6.8/src/test/
H A Dtest_socks.c71 OP_EQ, -1); in test_socks_4_unsupported_commands()
91 OP_EQ, 1); in test_socks_4_supported_commands()
106 OP_EQ, 1); in test_socks_4_supported_commands()
124 OP_EQ, 1); in test_socks_4_supported_commands()
145 OP_EQ, -1); in test_socks_4_bad_arguments()
154 OP_EQ, -1); in test_socks_4_bad_arguments()
167 OP_EQ, -1); in test_socks_4_bad_arguments()
184 OP_EQ, -1); in test_socks_4_bad_arguments()
195 OP_EQ, -1); in test_socks_4_bad_arguments()
326 OP_EQ, 1); in test_socks_5_supported_commands()
[all …]
H A Dtest_cell_formats.c254 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
262 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
271 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
281 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
291 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
304 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
317 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
362 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
923 tt_int_op(0, OP_EQ, in test_cfmt_extended_cells()
936 tt_int_op(0, OP_EQ, in test_cfmt_extended_cells()
[all …]
H A Dtest_util.c1233 tt_int_op(0,OP_EQ, in test_util_time()
1236 tt_int_op(-1,OP_EQ, in test_util_time()
1238 tt_int_op(-1,OP_EQ, in test_util_time()
1240 tt_int_op(-1,OP_EQ, in test_util_time()
1258 tt_int_op(0,OP_EQ, in test_util_time()
1429 tt_int_op(0,OP_EQ, in test_util_parse_http_time()
1433 tt_int_op(0,OP_EQ, in test_util_parse_http_time()
1437 tt_int_op(0,OP_EQ, in test_util_parse_http_time()
1441 tt_int_op(0,OP_EQ, in test_util_parse_http_time()
1445 tt_int_op(0,OP_EQ, in test_util_parse_http_time()
[all …]
H A Dtest_entryconn.c64 tt_int_op(rr.end_reason, OP_EQ, 0); in test_entryconn_rewrite_basic()
65 tt_int_op(rr.automap, OP_EQ, 0); in test_entryconn_rewrite_basic()
119 tt_int_op(rr.automap, OP_EQ, 1); in test_entryconn_rewrite_automap_ipv4()
136 tt_int_op(rr.automap, OP_EQ, 0); in test_entryconn_rewrite_automap_ipv4()
151 tt_int_op(rr.automap, OP_EQ, 1); in test_entryconn_rewrite_automap_ipv4()
192 tt_int_op(rr.automap, OP_EQ, 1); in test_entryconn_rewrite_automap_ipv6()
210 tt_int_op(rr.automap, OP_EQ, 0); in test_entryconn_rewrite_automap_ipv6()
225 tt_int_op(rr.automap, OP_EQ, 1); in test_entryconn_rewrite_automap_ipv6()
267 tt_int_op(rr.automap, OP_EQ, 1);
284 tt_int_op(rr.end_reason, OP_EQ,
[all …]
H A Dtest_keypin.c39 tt_ptr_op(ent, OP_EQ, NULL); in test_keypin_parse_line()
45 tt_ptr_op(ent, OP_EQ, NULL); in test_keypin_parse_line()
51 tt_ptr_op(ent, OP_EQ, NULL); in test_keypin_parse_line()
85 tt_int_op(8, OP_EQ, smartlist_len(mock_addent_got)); in test_keypin_parse_file()
117 tt_mem_op(ent->ed25519_key, OP_EQ, in test_keypin_parse_file()
184 tt_int_op(0, OP_EQ, keypin_open_journal(fname)); in test_keypin_journal()
195 tt_int_op(0, OP_EQ, keypin_load_journal(fname)); in test_keypin_journal()
197 tt_int_op(0, OP_EQ, keypin_open_journal(fname)); in test_keypin_journal()
209 tt_int_op(0, OP_EQ, keypin_load_journal(fname)); in test_keypin_journal()
211 tt_int_op(0, OP_EQ, keypin_open_journal(fname)); in test_keypin_journal()
[all …]
H A Dtest_proto_misc.c34 tt_ptr_op(cell, OP_EQ, NULL); in test_proto_var_cell()
53 tt_ptr_op(cell, OP_EQ, NULL); in test_proto_var_cell()
94 tt_int_op(cell->command, OP_EQ, 7); in test_proto_var_cell()
149 tt_ptr_op(NULL, OP_EQ, cmd); in test_proto_ext_or_cmd()
154 tt_ptr_op(NULL, OP_EQ, cmd); in test_proto_ext_or_cmd()
161 tt_int_op(0x20, OP_EQ, cmd->cmd); in test_proto_ext_or_cmd()
162 tt_int_op(0, OP_EQ, cmd->len); in test_proto_ext_or_cmd()
170 tt_ptr_op(NULL, OP_EQ, cmd); in test_proto_ext_or_cmd()
174 tt_int_op(0x1021, OP_EQ, cmd->cmd); in test_proto_ext_or_cmd()
175 tt_int_op(6, OP_EQ, cmd->len); in test_proto_ext_or_cmd()
[all …]
H A Dtest_mainloop.c48 tt_int_op(approx_time(), OP_EQ, now); in test_mainloop_update_time_normal()
49 tt_int_op(get_uptime(), OP_EQ, 0); in test_mainloop_update_time_normal()
52 tt_int_op(get_uptime(), OP_EQ, 0); in test_mainloop_update_time_normal()
58 tt_int_op(approx_time(), OP_EQ, now); in test_mainloop_update_time_normal()
59 tt_int_op(get_uptime(), OP_EQ, 1); in test_mainloop_update_time_normal()
65 tt_int_op(approx_time(), OP_EQ, now); in test_mainloop_update_time_normal()
66 tt_int_op(get_uptime(), OP_EQ, 3); in test_mainloop_update_time_normal()
91 tt_int_op(get_uptime(), OP_EQ, 0); in test_mainloop_update_time_jumps()
99 tt_int_op(get_uptime(), OP_EQ, 3); in test_mainloop_update_time_jumps()
125 tt_int_op(get_uptime(), OP_EQ, 5); in test_mainloop_update_time_jumps()
[all …]
H A Dtest_containers.c258 tt_str_op("and",OP_EQ, in test_container_smartlist_strings()
268 tt_int_op(f,OP_EQ, 0); in test_container_smartlist_strings()
270 tt_int_op(f,OP_EQ, 1); in test_container_smartlist_strings()
272 tt_int_op(f,OP_EQ, 0); in test_container_smartlist_strings()
273 tt_int_op(1,OP_EQ, in test_container_smartlist_strings()
275 tt_int_op(f,OP_EQ, 1); in test_container_smartlist_strings()
276 tt_int_op(2,OP_EQ, in test_container_smartlist_strings()
278 tt_int_op(f,OP_EQ, 0); in test_container_smartlist_strings()
279 tt_int_op(7,OP_EQ, in test_container_smartlist_strings()
281 tt_int_op(f,OP_EQ, 0); in test_container_smartlist_strings()
[all …]
H A Dtest_config.c3948 OP_EQ, 1); in test_config_directory_fetch()
3958 OP_EQ, 1); in test_config_directory_fetch()
3970 OP_EQ, 1); in test_config_directory_fetch()
3981 OP_EQ, 1); in test_config_directory_fetch()
4002 OP_EQ, 0); in test_config_directory_fetch()
4010 OP_EQ, 0); in test_config_directory_fetch()
4032 OP_EQ, 0); in test_config_directory_fetch()
4041 OP_EQ, 0); in test_config_directory_fetch()
4049 OP_EQ, 0); in test_config_directory_fetch()
4059 OP_EQ, 0); in test_config_directory_fetch()
[all …]
H A Dtest_channel.c588 OP_EQ, 1); in test_channel_outbound_cell()
599 OP_EQ, 0); in test_channel_outbound_cell()
616 OP_EQ, 1); in test_channel_outbound_cell()
630 OP_EQ, 1); in test_channel_outbound_cell()
633 OP_EQ, 1); in test_channel_outbound_cell()
646 OP_EQ, 0); in test_channel_outbound_cell()
649 OP_EQ, 1); in test_channel_outbound_cell()
1127 OP_EQ, 1); in test_channel_state()
1129 OP_EQ, 1); in test_channel_state()
1131 OP_EQ, 1); in test_channel_state()
[all …]
H A Dtest_namemap.c23 tt_uint_op(0, OP_EQ, namemap_get_size(&m)); in test_namemap_empty()
28 tt_uint_op(0, OP_EQ, namemap_get_size(&m)); in test_namemap_empty()
30 tt_uint_op(0, OP_EQ, namemap_get_size(&m2)); in test_namemap_empty()
35 tt_uint_op(0, OP_EQ, namemap_get_size(&m)); in test_namemap_empty()
61 tt_uint_op(u1, OP_EQ, NAMEMAP_ERR); in test_namemap_toolong()
63 tt_uint_op(u2, OP_EQ, namemap_get_id(&m, ok)); in test_namemap_toolong()
66 tt_str_op(ok, OP_EQ, namemap_get_name(&m, u2)); in test_namemap_toolong()
67 tt_ptr_op(NULL, OP_EQ, namemap_get_name(&m, u1)); in test_namemap_toolong()
134 tt_uint_op(0, OP_EQ, namemap_get_id(&m, "that")); in test_namemap_internals()
135 tt_uint_op(0, OP_EQ, namemap_get_id(&m, "that")); in test_namemap_internals()
[all …]
H A Dtest_util_format.c56 tt_int_op(res, OP_EQ, -1); in test_util_format_base64_encode()
59 tt_int_op(res, OP_EQ, -1); in test_util_format_base64_encode()
62 tt_int_op(res, OP_EQ, -1); in test_util_format_base64_encode()
65 tt_int_op(res, OP_EQ, -1); in test_util_format_base64_encode()
68 tt_int_op(res, OP_EQ, -1); in test_util_format_base64_encode()
71 tt_int_op(res, OP_EQ, 344); in test_util_format_base64_encode()
82 tt_str_op(dst, OP_EQ, in test_util_format_base64_encode()
102 tt_int_op(res, OP_EQ, 74); in test_util_format_base64_encode()
105 tt_int_op(res, OP_EQ, 74); in test_util_format_base64_encode()
164 tt_int_op(res, OP_EQ, 9); in test_util_format_base64_decode_oddsize()
[all …]
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/test/
H A Dtest_socks.c71 OP_EQ, -1); in test_socks_4_unsupported_commands()
91 OP_EQ, 1); in test_socks_4_supported_commands()
106 OP_EQ, 1); in test_socks_4_supported_commands()
124 OP_EQ, 1); in test_socks_4_supported_commands()
145 OP_EQ, -1); in test_socks_4_bad_arguments()
154 OP_EQ, -1); in test_socks_4_bad_arguments()
167 OP_EQ, -1); in test_socks_4_bad_arguments()
184 OP_EQ, -1); in test_socks_4_bad_arguments()
195 OP_EQ, -1); in test_socks_4_bad_arguments()
326 OP_EQ, 1); in test_socks_5_supported_commands()
[all …]
H A Dtest_cell_formats.c254 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
262 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
271 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
281 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
291 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
304 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
317 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
362 tt_int_op(r, OP_EQ, 0); in test_cfmt_connected_cells()
923 tt_int_op(0, OP_EQ, in test_cfmt_extended_cells()
936 tt_int_op(0, OP_EQ, in test_cfmt_extended_cells()
[all …]
H A Dtest_util.c1233 tt_int_op(0,OP_EQ, in test_util_time()
1236 tt_int_op(-1,OP_EQ, in test_util_time()
1238 tt_int_op(-1,OP_EQ, in test_util_time()
1240 tt_int_op(-1,OP_EQ, in test_util_time()
1258 tt_int_op(0,OP_EQ, in test_util_time()
1429 tt_int_op(0,OP_EQ, in test_util_parse_http_time()
1433 tt_int_op(0,OP_EQ, in test_util_parse_http_time()
1437 tt_int_op(0,OP_EQ, in test_util_parse_http_time()
1441 tt_int_op(0,OP_EQ, in test_util_parse_http_time()
1445 tt_int_op(0,OP_EQ, in test_util_parse_http_time()
[all …]
H A Dtest_entryconn.c64 tt_int_op(rr.end_reason, OP_EQ, 0); in test_entryconn_rewrite_basic()
65 tt_int_op(rr.automap, OP_EQ, 0); in test_entryconn_rewrite_basic()
119 tt_int_op(rr.automap, OP_EQ, 1); in test_entryconn_rewrite_automap_ipv4()
136 tt_int_op(rr.automap, OP_EQ, 0); in test_entryconn_rewrite_automap_ipv4()
151 tt_int_op(rr.automap, OP_EQ, 1); in test_entryconn_rewrite_automap_ipv4()
192 tt_int_op(rr.automap, OP_EQ, 1); in test_entryconn_rewrite_automap_ipv6()
210 tt_int_op(rr.automap, OP_EQ, 0); in test_entryconn_rewrite_automap_ipv6()
225 tt_int_op(rr.automap, OP_EQ, 1); in test_entryconn_rewrite_automap_ipv6()
267 tt_int_op(rr.automap, OP_EQ, 1);
284 tt_int_op(rr.end_reason, OP_EQ,
[all …]
H A Dtest_keypin.c39 tt_ptr_op(ent, OP_EQ, NULL); in test_keypin_parse_line()
45 tt_ptr_op(ent, OP_EQ, NULL); in test_keypin_parse_line()
51 tt_ptr_op(ent, OP_EQ, NULL); in test_keypin_parse_line()
85 tt_int_op(8, OP_EQ, smartlist_len(mock_addent_got)); in test_keypin_parse_file()
117 tt_mem_op(ent->ed25519_key, OP_EQ, in test_keypin_parse_file()
184 tt_int_op(0, OP_EQ, keypin_open_journal(fname)); in test_keypin_journal()
195 tt_int_op(0, OP_EQ, keypin_load_journal(fname)); in test_keypin_journal()
197 tt_int_op(0, OP_EQ, keypin_open_journal(fname)); in test_keypin_journal()
209 tt_int_op(0, OP_EQ, keypin_load_journal(fname)); in test_keypin_journal()
211 tt_int_op(0, OP_EQ, keypin_open_journal(fname)); in test_keypin_journal()
[all …]
H A Dtest_proto_misc.c34 tt_ptr_op(cell, OP_EQ, NULL); in test_proto_var_cell()
53 tt_ptr_op(cell, OP_EQ, NULL); in test_proto_var_cell()
94 tt_int_op(cell->command, OP_EQ, 7); in test_proto_var_cell()
149 tt_ptr_op(NULL, OP_EQ, cmd); in test_proto_ext_or_cmd()
154 tt_ptr_op(NULL, OP_EQ, cmd); in test_proto_ext_or_cmd()
161 tt_int_op(0x20, OP_EQ, cmd->cmd); in test_proto_ext_or_cmd()
162 tt_int_op(0, OP_EQ, cmd->len); in test_proto_ext_or_cmd()
170 tt_ptr_op(NULL, OP_EQ, cmd); in test_proto_ext_or_cmd()
174 tt_int_op(0x1021, OP_EQ, cmd->cmd); in test_proto_ext_or_cmd()
175 tt_int_op(6, OP_EQ, cmd->len); in test_proto_ext_or_cmd()
[all …]
H A Dtest_mainloop.c48 tt_int_op(approx_time(), OP_EQ, now); in test_mainloop_update_time_normal()
49 tt_int_op(get_uptime(), OP_EQ, 0); in test_mainloop_update_time_normal()
52 tt_int_op(get_uptime(), OP_EQ, 0); in test_mainloop_update_time_normal()
58 tt_int_op(approx_time(), OP_EQ, now); in test_mainloop_update_time_normal()
59 tt_int_op(get_uptime(), OP_EQ, 1); in test_mainloop_update_time_normal()
65 tt_int_op(approx_time(), OP_EQ, now); in test_mainloop_update_time_normal()
66 tt_int_op(get_uptime(), OP_EQ, 3); in test_mainloop_update_time_normal()
91 tt_int_op(get_uptime(), OP_EQ, 0); in test_mainloop_update_time_jumps()
99 tt_int_op(get_uptime(), OP_EQ, 3); in test_mainloop_update_time_jumps()
125 tt_int_op(get_uptime(), OP_EQ, 5); in test_mainloop_update_time_jumps()
[all …]
H A Dtest_containers.c258 tt_str_op("and",OP_EQ, in test_container_smartlist_strings()
268 tt_int_op(f,OP_EQ, 0); in test_container_smartlist_strings()
270 tt_int_op(f,OP_EQ, 1); in test_container_smartlist_strings()
272 tt_int_op(f,OP_EQ, 0); in test_container_smartlist_strings()
273 tt_int_op(1,OP_EQ, in test_container_smartlist_strings()
275 tt_int_op(f,OP_EQ, 1); in test_container_smartlist_strings()
276 tt_int_op(2,OP_EQ, in test_container_smartlist_strings()
278 tt_int_op(f,OP_EQ, 0); in test_container_smartlist_strings()
279 tt_int_op(7,OP_EQ, in test_container_smartlist_strings()
281 tt_int_op(f,OP_EQ, 0); in test_container_smartlist_strings()
[all …]
H A Dtest_config.c3948 OP_EQ, 1); in test_config_directory_fetch()
3958 OP_EQ, 1); in test_config_directory_fetch()
3970 OP_EQ, 1); in test_config_directory_fetch()
3981 OP_EQ, 1); in test_config_directory_fetch()
4002 OP_EQ, 0); in test_config_directory_fetch()
4010 OP_EQ, 0); in test_config_directory_fetch()
4032 OP_EQ, 0); in test_config_directory_fetch()
4041 OP_EQ, 0); in test_config_directory_fetch()
4049 OP_EQ, 0); in test_config_directory_fetch()
4059 OP_EQ, 0); in test_config_directory_fetch()
[all …]
H A Dtest_channel.c588 OP_EQ, 1); in test_channel_outbound_cell()
599 OP_EQ, 0); in test_channel_outbound_cell()
616 OP_EQ, 1); in test_channel_outbound_cell()
630 OP_EQ, 1); in test_channel_outbound_cell()
633 OP_EQ, 1); in test_channel_outbound_cell()
646 OP_EQ, 0); in test_channel_outbound_cell()
649 OP_EQ, 1); in test_channel_outbound_cell()
1127 OP_EQ, 1); in test_channel_state()
1129 OP_EQ, 1); in test_channel_state()
1131 OP_EQ, 1); in test_channel_state()
[all …]
H A Dtest_namemap.c23 tt_uint_op(0, OP_EQ, namemap_get_size(&m)); in test_namemap_empty()
28 tt_uint_op(0, OP_EQ, namemap_get_size(&m)); in test_namemap_empty()
30 tt_uint_op(0, OP_EQ, namemap_get_size(&m2)); in test_namemap_empty()
35 tt_uint_op(0, OP_EQ, namemap_get_size(&m)); in test_namemap_empty()
61 tt_uint_op(u1, OP_EQ, NAMEMAP_ERR); in test_namemap_toolong()
63 tt_uint_op(u2, OP_EQ, namemap_get_id(&m, ok)); in test_namemap_toolong()
66 tt_str_op(ok, OP_EQ, namemap_get_name(&m, u2)); in test_namemap_toolong()
67 tt_ptr_op(NULL, OP_EQ, namemap_get_name(&m, u1)); in test_namemap_toolong()
134 tt_uint_op(0, OP_EQ, namemap_get_id(&m, "that")); in test_namemap_internals()
135 tt_uint_op(0, OP_EQ, namemap_get_id(&m, "that")); in test_namemap_internals()
[all …]
H A Dtest_util_format.c56 tt_int_op(res, OP_EQ, -1); in test_util_format_base64_encode()
59 tt_int_op(res, OP_EQ, -1); in test_util_format_base64_encode()
62 tt_int_op(res, OP_EQ, -1); in test_util_format_base64_encode()
65 tt_int_op(res, OP_EQ, -1); in test_util_format_base64_encode()
68 tt_int_op(res, OP_EQ, -1); in test_util_format_base64_encode()
71 tt_int_op(res, OP_EQ, 344); in test_util_format_base64_encode()
82 tt_str_op(dst, OP_EQ, in test_util_format_base64_encode()
102 tt_int_op(res, OP_EQ, 74); in test_util_format_base64_encode()
105 tt_int_op(res, OP_EQ, 74); in test_util_format_base64_encode()
164 tt_int_op(res, OP_EQ, 9); in test_util_format_base64_decode_oddsize()
[all …]
H A Dtest_dir.c1225 tt_int_op(0,OP_EQ, in test_dir_parse_router_list()
1262 tt_int_op(0,OP_EQ, in test_dir_parse_router_list()
1275 OP_EQ, in test_dir_parse_router_list()
1278 OP_EQ, in test_dir_parse_router_list()
1281 OP_EQ, in test_dir_parse_router_list()
1399 tt_int_op(1, OP_EQ, in test_dir_load_routers()
4404 tt_str_op(s, OP_EQ, in test_dir_fmt_control_ns()
4480 tt_int_op(0, OP_EQ, in test_dir_bwauth_bw_file_digest256()
4871 tt_int_op(0, OP_EQ, in test_dir_purpose_needs_anonymity_ret_false_for_non_sensitive_conn()
4873 tt_int_op(0, OP_EQ, in test_dir_purpose_needs_anonymity_ret_false_for_non_sensitive_conn()
[all …]

12345678910>>...51