/third_party/libsoup/tests/ |
D | header-parsing-test.c | 25 SOUP_STATUS_OK, 32 SOUP_STATUS_OK, 41 SOUP_STATUS_OK, 50 SOUP_STATUS_OK, 59 SOUP_STATUS_OK, 68 SOUP_STATUS_OK, 77 SOUP_STATUS_OK, 86 SOUP_STATUS_OK, 95 SOUP_STATUS_OK, 104 SOUP_STATUS_OK, [all …]
|
D | hsts-test.c | 27 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 38 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 177 session_get_uri (session, "https://localhost/long-lasting", SOUP_STATUS_OK); in do_hsts_basic_test() 178 session_get_uri (session, "http://localhost", SOUP_STATUS_OK); in do_hsts_basic_test() 194 session_get_uri (session, "https://localhost/two-seconds", SOUP_STATUS_OK); in do_hsts_expire_test() 195 session_get_uri (session, "http://localhost", SOUP_STATUS_OK); in do_hsts_expire_test() 209 session_get_uri (session, "https://localhost/delete", SOUP_STATUS_OK); in do_hsts_delete_test() 219 session_get_uri (session, "https://localhost/long-lasting", SOUP_STATUS_OK); in do_hsts_replace_test() 220 session_get_uri (session, "http://localhost", SOUP_STATUS_OK); in do_hsts_replace_test() 221 session_get_uri (session, "https://localhost/two-seconds", SOUP_STATUS_OK); in do_hsts_replace_test() [all …]
|
D | auth-test.c | 47 "Basic/realm1/", "1", FALSE, "01", SOUP_STATUS_OK }, 50 "Basic/realm1/", "", FALSE, "1", SOUP_STATUS_OK }, 53 "Basic/realm1/subdir/", "", FALSE, "1", SOUP_STATUS_OK }, 59 "Basic/realm1/realm2/", "2", FALSE, "02", SOUP_STATUS_OK }, 62 "Basic/realm1/realm2/", "", FALSE, "2", SOUP_STATUS_OK }, 65 "Basic/realm1/realm2/realm1/", "", FALSE, "21", SOUP_STATUS_OK }, 68 "Basic/realm2/", "", FALSE, "2", SOUP_STATUS_OK }, 71 "Basic/realm3/", "43", FALSE, "043", SOUP_STATUS_OK }, 81 "Digest/realm1/", "1", FALSE, "01", SOUP_STATUS_OK }, 84 "Digest/realm1/", "", FALSE, "1", SOUP_STATUS_OK }, [all …]
|
D | hsts-db-test.c | 32 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 123 session_get_uri (session, "https://localhost/long-lasting", SOUP_STATUS_OK); in do_hsts_db_persistency_test() 124 session_get_uri (session, "http://localhost", SOUP_STATUS_OK); in do_hsts_db_persistency_test() 128 session_get_uri (session, "http://localhost", SOUP_STATUS_OK); in do_hsts_db_persistency_test() 138 session_get_uri (session, "https://localhost/subdomains", SOUP_STATUS_OK); in do_hsts_db_subdomains_test() 152 session_get_uri (session, "https://localhost/very-long-lasting", SOUP_STATUS_OK); in do_hsts_db_large_max_age_test() 153 session_get_uri (session, "http://localhost", SOUP_STATUS_OK); in do_hsts_db_large_max_age_test() 157 session_get_uri (session, "http://localhost", SOUP_STATUS_OK); in do_hsts_db_large_max_age_test()
|
D | pull-api-test.c | 25 if (msg->status_code != SOUP_STATUS_OK) { in get_correct_response() 165 } else if (msg->status_code != SOUP_STATUS_OK) { in fully_async_got_headers() 166 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in fully_async_got_headers() 243 TRUE, SOUP_STATUS_OK); in do_fast_async_test() 247 TRUE, SOUP_STATUS_OK); in do_fast_async_test() 263 FALSE, SOUP_STATUS_OK); in do_slow_async_test() 267 FALSE, SOUP_STATUS_OK); in do_slow_async_test() 314 if (expected_status == SOUP_STATUS_OK) { in do_synchronously_async_test() 342 if (msg->status_code == SOUP_STATUS_OK) in do_synchronously_async_test() 407 } else if (msg->status_code != SOUP_STATUS_OK) { in sync_async_got_headers() [all …]
|
D | ssl-test.c | 17 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_properties_test_for_session() 73 FALSE, TRUE, TRUE, SOUP_STATUS_OK }, 77 FALSE, FALSE, TRUE, SOUP_STATUS_OK }, 79 FALSE, FALSE, FALSE, SOUP_STATUS_OK }, 81 TRUE, TRUE, TRUE, SOUP_STATUS_OK }, 85 TRUE, FALSE, TRUE, SOUP_STATUS_OK }, 87 TRUE, FALSE, FALSE, SOUP_STATUS_OK }, 406 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_tls_interaction_test() 425 soup_message_set_status (msg, SOUP_STATUS_OK); in server_handler()
|
D | timeout-test.c | 63 do_message_to_session (idle_session, fast_uri, "fast to idle", SOUP_STATUS_OK); in do_msg_tests_for_session() 70 do_message_to_session (plain_session, fast_uri, "fast to plain", SOUP_STATUS_OK); in do_msg_tests_for_session() 74 do_message_to_session (timeout_session, fast_uri, "fast to timeout", SOUP_STATUS_OK); in do_msg_tests_for_session() 78 do_message_to_session (idle_session, fast_uri, "fast to idle", SOUP_STATUS_OK); in do_msg_tests_for_session() 90 do_message_to_session (plain_session, fast_uri, "fast to plain", SOUP_STATUS_OK); in do_msg_tests_for_session() 289 soup_message_set_status (msg, SOUP_STATUS_OK); in server_handler() 326 do_message_to_session (test_session, uri, NULL, SOUP_STATUS_OK); in main()
|
D | connection-test.c | 123 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 165 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 188 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_content_length_framing_test() 203 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_content_length_framing_test() 255 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_timeout_test_for_session() 272 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_timeout_test_for_session() 356 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_timeout_req_test_for_session() 434 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_persistent_connection_timeout_test_with_cancellation() 581 soup_test_assert_message_status (msgs[i], SOUP_STATUS_OK); in do_max_conns_test_for_session() 675 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_non_persistent_test_for_session() [all …]
|
D | proxy-test.c | 13 { "GET -> 200", "", SOUP_STATUS_OK, NULL }, 15 { "GET -> 401 -> 200", "/Basic/realm1/", SOUP_STATUS_OK, NULL }, 18 { "GET -> 200 (unproxied)", "http://localhost:47524/", SOUP_STATUS_OK, "700472" }, 259 soup_message_set_status (msg, uri->fragment ? SOUP_STATUS_BAD_REQUEST : SOUP_STATUS_OK); in server_callback() 283 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_proxy_fragment_test() 319 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_proxy_redirect_test() 358 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_proxy_auth_request()
|
D | ntlm-test.c | 155 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 430 SOUP_STATUS_OK); in do_ntlm_round() 446 alice ? SOUP_STATUS_OK : in do_ntlm_round() 466 alice ? SOUP_STATUS_OK : in do_ntlm_round() 478 bob ? SOUP_STATUS_OK : in do_ntlm_round() 490 alice ? SOUP_STATUS_OK : in do_ntlm_round() 500 user != NULL ? SOUP_STATUS_OK : in do_ntlm_round() 511 user != NULL ? SOUP_STATUS_OK : in do_ntlm_round() 659 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_retrying_test()
|
D | server-test.c | 35 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 111 soup_message_set_status (msg, SOUP_STATUS_OK); in server_star_callback() 147 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_star_test() 367 soup_message_set_status (msg, SOUP_STATUS_OK); in ipv6_server_callback() 399 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_ipv6_test() 406 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_ipv6_test() 438 soup_message_set_status (msg, SOUP_STATUS_OK); in multi_server_callback() 455 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_multi_test() 463 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_multi_test() 632 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_gsocket_import_test() [all …]
|
D | context-test.c | 52 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 157 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in test1_thread() 167 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in test1_thread() 216 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_test2()
|
D | requester-test.c | 82 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 336 SOUP_STATUS_OK, response, in do_test_for_thread_and_context() 342 SOUP_STATUS_OK, response, in do_test_for_thread_and_context() 356 SOUP_STATUS_OK, response, in do_test_for_thread_and_context() 572 SOUP_STATUS_OK, response, in do_sync_tests_for_session() 583 SOUP_STATUS_OK, response, in do_sync_tests_for_session() 605 SOUP_STATUS_OK, response, in do_sync_tests_for_session()
|
D | streaming-test.c | 65 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 89 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_request()
|
D | redirect-test.c | 329 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 352 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 390 soup_message_set_status (msg, SOUP_STATUS_OK); in server2_callback()
|
D | forms-test.c | 212 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_md5_test_libsoup() 301 soup_message_set_status (msg, SOUP_STATUS_OK); in hello_callback() 345 soup_message_set_status (msg, SOUP_STATUS_OK); in md5_get_callback()
|
D | misc-test.c | 66 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 80 soup_message_set_status (msg, SOUP_STATUS_OK); in server_callback() 114 soup_test_assert_message_status (one, SOUP_STATUS_OK); in do_host_test() 118 soup_test_assert_message_status (two, SOUP_STATUS_OK); in do_host_test() 386 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_msg_reuse_test() 633 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_one_accept_language_test() 856 soup_test_assert_message_status (msg, SOUP_STATUS_OK); in do_aliases_test_for_session()
|
D | socket-test.c | 37 g_assert_cmpuint (res, ==, SOUP_STATUS_OK); in do_unconnected_socket_test() 67 g_assert_cmpuint (res, ==, SOUP_STATUS_OK); in do_unconnected_socket_test()
|
/third_party/libsoup/libsoup/ |
D | soup-address.c | 654 return SOUP_STATUS_OK; in update_addrs() 673 return SOUP_STATUS_OK; in update_addrs() 690 return SOUP_STATUS_OK; in update_name() 693 return SOUP_STATUS_OK; in update_name() 757 status = SOUP_STATUS_OK; in lookup_resolved() 774 complete_resolve_async (res_data, SOUP_STATUS_OK); in idle_complete_resolve() 913 status = SOUP_STATUS_OK; in resolve_sync_internal() 1175 if (resolve_sync_internal (addr_enum->addr, cancellable, error) != SOUP_STATUS_OK) in soup_address_address_enumerator_next()
|
D | soup-proxy-resolver-default.c | 136 guint status = SOUP_STATUS_OK; in resolved_proxy() 222 guint status = SOUP_STATUS_OK; in get_proxy_uri_sync()
|
D | soup-status.c | 196 { SOUP_STATUS_OK, "OK" },
|
D | soup-message-server-io.c | 136 return SOUP_STATUS_OK; in parse_request_headers() 154 msg->status_code != SOUP_STATUS_OK || in handle_partial_get()
|
D | soup-message-headers.c | 959 guint status = SOUP_STATUS_OK; in soup_message_headers_get_ranges_internal() 991 status = SOUP_STATUS_OK; in soup_message_headers_get_ranges_internal() 998 status = SOUP_STATUS_OK; in soup_message_headers_get_ranges_internal() 1001 if (status == SOUP_STATUS_OK) in soup_message_headers_get_ranges_internal()
|
D | soup-status.h | 43 SOUP_STATUS_OK = 200, enumerator
|
/third_party/libsoup/examples/ |
D | simple-httpd.c | 115 soup_message_set_status (msg, SOUP_STATUS_OK); in do_get() 148 soup_message_set_status (msg, SOUP_STATUS_OK); in do_get() 182 soup_message_set_status (msg, created ? SOUP_STATUS_CREATED : SOUP_STATUS_OK); in do_put()
|