Searched refs:strncasecmp (Results 1 - 25 of 43) sorted by relevance

12

/dovecot/src/pop3-login/
H A Dclient.c49 if (strncasecmp(*tmp, "ADDR=", 5) == 0) {
52 } else if (strncasecmp(*tmp, "PORT=", 5) == 0) {
57 } else if (strncasecmp(*tmp, "SESSION=", 8) == 0) {
64 } else if (strncasecmp(*tmp, "TTL=", 4) == 0) {
67 } else if (strncasecmp(*tmp, "FORWARD=", 8) == 0) {
H A Dpop3-proxy.c42 if (strncasecmp(*ptr, "forward_", 8) == 0) {
/dovecot/src/plugins/fts-squat/
H A Dsquat-test.c103 if (strncasecmp(line, "Content-Type:", 13) == 0 &&
104 strncasecmp(line, "Content-Type: text/", 19) != 0 &&
105 strncasecmp(line, "Content-Type: message/", 22) != 0)
107 else if (strncasecmp(line, "Content-Transfer-Encoding: base64", 33) == 0)
/dovecot/src/imap-login/
H A Dimap-proxy.c53 if (strncasecmp(*ptr, "forward_", 8) == 0) {
225 tagged_capability = strncasecmp(line, "[CAPABILITY ", 12) == 0;
357 if (strncasecmp(log_line, "NO ", 3) == 0)
392 } else if (strncasecmp(line, "* CAPABILITY ", 13) == 0) {
410 } else if (strncasecmp(line, "I ", 2) == 0) {
429 } else if (strncasecmp(line, "* ID ", 5) == 0) {
H A Dimap-login-cmd-id.c69 i_assert(strncasecmp(key, "x-forward-", 10) == 0);
92 if (strncasecmp(imap_login_id_params[i].key, key, prefix_len) == 0 &&
/dovecot/src/auth/
H A Dmech-oauth2.c120 if (strncasecmp(value, "bearer ", 7) == 0 &&
217 if (strncasecmp(value, "bearer ", 7) == 0 &&
H A Dauth-postfix-connection.c131 if (strncasecmp(line, "get ", 4) == 0)
/dovecot/src/lib-imap/
H A Dimap-url.c224 if (strncasecmp(p, ";AUTH=", 6) != 0) {
292 if (strncasecmp(urlext, ";EXPIRE=", 8) == 0) {
309 if (strncasecmp(urlext, ";URLAUTH=", 9) != 0) {
560 if (strncasecmp(p, ";UIDVALIDITY=", 13) == 0) {
596 if (*segment != NULL && strncasecmp(*segment, ";UID=", 5) == 0) {
627 strncasecmp(*segment, ";SECTION=", 9) == 0) {
682 strncasecmp(*segment, ";PARTIAL=", 9) == 0) {
H A Dimap-date.c61 if (strncasecmp(month_names[i], str, 3) == 0) {
/dovecot/src/lib-smtp/
H A Dsmtp-server-cmd-mail.c89 if (params == NULL || strncasecmp(params, "FROM:", 5) != 0) {
H A Dsmtp-server-cmd-rcpt.c122 if (params == NULL || strncasecmp(params, "TO:", 3) != 0) {
H A Dsmtp-server-cmd-xclient.c142 if (strncasecmp(param.value, "IPV6:", 5) == 0) {
/dovecot/src/lib-storage/index/imapc/
H A Dimapc-settings.c145 if (strncasecmp(*str, "throttle:", 9) == 0) {
H A Dimapc-search.c104 if (strncasecmp(str_c(str) + pos, "OLDER", 5) == 0 ||
105 strncasecmp(str_c(str) + pos, "YOUNGER", 7) == 0)
/dovecot/src/submission-login/
H A Dsubmission-proxy.c46 if (strncasecmp(*arg, "forward_", 8) == 0) {
286 if (strncasecmp(text, "XCLIENT ", 8) == 0) {
292 } else if (strncasecmp(text, "STARTTLS", 9) == 0) {
295 } else if (strncasecmp(text, "AUTH", 4) == 0 &&
/dovecot/src/lib-mail/
H A Dmessage-search.c62 strncasecmp(str_c(content_type), "text/", 5) == 0 ||
63 strncasecmp(str_c(content_type), "message/", 8) == 0;
H A Dmessage-snippet.c131 } else if (strncasecmp(ct, "text/", 5) != 0)
H A Dmessage-part-data.c481 if (!parent_rfc822 && strncasecmp(hdr->name, "Content-", 8) != 0)
491 if (strncasecmp(hdr->name, "Content-", 8) == 0) {
/dovecot/src/lib/
H A Dcompat.h123 /* strcasecmp(), strncasecmp() */
127 # define strncasecmp strnicmp macro
130 # define strncasecmp i_my_strncasecmp macro
/dovecot/src/lib-storage/index/pop3c/
H A Dpop3c-client.c459 reply = strncasecmp(line, "+OK ", 4) == 0 ? line + 4 :
460 strncasecmp(line, "-ERR ", 5) == 0 ? line + 5 :
476 if (strncasecmp(line, "-ERR", 4) == 0) {
747 if (strncasecmp(line, "+OK", 3) == 0) {
750 } else if (strncasecmp(line, "-ERR", 4) == 0) {
/dovecot/src/lib-dcrypt/
H A Ddcrypt-gnutls.c253 if (strncasecmp(algorithm, "sha1", 4) == 0) {
255 } else if (strncasecmp(algorithm, "sha256", 6) == 0) {
257 } else if (strncasecmp(algorithm, "sha512", 6) == 0) {
/dovecot/src/lib-settings/
H A Dsettings-parser.c370 if (strncasecmp(p, "secs", strlen(p)) == 0 ||
371 strncasecmp(p, "seconds", strlen(p)) == 0)
376 if (strncasecmp(p, "mins", strlen(p)) == 0 ||
377 strncasecmp(p, "minutes", strlen(p)) == 0)
379 else if (strncasecmp(p, "msecs", strlen(p)) == 0 ||
380 strncasecmp(p, "mseconds", strlen(p)) == 0 ||
381 strncasecmp(p, "millisecs", strlen(p)) == 0 ||
382 strncasecmp(p, "milliseconds", strlen(p)) == 0) {
400 if (strncasecmp(p, "hours", strlen(p)) == 0)
405 if (strncasecmp(
[all...]
/dovecot/src/imap/
H A Dcmd-store.c35 if (strncasecmp(type, "FLAGS", 5) != 0)
/dovecot/src/lib-storage/
H A Dmailbox-tree.c94 if (strncasecmp(path, "INBOX", 5) == 0 &&
/dovecot/src/plugins/quota/
H A Dquota-count.c157 strncasecmp(iter->ns->prefix, "INBOX", 5) != 0)) {

Completed in 37 milliseconds

12