Home
last modified time | relevance | path

Searched refs:i_assert (Results 1 – 25 of 851) sorted by relevance

12345678910>>...35

/dports/mail/dovecot/dovecot-2.3.17/src/lib-dcrypt/
H A Ddcrypt.c41 i_assert(dcrypt_vfs != NULL); in dcrypt_initialize()
75 i_assert(dcrypt_vfs != NULL); in dcrypt_ctx_sym_create()
81 i_assert(dcrypt_vfs != NULL); in dcrypt_ctx_sym_destroy()
88 i_assert(dcrypt_vfs != NULL); in dcrypt_ctx_sym_set_key()
95 i_assert(dcrypt_vfs != NULL); in dcrypt_ctx_sym_set_iv()
101 i_assert(dcrypt_vfs != NULL); in dcrypt_ctx_sym_set_key_iv_random()
107 i_assert(dcrypt_vfs != NULL); in dcrypt_ctx_sym_get_key()
112 i_assert(dcrypt_vfs != NULL); in dcrypt_ctx_sym_get_iv()
118 i_assert(dcrypt_vfs != NULL); in dcrypt_ctx_sym_get_key_length()
124 i_assert(dcrypt_vfs != NULL); in dcrypt_ctx_sym_get_iv_length()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib/
H A Dpath-util.c45 i_assert(path != NULL); in path_normalize()
46 i_assert(npath_r != NULL); in path_normalize()
47 i_assert(error_r != NULL); in path_normalize()
54 i_assert(npath[0] == '/'); in path_normalize()
262 i_assert(path != NULL); in t_normpath_to()
263 i_assert(root != NULL); in t_normpath_to()
280 i_assert(path != NULL); in t_realpath_to()
281 i_assert(root != NULL); in t_realpath_to()
292 i_assert(path != NULL); in t_abspath()
313 i_assert(path != NULL); in t_abspath_to()
[all …]
H A Dbase64.c29 i_assert(out_size > 2); in base64_get_full_encoded_size()
33 i_assert(out_size > 1); in base64_get_full_encoded_size()
259 i_assert(src_size != 0); in base64_encode_more_data()
267 i_assert(ptr < end); in base64_encode_more_data()
301 i_assert(ptr == end); in base64_encode_more_data()
355 i_assert(ptr <= end); in base64_encode_more_data()
369 i_assert(ptr == end); in base64_encode_more_data()
396 i_assert(crlf); in base64_encode_more()
526 i_assert(dest != NULL); in base64_encode_finish()
566 i_assert(ptr <= end); in base64_encode_finish()
[all …]
H A Diostream-pump.c117 i_assert(input != NULL && in iostream_pump_create()
136 i_assert(pump != NULL); in iostream_pump_start()
158 i_assert(pump != NULL); in iostream_pump_get_input()
164 i_assert(pump != NULL); in iostream_pump_get_output()
172 i_assert(pump != NULL); in iostream_pump_set_completion_callback()
179 i_assert(pump != NULL); in iostream_pump_ref()
180 i_assert(pump->refcount > 0); in iostream_pump_ref()
186 i_assert(_pump != NULL); in iostream_pump_unref()
208 i_assert(_pump != NULL); in iostream_pump_destroy()
225 i_assert(pump != NULL); in iostream_pump_stop()
[all …]
H A Dostream-wrapper.c73 i_assert(wostream->output != NULL); in wrapper_ostream_handle_parent_error()
371 i_assert(parent != NULL); in wrapper_ostream_writev()
406 i_assert(iov_count > 0); in wrapper_ostream_writev_full()
426 i_assert(iov_pos == 0); in wrapper_ostream_writev_full()
440 i_assert(iov_pos < niov.iov_len); in wrapper_ostream_writev_full()
461 i_assert(sent_total != 0); in wrapper_ostream_writev_full()
538 i_assert(stream->finished); in wrapper_ostream_flush_real()
681 i_assert(i < iov_count); in wrapper_ostream_sendv_real()
688 i_assert(sent <= size); in wrapper_ostream_sendv_real()
906 i_assert(stream->finished); in wrapper_ostream_flush()
[all …]
H A Distream-concat.c74 i_assert(cstream->cur_input->eof); in i_stream_concat_read_next()
90 i_assert(cstream->prev_stream_left == in i_stream_concat_read_next()
102 i_assert(size >= data_size); in i_stream_concat_read_next()
135 i_assert(stream->buffer != NULL); in i_stream_concat_skip()
155 i_assert(cstream->cur_input != NULL); in i_stream_concat_read()
201 i_assert(ret == 0 || ret == -1); in i_stream_concat_read()
213 i_assert(data_size > cur_data_pos); in i_stream_concat_read()
231 i_assert(new_pos > stream->pos); in i_stream_concat_read()
306 i_assert(cstream->cur_idx > 0); in i_stream_concat_seek()
346 i_assert(cur_max != 0); in i_stream_create_concat()
[all …]
H A Diostream-proxy.c63 i_assert(left_input != NULL && in iostream_proxy_create()
84 i_assert(proxy != NULL); in iostream_proxy_start()
85 i_assert(proxy->callback != NULL); in iostream_proxy_start()
95 i_assert(proxy != NULL); in iostream_proxy_set_completion_callback()
103 i_assert(proxy != NULL); in iostream_proxy_get_istream()
114 i_assert(proxy != NULL); in iostream_proxy_get_ostream()
125 i_assert(proxy != NULL && proxy->ref > 0); in iostream_proxy_ref()
139 i_assert(proxy->ref > 0); in iostream_proxy_unref()
151 i_assert(proxy != NULL); in iostream_proxy_stop()
170 i_assert(proxy != NULL); in iostream_proxy_switch_ioloop()
H A Dsendfile-util.c25 i_assert(count > 0); in safe_sendfile()
39 i_assert(sizeof(off_t) == sizeof(uoff_t)); in safe_sendfile()
69 i_assert(count > 0); in safe_sendfile()
70 i_assert(count <= SSIZE_T_MAX); in safe_sendfile()
99 i_assert(count > 0); in safe_sendfile()
100 i_assert(count <= SSIZE_T_MAX); in safe_sendfile()
119 i_assert(s_offset > (off_t)*offset); in safe_sendfile()
124 i_assert(ret < 0 || (size_t)ret <= count); in safe_sendfile()
H A Dmemarea.c27 i_assert(callback != NULL); in memarea_init()
40 i_assert(memarea_empty.refcount > 0); in memarea_init_empty()
47 i_assert(area->refcount > 0); in memarea_ref()
56 i_assert(area->refcount > 0); in memarea_unref()
60 i_assert(area != &memarea_empty); in memarea_unref()
70 i_assert(memarea_get_refcount(area) == 1); in memarea_free_without_callback()
76 i_assert(area->refcount > 0); in memarea_get_refcount()
H A Distream-crlf.c24 i_assert(ret != -2); /* 0 sized buffer can't be full */ in i_stream_crlf_read_common()
31 i_assert(size != 0); in i_stream_crlf_read_common()
72 i_assert(src <= src_end); in i_stream_crlf_read_crlf()
89 i_assert(dest <= dest_end && src <= src_end); in i_stream_crlf_read_crlf()
104 i_assert(src == ptr + 1); in i_stream_crlf_read_crlf()
107 i_assert(dest != stream->w_buffer); in i_stream_crlf_read_crlf()
112 i_assert(ret > 0); in i_stream_crlf_read_crlf()
167 i_assert(i <= size); in i_stream_crlf_read_lf()
168 i_assert(dest <= stream->buffer_size); in i_stream_crlf_read_lf()
175 i_assert(cstream->pending_cr && size == 1); in i_stream_crlf_read_lf()
[all …]
H A Daqueue.c15 i_assert(aqueue->area_size > 0); in aqueue_init()
31 i_assert(aqueue->full && aqueue->head == aqueue->tail); in aqueue_grow()
37 i_assert(orig_area_size < aqueue->area_size); in aqueue_grow()
49 i_assert(aqueue->head != aqueue->tail); in aqueue_grow()
57 i_assert(!aqueue->full); in aqueue_append()
69 i_assert(n < count); in aqueue_delete()
92 i_assert(aqueue->tail < aqueue->area_size); in aqueue_delete()
96 i_assert(idx < aqueue->head); in aqueue_delete()
103 i_assert(aqueue->head < aqueue->area_size && in aqueue_delete()
H A Dhmac.c26 i_assert(meth->context_size <= HMAC_MAX_CONTEXT_SIZE); in hmac_init()
71 i_assert(meth != NULL); in t_hmac_data()
72 i_assert(key != NULL && key_len > 0); in t_hmac_data()
73 i_assert(data != NULL || data_len == 0); in t_hmac_data()
104 i_assert(method != NULL); in hmac_hkdf()
105 i_assert(okm_len < 255*method->digest_size); in hmac_hkdf()
115 i_assert(salt != NULL || salt_len == 0); in hmac_hkdf()
116 i_assert(info != NULL || info_len == 0); in hmac_hkdf()
118 i_assert(ikm != NULL && ikm_len > 0); in hmac_hkdf()
119 i_assert(okm_r != NULL && okm_len > 0); in hmac_hkdf()
H A Dstrfuncs.c39 i_assert(ret >= 0); in i_snprintf()
94 i_assert(str != NULL); in p_strndup()
142 i_assert(ret >= 0); in t_noalloc_strdup_vprintf()
182 i_assert(str1 != NULL); in vstrconcat()
204 i_assert(i < bufsize); in vstrconcat()
217 i_assert(str1 != NULL); in p_strconcat()
278 i_assert(str != NULL); in t_strndup()
305 i_assert(str1 != NULL); in t_strconcat()
431 i_assert(str != NULL); in t_str_lcase()
438 i_assert(str != NULL); in t_str_ucase()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib-smtp/
H A Dsmtp-server-reply.c72 i_assert(!reply->sent); in smtp_server_reply_alloc()
113 i_assert(text_len > prefix_len); in smtp_server_reply_update_prefix()
277 i_assert(!reply->submitted); in smtp_server_reply_add_text()
350 i_assert(!reply->sent); in smtp_server_reply_prepend_text()
356 i_assert(offset < tlen); in smtp_server_reply_prepend_text()
372 i_assert(!reply->sent); in smtp_server_reply_replace_path()
392 i_assert(!reply->submitted); in smtp_server_reply_submit()
625 i_assert(text[0] == '-'); in smtp_server_reply_send_real()
699 i_assert(!reply->submitted); in smtp_server_reply_ehlo_add()
715 i_assert(!reply->submitted); in smtp_server_reply_ehlo_add_param()
[all …]
H A Dsmtp-client-transaction.c238 i_assert(prcpt->queued); in smtp_client_transaction_rcpt_approved()
693 i_assert(reply != NULL); in smtp_client_transaction_fail_reply()
837 i_assert(mail != NULL); in smtp_client_transaction_mail_cb()
908 i_assert(!trans->reset); in smtp_client_transaction_add_mail()
945 i_assert(mail != NULL); in smtp_client_transaction_start()
1043 i_assert(!trans->reset); in smtp_client_transaction_add_rcpt()
1080 i_assert(!trans->reset); in smtp_client_transaction_add_pool_rcpt()
1106 i_assert(!trans->reset); in smtp_client_transaction_data_cb()
1159 i_assert(!trans->reset); in smtp_client_transaction_send_data()
1209 i_assert(!trans->reset); in smtp_client_transaction_send()
[all …]
H A Dsmtp-server-cmd-data.c137 i_assert(data_cmd != NULL); in cmd_data_destroy()
187 i_assert(data_cmd != NULL); in cmd_data_completed()
204 i_assert(data_cmd != NULL); in cmd_data_chunk_replied()
274 i_assert(data_cmd != NULL); in cmd_data_do_handle_input()
276 i_assert(callbacks != NULL && in cmd_data_do_handle_input()
351 i_assert(data_cmd != NULL); in cmd_data_next()
352 i_assert(trans != NULL); in cmd_data_next()
396 i_assert(callbacks != NULL && in cmd_data_next()
431 i_assert(data_cmd != NULL); in cmd_data_start_input()
557 i_assert(data_cmd->chunk_first); in smtp_server_connection_data_chunk_init()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib-http/
H A Dhttp-server-ostream.c32 i_assert(hsostream->resp != NULL); in http_server_ostream_output_error()
56 i_assert(resp != NULL); in http_server_ostream_output_available()
68 i_assert(resp != NULL); in http_server_ostream_output_ready()
79 i_assert(resp != NULL); in http_server_ostream_output_finish()
112 i_assert(hsostream->resp != NULL); in http_server_ostream_output_resume()
127 i_assert(hsostream->resp != NULL); in http_server_ostream_output_update_timeouts()
151 i_assert(resp != NULL); in http_server_ostream_close()
171 i_assert(resp != NULL); in http_server_ostream_destroy()
188 i_assert(hsostream->resp != NULL); in http_server_ostream_wait_begin()
253 i_assert(hsostream->resp != NULL); in http_server_ostream_switch_ioloop_to()
[all …]
H A Dhttp-server-response.c139 i_assert(!resp->submitted); in http_server_response_add_header()
167 i_assert(!resp->submitted); in http_server_response_update_status()
176 i_assert(!resp->submitted); in http_server_response_set_date()
237 i_assert(conn != NULL); in http_server_response_get_payload_output()
418 i_assert(ret > 0); in http_server_response_output_payload()
455 i_assert(data != NULL); in http_server_response_send_payload()
461 i_assert(ret == 0); in http_server_response_send_payload()
462 i_assert(resp != NULL); in http_server_response_send_payload()
474 i_assert(ret != 0); in http_server_response_finish_payload()
777 i_assert(resp != NULL); in http_server_response_get_status()
[all …]
H A Dhttp-client-request.c230 i_assert(ip->family != 0); in http_client_request_connect_ip()
262 i_assert(!req->listed); in http_client_request_remove()
279 i_assert(req->refcount > 0); in http_client_request_ref()
288 i_assert(req->refcount > 0); in http_client_request_unref()
878 i_assert(client != NULL); in http_client_request_do_submit()
1031 i_assert(conn != NULL); in http_client_request_finish_payload_out()
1079 i_assert(client != NULL); in http_client_request_continue_payload()
1189 i_assert(data != NULL); in http_client_request_send_payload()
1202 i_assert(req != NULL); in http_client_request_send_payload()
1214 i_assert(ret != 0); in http_client_request_finish_payload()
[all …]
H A Dhttp-client-connection.c42 i_assert(req->conn == NULL); in http_client_connection_ref_request()
53 i_assert(req->conn == conn); in http_client_connection_unref_request()
395 i_assert(found); in http_client_connection_detach_peer()
442 i_assert(count > 0); in http_client_connection_start_idle_timeout()
444 i_assert(max > 0); in http_client_connection_start_idle_timeout()
516 i_assert(conn->idle); in http_client_connection_check_idle()
705 i_assert(!pipelined); in http_client_connection_next_request()
785 i_assert(conn != NULL); in http_client_payload_destroyed()
1006 i_assert(ret != -2); in http_client_connection_input()
1022 i_assert(ret == 0); in http_client_connection_input()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib-sasl/
H A Dtest-sasl-client.c31 i_assert(mech != NULL); in test_sasl_client_login()
33 i_assert(client != NULL); in test_sasl_client_login()
68 i_assert(client != NULL); in test_sasl_client_login()
80 i_assert(client != NULL); in test_sasl_client_login()
89 i_assert(client != NULL); in test_sasl_client_login()
98 i_assert(client != NULL); in test_sasl_client_login()
114 i_assert(mech != NULL); in test_sasl_client_plain()
116 i_assert(client != NULL); in test_sasl_client_plain()
199 i_assert(mech != NULL); in test_sasl_client_external()
247 i_assert(mech != NULL); in test_sasl_client_oauthbearer()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/index/mbox/
H A Dmbox-sync-rewrite.c24 i_assert(size < OFF_T_MAX); in mbox_move()
100 i_assert(size < SSIZE_T_MAX); in mbox_sync_headers_add_space()
119 i_assert(start_pos < data_size); in mbox_sync_headers_add_space()
278 i_assert(ctx->mail.space == 0); in mbox_sync_try_rewrite()
284 i_assert(ctx->mail.space == 0); in mbox_sync_try_rewrite()
291 i_assert(ctx->mail.space >= 0); in mbox_sync_try_rewrite()
360 i_assert(mails[idx].pseudo); in mbox_sync_read_next()
420 i_assert(seq == mail_ctx->seq); in mbox_sync_read_and_move()
468 i_assert(offset <= end_offset); in mbox_sync_read_and_move()
508 i_assert(extra_space < OFF_T_MAX); in mbox_sync_rewrite()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib-mail/
H A Dmessage-parser.c59 i_assert(block->size > 0); in parse_body_add_block()
111 i_assert(ctx->input->eof || in message_parser_read_more()
141 i_assert(!ctx->preparsed); in message_part_append()
142 i_assert(parent != NULL); in message_part_append()
203 i_assert(cur != NULL); in boundary_remove_until()
240 i_assert(!full); in boundary_line_find()
448 i_assert(ret >= 0); in parse_next_body_to_boundary()
676 i_assert(!ctx->multipart); in parse_next_header()
845 i_assert(!eof); in message_parser_parse_next_block()
883 i_assert(ret != 0); in message_parser_parse_header()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib-fs/
H A Dfs-api.c198 i_assert(fs->refcount > 0); in fs_ref()
272 i_assert(path != NULL); in fs_file_init_with_event()
445 i_assert(key != NULL); in fs_set_metadata()
446 i_assert(value != NULL); in fs_set_metadata()
627 i_assert(iter != NULL); in fs_set_verror()
674 i_assert(size > 0); in fs_read_via_stream()
879 i_assert(success); in fs_write_stream_finish_int()
900 i_assert(ret < 0); in fs_write_stream_finish()
929 i_assert(ret != 0); in fs_write_stream_abort()
1339 i_assert(err != 0); in fs_set_error()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/index/
H A Dindex-thread-links.c14 i_assert(msgid_idx != 0); in thread_msg_add()
15 i_assert(msgid_idx < cache->first_invalid_msgid_str_idx); in thread_msg_add()
51 i_assert(parent_idx < cache->first_invalid_msgid_str_idx); in thread_link_reference()
86 i_assert(idx != 0); in thread_link_reference()
141 i_assert(parent_idx < cache->first_invalid_msgid_str_idx); in thread_link_references()
152 i_assert(msgid_map->ref_index == MAIL_THREAD_NODE_REF_MSGID); in mail_thread_add()
153 i_assert(cache->last_uid <= msgid_map->uid); in mail_thread_add()
185 i_assert(child->parent_link_refcount > 0); in mail_thread_unref_link()
204 i_assert(idx != 0); in mail_thread_remove()
219 i_assert(node->uid == msgid_map->uid); in mail_thread_remove()

12345678910>>...35