Lines Matching defs:buf
11 void fts_search_serialize(buffer_t *buf, const struct mail_search_arg *args)
18 buffer_append_c(buf, chr);
21 fts_search_serialize(buf, args->value.subargs);
26 const buffer_t *buf, unsigned int *idx)
28 const char *data = buf->data;
31 i_assert(*idx < buf->used);
41 buf, idx);
47 const buffer_t *buf)
51 fts_search_deserialize_idx(args, buf, &idx);
52 i_assert(idx == buf->used);
57 const buffer_t *buf, unsigned int *idx,
60 const char *data = buf->data;
63 i_assert(*idx < buf->used);
78 buf, idx, matches);
84 const buffer_t *buf)
88 fts_search_deserialize_add_idx(args, buf, &idx, TRUE);
89 i_assert(idx == buf->used);
93 const buffer_t *buf)
97 fts_search_deserialize_add_idx(args, buf, &idx, FALSE);
98 i_assert(idx == buf->used);