Lines Matching defs:rec
18 const struct mailbox_guid_cache_rec *rec;
24 rec = hash_table_lookup(list->guid_cache, guid_p);
26 rec = hash_table_lookup(list->guid_cache, guid_p);
27 if (rec == NULL && list->guid_cache_updated) {
29 rec = hash_table_lookup(list->guid_cache, guid_p);
32 if (rec == NULL) {
36 *vname_r = rec->vname;
46 struct mailbox_guid_cache_rec *rec;
76 } else if ((rec = hash_table_lookup(list->guid_cache,
79 info->vname, rec->vname,
82 rec = p_new(list->guid_cache_pool,
84 memcpy(rec->guid, metadata.guid, sizeof(rec->guid));
85 rec->vname = p_strdup(list->guid_cache_pool, info->vname);
86 guid_p = rec->guid;
87 hash_table_insert(list->guid_cache, guid_p, rec);