Home
last modified time | relevance | path

Searched refs:wordlen (Results 1 – 4 of 4) sorted by relevance

/curl/lib/
H A Dcurl_sasl.h134 #define sasl_mech_equal(line, wordlen, mech) \ argument
135 (wordlen == (sizeof(mech) - 1) / sizeof(char) && \
136 !memcmp(line, mech, wordlen))
H A Dimap.c912 size_t wordlen; in imap_state_capability_resp() local
924 for(wordlen = 0; line[wordlen] && line[wordlen] != ' ' && in imap_state_capability_resp()
925 line[wordlen] != '\t' && line[wordlen] != '\r' && in imap_state_capability_resp()
926 line[wordlen] != '\n';) in imap_state_capability_resp()
927 wordlen++; in imap_state_capability_resp()
930 if(wordlen == 8 && !memcmp(line, "STARTTLS", 8)) in imap_state_capability_resp()
938 else if(wordlen == 7 && !memcmp(line, "SASL-IR", 7)) in imap_state_capability_resp()
942 else if(wordlen > 5 && !memcmp(line, "AUTH=", 5)) { in imap_state_capability_resp()
947 wordlen -= 5; in imap_state_capability_resp()
951 if(mechbit && llen == wordlen) in imap_state_capability_resp()
[all …]
H A Dpop3.c730 size_t wordlen; in pop3_state_capa_resp() local
745 for(wordlen = 0; wordlen < len && line[wordlen] != ' ' && in pop3_state_capa_resp()
746 line[wordlen] != '\t' && line[wordlen] != '\r' && in pop3_state_capa_resp()
747 line[wordlen] != '\n';) in pop3_state_capa_resp()
748 wordlen++; in pop3_state_capa_resp()
751 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in pop3_state_capa_resp()
752 if(mechbit && llen == wordlen) in pop3_state_capa_resp()
755 line += wordlen; in pop3_state_capa_resp()
756 len -= wordlen; in pop3_state_capa_resp()
H A Dsmtp.c929 size_t wordlen; in smtp_state_ehlo_resp() local
944 for(wordlen = 0; wordlen < len && line[wordlen] != ' ' && in smtp_state_ehlo_resp()
945 line[wordlen] != '\t' && line[wordlen] != '\r' && in smtp_state_ehlo_resp()
946 line[wordlen] != '\n';) in smtp_state_ehlo_resp()
947 wordlen++; in smtp_state_ehlo_resp()
950 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in smtp_state_ehlo_resp()
951 if(mechbit && llen == wordlen) in smtp_state_ehlo_resp()
954 line += wordlen; in smtp_state_ehlo_resp()
955 len -= wordlen; in smtp_state_ehlo_resp()

Completed in 31 milliseconds