Searched refs:idx_r (Results 1 - 25 of 42) sorted by relevance

12

/dovecot/src/lib/
H A Dbsearch-insert-pos.h6 #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 Dbsearch-insert-pos.c10 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 Dvar-expand.h39 void var_get_key_range(const char *str, unsigned int *idx_r,
H A Dunichar.c222 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 Dvar-expand.c635 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 Dseq-range-array.c9 uint32_t seq, unsigned int *idx_r)
24 *idx_r = idx;
34 *idx_r = idx;
/dovecot/src/lib-index/
H A Dmail-index-util.h15 uint32_t seq, unsigned int *idx_r); variable
H A Dmail-index-util.c89 uint32_t seq, unsigned int *idx_r)
92 mail_index_seq_record_cmp, idx_r);
H A Dtest-mail-index-sync-ext.c23 uint32_t *idx_r ATTR_UNUSED) { return FALSE; }
H A Dmail-index-private.h297 uint32_t *idx_r);
303 uint32_t ext_id, uint32_t *idx_r);
H A Dmail-index-map.c44 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 Dmail-index.c380 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 Dmail-index-sync-keywords.c13 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 Ddsync-deserializer.c26 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 Dpush-notification-events.c14 push_notification_event_find(const char *name, unsigned int *idx_r) argument
22 *idx_r = i;
H A Dpush-notification-drivers.c16 push_notification_driver_find(const char *name, unsigned int *idx_r) argument
24 *idx_r = i;
/dovecot/src/lib-sasl/
H A Ddsasl-client.c12 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 Dmdbox-file.c223 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 Dstats.c35 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 Dauth-fields.c39 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 Duserdb.c112 userdb_find(const char *driver, const char *args, unsigned int *idx_r) argument
121 *idx_r = i;
H A Dauth-cache.c28 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 Dpassdb.c175 passdb_find(const char *driver, const char *args, unsigned int *idx_r) argument
184 *idx_r = i;
/dovecot/src/lib-fts/
H A Dfts-tokenizer-generic.c136 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 Dvirtual-config.c316 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

Completed in 1970 milliseconds

12