Searched defs:dp (Results 1 - 7 of 7) sorted by relevance

/dovecot/src/lib-storage/
H A Dmailbox-uidvalidity.c113 struct dirent *dp; local
150 while ((dp = readdir(d)) != NULL) {
151 if (strncmp(dp->d_name, prefix, prefix_len) == 0) {
152 if (str_to_uint32_hex(dp->d_name + prefix_len, &cur_value) >= 0) {
/dovecot/src/lib-smtp/
H A Dsmtp-address.c241 const unsigned char *p, *dp; local
255 dp = parser->end - 1;
256 while (dp > parser->cur && *dp != '@')
257 dp--;
258 if (dp == parser->cur)
259 dp = parser->end;
262 for (p = parser->cur; p < dp; p++) {
271 p_strdup_until(parser->pool, parser->cur, dp);
273 parser->cur = dp;
[all...]
H A Dtest-smtp-payload.c62 struct dirent *dp; local
69 if ((dp=readdir(dirp)) == NULL)
71 if (*dp->d_name == '.')
74 file = t_abspath_to(dp->d_name, path);
/dovecot/src/master/
H A Dmaster-settings.c692 struct dirent *dp; local
705 while ((dp = readdir(dirp)) != NULL) {
706 if (dp->d_name[0] == '.')
709 if (strncmp(dp->d_name, prefix, prefix_len) != 0)
713 str_printfa(str, "%s/%s", path, dp->d_name);
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-sync.c407 struct dirent *dp; local
470 for (; (dp = readdir(dirp)) != NULL; errno = 0) {
471 if (dp->d_name[0] == '.')
474 if (dp->d_name[0] == MAILDIR_INFO_SEP) {
477 dp->d_name) < 0)
484 i_assert(dp->d_name[0] != '\0');
488 str_printfa(src, "%s/%s", ctx->new_dir, dp->d_name);
489 str_printfa(dest, "%s/%s", ctx->cur_dir, dp->d_name);
490 if (strchr(dp->d_name, MAILDIR_INFO_SEP) == NULL) {
528 dp
[all...]
/dovecot/src/plugins/quota/
H A Dquota-maildir.c60 struct dirent *dp; local
80 while ((dp = readdir(dirp)) != NULL) {
81 if (dp->d_name[0] == '.' &&
82 (dp->d_name[1] == '\0' || dp->d_name[1] == '.'))
85 p = strstr(dp->d_name, ",S=");
105 str_append(path, dp->d_name);
/dovecot/src/lib-http/
H A Dtest-http-payload.c81 struct dirent *dp; local
85 if ((dp=readdir(dirp)) == NULL)
87 if (*dp->d_name == '.')
90 file = t_abspath_to(dp->d_name, path);

Completed in 30 milliseconds