Home
last modified time | relevance | path

Searched refs:DEBUGASSERT (Results 1 – 25 of 107) 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 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 Dcfilters.c240 DEBUGASSERT(data); in Curl_cf_recv()
263 DEBUGASSERT(data); in Curl_cf_send()
277 DEBUGASSERT(0); in Curl_cf_send()
289 DEBUGASSERT(cft); in Curl_cf_create()
308 DEBUGASSERT(conn); in Curl_conn_cf_add()
348 DEBUGASSERT(cf); in Curl_conn_cf_discard_sub()
407 DEBUGASSERT(data); in Curl_conn_connect()
411 DEBUGASSERT(cf); in Curl_conn_connect()
491 DEBUGASSERT(data); in Curl_conn_data_pending()
527 DEBUGASSERT(data); in Curl_conn_adjust_pollset()
[all …]
H A Dhash.c68 DEBUGASSERT(h); in Curl_hash_init()
69 DEBUGASSERT(slots); in Curl_hash_init()
70 DEBUGASSERT(hfunc); in Curl_hash_init()
71 DEBUGASSERT(comparator); in Curl_hash_init()
72 DEBUGASSERT(dtor); in Curl_hash_init()
108 DEBUGASSERT(h); in Curl_hash_add2()
109 DEBUGASSERT(h->slots); in Curl_hash_add2()
164 DEBUGASSERT(h); in Curl_hash_delete()
165 DEBUGASSERT(h->slots); in Curl_hash_delete()
191 DEBUGASSERT(h); in Curl_hash_pick()
[all …]
H A Dconncache.c72 DEBUGASSERT(*bundlep == NULL); in bundle_create()
114 DEBUGASSERT(0); in bundle_remove_conn()
251 DEBUGASSERT(conn); in Curl_conncache_add_conn()
665 DEBUGASSERT(data); in connc_discard_conn()
666 DEBUGASSERT(connc); in connc_discard_conn()
667 DEBUGASSERT(!conn->bundle); in connc_discard_conn()
752 DEBUGASSERT(data); in Curl_conncache_disconnect()
910 DEBUGASSERT(data); in connc_perform()
959 DEBUGASSERT(conn); in connc_disconnect()
1014 DEBUGASSERT(data); in connc_update_shutdown_ev()
[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 Dbufq.c64 DEBUGASSERT(chunk->dlen >= chunk->w_offset); in chunk_append()
102 DEBUGASSERT(chunk->dlen >= chunk->w_offset); in chunk_slurpn()
111 DEBUGASSERT((size_t)nread <= n); in chunk_slurpn()
129 DEBUGASSERT(chunk->w_offset >= offset); in chunk_peek_at()
162 DEBUGASSERT(chunk_size > 0); in Curl_bufcp_init()
163 DEBUGASSERT(spare_max > 0); in Curl_bufcp_init()
216 DEBUGASSERT(chunk_size > 0); in bufq_init()
217 DEBUGASSERT(max_chunks > 0); in bufq_init()
380 DEBUGASSERT(!q->head); in get_non_full_tail()
395 DEBUGASSERT(q->max_chunks > 0); in Curl_bufq_write()
[all …]
H A Deasygetopt.c34 DEBUGASSERT(name || id); in lookup()
35 DEBUGASSERT(!Curl_easyopts_check()); in lookup()
H A Dcurl_trc.c90 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_failf()
132 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_infof()
144 DEBUGASSERT(cf); in Curl_trc_cf_infof()
177 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_read()
188 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_write()
205 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_ftp()
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 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()
771 DEBUGASSERT(data->conn); in cr_in_resume_from()
1090 DEBUGASSERT(r); in do_init_reader_stack()
1091 DEBUGASSERT(r->crt); in do_init_reader_stack()
1157 DEBUGASSERT(r); in Curl_creader_set()
1158 DEBUGASSERT(r->crt); in Curl_creader_set()
1173 DEBUGASSERT(buf); in Curl_client_read()
1174 DEBUGASSERT(blen); in Curl_client_read()
1175 DEBUGASSERT(nread); in Curl_client_read()
1176 DEBUGASSERT(eos); in Curl_client_read()
[all …]
H A Dcf-haproxy.c55 DEBUGASSERT(ctx); in cf_haproxy_ctx_reset()
76 DEBUGASSERT(ctx); in cf_haproxy_date_out_set()
77 DEBUGASSERT(ctx->state == HAPROXY_INIT); in cf_haproxy_date_out_set()
112 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.c270 DEBUGASSERT(h); in sockhash_destroy()
1015 DEBUGASSERT(data); in Curl_attach_connection()
1017 DEBUGASSERT(conn); in Curl_attach_connection()
1193 DEBUGASSERT(0); in multi_getsock()
1690 DEBUGASSERT(conn);
1824 DEBUGASSERT(conn);
3706 DEBUGASSERT(data);
3709 DEBUGASSERT(conn);
3794 DEBUGASSERT(data);
3838 DEBUGASSERT(data);
[all …]
H A Drand.c205 DEBUGASSERT(num); in Curl_rand()
237 DEBUGASSERT(num > 1); in Curl_rand_hex()
275 DEBUGASSERT(num > 1); in Curl_rand_alnum()
H A Dpingpong.c177 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()
210 DEBUGASSERT(data_sec > PROT_NONE && data_sec < PROT_LAST); in Curl_pp_vsendf()
269 DEBUGASSERT(prot > PROT_NONE && prot < PROT_LAST); in pingpong_read()
H A Dcurl_sha512_256.c127 DEBUGASSERT(EVP_MD_CTX_size(*ctx) == SHA512_256_DIGEST_SIZE); in Curl_sha512_256_init()
129 DEBUGASSERT(EVP_MD_CTX_block_size(*ctx) == SHA512_256_BLOCK_SIZE); in Curl_sha512_256_init()
215 DEBUGASSERT(SHA512_256_DIGEST_LENGTH == SHA512_256_DIGEST_SIZE); in Curl_sha512_256_init()
238 DEBUGASSERT((data != NULL) || (length == 0)); in Curl_sha512_256_update()
428 DEBUGASSERT(SHA512_256_DIGEST_LENGTH == SHA512_256_DIGEST_SIZE); in MHDx_sha512_256_init()
430 DEBUGASSERT(sizeof(curl_uint64_t) == 8); in MHDx_sha512_256_init()
634 DEBUGASSERT((data != NULL) || (length == 0)); in MHDx_sha512_256_update()
/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.c201 DEBUGASSERT(backend); in cr_recv()
332 DEBUGASSERT(backend); in cr_send()
334 DEBUGASSERT(rconn); in cr_send()
444 DEBUGASSERT(backend); in cr_init_backend()
539 DEBUGASSERT(rconn); in cr_init_backend()
586 DEBUGASSERT(backend); in cr_connect_common()
704 DEBUGASSERT(false); in cr_connect_common()
727 DEBUGASSERT(backend); in cr_get_internals()
744 DEBUGASSERT(backend); in cr_shutdown()
768 DEBUGASSERT(result); in cr_shutdown()
[all …]
/curl/src/
H A Dtool_writeout.c163 DEBUGASSERT(wovar->writefunc == writeTime); in writeTime()
170 DEBUGASSERT(0); in writeTime()
291 DEBUGASSERT(wovar->writefunc == writeString); in writeString()
408 DEBUGASSERT(0); in writeString()
414 DEBUGASSERT(strinfo); in writeString()
439 DEBUGASSERT(wovar->writefunc == writeLong); in writeLong()
471 DEBUGASSERT(0); in writeLong()
503 DEBUGASSERT(wovar->writefunc == writeOffset); in writeOffset()
510 DEBUGASSERT(0); in writeOffset()
H A Dtool_findfile.c106 DEBUGASSERT(fname && fname[0]); in findfile()
107 DEBUGASSERT((dotscore != 1) || (fname[0] == '.')); in findfile()
H A Dtool_msgs.c52 DEBUGASSERT(!strchr(fmt, '\n')); in voutf()
127 DEBUGASSERT(!strchr(fmt, '\n')); in helpf()
H A Dtool_stderr.c66 DEBUGASSERT(0); in tool_set_stderr_file()

Completed in 102 milliseconds

12345