Searched refs:base (Results 1 - 16 of 16) sorted by relevance

/dovecot/src/lib/
H A Dsort.h18 #define i_qsort(base, nmemb, size, cmp) \
19 qsort(base, nmemb, size + \
20 CALLBACK_TYPECHECK(cmp, int (*)(typeof(const typeof(*base) *), \
21 typeof(const typeof(*base) *))), \
24 #define i_bsearch(key, base, nmemb, size, cmp) \
25 bsearch(key, base, nmemb, size + \
27 typeof(const typeof(*base) *))), \
H A Dbsearch-insert-pos.h33 bsearch_insert_pos(const void *key, const void *base, unsigned int nmemb,
36 #define bsearch_insert_pos(key, base, nmemb, size, cmp, idx_r) \
37 bsearch_insert_pos(key, base, nmemb, size + \
39 typeof(const typeof(*base) *))), \
H A Dbsearch-insert-pos.c8 bool bsearch_insert_pos(const void *key, const void *base, unsigned int nmemb, argument
22 p = CONST_PTR_OFFSET(base, idx * size);
H A Dmmap-anon.c53 void *base; local
62 base = mmap(NULL, length, PROT_READ | PROT_WRITE,
64 if (base == MAP_FAILED)
68 hdr = base;
/dovecot/src/lib-imap/
H A Dimap-url.c122 const struct imap_url *base; member in struct:imap_url_parser
480 /* Resolve relative URI path; determine what to copy from the base URI */
481 if (url != NULL && url_parser->base != NULL && relative > 0) {
482 const struct imap_url *base = url_parser->base; local
486 if (base->have_partial && --rel <= 0) {
487 have_partial = base->have_partial;
488 partial_offset = base->partial_offset;
489 partial_size = base->partial_size;
492 if (base
837 const struct imap_url *base = url_parser->base; local
892 imap_url_parse(const char *url, const struct imap_url *base, enum imap_url_parse_flags flags, struct imap_url **url_r, const char **error_r) argument
[all...]
H A Dimap-url.h51 base URL is provided to the parser. */
58 int imap_url_parse(const char *url, const struct imap_url *base,
/dovecot/src/lib-http/
H A Dhttp-url.c22 struct http_url *base; member in struct:http_url_parser
105 struct http_url *url = url_parser->url, *base = url_parser->base; local
228 /* Relative URLs are only valid when we have a base URL */
230 if (base == NULL) {
234 uri_host_copy(parser->pool, &url->host, &base->host);
235 url->port = base->port;
236 url->have_ssl = base->have_ssl;
237 url->user = p_strdup_empty(parser->pool, base->user);
238 url->password = p_strdup_empty(parser->pool, base
328 http_url_parse(const char *url, struct http_url *base, enum http_url_parse_flags flags, pool_t pool, struct http_url **url_r, const char **error_r) argument
361 struct http_url base; local
[all...]
H A Dhttp-url.h48 int http_url_parse(const char *url, struct http_url *base,
/dovecot/src/lib-fts/
H A Dfts-filter-stemmer-snowball.c75 const sb_symbol *base; local
82 base = sb_stemmer_stem(sp->stemmer, (const unsigned char *)*token, strlen(*token));
83 if (base == NULL) {
90 *token = t_strndup(base, sb_stemmer_length(sp->stemmer));
/dovecot/src/auth/
H A Duserdb-ldap.c121 if (auth_request_var_expand(str, conn->set.base, auth_request,
124 "Failed to expand base=%s: %s", conn->set.base, error);
128 request->request.base = p_strdup(auth_request->pool, str_c(str));
145 "base=%s scope=%s filter=%s fields=%s",
146 request->request.base, conn->set.scope,
223 if (auth_request_var_expand(str, conn->set.base, auth_request,
226 "Failed to expand base=%s: %s", conn->set.base, error);
229 request->request.base
[all...]
H A Ddb-ldap.h54 const char *base; member in struct:ldap_settings
124 const char *base; member in struct:ldap_request_search
H A Dpassdb-ldap.c300 if (auth_request_var_expand(str, conn->set.base, auth_request,
303 "Failed to expand base=%s: %s", conn->set.base, error);
307 srequest->base = p_strdup(auth_request->pool, str_c(str));
323 "base=%s scope=%s filter=%s fields=%s",
324 srequest->base, conn->set.scope,
346 if (auth_request_var_expand(str, conn->set.base, auth_request,
349 "Failed to expand base=%s: %s", conn->set.base, error);
353 srequest->base
[all...]
H A Ddb-ldap.c114 DEF_STR(base),
151 .base = NULL,
193 if (strcasecmp(str, "base") == 0)
339 ldap_search(conn->ld, *srequest->base == '\0' ? NULL :
340 srequest->base, conn->set.ldap_scope,
784 /* LDAP_NO_SUCH_OBJECT is returned for nonexistent base */
793 "ldap_search(base=%s filter=%s) failed: %s",
794 srequest->base, srequest->filter,
800 "ldap_search(base=%s) failed: %s",
1920 if (conn->set.base
[all...]
/dovecot/src/lib-settings/
H A Dsettings.h40 parse_setting_from_defs(pool_t pool, const struct setting_def *defs, void *base,
H A Dsettings.c54 parse_setting_from_defs(pool_t pool, const struct setting_def *defs, void *base, argument
61 void *ptr = STRUCT_MEMBER_P(base, def->offset);
/dovecot/src/plugins/fts-squat/
H A Dsquat-uidlist.c282 const void *base; local
285 base = CONST_PTR_OFFSET(uidlist->data, uidlist->hdr.block_list_offset +
291 uidlist->cur_block_end_indexes = base;
293 CONST_PTR_OFFSET(base, end_index_size);
319 const void *base; local
339 base = CONST_PTR_OFFSET(uidlist->data, hdr->block_list_offset);
340 memcpy(&block_count, base, sizeof(block_count));

Completed in 30 milliseconds