/curl/lib/ |
H A D | dynbuf.c | 42 DEBUGASSERT(s); in Curl_dyn_init() 59 DEBUGASSERT(s); in Curl_dyn_free() 129 DEBUGASSERT(s); in Curl_dyn_reset() 143 DEBUGASSERT(s); in Curl_dyn_tail() 167 DEBUGASSERT(s); in Curl_dyn_addn() 180 DEBUGASSERT(s); in Curl_dyn_add() 194 DEBUGASSERT(s); in Curl_dyn_vaddf() 227 DEBUGASSERT(s); in Curl_dyn_addf() 241 DEBUGASSERT(s); in Curl_dyn_ptr() 250 DEBUGASSERT(s); in Curl_dyn_take() [all …]
|
H A D | bufref.c | 40 DEBUGASSERT(br); in Curl_bufref_init() 57 DEBUGASSERT(br); in Curl_bufref_free() 59 DEBUGASSERT(br->ptr || !br->len); in Curl_bufref_free() 76 DEBUGASSERT(ptr || !len); in Curl_bufref_set() 90 DEBUGASSERT(br); in Curl_bufref_ptr() 92 DEBUGASSERT(br->ptr || !br->len); in Curl_bufref_ptr() 102 DEBUGASSERT(br); in Curl_bufref_len() 104 DEBUGASSERT(br->ptr || !br->len); in Curl_bufref_len() 113 DEBUGASSERT(br); in Curl_bufref_memdup() 115 DEBUGASSERT(br->ptr || !br->len); in Curl_bufref_memdup() [all …]
|
H A D | llist.c | 82 DEBUGASSERT(list); in Curl_llist_insert_next() 84 DEBUGASSERT(ne); in Curl_llist_insert_next() 131 DEBUGASSERT(list); in Curl_llist_append() 133 DEBUGASSERT(ne); in Curl_llist_append() 145 DEBUGASSERT(list); in Curl_node_take_elem() 194 DEBUGASSERT(list); in Curl_node_uremove() 221 DEBUGASSERT(list); in Curl_llist_head() 248 DEBUGASSERT(n); in Curl_node_elem() 257 DEBUGASSERT(n); in Curl_node_next() 268 DEBUGASSERT(n); in Curl_node_prev() [all …]
|
H A D | warnless.c | 95 DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_UCHAR); in curlx_ultouc() 114 DEBUGASSERT(uznum <= (size_t) CURL_MASK_SINT); in curlx_uztosi() 134 DEBUGASSERT(uznum <= (size_t) CURL_MASK_ULONG); in curlx_uztoul() 155 DEBUGASSERT(uznum <= (size_t) CURL_MASK_UINT); in curlx_uztoui() 175 DEBUGASSERT(slnum >= 0); in curlx_sltosi() 197 DEBUGASSERT(slnum >= 0); in curlx_sltoui() 219 DEBUGASSERT(slnum >= 0); in curlx_sltous() 239 DEBUGASSERT(uznum <= (size_t) CURL_MASK_SSIZE_T); in curlx_uztosz() 258 DEBUGASSERT(sonum >= 0); in curlx_sotouz() 277 DEBUGASSERT(sznum >= 0); in curlx_sztosi() [all …]
|
H A D | hash.c | 72 DEBUGASSERT(h); in Curl_hash_init() 73 DEBUGASSERT(slots); in Curl_hash_init() 74 DEBUGASSERT(hfunc); in Curl_hash_init() 75 DEBUGASSERT(comparator); in Curl_hash_init() 76 DEBUGASSERT(dtor); in Curl_hash_init() 115 DEBUGASSERT(h); in Curl_hash_add2() 116 DEBUGASSERT(h->slots); in Curl_hash_add2() 169 DEBUGASSERT(h); in Curl_hash_delete() 170 DEBUGASSERT(h->slots); in Curl_hash_delete() 195 DEBUGASSERT(h); in Curl_hash_pick() [all …]
|
H A D | cfilters.c | 245 DEBUGASSERT(data); in Curl_cf_recv() 269 DEBUGASSERT(data); in Curl_cf_send() 283 DEBUGASSERT(0); in Curl_cf_send() 295 DEBUGASSERT(cft); in Curl_cf_create() 314 DEBUGASSERT(conn); in Curl_conn_cf_add() 354 DEBUGASSERT(cf); in Curl_conn_cf_discard_sub() 414 DEBUGASSERT(data); in Curl_conn_connect() 418 DEBUGASSERT(cf); in Curl_conn_connect() 509 DEBUGASSERT(data); in Curl_conn_data_pending() 560 DEBUGASSERT(data); in Curl_conn_adjust_pollset() [all …]
|
H A D | strparse.c | 34 DEBUGASSERT(linep && *linep && out && max && delim); in Curl_str_until() 68 DEBUGASSERT(linep && *linep && out && max); in Curl_str_quotedword() 92 DEBUGASSERT(linep && *linep); in Curl_str_single() 111 DEBUGASSERT(linep && *linep && nump); in Curl_str_number() 130 DEBUGASSERT(linep && *linep); in Curl_str_newline()
|
H A D | splay.c | 110 DEBUGASSERT(node); in Curl_splayinsert() 114 DEBUGASSERT(t); in Curl_splayinsert() 170 DEBUGASSERT(t); in Curl_splaygetbest() 225 DEBUGASSERT(removenode); in Curl_splayremove() 245 DEBUGASSERT(t); in Curl_splayremove() 276 DEBUGASSERT(x); in Curl_splayremove() 289 DEBUGASSERT(node); in Curl_splayset() 295 DEBUGASSERT(node); in Curl_splayget()
|
H A D | conncache.c | 218 DEBUGASSERT(cpool); in Curl_cpool_xfer_init() 356 DEBUGASSERT(conn); in Curl_cpool_add_conn() 358 DEBUGASSERT(cpool); in Curl_cpool_add_conn() 388 DEBUGASSERT(cpool); in cpool_remove_conn() 587 DEBUGASSERT(cpool); in Curl_cpool_find() 640 DEBUGASSERT(cpool); in cpool_close_and_destroy_all() 701 DEBUGASSERT(data); in cpool_discard_conn() 702 DEBUGASSERT(cpool); in cpool_discard_conn() 972 DEBUGASSERT(data); in cpool_perform() 1024 DEBUGASSERT(conn); in cpool_close_and_destroy() [all …]
|
H A D | dynhds.c | 46 DEBUGASSERT(name); in entry_new() 47 DEBUGASSERT(value); in entry_new() 70 DEBUGASSERT(value); in entry_append() 94 DEBUGASSERT(dynhds); in Curl_dynhds_init() 95 DEBUGASSERT(max_strs_size); in Curl_dynhds_init() 105 DEBUGASSERT(dynhds); in Curl_dynhds_free() 108 DEBUGASSERT(dynhds->hds); in Curl_dynhds_free() 119 DEBUGASSERT(dynhds); in Curl_dynhds_reset() 143 DEBUGASSERT(dynhds); in Curl_dynhds_getn() 172 DEBUGASSERT(dynhds); in Curl_dynhds_add() [all …]
|
H A D | easygetopt.c | 34 DEBUGASSERT(name || id); in lookup() 35 DEBUGASSERT(!Curl_easyopts_check()); in lookup()
|
H A D | bufq.c | 64 DEBUGASSERT(chunk->dlen >= chunk->w_offset); in chunk_append() 119 DEBUGASSERT(chunk->dlen >= chunk->w_offset); in chunk_slurpn() 128 DEBUGASSERT((size_t)nread <= n); in chunk_slurpn() 146 DEBUGASSERT(chunk->w_offset >= offset); in chunk_peek_at() 179 DEBUGASSERT(chunk_size > 0); in Curl_bufcp_init() 180 DEBUGASSERT(spare_max > 0); in Curl_bufcp_init() 233 DEBUGASSERT(chunk_size > 0); in bufq_init() 234 DEBUGASSERT(max_chunks > 0); in bufq_init() 440 DEBUGASSERT(!q->head); in get_non_full_tail() 455 DEBUGASSERT(q->max_chunks > 0); in Curl_bufq_write() [all …]
|
H A D | curl_trc.c | 93 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_failf() 141 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_infof() 153 DEBUGASSERT(cf); in Curl_trc_cf_infof() 186 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_read() 197 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_write() 214 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_ftp() 232 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_smtp() 250 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_ws()
|
H A D | memdebug.c | 138 DEBUGASSERT(wantedsize != 0); in curl_dbg_malloc() 165 DEBUGASSERT(wanted_elements != 0); in curl_dbg_calloc() 166 DEBUGASSERT(wanted_size != 0); in curl_dbg_calloc() 193 DEBUGASSERT(str != NULL); in curl_dbg_strdup() 218 DEBUGASSERT(str != NULL); in curl_dbg_wcsdup() 247 DEBUGASSERT(wantedsize != 0); in curl_dbg_realloc() 423 DEBUGASSERT(file != NULL); in curl_dbg_fclose()
|
H A D | transfer.c | 105 DEBUGASSERT(thislen); in Curl_checkheaders() 106 DEBUGASSERT(thisheader[thislen-1] != ':'); in Curl_checkheaders() 215 DEBUGASSERT(blen > 0); in xfer_recv_resp() 254 DEBUGASSERT(nread >= 0); in xfer_recv_resp() 427 DEBUGASSERT(nowp); in Curl_sendrecv() 782 DEBUGASSERT(conn != NULL); in xfer_setup() 932 DEBUGASSERT(data); in Curl_xfer_send() 933 DEBUGASSERT(data->conn); in Curl_xfer_send() 956 DEBUGASSERT(data); in Curl_xfer_recv() 957 DEBUGASSERT(data->conn); in Curl_xfer_recv() [all …]
|
H A D | rand.c | 110 DEBUGASSERT(length == sizeof(int)); in weak_random() 217 DEBUGASSERT(num); in Curl_rand_bytes() 249 DEBUGASSERT(num > 1); in Curl_rand_hex() 287 DEBUGASSERT(num > 1); in Curl_rand_alnum()
|
H A D | escape.c | 130 DEBUGASSERT(string); in Curl_urldecode() 131 DEBUGASSERT(ctrl >= REJECT_NADA); /* crash on TRUE/FALSE */ in Curl_urldecode() 223 DEBUGASSERT(src && len && (olen >= 3)); in Curl_hexencode()
|
H A D | sendf.c | 88 DEBUGASSERT(data->req.writer_stack); in Curl_client_write() 751 DEBUGASSERT(data->conn); in cr_in_resume_from() 1082 DEBUGASSERT(r); in do_init_reader_stack() 1083 DEBUGASSERT(r->crt); in do_init_reader_stack() 1149 DEBUGASSERT(r); in Curl_creader_set() 1150 DEBUGASSERT(r->crt); in Curl_creader_set() 1165 DEBUGASSERT(buf); in Curl_client_read() 1166 DEBUGASSERT(blen); in Curl_client_read() 1167 DEBUGASSERT(nread); in Curl_client_read() 1168 DEBUGASSERT(eos); in Curl_client_read() [all …]
|
H A D | cf-haproxy.c | 55 DEBUGASSERT(ctx); in cf_haproxy_ctx_reset() 77 DEBUGASSERT(ctx); in cf_haproxy_date_out_set() 78 DEBUGASSERT(ctx->state == HAPROXY_INIT); in cf_haproxy_date_out_set() 114 DEBUGASSERT(ctx); in cf_haproxy_connect()
|
H A D | select.c | 405 DEBUGASSERT(cpfds); in Curl_pollfds_init() 415 DEBUGASSERT(cpfds); in Curl_pollfds_cleanup() 475 DEBUGASSERT(cpfds); in Curl_pollfds_add_ps() 476 DEBUGASSERT(ps); in Curl_pollfds_add_ps() 495 DEBUGASSERT(cwfds); in Curl_waitfds_init() 496 DEBUGASSERT(static_wfds); in Curl_waitfds_init() 529 DEBUGASSERT(cwfds); in Curl_waitfds_add_ps() 530 DEBUGASSERT(ps); in Curl_waitfds_add_ps()
|
H A D | multi.c | 273 DEBUGASSERT(h); in sockhash_destroy() 947 DEBUGASSERT(data); in Curl_attach_connection() 949 DEBUGASSERT(conn); in Curl_attach_connection() 1127 DEBUGASSERT(0); in multi_getsock() 1141 DEBUGASSERT(0); in multi_getsock() 1646 DEBUGASSERT(conn); 1780 DEBUGASSERT(conn); 2485 DEBUGASSERT(conn); 4166 DEBUGASSERT(data); 4210 DEBUGASSERT(data); [all …]
|
/curl/lib/vtls/ |
H A D | hostcheck.c | 88 DEBUGASSERT(pattern); in hostmatch() 89 DEBUGASSERT(patternlen); in hostmatch() 90 DEBUGASSERT(hostname); in hostmatch() 91 DEBUGASSERT(hostlen); in hostmatch()
|
H A D | rustls.c | 205 DEBUGASSERT(backend); in cr_recv() 336 DEBUGASSERT(backend); in cr_send() 338 DEBUGASSERT(rconn); in cr_send() 548 DEBUGASSERT(backend); in cr_init_backend() 762 DEBUGASSERT(rconn); in cr_init_backend() 810 DEBUGASSERT(backend); in cr_connect_common() 940 DEBUGASSERT(FALSE); in cr_connect_common() 963 DEBUGASSERT(backend); in cr_get_internals() 980 DEBUGASSERT(backend); in cr_shutdown() 1004 DEBUGASSERT(result); in cr_shutdown() [all …]
|
H A D | gtls.c | 106 DEBUGASSERT(data); in gtls_push() 129 DEBUGASSERT(data); in gtls_pull() 254 DEBUGASSERT(backend); in handshake() 483 DEBUGASSERT(creds); in Curl_gtls_shared_creds_up_ref() 644 DEBUGASSERT(sc); in gtls_set_cached_creds() 1086 DEBUGASSERT(gctx); in Curl_gtls_ctx_init() 1209 DEBUGASSERT(backend); in gtls_connect_step1() 1863 DEBUGASSERT(backend); in gtls_connect_common() 1966 DEBUGASSERT(done); in gtls_connect() 2018 DEBUGASSERT(backend); in gtls_send() [all …]
|
/curl/src/ |
H A D | tool_findfile.c | 106 DEBUGASSERT(fname && fname[0]); in findfile() 107 DEBUGASSERT((dotscore != 1) || (fname[0] == '.')); in findfile()
|