/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
D | session.c | 44 spdyf_handler_read_syn_stream (struct SPDY_Session *session) in spdyf_handler_read_syn_stream() argument 53 SPDYF_ASSERT(SPDY_SESSION_STATUS_WAIT_FOR_SUBHEADER == session->status in spdyf_handler_read_syn_stream() 54 || SPDY_SESSION_STATUS_WAIT_FOR_BODY == session->status, in spdyf_handler_read_syn_stream() 57 frame = (struct SPDYF_Control_Frame *)session->frame_handler_cls; in spdyf_handler_read_syn_stream() 60 if(SPDY_SESSION_STATUS_WAIT_FOR_SUBHEADER == session->status) in spdyf_handler_read_syn_stream() 69 session->status = SPDY_SESSION_STATUS_WAIT_FOR_HEADER; in spdyf_handler_read_syn_stream() 74 if(SPDY_YES != SPDYF_stream_new(session)) in spdyf_handler_read_syn_stream() 82 session->current_stream_id = session->streams_head->stream_id; in spdyf_handler_read_syn_stream() 86 session->status = SPDY_SESSION_STATUS_IGNORE_BYTES; in spdyf_handler_read_syn_stream() 90 session->status = SPDY_SESSION_STATUS_WAIT_FOR_BODY; in spdyf_handler_read_syn_stream() [all …]
|
D | stream.c | 32 SPDYF_stream_new (struct SPDY_Session *session) in SPDYF_stream_new() argument 38 size_t buffer_pos = session->read_buffer_beginning; in SPDYF_stream_new() 42 if((session->read_buffer_offset - session->read_buffer_beginning) < 10) in SPDYF_stream_new() 48 frame = (struct SPDYF_Control_Frame *)session->frame_handler_cls; in SPDYF_stream_new() 51 memcpy(&stream_id, session->read_buffer + session->read_buffer_beginning, 4); in SPDYF_stream_new() 53 session->read_buffer_beginning += 4; in SPDYF_stream_new() 54 if(stream_id <= session->last_in_stream_id || 0==(stream_id % 2)) in SPDYF_stream_new() 61 session->frame_handler = &SPDYF_handler_ignore_frame; in SPDYF_stream_new() 64 else if(session->is_goaway_sent) in SPDYF_stream_new() 68 session->frame_handler = &SPDYF_handler_ignore_frame; in SPDYF_stream_new() [all …]
|
/third_party/libcoap/src/ |
D | coap_session.c | 33 coap_session_set_max_retransmit (coap_session_t *session, unsigned int value) { in coap_session_set_max_retransmit() argument 35 session->max_retransmit = value; in coap_session_set_max_retransmit() 37 coap_session_str(session), session->max_retransmit); in coap_session_set_max_retransmit() 42 coap_session_set_ack_timeout (coap_session_t *session, coap_fixed_point_t value) { in coap_session_set_ack_timeout() argument 44 session->ack_timeout = value; in coap_session_set_ack_timeout() 46 coap_session_str(session), session->ack_timeout.integer_part, in coap_session_set_ack_timeout() 47 session->ack_timeout.fractional_part); in coap_session_set_ack_timeout() 52 coap_session_set_ack_random_factor (coap_session_t *session, in coap_session_set_ack_random_factor() argument 55 session->ack_random_factor = value; in coap_session_set_ack_random_factor() 57 coap_session_str(session), session->ack_random_factor.integer_part, in coap_session_set_ack_random_factor() [all …]
|
D | net.c | 92 Q(FRAC_BITS, session->ack_random_factor) 95 #define ACK_TIMEOUT Q(FRAC_BITS, session->ack_timeout) 236 if ( node->session ) { in coap_delete_node() 240 if (node->session->context->sendqueue) { in coap_delete_node() 241 LL_DELETE(node->session->context->sendqueue, node); in coap_delete_node() 243 coap_session_release(node->session); in coap_delete_node() 299 const coap_session_t *session, in coap_get_session_client_psk() argument 308 if (session->psk_identity && session->psk_key) { in coap_get_session_client_psk() 309 if (session->psk_identity->length <= max_identity_len && in coap_get_session_client_psk() 310 session->psk_key->length <= max_psk_len) { in coap_get_session_client_psk() [all …]
|
/third_party/mbedtls/port/src/ |
D | tls_client.c | 32 static int MbedtlsSslCertificateVerify(MbedTLSSession *session) in MbedtlsSslCertificateVerify() argument 34 if (session == NULL) { in MbedtlsSslCertificateVerify() 37 int ret = mbedtls_ssl_get_verify_result(&session->ssl); in MbedtlsSslCertificateVerify() 40 (void)memset_s(session->buffer, session->buffer_len, 0x00, session->buffer_len); in MbedtlsSslCertificateVerify() 41 mbedtls_x509_crt_verify_info((char *)session->buffer, session->buffer_len, " ! ", ret); in MbedtlsSslCertificateVerify() 42 LOGD("verification info: %s.", session->buffer); in MbedtlsSslCertificateVerify() 48 int MbedtlsClientInit(MbedTLSSession *session, void *entropy, size_t entropyLen) in MbedtlsClientInit() argument 50 if (session == NULL || entropy == NULL) { in MbedtlsClientInit() 53 mbedtls_net_init(&session->server_fd); in MbedtlsClientInit() 54 mbedtls_ssl_init(&session->ssl); in MbedtlsClientInit() [all …]
|
/third_party/openssl/test/ssl-tests/ |
D | 06-sni-ticket.conf | 5 test-0 = 0-sni-session-ticket 6 test-1 = 1-sni-session-ticket 7 test-2 = 2-sni-session-ticket 8 test-3 = 3-sni-session-ticket 9 test-4 = 4-sni-session-ticket 10 test-5 = 5-sni-session-ticket 11 test-6 = 6-sni-session-ticket 12 test-7 = 7-sni-session-ticket 13 test-8 = 8-sni-session-ticket 14 test-9 = 9-sni-session-ticket [all …]
|
D | 27-ticket-appdata.conf | 5 test-0 = 0-session-ticket-app-data12 6 test-1 = 1-session-ticket-app-data12 7 test-2 = 2-session-ticket-app-data13 8 test-3 = 3-session-ticket-app-data13 11 [0-session-ticket-app-data12] 12 ssl_conf = 0-session-ticket-app-data12-ssl 14 [0-session-ticket-app-data12-ssl] 15 server = 0-session-ticket-app-data12-server 16 client = 0-session-ticket-app-data12-client 17 resume-server = 0-session-ticket-app-data12-server [all …]
|
/third_party/node/deps/nghttp2/lib/ |
D | nghttp2_session.c | 47 session_is_outgoing_concurrent_streams_max(nghttp2_session *session) { in session_is_outgoing_concurrent_streams_max() argument 48 return session->remote_settings.max_concurrent_streams <= in session_is_outgoing_concurrent_streams_max() 49 session->num_outgoing_streams; in session_is_outgoing_concurrent_streams_max() 58 session_is_incoming_concurrent_streams_max(nghttp2_session *session) { in session_is_incoming_concurrent_streams_max() argument 59 return session->local_settings.max_concurrent_streams <= in session_is_incoming_concurrent_streams_max() 60 session->num_incoming_streams; in session_is_incoming_concurrent_streams_max() 69 session_is_incoming_concurrent_streams_pending_max(nghttp2_session *session) { in session_is_incoming_concurrent_streams_pending_max() argument 70 return session->pending_local_max_concurrent_stream <= in session_is_incoming_concurrent_streams_pending_max() 71 session->num_incoming_streams; in session_is_incoming_concurrent_streams_pending_max() 85 static int session_enforce_http_messaging(nghttp2_session *session) { in session_enforce_http_messaging() argument [all …]
|
D | nghttp2_submit.c | 46 static int detect_self_dependency(nghttp2_session *session, int32_t stream_id, in detect_self_dependency() argument 51 if ((int32_t)session->next_stream_id == pri_spec->stream_id) { in detect_self_dependency() 67 static int32_t submit_headers_shared(nghttp2_session *session, uint8_t flags, in submit_headers_shared() argument 80 mem = &session->mem; in submit_headers_shared() 101 if (session->next_stream_id > INT32_MAX) { in submit_headers_shared() 106 stream_id = (int32_t)session->next_stream_id; in submit_headers_shared() 107 session->next_stream_id += 2; in submit_headers_shared() 120 rv = nghttp2_session_add_item(session, item); in submit_headers_shared() 142 static int32_t submit_headers_shared_nva(nghttp2_session *session, in submit_headers_shared_nva() argument 153 mem = &session->mem; in submit_headers_shared_nva() [all …]
|
/third_party/nghttp2/lib/ |
D | nghttp2_session.c | 47 session_is_outgoing_concurrent_streams_max(nghttp2_session *session) { in session_is_outgoing_concurrent_streams_max() argument 48 return session->remote_settings.max_concurrent_streams <= in session_is_outgoing_concurrent_streams_max() 49 session->num_outgoing_streams; in session_is_outgoing_concurrent_streams_max() 58 session_is_incoming_concurrent_streams_max(nghttp2_session *session) { in session_is_incoming_concurrent_streams_max() argument 59 return session->local_settings.max_concurrent_streams <= in session_is_incoming_concurrent_streams_max() 60 session->num_incoming_streams; in session_is_incoming_concurrent_streams_max() 69 session_is_incoming_concurrent_streams_pending_max(nghttp2_session *session) { in session_is_incoming_concurrent_streams_pending_max() argument 70 return session->pending_local_max_concurrent_stream <= in session_is_incoming_concurrent_streams_pending_max() 71 session->num_incoming_streams; in session_is_incoming_concurrent_streams_pending_max() 85 static int session_enforce_http_messaging(nghttp2_session *session) { in session_enforce_http_messaging() argument [all …]
|
D | nghttp2_submit.c | 46 static int detect_self_dependency(nghttp2_session *session, int32_t stream_id, in detect_self_dependency() argument 51 if ((int32_t)session->next_stream_id == pri_spec->stream_id) { in detect_self_dependency() 67 static int32_t submit_headers_shared(nghttp2_session *session, uint8_t flags, in submit_headers_shared() argument 80 mem = &session->mem; in submit_headers_shared() 101 if (session->next_stream_id > INT32_MAX) { in submit_headers_shared() 106 stream_id = (int32_t)session->next_stream_id; in submit_headers_shared() 107 session->next_stream_id += 2; in submit_headers_shared() 120 rv = nghttp2_session_add_item(session, item); in submit_headers_shared() 142 static int32_t submit_headers_shared_nva(nghttp2_session *session, in submit_headers_shared_nva() argument 153 mem = &session->mem; in submit_headers_shared_nva() [all …]
|
/third_party/nghttp2/tests/ |
D | nghttp2_session_test.c | 123 static ssize_t null_send_callback(nghttp2_session *session, const uint8_t *data, in null_send_callback() argument 125 (void)session; in null_send_callback() 133 static ssize_t fail_send_callback(nghttp2_session *session, const uint8_t *data, in fail_send_callback() argument 135 (void)session; in fail_send_callback() 144 static ssize_t fixed_bytes_send_callback(nghttp2_session *session, in fixed_bytes_send_callback() argument 148 (void)session; in fixed_bytes_send_callback() 155 static ssize_t scripted_recv_callback(nghttp2_session *session, uint8_t *data, in scripted_recv_callback() argument 159 (void)session; in scripted_recv_callback() 171 static ssize_t eof_recv_callback(nghttp2_session *session, uint8_t *data, in eof_recv_callback() argument 173 (void)session; in eof_recv_callback() [all …]
|
/third_party/libsoup/tests/ |
D | hsts-test.c | 105 session_get_uri (SoupSession *session, const char *uri, SoupStatus expected_status) in session_get_uri() argument 111 soup_session_send_message (session, msg); in session_get_uri() 140 on_request_queued (SoupSession *session, in on_request_queued() argument 152 SoupSession *session; in hsts_session_new() local 155 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, in hsts_session_new() 160 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, in hsts_session_new() 165 g_signal_connect (session, "request-queued", G_CALLBACK (on_request_queued), NULL); in hsts_session_new() 167 return session; in hsts_session_new() 174 SoupSession *session = hsts_session_new (NULL); in do_hsts_basic_test() local 176 session_get_uri (session, "http://localhost", SOUP_STATUS_MOVED_PERMANENTLY); in do_hsts_basic_test() [all …]
|
D | session-test.c | 45 finished_cb (SoupSession *session, SoupMessage *msg, gpointer user_data) in finished_cb() argument 53 cancel_message_cb (SoupMessage *msg, gpointer session) in cancel_message_cb() argument 55 soup_session_cancel_message (session, msg, SOUP_STATUS_CANCELLED); in cancel_message_cb() 60 do_test_for_session (SoupSession *session, SoupURI *uri, in do_test_for_session() argument 75 soup_session_send_message (session, msg); in do_test_for_session() 80 soup_session_queue_message (session, msg, finished_cb, &finished); in do_test_for_session() 103 soup_session_send_message (session, msg); in do_test_for_session() 126 soup_session_queue_message (session, msg, finished_cb, &finished); in do_test_for_session() 128 G_CALLBACK (cancel_message_cb), session); in do_test_for_session() 153 SoupSession *session; in do_plain_tests() local [all …]
|
D | misc-test.c | 98 SoupSession *session; in do_host_test() local 103 session = soup_test_session_new (SOUP_TYPE_SESSION_SYNC, NULL); in do_host_test() 109 soup_session_send_message (session, one); in do_host_test() 110 soup_session_send_message (session, two); in do_host_test() 112 soup_test_session_abort_unref (session); in do_host_test() 130 SoupSession *session; in do_host_big_header() local 135 session = soup_test_session_new (SOUP_TYPE_SESSION_SYNC, NULL); in do_host_big_header() 146 soup_session_send_message (session, msg); in do_host_big_header() 148 soup_test_session_abort_unref (session); in do_host_big_header() 160 cu_one_completed (SoupSession *session, SoupMessage *msg, gpointer loop) in cu_one_completed() argument [all …]
|
D | connection-test.c | 174 SoupSession *session; in do_content_length_framing_test() local 181 session = soup_test_session_new (SOUP_TYPE_SESSION_ASYNC, NULL); in do_content_length_framing_test() 186 soup_session_send_message (session, msg); in do_content_length_framing_test() 201 soup_session_send_message (session, msg); in do_content_length_framing_test() 211 soup_test_session_abort_unref (session); in do_content_length_framing_test() 215 request_started_socket_collector (SoupSession *session, SoupMessage *msg, in request_started_socket_collector() argument 239 do_timeout_test_for_session (SoupSession *session) in do_timeout_test_for_session() argument 246 g_signal_connect (session, "request-started", in do_timeout_test_for_session() 254 soup_session_send_message (session, msg); in do_timeout_test_for_session() 271 soup_session_send_message (session, msg); in do_timeout_test_for_session() [all …]
|
/third_party/skia/platform_tools/libraries/include/ |
D | arcore_c_api.h | 946 void ArConfig_create(const ArSession *session, ArConfig **out_config); 954 const ArSession *session, 961 const ArSession *session, 967 void ArConfig_getPlaneFindingMode(const ArSession *session, 973 void ArConfig_setPlaneFindingMode(const ArSession *session, 979 void ArConfig_getUpdateMode(const ArSession *session, 985 void ArConfig_setUpdateMode(const ArSession *session, 990 void ArConfig_getCloudAnchorMode(const ArSession *session, 996 void ArConfig_setCloudAnchorMode(const ArSession *session, 1008 const ArSession *session, [all …]
|
/third_party/flutter/skia/platform_tools/libraries/include/ |
D | arcore_c_api.h | 946 void ArConfig_create(const ArSession *session, ArConfig **out_config); 954 const ArSession *session, 961 const ArSession *session, 967 void ArConfig_getPlaneFindingMode(const ArSession *session, 973 void ArConfig_setPlaneFindingMode(const ArSession *session, 979 void ArConfig_getUpdateMode(const ArSession *session, 985 void ArConfig_setUpdateMode(const ArSession *session, 990 void ArConfig_getCloudAnchorMode(const ArSession *session, 996 void ArConfig_setCloudAnchorMode(const ArSession *session, 1008 const ArSession *session, [all …]
|
/third_party/node/test/sequential/ |
D | test-inspector-scriptparsed-context.js | 33 async function getContext(session) { argument 35 await session.waitForNotification('Runtime.executionContextCreated'); 39 async function checkScriptContext(session, context) { argument 41 await session.waitForNotification('Debugger.scriptParsed'); 48 const session = await instance.connectInspectorSession(); 49 await session.send([ 53 await session.waitForBreakOnLine(2, '[eval]'); 55 await session.send({ 'method': 'Runtime.enable' }); 56 await getContext(session); 57 await session.send({ 'method': 'Debugger.resume' }); [all …]
|
D | test-inspector.js | 60 async function testBreakpointOnStart(session) { argument 78 await session.send(commands); 79 await session.waitForBreakOnLine(0, session.scriptURL()); 82 async function testBreakpoint(session) { argument 87 'url': session.scriptURL(), 92 await session.send(commands); 93 const { scriptSource } = await session.send({ 95 'params': { 'scriptId': session.mainScriptId }, 97 assert(scriptSource && (scriptSource.includes(session.script())), 100 await session.waitForConsoleOutput('log', ['A message', 5]); [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/dvb/ |
D | camsession.c | 45 CamSLSession *session = g_new0 (CamSLSession, 1); in cam_sl_session_new() local 47 session->state = CAM_SL_SESSION_STATE_IDLE; in cam_sl_session_new() 48 session->sl = sl; in cam_sl_session_new() 49 session->connection = connection; in cam_sl_session_new() 50 session->session_nb = session_nb; in cam_sl_session_new() 51 session->resource_id = resource_id; in cam_sl_session_new() 53 return session; in cam_sl_session_new() 57 cam_sl_session_destroy (CamSLSession * session) in cam_sl_session_destroy() argument 59 g_free (session); in cam_sl_session_destroy() 90 CamSLSession *session = NULL; in cam_sl_create_session() local [all …]
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | declarationFileMaps.ts | 27 …function checkDeclarationFiles(file: File, session: TestSession, expectedFiles: readonly File[]): … 28 openFilesForSession([file], session); 29 …const project = Debug.checkDefined(session.getProjectService().getDefaultProjectForFile(file.path … 32 closeFilesForSession([file], session); 119 const session = createSession(host); constant 121 checkDeclarationFiles(aTs, session, [aDtsMap, aDts]); 122 checkDeclarationFiles(bTs, session, [bDtsMap, bDts]); 129 openFilesForSession([userTs], session); 130 const service = session.getProjectService(); 133 return session; [all …]
|
/third_party/libsoup/libsoup/ |
D | soup-session.h | 23 typedef void (*SoupSessionCallback) (SoupSession *session, 36 void (*request_started) (SoupSession *session, SoupMessage *msg, 38 void (*authenticate) (SoupSession *session, SoupMessage *msg, 42 void (*queue_message) (SoupSession *session, SoupMessage *msg, 45 void (*requeue_message) (SoupSession *session, SoupMessage *msg); 46 guint (*send_message) (SoupSession *session, SoupMessage *msg); 48 void (*cancel_message) (SoupSession *session, SoupMessage *msg, 51 void (*auth_required) (SoupSession *session, SoupMessage *msg, 54 void (*flush_queue) (SoupSession *session); 56 void (*kick) (SoupSession *session); [all …]
|
/third_party/libcoap/tests/ |
D | test_session.c | 31 static coap_session_t *session; /* Holds a reference-counted session object */ variable 41 CU_ASSERT(session->ref == 1); in t_session1() 43 coap_session_reference(session); in t_session1() 44 CU_ASSERT(session->ref == 2); in t_session1() 46 coap_session_release(session); in t_session1() 47 CU_ASSERT(session->ref == 1); in t_session1() 52 CU_ASSERT(session->max_retransmit == COAP_DEFAULT_MAX_RETRANSMIT); in t_session2() 53 CU_ASSERT(fpeq(session->ack_timeout, COAP_DEFAULT_ACK_TIMEOUT)); in t_session2() 54 CU_ASSERT(fpeq(session->ack_random_factor, COAP_DEFAULT_ACK_RANDOM_FACTOR)); in t_session2() 56 CU_ASSERT(coap_session_get_max_retransmit(session) == COAP_DEFAULT_MAX_RETRANSMIT); in t_session2() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | gstrtpbin.c | 413 GstRtpBinSession * session); 415 GstRtpBinSession * session); 416 static void remove_recv_rtp (GstRtpBin * rtpbin, GstRtpBinSession * session); 417 static void remove_recv_rtcp (GstRtpBin * rtpbin, GstRtpBinSession * session); 418 static void remove_recv_fec (GstRtpBin * rtpbin, GstRtpBinSession * session); 419 static void remove_send_rtp (GstRtpBin * rtpbin, GstRtpBinSession * session); 420 static void remove_send_fec (GstRtpBin * rtpbin, GstRtpBinSession * session); 421 static void remove_rtcp (GstRtpBin * rtpbin, GstRtpBinSession * session); 426 GstRtpBinSession * session); 428 complete_session_receiver (GstRtpBin * rtpbin, GstRtpBinSession * session, [all …]
|