Home
last modified time | relevance | path

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

12345

/curl/lib/
H A Ddynbuf.c42 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()
252 DEBUGASSERT(s); in Curl_dyn_uptr()
[all …]
H A Dbufref.c40 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 Dllist.c82 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()
149 DEBUGASSERT(list); in Curl_node_uremove()
207 DEBUGASSERT(list); in Curl_llist_head()
217 DEBUGASSERT(list); in Curl_llist_tail()
234 DEBUGASSERT(n); in Curl_node_elem()
243 DEBUGASSERT(n); in Curl_node_next()
254 DEBUGASSERT(n); in Curl_node_prev()
[all …]
H A Dwarnless.c117 DEBUGASSERT(uznum <= (size_t) CURL_MASK_SCOFFT); in curlx_uztoso()
136 DEBUGASSERT(uznum <= (size_t) CURL_MASK_SINT); in curlx_uztosi()
156 DEBUGASSERT(uznum <= (size_t) CURL_MASK_ULONG); in curlx_uztoul()
177 DEBUGASSERT(uznum <= (size_t) CURL_MASK_UINT); in curlx_uztoui()
197 DEBUGASSERT(slnum >= 0); in curlx_sltosi()
219 DEBUGASSERT(slnum >= 0); in curlx_sltoui()
241 DEBUGASSERT(slnum >= 0); in curlx_sltous()
261 DEBUGASSERT(uznum <= (size_t) CURL_MASK_SSIZE_T); in curlx_uztosz()
280 DEBUGASSERT(sonum >= 0); in curlx_sotouz()
299 DEBUGASSERT(sznum >= 0); in curlx_sztosi()
[all …]
H A Dhash.c72 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 Dcfilters.c245 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 Dsplay.c110 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 Dconncache.c218 DEBUGASSERT(cpool); in Curl_cpool_xfer_init()
368 DEBUGASSERT(conn); in Curl_cpool_add_conn()
370 DEBUGASSERT(cpool); in Curl_cpool_add_conn()
400 DEBUGASSERT(cpool); in cpool_remove_conn()
599 DEBUGASSERT(cpool); in Curl_cpool_find()
652 DEBUGASSERT(cpool); in cpool_close_and_destroy_all()
713 DEBUGASSERT(data); in cpool_discard_conn()
714 DEBUGASSERT(cpool); in cpool_discard_conn()
984 DEBUGASSERT(data); in cpool_perform()
1036 DEBUGASSERT(conn); in cpool_close_and_destroy()
[all …]
H A Ddynhds.c46 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 Deasygetopt.c34 DEBUGASSERT(name || id); in lookup()
35 DEBUGASSERT(!Curl_easyopts_check()); in lookup()
H A Dbufq.c64 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 Dcurl_trc.c93 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 Dmemdebug.c138 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 Drand.c110 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 Descape.c128 DEBUGASSERT(string); in Curl_urldecode()
129 DEBUGASSERT(ctrl >= REJECT_NADA); /* crash on TRUE/FALSE */ in Curl_urldecode()
221 DEBUGASSERT(src && len && (olen >= 3)); in Curl_hexencode()
H A Dsendf.c88 DEBUGASSERT(data->req.writer_stack); in Curl_client_write()
770 DEBUGASSERT(data->conn); in cr_in_resume_from()
1101 DEBUGASSERT(r); in do_init_reader_stack()
1102 DEBUGASSERT(r->crt); in do_init_reader_stack()
1168 DEBUGASSERT(r); in Curl_creader_set()
1169 DEBUGASSERT(r->crt); in Curl_creader_set()
1184 DEBUGASSERT(buf); in Curl_client_read()
1185 DEBUGASSERT(blen); in Curl_client_read()
1186 DEBUGASSERT(nread); in Curl_client_read()
1187 DEBUGASSERT(eos); in Curl_client_read()
[all …]
H A Dtransfer.c105 DEBUGASSERT(thislen); in Curl_checkheaders()
215 DEBUGASSERT(blen > 0); in Curl_xfer_recv_resp()
254 DEBUGASSERT(nread >= 0); in Curl_xfer_recv_resp()
428 DEBUGASSERT(nowp); in Curl_sendrecv()
726 DEBUGASSERT(type != FOLLOW_NONE); in Curl_follow()
788 DEBUGASSERT(data->state.uh); in Curl_follow()
1082 DEBUGASSERT(conn != NULL); in xfer_setup()
1232 DEBUGASSERT(data); in Curl_xfer_send()
1233 DEBUGASSERT(data->conn); in Curl_xfer_send()
1256 DEBUGASSERT(data); in Curl_xfer_recv()
[all …]
H A Dcf-haproxy.c55 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 Dselect.c413 DEBUGASSERT(cpfds); in Curl_pollfds_init()
423 DEBUGASSERT(cpfds); in Curl_pollfds_cleanup()
483 DEBUGASSERT(cpfds); in Curl_pollfds_add_ps()
484 DEBUGASSERT(ps); in Curl_pollfds_add_ps()
503 DEBUGASSERT(cwfds); in Curl_waitfds_init()
504 DEBUGASSERT(static_wfds); in Curl_waitfds_init()
537 DEBUGASSERT(cwfds); in Curl_waitfds_add_ps()
538 DEBUGASSERT(ps); in Curl_waitfds_add_ps()
H A Dmulti.c272 DEBUGASSERT(h); in sockhash_destroy()
943 DEBUGASSERT(data); in Curl_attach_connection()
945 DEBUGASSERT(conn); in Curl_attach_connection()
1123 DEBUGASSERT(0); in multi_getsock()
1137 DEBUGASSERT(0); in multi_getsock()
1629 DEBUGASSERT(conn);
1763 DEBUGASSERT(conn);
3788 DEBUGASSERT(data);
3832 DEBUGASSERT(data);
3841 DEBUGASSERT(data);
[all …]
/curl/lib/vtls/
H A Dhostcheck.c88 DEBUGASSERT(pattern); in hostmatch()
89 DEBUGASSERT(patternlen); in hostmatch()
90 DEBUGASSERT(hostname); in hostmatch()
91 DEBUGASSERT(hostlen); in hostmatch()
H A Drustls.c204 DEBUGASSERT(backend); in cr_recv()
335 DEBUGASSERT(backend); in cr_send()
337 DEBUGASSERT(rconn); in cr_send()
547 DEBUGASSERT(backend); in cr_init_backend()
761 DEBUGASSERT(rconn); in cr_init_backend()
808 DEBUGASSERT(backend); in cr_connect_common()
938 DEBUGASSERT(false); in cr_connect_common()
961 DEBUGASSERT(backend); in cr_get_internals()
978 DEBUGASSERT(backend); in cr_shutdown()
1002 DEBUGASSERT(result); in cr_shutdown()
[all …]
/curl/src/
H A Dtool_findfile.c105 DEBUGASSERT(fname && fname[0]); in findfile()
106 DEBUGASSERT((dotscore != 1) || (fname[0] == '.')); in findfile()
H A Dtool_writeout.c164 DEBUGASSERT(wovar->writefunc == writeTime); in writeTime()
171 DEBUGASSERT(0); in writeTime()
292 DEBUGASSERT(wovar->writefunc == writeString); in writeString()
409 DEBUGASSERT(0); in writeString()
415 DEBUGASSERT(strinfo); in writeString()
440 DEBUGASSERT(wovar->writefunc == writeLong); in writeLong()
472 DEBUGASSERT(0); in writeLong()
504 DEBUGASSERT(wovar->writefunc == writeOffset); in writeOffset()
511 DEBUGASSERT(0); in writeOffset()
H A Dtool_msgs.c50 DEBUGASSERT(!strchr(fmt, '\n')); in voutf()
125 DEBUGASSERT(!strchr(fmt, '\n')); in helpf()

Completed in 92 milliseconds

12345