/external/curl/lib/ |
D | warnless.c | 131 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_USHORT); in curlx_ultous() 150 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_UCHAR); in curlx_ultouc() 169 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_SINT); in curlx_ultosi() 191 DEBUGASSERT(uznum <= (size_t) CURL_MASK_SCOFFT); in curlx_uztoso() 210 DEBUGASSERT(uznum <= (size_t) CURL_MASK_SINT); in curlx_uztosi() 230 DEBUGASSERT(uznum <= (size_t) CURL_MASK_ULONG); in curlx_uztoul() 251 DEBUGASSERT(uznum <= (size_t) CURL_MASK_UINT); in curlx_uztoui() 271 DEBUGASSERT(slnum >= 0); in curlx_sltosi() 273 DEBUGASSERT((unsigned long) slnum <= (unsigned long) CURL_MASK_SINT); in curlx_sltosi() 293 DEBUGASSERT(slnum >= 0); in curlx_sltoui() [all …]
|
D | memdebug.c | 166 DEBUGASSERT(wantedsize != 0); in curl_dbg_malloc() 195 DEBUGASSERT(wanted_elements != 0); in curl_dbg_calloc() 196 DEBUGASSERT(wanted_size != 0); in curl_dbg_calloc() 222 DEBUGASSERT(str != NULL); in curl_dbg_strdup() 246 DEBUGASSERT(str != NULL); in curl_dbg_wcsdup() 275 DEBUGASSERT(wantedsize != 0); in curl_dbg_realloc() 464 DEBUGASSERT(file != NULL); in curl_dbg_fclose()
|
D | pingpong.c | 177 DEBUGASSERT(pp->sendleft == 0); in Curl_pp_vsendf() 178 DEBUGASSERT(pp->sendsize == 0); in Curl_pp_vsendf() 179 DEBUGASSERT(pp->sendthis == NULL); in Curl_pp_vsendf() 215 DEBUGASSERT(data_sec > PROT_NONE && data_sec < PROT_LAST); in Curl_pp_vsendf() 321 DEBUGASSERT((ptr + data->set.buffer_size - pp->nread_resp) <= in Curl_pp_readresp() 327 DEBUGASSERT(prot > PROT_NONE && prot < PROT_LAST); in Curl_pp_readresp()
|
D | altsvc.c | 269 DEBUGASSERT(asi); in Curl_altsvc_load() 279 DEBUGASSERT(asi); in Curl_altsvc_ctrl() 421 DEBUGASSERT(asi); in Curl_altsvc_parse() 546 DEBUGASSERT(asi); in Curl_altsvc_lookup() 547 DEBUGASSERT(srchost); in Curl_altsvc_lookup() 548 DEBUGASSERT(dsthost); in Curl_altsvc_lookup()
|
D | security.c | 108 DEBUGASSERT(0); in level_to_char() 286 DEBUGASSERT(prot_level > PROT_NONE && prot_level < PROT_LAST); in do_sec_send() 374 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in Curl_sec_read_msg() 423 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in sec_set_protection_level() 479 DEBUGASSERT(l > PROT_NONE && l < PROT_LAST); in Curl_sec_request_prot() 542 DEBUGASSERT(ret == AUTH_OK); in choose_mech()
|
D | sendf.c | 172 DEBUGASSERT(psnd->bindsock == sockfd); in pre_receive_plain() 192 DEBUGASSERT(psnd->allocated_size > 0); in get_pre_recved() 193 DEBUGASSERT(psnd->recv_size <= psnd->allocated_size); in get_pre_recved() 194 DEBUGASSERT(psnd->recv_processed <= psnd->recv_size); in get_pre_recved() 198 DEBUGASSERT(psnd->bindsock == conn->sock[num]); in get_pre_recved() 512 DEBUGASSERT(i < 3); in pausewrite() 663 DEBUGASSERT(type <= 3); in Curl_client_write()
|
D | asyn-thread.c | 221 DEBUGASSERT(hints); in init_thread_sync_data() 471 DEBUGASSERT(conn && td); in thread_wait_resolv() 472 DEBUGASSERT(td->thread_hnd != curl_thread_t_null); in thread_wait_resolv() 480 DEBUGASSERT(0); in thread_wait_resolv() 551 DEBUGASSERT(td); in Curl_resolver_is_resolved()
|
D | rand.c | 124 DEBUGASSERT(num > 0); in Curl_rand() 158 DEBUGASSERT(num > 1); in Curl_rand_hex()
|
D | http2.c | 485 DEBUGASSERT(httpc->drain_total >= data->state.drain); in drained_transfer() 498 DEBUGASSERT(httpc->drain_total >= data->state.drain); in drain_this() 609 DEBUGASSERT(0); in push_promise() 778 DEBUGASSERT(stream_id); /* should never be a zero stream ID here */ in on_data_chunk_recv() 867 DEBUGASSERT(0); in on_stream_close() 952 DEBUGASSERT(stream_id); /* should never be a zero stream ID here */ in on_header() 1053 DEBUGASSERT(stream->status_code != -1); in on_header() 1225 DEBUGASSERT(0); in Curl_http2_done() 1454 DEBUGASSERT(data->state.drain == 0); in http2_handle_stream_close() 1624 DEBUGASSERT(httpc->pause_stream_id == stream->stream_id); in http2_recv() [all …]
|
D | conncache.c | 48 DEBUGASSERT(!(x)->state.conncache_lock); \ 53 DEBUGASSERT((x)->state.conncache_lock); \ 75 DEBUGASSERT(*cb_ptr == NULL); in bundle_create() 175 DEBUGASSERT(len > 32); in hashkey()
|
D | http_ntlm.c | 134 DEBUGASSERT(conn); in Curl_output_ntlm() 135 DEBUGASSERT(conn->data); in Curl_output_ntlm()
|
D | curl_setup_once.h | 399 #define DEBUGASSERT(x) assert(x) macro 401 #define DEBUGASSERT(x) do { } WHILE_FALSE macro
|
D | wildcard.c | 57 DEBUGASSERT(wc->protdata == NULL); in Curl_wildcard_dtor()
|
D | url.c | 637 DEBUGASSERT(psnd->allocated_size > 0); in conn_reset_postponed_data() 638 DEBUGASSERT(psnd->recv_size <= psnd->allocated_size); in conn_reset_postponed_data() 639 DEBUGASSERT(psnd->recv_size ? in conn_reset_postponed_data() 642 DEBUGASSERT(psnd->bindsock != CURL_SOCKET_BAD); in conn_reset_postponed_data() 653 DEBUGASSERT(psnd->allocated_size == 0); in conn_reset_postponed_data() 654 DEBUGASSERT(psnd->recv_size == 0); in conn_reset_postponed_data() 655 DEBUGASSERT(psnd->recv_processed == 0); in conn_reset_postponed_data() 656 DEBUGASSERT(psnd->bindsock == CURL_SOCKET_BAD); in conn_reset_postponed_data() 677 DEBUGASSERT(conn->data); in conn_shutdown() 917 DEBUGASSERT(GOOD_EASY_HANDLE(e)); in gethandleathead() [all …]
|
D | http_proxy.c | 54 DEBUGASSERT(conn->http_proxy.proxytype == CURLPROXY_HTTPS); in https_proxy_connect() 154 DEBUGASSERT(!conn->connect_state); in connect_init() 162 DEBUGASSERT(conn->connect_state); in connect_init()
|
D | slist.c | 64 DEBUGASSERT(data); in Curl_slist_append_nodup()
|
D | curl_ntlm_wb.c | 355 DEBUGASSERT(conn); in Curl_output_ntlm_wb() 356 DEBUGASSERT(conn->data); in Curl_output_ntlm_wb()
|
D | gopher.c | 92 DEBUGASSERT(path); in gopher_do()
|
D | transfer.c | 512 DEBUGASSERT(conn->read_pos >= thismuch); in read_rewind() 1437 DEBUGASSERT(conn->sockfd != CURL_SOCKET_BAD); in Curl_single_getsock() 1453 DEBUGASSERT(conn->writesockfd != CURL_SOCKET_BAD); in Curl_single_getsock() 1655 DEBUGASSERT(data->state.uh); in Curl_follow() 1884 DEBUGASSERT(conn != NULL); in Curl_setup_transfer() 1885 DEBUGASSERT((sockindex <= 1) && (sockindex >= -1)); in Curl_setup_transfer()
|
D | curl_addrinfo.c | 294 DEBUGASSERT((he->h_name != NULL) && (he->h_addr_list != NULL)); in Curl_he2ai() 414 DEBUGASSERT(inaddr && hostname); in Curl_ip2addr()
|
D | http.c | 164 DEBUGASSERT(data->req.protop == NULL); in http_setup_conn() 746 DEBUGASSERT(data); in Curl_http_output_auth() 860 DEBUGASSERT(!data->req.newurl); in Curl_http_input_auth() 998 DEBUGASSERT(conn); in http_should_fail() 1000 DEBUGASSERT(data); in http_should_fail() 1027 DEBUGASSERT((httpcode == 401) || (httpcode == 407)); in http_should_fail() 1158 DEBUGASSERT(socketindex <= SECONDARYSOCKET); in Curl_add_buffer_send() 1171 DEBUGASSERT(size > included_body_bytes); in Curl_add_buffer_send() 1537 DEBUGASSERT((conn) && (conn->handler->flags & PROTOPT_SSL)); in https_connecting() 1994 DEBUGASSERT(http); in Curl_http() [all …]
|
D | inet_ntop.c | 55 DEBUGASSERT(size >= 16); in inet_ntop4()
|
/external/curl/lib/vauth/ |
D | ntlm.c | 767 DEBUGASSERT(size == 64); in Curl_auth_create_ntlm_type3_message() 768 DEBUGASSERT(size == (size_t)lmrespoff); in Curl_auth_create_ntlm_type3_message() 787 DEBUGASSERT(size == (size_t)ntrespoff); in Curl_auth_create_ntlm_type3_message() 814 DEBUGASSERT(size == domoff); in Curl_auth_create_ntlm_type3_message() 822 DEBUGASSERT(size == useroff); in Curl_auth_create_ntlm_type3_message() 830 DEBUGASSERT(size == hostoff); in Curl_auth_create_ntlm_type3_message()
|
/external/curl/lib/vtls/ |
D | vtls.c | 212 DEBUGASSERT(conn->bits.proxy_ssl_connected[sockindex]); in ssl_connect_init_proxy() 324 DEBUGASSERT(SSL_SET_OPTION(primary.sessionid)); in Curl_ssl_getsessionid() 428 DEBUGASSERT(SSL_SET_OPTION(primary.sessionid)); in Curl_ssl_addsessionid() 554 DEBUGASSERT((sockindex <= 1) && (sockindex >= -1)); in Curl_ssl_close()
|
D | mesalink.c | 307 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in mesalink_connect_step3() 585 DEBUGASSERT(done); in Curl_mesalink_connect()
|