Home
last modified time | relevance | path

Searched refs:DEBUGASSERT (Results 1 – 25 of 41) sorted by relevance

12

/external/curl/lib/
Dwarnless.c68 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_USHORT); in curlx_ultous()
87 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_UCHAR); in curlx_ultouc()
106 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_SINT); in curlx_ultosi()
125 DEBUGASSERT(uznum <= (size_t) CURL_MASK_SCOFFT); in curlx_uztoso()
144 DEBUGASSERT(uznum <= (size_t) CURL_MASK_SINT); in curlx_uztosi()
164 DEBUGASSERT(uznum <= (size_t) CURL_MASK_ULONG); in curlx_uztoul()
185 DEBUGASSERT(uznum <= (size_t) CURL_MASK_UINT); in curlx_uztoui()
205 DEBUGASSERT(slnum >= 0); in curlx_sltosi()
207 DEBUGASSERT((unsigned long) slnum <= (unsigned long) CURL_MASK_SINT); in curlx_sltosi()
227 DEBUGASSERT(slnum >= 0); in curlx_sltoui()
[all …]
Dpingpong.c174 DEBUGASSERT(pp->sendleft == 0); in Curl_pp_vsendf()
175 DEBUGASSERT(pp->sendsize == 0); in Curl_pp_vsendf()
176 DEBUGASSERT(pp->sendthis == NULL); in Curl_pp_vsendf()
205 DEBUGASSERT(data_sec > PROT_NONE && data_sec < PROT_LAST); in Curl_pp_vsendf()
296 DEBUGASSERT((ptr+pp->cache_size) <= (buf+BUFSIZE+1)); in Curl_pp_readresp()
308 DEBUGASSERT((ptr+BUFSIZE-pp->nread_resp) <= (buf+BUFSIZE+1)); in Curl_pp_readresp()
312 DEBUGASSERT(prot > PROT_NONE && prot < PROT_LAST); in Curl_pp_readresp()
Dwildcard.c35 DEBUGASSERT(wc->filelist == NULL); in Curl_wildcard_init()
55 DEBUGASSERT(wc->tmp == NULL); in Curl_wildcard_dtor()
Dcurl_ntlm_msgs.c735 DEBUGASSERT(size == 64); in Curl_sasl_create_ntlm_type3_message()
736 DEBUGASSERT(size == (size_t)lmrespoff); in Curl_sasl_create_ntlm_type3_message()
751 DEBUGASSERT(size == (size_t)ntrespoff); in Curl_sasl_create_ntlm_type3_message()
779 DEBUGASSERT(size == domoff); in Curl_sasl_create_ntlm_type3_message()
787 DEBUGASSERT(size == useroff); in Curl_sasl_create_ntlm_type3_message()
795 DEBUGASSERT(size == hostoff); in Curl_sasl_create_ntlm_type3_message()
Dsecurity.c107 DEBUGASSERT(0); in level_to_char()
282 DEBUGASSERT(prot_level > PROT_NONE && prot_level < PROT_LAST); in do_sec_send()
366 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in Curl_sec_read_msg()
415 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in sec_set_protection_level()
471 DEBUGASSERT(l > PROT_NONE && l < PROT_LAST); in Curl_sec_request_prot()
534 DEBUGASSERT(ret == AUTH_OK); in choose_mech()
Dcurl_ntlm.c126 DEBUGASSERT(conn); in Curl_output_ntlm()
127 DEBUGASSERT(conn->data); in Curl_output_ntlm()
Dasyn-thread.c215 DEBUGASSERT(hints); in init_thread_sync_data()
465 DEBUGASSERT(conn && td); in Curl_resolver_wait_resolv()
471 DEBUGASSERT(0); in Curl_resolver_wait_resolv()
505 DEBUGASSERT(td); in Curl_resolver_is_resolved()
Dstrerror.c628 DEBUGASSERT(conn); in Curl_strerror()
629 DEBUGASSERT(err >= 0); in Curl_strerror()
736 DEBUGASSERT(conn); in Curl_idn_strerror()
813 DEBUGASSERT(conn); in Curl_sspi_strerror()
Dcurl_setup_once.h418 #define DEBUGASSERT(x) assert(x) macro
420 #define DEBUGASSERT(x) do { } WHILE_FALSE macro
Dslist.c62 DEBUGASSERT(data); in Curl_slist_append_nodup()
Dcurl_ntlm_wb.c348 DEBUGASSERT(conn); in Curl_output_ntlm_wb()
349 DEBUGASSERT(conn->data); in Curl_output_ntlm_wb()
Dcurl_addrinfo.c283 DEBUGASSERT((he->h_name != NULL) && (he->h_addr_list != NULL)); in Curl_he2ai()
400 DEBUGASSERT(inaddr && hostname); in Curl_ip2addr()
Dhttp.c158 DEBUGASSERT(conn->data->req.protop == NULL); in Curl_http_setup_conn()
245 DEBUGASSERT(header); in Curl_copy_header_value()
696 DEBUGASSERT(data); in Curl_http_output_auth()
811 DEBUGASSERT(!data->req.newurl); in Curl_http_input_auth()
929 DEBUGASSERT(conn); in http_should_fail()
931 DEBUGASSERT(data); in http_should_fail()
959 DEBUGASSERT((httpcode == 401) || (httpcode == 407)); in http_should_fail()
1087 DEBUGASSERT(socketindex <= SECONDARYSOCKET); in Curl_add_buffer_send()
1100 DEBUGASSERT(size > included_body_bytes); in Curl_add_buffer_send()
1400 DEBUGASSERT((conn) && (conn->handler->flags & PROTOPT_SSL)); in https_connecting()
[all …]
Drtsp.c257 DEBUGASSERT((void *)http == (void *)rtsp); in rtsp_do()
697 DEBUGASSERT(k->str[0] == rtp[0]); in rtsp_rtp_readwrite()
699 DEBUGASSERT(rtp_dataleft <= *nread); /* sanity check */ in rtsp_rtp_readwrite()
Dinet_ntop.c56 DEBUGASSERT(size >= 16); in inet_ntop4()
Dtransfer.c329 DEBUGASSERT(conn->read_pos >= thismuch); in read_rewind()
1207 DEBUGASSERT(conn->sockfd != CURL_SOCKET_BAD); in Curl_single_getsock()
1223 DEBUGASSERT(conn->writesockfd != CURL_SOCKET_BAD); in Curl_single_getsock()
1935 DEBUGASSERT(conn != NULL); in Curl_setup_transfer()
1940 DEBUGASSERT((sockindex <= 1) && (sockindex >= -1)); in Curl_setup_transfer()
Dhttp_negotiate.c110 DEBUGASSERT(input_token.value != NULL); in Curl_input_negotiate()
Dhttp2.c267 DEBUGASSERT(stream->status_code != -1); in on_frame_recv()
360 DEBUGASSERT(stream_id); /* should never be a zero stream ID here */ in on_data_chunk_recv()
531 DEBUGASSERT(stream_id); /* should never be a zero stream ID here */ in on_header()
556 DEBUGASSERT(stream->status_code != -1); in on_header()
Dkrb5.c316 DEBUGASSERT(maj == GSS_S_COMPLETE); in krb5_end()
Dconncache.c53 DEBUGASSERT(*cb_ptr == NULL); in bundle_create()
/external/c-ares/
Dares_nowarn.c92 DEBUGASSERT(slnum >= 0); in aresx_sltosi()
111 DEBUGASSERT(sznum >= 0); in aresx_sztosi()
130 DEBUGASSERT(sznum >= 0); in aresx_sztoui()
Dsetup_once.h348 #define DEBUGASSERT(x) assert(x) macro
350 #define DEBUGASSERT(x) do { } while (0) macro
/external/curl/src/
Dtool_mfiles.c32 DEBUGASSERT(((*first) && (*last)) || ((!*first) && (!*last))); in AppendNode()
/external/curl/lib/vtls/
Dcyassl.c463 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in cyassl_connect_step3()
753 DEBUGASSERT(done); in Curl_cyassl_connect()
Dpolarssl.c496 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in polarssl_connect_step3()
734 DEBUGASSERT(done); in Curl_polarssl_connect()

12