Lines Matching refs:fields_count
103 unsigned int fields_count)
110 new_idx = cache->fields_count;
111 for (i = 0; i < fields_count; i++) {
132 if (new_idx == cache->fields_count)
138 cache->fields_count, new_idx);
141 cache->fields_count, new_idx);
143 registered_count = cache->fields_count;
144 for (i = 0; i < fields_count; i++) {
165 cache->fields_count = new_idx;
183 i_assert(field_idx < cache->fields_count);
198 list = cache->fields_count == 0 ? NULL :
199 p_new(pool, struct mail_cache_field, cache->fields_count);
200 for (i = 0; i < cache->fields_count; i++) {
205 *count_r = cache->fields_count;
342 if (field_hdr->fields_count > INT_MAX / MAIL_CACHE_FIELD_NAMES(1) ||
343 field_hdr->size < MAIL_CACHE_FIELD_NAMES(field_hdr->fields_count)) {
348 new_fields_count = field_hdr->fields_count;
360 MAIL_CACHE_FIELD_SIZE(field_hdr->fields_count));
362 MAIL_CACHE_FIELD_TYPE(field_hdr->fields_count));
364 MAIL_CACHE_FIELD_DECISION(field_hdr->fields_count));
366 MAIL_CACHE_FIELD_NAMES(field_hdr->fields_count));
371 for (i = 0; i < cache->fields_count; i++)
379 for (i = 0; i < field_hdr->fields_count; i++) {
477 for (i = 0; i < cache->fields_count; i++) {
503 for (i = 0; i < cache->fields_count; i++) {
579 hdr.fields_count = cache->file_fields_count;
580 for (i = 0; i < cache->fields_count; i++) {
582 hdr.fields_count++;
599 (sizeof(uint32_t)*2 + 2) * hdr.fields_count);
608 for (i = 0; i < cache->fields_count; i++) {