Searched defs:start (Results 1 - 23 of 23) sorted by relevance

/dovecot/src/lib-mail/
H A Dmessage-header-hash.c12 size_t i, start; local
37 for (i = start = 0; i < size; i++) {
44 method->loop(context, data + start, i-start);
45 start = i+1;
51 method->loop(context, data + start, i-start);
52 start = i+1;
60 if (start < i || !ctx->prev_was_questionmark) {
61 method->loop(context, data + start,
[all...]
H A Dtest-message-header-encode.c80 unsigned int line_start = i, start, j, char_count = 0; local
95 start = i;
101 if (base64_decode(str+start, i-start, NULL, &buf) < 0)
H A Drfc822-parser.c66 const unsigned char *start; local
74 start = ++ctx->data;
83 str_append_n(ctx->last_comment, start,
84 ctx->data - start);
92 str_append_n(ctx->last_comment, start,
93 ctx->data - start);
95 start = ctx->data + 1;
128 const unsigned char *start; local
138 for (start = ctx->data++; ctx->data != ctx->end; ctx->data++) {
142 str_append_n(str, start, ct
152 const unsigned char *start; local
195 const unsigned char *start; local
211 const unsigned char *start; local
249 const unsigned char *start; local
306 const unsigned char *start; local
[all...]
H A Dqp-decoder.c55 size_t i, start = 0, ret = src_size; local
71 buffer_append(qp->dest, src+start, i-start);
73 start = i+1;
87 buffer_append(qp->dest, src+start, i-start);
H A Dmessage-address.c269 const unsigned char *start; local
273 start = ctx->parser.data;
276 ctx->parser.data = start;
348 const unsigned char *start; local
352 start = ctx->parser.data;
355 ctx->parser.data = start;
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-filename-flags.c77 size_t start = str_len(fname); local
87 qsort(str_c_modifiable(fname) + start, str_len(fname) - start, 1,
H A Dmaildir-uidlist.c411 const char *start, *line = *line_p; local
417 start = line;
419 if (MAILDIR_UIDLIST_REC_EXT_KEY_IS_VALID(*start)) {
420 buffer_append(buf, start, line - start);
425 t_strdup_until(start, line));
/dovecot/src/lib/
H A Dbase64.c49 unsigned char *start = buffer_append_space_unsafe(dest, res_size); local
50 unsigned char *ptr = start;
63 i_assert(ptr <= start + res_size);
H A Dmmap-anon.c145 int munmap_anon(void *start, size_t length ATTR_UNUSED) argument
149 if (start == NULL || start == MAP_FAILED) {
154 hdr = (struct anon_header *) ((char *) start - header_size);
178 int munmap_anon(void *start, size_t length) argument
180 return munmap(start, length);
H A Dtest-bits.c111 unsigned int start = bits_fraclog_bucket_start(i, fracbits); local
113 test_assert_idx(start == last_end + 1, i);
115 test_assert_idx(bits_fraclog(start, fracbits) == i, i);
137 unsigned int start = bits_fraclog_bucket_start(i, FRACBITS); local
139 test_assert_idx(start == last_end + 1, i);
141 test_assert_idx(bits_fraclog(start, FRACBITS) == i, i);
H A Dstrescape.c36 size_t start = 0, i = 0; local
44 str_append_n(dest, src_c + start, i-start);
51 start = i;
58 char *dest, *start = str; local
62 return start;
77 return start;
159 size_t start = 0, i = 0; local
167 str_append_n(dest, src_c + start, i-start);
202 char *dest, *start = str; local
[all...]
H A Diostream-rawlog.c93 size_t i, start; local
98 for (start = 0, i = 1; i < size; i++) {
101 data + start, i - start);
103 start = i;
106 if (start != size) {
108 data + start, size - start);
H A Djson-parser.c34 const unsigned char *start, *end, *data; member in struct:json_parser
80 parser->start = parser->data = i_stream_get_data(parser->input, &size);
81 parser->end = parser->start + size;
90 if (parser->data == parser->start)
93 i_stream_skip(parser->input, parser->data - parser->start);
94 parser->start = parser->data = i_stream_get_data(parser->input, &size);
95 parser->end = parser->start + size;
H A Dvar-expand.c596 start at the end */
708 const char *start, *end; local
710 start = strchr(*str, '{');
711 i_assert(start != NULL);
713 end = strchr(++start, '}');
717 if (strncmp(start, long_key, end-start) == 0 &&
718 long_key[end-start] == '\0')
H A Dnet.c313 struct timeval start, now; local
316 if (gettimeofday(&start, NULL) < 0)
328 } while (timeval_diff_msecs(&now, &start) < (int)msecs);
475 /* start listening */
527 /* start listening */
H A Dstrfuncs.c73 char *p_strdup_until(pool_t pool, const void *start, const void *end) argument
78 i_assert((const char *) start <= (const char *) end);
80 size = (size_t) ((const char *) end - (const char *) start);
83 memcpy(mem, start, size);
246 const char *t_strdup_until(const void *start, const void *end) argument
248 return p_strdup_until(unsafe_data_stack_pool, start, end);
/dovecot/src/doveadm/
H A Ddoveadm-mail-batch.c107 unsigned int i, start; local
117 for (i = start = 0;; i++) {
122 if (i > start) {
124 argc = i - start;
125 argv = array_idx(&sep_args, start);
127 start = i+1;
H A Dclient-connection-tcp.c71 const char *ptr, *start; local
91 start = str_c(str);
94 while((ptr = strchr(start, '\n'))!=NULL) {
96 o_stream_nsend(log_out, start, ptr-start+1);
97 str_delete(str, 0, ptr-start+1);
H A Dserver-connection.c219 size_t i, start; local
239 for (i = start = 0; i < size; i++) {
241 if (i != start) {
253 server_flush_field(conn, str, data + start, i - start);
254 start = i + 1;
257 if (start != size) {
259 stream_data(str, data + start, size - start);
/dovecot/src/lib-index/
H A Dmail-cache-lookup.c509 const unsigned char *p, *start, *end; local
574 /* then start filling dest buffer from the headers */
576 start = lines[i].data->data;
577 end = start + lines[i].data->data_size;
580 for (p = start; p != end; p++) {
587 hdr_size = (size_t)(p - start);
588 buffer_append(dest, start, hdr_size);
/dovecot/src/lib-fts/
H A Dfts-tokenizer-generic.c203 size_t i, start = 0; local
214 tok_append_truncated(tok, data + start, i - start);
219 start = i + char_size;
229 tok_append_truncated(tok, data + start, i - start);
232 start = i + char_size;
239 tok_append_truncated(tok, data + start, i - start);
/dovecot/src/plugins/fts-squat/
H A Dsquat-trie.c472 /* we always start with !have_sequential, so at i=0 this
918 unsigned int i, start = 0; local
933 while (start < i && data[start] == '\0')
934 start++;
935 if (i != start) {
936 if (squat_build_word(ctx, uid, data + start,
938 char_lengths + start,
939 i - start) < 0) {
941 start
1967 unsigned int i, start, bytes, str_bytelen, str_charlen; local
[all...]
/dovecot/src/auth/
H A Ddb-ldap.c1220 struct timeval start, end; local
1231 if (gettimeofday(&start, NULL) < 0)
1232 i_zero(&start);
1267 int msecs = timeval_diff_msecs(&end, &start);

Completed in 157 milliseconds