Searched refs:pool_t (Results 1 - 25 of 517) sorted by relevance

1234567891011>>

/dovecot/src/lib/
H A Dmempool.h17 typedef struct pool *pool_t; typedef in typeref:struct:pool
20 const char *(*get_name)(pool_t pool);
22 void (*ref)(pool_t pool);
23 void (*unref)(pool_t *pool);
25 void *(*malloc)(pool_t pool, size_t size) ATTR_RETURNS_NONNULL;
26 void (*free)(pool_t pool, void *mem);
29 void *(*realloc)(pool_t pool, void *mem,
35 void (*clear)(pool_t pool);
39 size_t (*get_max_easy_alloc_size)(pool_t pool);
50 extern pool_t system_poo
[all...]
H A Dmempool-unsafe-datastack.c7 static const char *pool_unsafe_data_stack_get_name(pool_t pool);
8 static void pool_unsafe_data_stack_ref(pool_t pool);
9 static void pool_unsafe_data_stack_unref(pool_t *pool);
10 static void *pool_unsafe_data_stack_malloc(pool_t pool, size_t size);
11 static void pool_unsafe_data_stack_free(pool_t pool, void *mem);
12 static void *pool_unsafe_data_stack_realloc(pool_t pool, void *mem,
14 static void pool_unsafe_data_stack_clear(pool_t pool);
15 static size_t pool_unsafe_data_stack_get_max_easy_alloc_size(pool_t pool);
39 pool_t unsafe_data_stack_pool = &static_unsafe_data_stack_pool;
41 static const char *pool_unsafe_data_stack_get_name(pool_t poo
[all...]
H A Dmempool-datastack.c7 static const char *pool_data_stack_get_name(pool_t pool);
8 static void pool_data_stack_ref(pool_t pool);
9 static void pool_data_stack_unref(pool_t *pool);
10 static void *pool_data_stack_malloc(pool_t pool, size_t size);
11 static void pool_data_stack_free(pool_t pool, void *mem);
12 static void *pool_data_stack_realloc(pool_t pool, void *mem,
14 static void pool_data_stack_clear(pool_t pool);
15 static size_t pool_data_stack_get_max_easy_alloc_size(pool_t pool);
46 pool_t pool_datastack_create(void)
57 static const char *pool_data_stack_get_name(pool_t poo
[all...]
H A Dmempool-system.c19 static const char *pool_system_get_name(pool_t pool);
20 static void pool_system_ref(pool_t pool);
21 static void pool_system_unref(pool_t *pool);
22 static void *pool_system_malloc(pool_t pool, size_t size);
23 static void *pool_system_realloc(pool_t pool, void *mem,
25 static void pool_system_clear(pool_t pool);
26 static size_t pool_system_get_max_easy_alloc_size(pool_t pool);
50 pool_t system_pool = &static_system_pool;
52 static const char *pool_system_get_name(pool_t pool ATTR_UNUSED)
57 static void pool_system_ref(pool_t poo
[all...]
H A Dstrfuncs.h13 char *p_strdup(pool_t pool, const char *str) ATTR_MALLOC;
14 void *p_memdup(pool_t pool, const void *data, size_t size) ATTR_MALLOC;
16 char *p_strdup_empty(pool_t pool, const char *str) ATTR_MALLOC;
18 char *p_strdup_until(pool_t pool, const void *start, const void *end)
20 char *p_strndup(pool_t pool, const void *str, size_t max_chars) ATTR_MALLOC;
21 char *p_strdup_printf(pool_t pool, const char *format, ...)
23 char *p_strdup_vprintf(pool_t pool, const char *format, va_list args)
25 char *p_strconcat(pool_t pool, const char *str1, ...)
59 const char *p_str_trim(pool_t pool, const char *str, const char *chars);
62 const char *p_str_ltrim(pool_t poo
[all...]
H A Dmempool-allocfree.c34 static const char *pool_allocfree_get_name(pool_t pool);
35 static void pool_allocfree_ref(pool_t pool);
36 static void pool_allocfree_unref(pool_t *pool);
37 static void *pool_allocfree_malloc(pool_t pool, size_t size);
38 static void pool_allocfree_free(pool_t pool, void *mem);
39 static void *pool_allocfree_realloc(pool_t pool, void *mem,
41 static void pool_allocfree_clear(pool_t pool);
42 static size_t pool_allocfree_get_max_easy_alloc_size(pool_t pool);
66 pool_t pool_allocfree_create(const char *name ATTR_UNUSED)
81 pool_t pool_allocfree_create_clea
[all...]
/dovecot/src/lib-imap/
H A Dimap-base-subject.h10 const char *imap_get_base_subject_cased(pool_t pool, const char *subject,
H A Dimap-bodystructure.h18 int imap_bodystructure_parse_full(const char *bodystructure, pool_t pool,
23 int imap_bodystructure_parse_args(const struct imap_arg *args, pool_t pool,
29 int imap_bodystructure_parse(const char *bodystructure, pool_t pool,
H A Dimap-envelope.h13 pool_t pool, struct message_part_envelope **envlp_r,
17 pool_t pool, struct message_part_envelope **envlp_r,
H A Dimap-match.h25 imap_match_init(pool_t pool, const char *pattern,
28 imap_match_init_multiple(pool_t pool, const char *const *patterns,
33 imap_match_dup(pool_t pool, const struct imap_match_glob *glob);
/dovecot/src/lib-http/
H A Dhttp-url.h49 enum http_url_parse_flags flags, pool_t pool,
53 const char *host_header, pool_t pool,
76 void http_url_copy_authority(pool_t pool, struct http_url *dest,
78 struct http_url *http_url_clone_authority(pool_t pool,
81 void http_url_copy(pool_t pool, struct http_url *dest,
83 void http_url_copy_with_userinfo(pool_t pool, struct http_url *dest,
86 struct http_url *http_url_clone(pool_t pool,const struct http_url *src);
87 struct http_url *http_url_clone_with_userinfo(pool_t pool,
/dovecot/src/lib-mail/
H A Dmessage-part-serialize.h13 message_part_deserialize(pool_t pool, const void *data, size_t size,
H A Dmessage-address.h30 message_address_parse(pool_t pool, const unsigned char *data, size_t size,
36 int message_address_parse_path(pool_t pool, const unsigned char *data,
H A Dmessage-binary-part.h26 int message_binary_part_deserialize(pool_t pool, const void *data, size_t size,
/dovecot/src/lib-dict-backend/
H A Ddict-sql-private.h7 pool_t pool;
/dovecot/src/lib-smtp/
H A Dsmtp-address.h35 int smtp_address_parse_mailbox(pool_t pool,
39 int smtp_address_parse_path_full(pool_t pool, const char *path,
43 int smtp_address_parse_path(pool_t pool, const char *path,
47 int smtp_address_parse_username(pool_t pool, const char *username,
53 void smtp_address_detail_parse(pool_t pool, const char *delimiters,
86 smtp_address_clone(pool_t pool, const struct smtp_address *address)
89 smtp_address_create(pool_t pool, const char *localpart, const char *domain)
92 smtp_address_create_from_msg(pool_t pool,
105 smtp_address_add_detail(pool_t pool, const struct smtp_address *address,
/dovecot/src/plugins/acl/
H A Dacl-api-private.h45 pool_t pool;
77 pool_t rights_pool;
83 pool_t pool;
103 const struct acl_mask *mask, pool_t pool);
115 int acl_rights_parse_line(const char *line, pool_t pool,
118 pool_t pool, struct acl_rights *dest_r);
123 acl_right_names_parse(pool_t pool, const char *acl, const char **error_r);
125 void acl_right_names_merge(pool_t pool, const char *const **destp,
127 bool acl_right_names_modify(pool_t pool,
H A Dacl-cache.h8 pool_t pool;
17 (MALLOC_ADD((bitmask_size), sizeof(pool_t) + sizeof(unsigned int)))
23 struct acl_mask *acl_cache_mask_init(struct acl_cache *cache, pool_t pool,
H A Dacl-global-file.h19 pool_t pool, ARRAY_TYPE(acl_rights) *rights_r);
/dovecot/src/auth/
H A Dpassword-scheme-rpa.c10 void *ucs2be_str(pool_t pool, const char *str, size_t *size);
15 void *ucs2be_str(pool_t pool, const char *str, size_t *size)
/dovecot/src/lib-dict/
H A Ddict-transaction-memory.h23 pool_t pool;
28 struct dict *dict, pool_t pool);
/dovecot/src/lib-ntlm/
H A Dntlm-message.h5 ntlmssp_create_challenge(pool_t pool, const struct ntlmssp_request *request,
/dovecot/src/lib-settings/
H A Dsettings-parser.h89 bool (*check_func)(void *set, pool_t pool, const char **error_r);
90 bool (*expand_check_func)(void *set, pool_t pool, const char **error_r);
114 settings_parser_init(pool_t set_pool, const struct setting_parser_info *root,
117 settings_parser_init_list(pool_t set_pool,
174 bool settings_parser_check(struct setting_parser_context *ctx, pool_t pool,
176 bool settings_check(const struct setting_parser_info *info, pool_t pool,
184 pool_t pool, const char *key);
186 pool_t pool, const char *const *keys);
195 void *set, pool_t pool,
199 void *set, pool_t poo
[all...]
/dovecot/src/lib-storage/
H A Dmail-search-parser-private.h17 pool_t pool;
/dovecot/src/lmtp/
H A Dlmtp-settings.h30 pool_t pool,

Completed in 56 milliseconds

1234567891011>>