/dovecot/src/lib/ |
H A D | bsearch-insert-pos.h | 6 #define BINARY_NUMERIC_SEARCH(getdata, data, count, value, idx_r) \ 19 *(idx_r) = idx; \ 26 #define BINARY_NUMBER_SEARCH(data, count, value, idx_r) \ 27 BINARY_NUMERIC_SEARCH(BINARY_SEARCH_ARRAY_GET, data, count, value, idx_r); 29 /* If key is found, returns TRUE and sets idx_r to the position where the key 30 was found. If key isn't found, returns FALSE and sets idx_r to the position 35 unsigned int *idx_r); 36 #define bsearch_insert_pos(key, base, nmemb, size, cmp, idx_r) \ 40 (int (*)(const void *, const void *))cmp, idx_r) 45 unsigned int *idx_r); [all...] |
H A D | bsearch-insert-pos.c | 10 unsigned int *idx_r) 29 *idx_r = idx; 37 *idx_r = idx; 43 unsigned int *idx_r) 47 array->element_size, cmp, idx_r); 8 bsearch_insert_pos(const void *key, const void *base, unsigned int nmemb, size_t size, int (*cmp)(const void *, const void *), unsigned int *idx_r) argument 41 array_bsearch_insert_pos_i(const struct array *array, const void *key, int (*cmp)(const void *, const void *), unsigned int *idx_r) argument
|
H A D | var-expand.h | 39 void var_get_key_range(const char *str, unsigned int *idx_r,
|
H A D | unichar.c | 222 uint16_t value, unsigned int *idx_r) 224 BINARY_NUMBER_SEARCH(data, count, value, idx_r); 228 uint32_t value, unsigned int *idx_r) 230 BINARY_NUMBER_SEARCH(data, count, value, idx_r); 221 uint16_find(const uint16_t *data, unsigned int count, uint16_t value, unsigned int *idx_r) argument 227 uint32_find(const uint32_t *data, unsigned int count, uint32_t value, unsigned int *idx_r) argument
|
H A D | var-expand.c | 635 var_get_key_range_full(const char *str, unsigned int *idx_r, argument 662 *idx_r = i; 669 *idx_r = ++i; 686 *size_r = i - *idx_r; 700 void var_get_key_range(const char *str, unsigned int *idx_r, argument 703 (void)var_get_key_range_full(str, idx_r, size_r);
|
H A D | seq-range-array.c | 9 uint32_t seq, unsigned int *idx_r) 24 *idx_r = idx; 34 *idx_r = idx;
|
/dovecot/src/lib-index/ |
H A D | mail-index-util.h | 15 uint32_t seq, unsigned int *idx_r); variable
|
H A D | mail-index-util.c | 89 uint32_t seq, unsigned int *idx_r) 92 mail_index_seq_record_cmp, idx_r);
|
H A D | test-mail-index-sync-ext.c | 23 uint32_t *idx_r ATTR_UNUSED) { return FALSE; }
|
H A D | mail-index-private.h | 297 uint32_t *idx_r); 303 uint32_t ext_id, uint32_t *idx_r);
|
H A D | mail-index-map.c | 44 uint32_t *idx_r) 53 *idx_r = array_foreach_idx(&map->extensions, ext); 486 uint32_t ext_id, uint32_t *idx_r) 495 *idx_r = *id; 496 return *idx_r != (uint32_t)-1; 43 mail_index_map_lookup_ext(struct mail_index_map *map, const char *name, uint32_t *idx_r) argument 485 mail_index_map_get_ext_idx(struct mail_index_map *map, uint32_t ext_id, uint32_t *idx_r) argument
|
H A D | mail-index.c | 380 const char *keyword, unsigned int *idx_r) 390 *idx_r = POINTER_CAST_TO(value, unsigned int); 394 *idx_r = UINT_MAX; 400 unsigned int *idx_r) 406 if (mail_index_keyword_lookup(index, keyword, idx_r)) 410 *idx_r = array_count(&index->keywords); 413 POINTER_CAST(*idx_r)); 379 mail_index_keyword_lookup(struct mail_index *index, const char *keyword, unsigned int *idx_r) argument 398 mail_index_keyword_lookup_or_create(struct mail_index *index, const char *keyword, unsigned int *idx_r) argument
|
H A D | mail-index-sync-keywords.c | 13 const char *keyword_name, unsigned int *idx_r) 26 *idx_r = i; 12 keyword_lookup(struct mail_index_sync_map_ctx *ctx, const char *keyword_name, unsigned int *idx_r) argument
|
/dovecot/src/doveadm/dsync/ |
H A D | dsync-deserializer.c | 26 unsigned int *idx_r) 32 *idx_r = i; 139 const char *key, unsigned int *idx_r) 145 *idx_r = i; 25 field_find(const char *const *names, const char *name, unsigned int *idx_r) argument 138 dsync_deserializer_find_field(struct dsync_deserializer *deserializer, const char *key, unsigned int *idx_r) argument
|
/dovecot/src/plugins/push-notification/ |
H A D | push-notification-events.c | 14 push_notification_event_find(const char *name, unsigned int *idx_r) argument 22 *idx_r = i;
|
H A D | push-notification-drivers.c | 16 push_notification_driver_find(const char *name, unsigned int *idx_r) argument 24 *idx_r = i;
|
/dovecot/src/lib-sasl/ |
H A D | dsasl-client.c | 12 dsasl_client_mech_find_idx(const char *name, unsigned int *idx_r) argument 18 *idx_r = array_foreach_idx(&dsasl_mechanisms, mechp);
|
/dovecot/src/lib-storage/index/dbox-multi/ |
H A D | mdbox-file.c | 223 unsigned int *idx_r) 229 *idx_r = count; 235 *idx_r = i; 222 mdbox_find_oldest_unused_file(struct mdbox_storage *storage, unsigned int *idx_r) argument
|
/dovecot/src/lib-old-stats/ |
H A D | stats.c | 35 static bool stats_item_find(struct stats_item *item, unsigned int *idx_r) argument 41 *idx_r = array_foreach_idx(&stats_items, itemp);
|
/dovecot/src/auth/ |
H A D | auth-fields.c | 39 unsigned int *idx_r) 50 *idx_r = i; 38 auth_fields_find_idx(struct auth_fields *fields, const char *key, unsigned int *idx_r) argument
|
H A D | userdb.c | 112 userdb_find(const char *driver, const char *args, unsigned int *idx_r) argument 121 *idx_r = i;
|
H A D | auth-cache.c | 28 unsigned int *idx_r) 36 *idx_r = i; 42 *idx_r = i; 27 auth_request_var_expand_tab_find(const char *key, unsigned int size, unsigned int *idx_r) argument
|
H A D | passdb.c | 175 passdb_find(const char *driver, const char *args, unsigned int *idx_r) argument 184 *idx_r = i;
|
/dovecot/src/lib-fts/ |
H A D | fts-tokenizer-generic.c | 136 uint32_t value, unsigned int *idx_r) 138 BINARY_NUMBER_SEARCH(data, count, value, idx_r); 135 uint32_find(const uint32_t *data, unsigned int count, uint32_t value, unsigned int *idx_r) argument
|
/dovecot/src/plugins/virtual/ |
H A D | virtual-config.c | 316 unsigned int *idx_r) 327 *idx_r = i; 332 *idx_r = i; 314 virtual_config_match(const struct mailbox_info *info, ARRAY_TYPE(virtual_backend_box) *boxes_arr, unsigned int *idx_r) argument
|