Home
last modified time | relevance | path

Searched refs:i_malloc (Results 1 – 25 of 88) sorted by relevance

1234

/dports/security/samhain/samhain-4.4.3/src/
H A Dcutest_sh_unix.c17 int i_malloc = malloc_count; in Test_dnmalloc() local
42 i_malloc = malloc_count; in Test_dnmalloc()
51 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc()
56 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc()
69 i_malloc = malloc_count; in Test_dnmalloc()
77 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc()
85 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc()
108 i_malloc = malloc_count; in Test_dnmalloc()
119 CuAssertIntEquals (tc, malloc_count, i_malloc - (j+1)); in Test_dnmalloc()
135 i_malloc = malloc_count; in Test_dnmalloc()
[all …]
/dports/security/samhain-server/samhain-4.4.3/src/
H A Dcutest_sh_unix.c17 int i_malloc = malloc_count; in Test_dnmalloc() local
42 i_malloc = malloc_count; in Test_dnmalloc()
51 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc()
56 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc()
69 i_malloc = malloc_count; in Test_dnmalloc()
77 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc()
85 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc()
108 i_malloc = malloc_count; in Test_dnmalloc()
119 CuAssertIntEquals (tc, malloc_count, i_malloc - (j+1)); in Test_dnmalloc()
135 i_malloc = malloc_count; in Test_dnmalloc()
[all …]
/dports/security/samhain-client/samhain-4.4.3/src/
H A Dcutest_sh_unix.c17 int i_malloc = malloc_count; in Test_dnmalloc() local
42 i_malloc = malloc_count; in Test_dnmalloc()
51 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc()
56 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc()
69 i_malloc = malloc_count; in Test_dnmalloc()
77 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc()
85 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc()
108 i_malloc = malloc_count; in Test_dnmalloc()
119 CuAssertIntEquals (tc, malloc_count, i_malloc - (j+1)); in Test_dnmalloc()
135 i_malloc = malloc_count; in Test_dnmalloc()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/lib/
H A Dtest-hash-method.c21 ctx = i_malloc(method->context_size); in test_hash_method_one()
22 digest = i_malloc(method->digest_size); in test_hash_method_one()
45 buf = i_malloc(buf_size); in test_hash_method_boundary()
H A Dimem.h12 void *i_malloc(size_t size) ATTR_MALLOC ATTR_RETURNS_NONNULL;
H A Distream-data.c53 buffer = i_malloc(size); in i_stream_create_copy_from_data()
H A Dimem.c7 void *i_malloc(size_t size) in i_malloc() function
H A Dtest-imem.c22 struct test_struct *s2 = i_malloc(sizeof(struct test_struct) * 2); in test_imem_alloc()
H A Dstats-dist.c31 i_malloc(sizeof(struct stats_dist) + in stats_dist_init_with_size()
H A Dcompat.c237 tmp = i_malloc(tmp_size); in i_my_vsnprintf()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/index/
H A Dindex-sort.c409 nodes = i_malloc(sizeof(*nodes)); in index_sort_program_init()
424 nodes = i_malloc(sizeof(*nodes)); in index_sort_program_init()
444 nodes = i_malloc(sizeof(*nodes)); in index_sort_program_init()
454 nodes = i_malloc(sizeof(*nodes)); in index_sort_program_init()
/dports/mail/dovecot/dovecot-2.3.17/src/old-stats/
H A Dmail-domain.c31 domain = i_malloc(MALLOC_ADD(sizeof(struct mail_domain), stats_alloc_size())); in mail_domain_login_create()
H A Dmail-ip.c34 ip = i_malloc(MALLOC_ADD(sizeof(struct mail_ip), stats_alloc_size())); in mail_ip_login()
H A Dmail-user.c40 user = i_malloc(MALLOC_ADD(sizeof(struct mail_user), stats_alloc_size())); in mail_user_login()
H A Dmail-command.c50 cmd = i_malloc(MALLOC_ADD(sizeof(struct mail_command), stats_alloc_size())); in mail_command_add()
H A Dmail-session.c100 session = i_malloc(MALLOC_ADD(sizeof(struct mail_session), stats_alloc_size())); in mail_session_connect_parse()
/dports/mail/dovecot/dovecot-2.3.17/src/log/
H A Dlog-error-buffer.c62 data = i_malloc(MALLOC_ADD(sizeof(*data), in log_error_buffer_add()
/dports/mail/dovecot/dovecot-2.3.17/src/plugins/acl/
H A Dacl-cache.c276 obj_cache = i_malloc(MALLOC_ADD(sizeof(struct acl_object_cache), in acl_cache_object_get()
353 mask = i_malloc(SIZEOF_ACL_MASK(size)); in acl_cache_my_current_rights_recalculate()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-test/
H A Dtest-istream.c65 stream->w_buffer = i_malloc(cur_max); in test_read()
/dports/mail/dovecot-fts-xapian/fts-xapian-1.5.1/src/
H A Dfts-backend-xapian-functions.cpp16 data=(Xapian::docid *)i_malloc(sizeof(Xapian::docid)); in add()
225 qs=(XQuerySet **)i_malloc(sizeof(XQuerySet*)); in add()
468 data=(char **)i_malloc(sizeof(char*)); in add_stem()
1184 char *t = (char*)i_malloc(sizeof(char)*(ngram->maxlength+6)); in fts_backend_xapian_index_text()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-ssl-iostream/
H A Dtest-iostream-ssl.c403 void *buf = i_malloc(avail); in test_iostream_ssl_get_buffer_avail_size()
411 void *buf = i_malloc(avail); in test_iostream_ssl_get_buffer_avail_size()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-compression/
H A Dostream-zstd.c235 zstream->outbuf = i_malloc(ZSTD_CStreamOutSize()); in o_stream_create_zstd()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-index/
H A Dmail-index.c243 index->set.ext_hdr_init_data = i_malloc(size); in mail_index_set_ext_init_data()
395 k = i_malloc(MALLOC_ADD(sizeof(struct mail_keywords), in mail_index_keywords_create()
435 k = i_malloc(MALLOC_ADD(sizeof(struct mail_keywords), in mail_index_keywords_create_from_indexes()
H A Dtest-mail-cache-purge.c275 char *huge_field = i_malloc(huge_field_size + 1); in test_mail_cache_purge_during_write_n()
396 char *field = i_malloc(field_size + 1); in test_mail_cache_delete_too_large_int()
460 char *field = i_malloc(field_size + 1); in test_mail_cache_purge_too_large_int()
/dports/mail/dovecot/dovecot-2.3.17/src/plugins/fts-squat/
H A Dsquat-trie.c358 node->children.data = i_malloc(alloc_size); in node_make_sequential()
395 node->children.data = i_malloc(new_size); in node_add_child()
544 i_malloc(len); in node_read_children()
697 child->children.leaf_string = i_malloc(leafstr_len); in node_split_string()
820 node->children.leaf_string = i_malloc(len); in squat_build_add()

1234