Lines Matching defs:field_idx
638 unsigned int field_idx)
644 if (cache->file_fields_count <= field_idx) {
649 field_idx+1);
650 cache->file_fields_count = field_idx+1;
652 cache->file_field_map[field_idx] = field_idx;
653 cache->field_file_map[field_idx] = field_idx;
664 if (cache->field_file_map[field_idx] != (uint32_t)-1)
678 if (cache->field_file_map[field_idx] != (uint32_t)-1) {
698 if (ret == 0 && cache->field_file_map[field_idx] == (uint32_t)-1) {
711 unsigned int field_idx, const void *data, size_t data_size)
718 i_assert(field_idx < ctx->cache->fields_count);
721 if (ctx->cache->fields[field_idx].field.decision ==
735 file_field = ctx->cache->field_file_map[field_idx];
739 ret = mail_cache_header_add_field(ctx, field_idx);
751 file_field = ctx->cache->field_file_map[field_idx];
756 mail_cache_decision_add(ctx->view, seq, field_idx);
758 fixed_size = ctx->cache->fields[field_idx].field.field_size;
777 buffer_write(ctx->view->cached_exists_buf, field_idx,
816 uint32_t seq, unsigned int field_idx)
822 decision = mail_cache_field_get_decision(ctx->view->cache, field_idx);
841 return mail_cache_field_exists(ctx->view, seq, field_idx) == 0;
845 uint32_t seq, unsigned int field_idx)
851 decision = mail_cache_field_get_decision(ctx->view->cache, field_idx);
855 return mail_cache_field_exists(ctx->view, seq, field_idx) == 0;