Searched defs:test_pool (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib/
H A Dtest-mempool.c11 extern struct pool test_pool;
17 uint32max_array_t *m1 = p_new(&test_pool, uint32max_array_t, 4294967297ULL);
19 char *m2 = p_new(&test_pool, char, 18446744073709551615ULL);
21 uint32_t *m3 = p_new(&test_pool, uint32_t, 4611686018427387903ULL);
25 test_assert(p_realloc_type(&test_pool, m1, uint32max_array_t, 4294967296ULL, 4294967297ULL) == POINTER_CAST(18446744073709551615ULL));
26 test_assert(p_realloc_type(&test_pool, m2, char, 18446744073709551614ULL, 18446744073709551615ULL) == POINTER_CAST(18446744073709551615ULL));
27 test_assert(p_realloc_type(&test_pool, m3, uint32_t, 4611686018427387902ULL, 4611686018427387903ULL) == POINTER_CAST(18446744073709551612ULL));
30 test_assert(p_realloc_type(&test_pool, m1, uint32max_array_t, 4294967297ULL, 4294967296ULL) == POINTER_CAST(18446744069414584320ULL));
31 test_assert(p_realloc_type(&test_pool, m2, char, 18446744073709551615ULL, 18446744073709551614ULL) == POINTER_CAST(18446744073709551614ULL));
32 test_assert(p_realloc_type(&test_pool, m
136 struct pool test_pool = { variable in typeref:struct:pool
[all...]
/dovecot/src/plugins/mail-crypt/
H A Dtest-mail-key.c39 static pool_t test_pool; variable
139 mail_home = p_strdup_printf(test_pool, "%s/mcp_user/", path_buf);
215 test_user_key_id = p_strdup(test_pool, pubid);
265 test_box_key_id = p_strdup(test_pool, pubid);
452 test_pool = pool_alloconly_create(MEMPOOL_GROWING "mcp test pool", 128);
472 pool_unref(&test_pool);

Completed in 1665 milliseconds