Lines Matching refs:wordlen
879 size_t wordlen; in imap_state_capability_resp() local
891 for(wordlen = 0; line[wordlen] && line[wordlen] != ' ' && in imap_state_capability_resp()
892 line[wordlen] != '\t' && line[wordlen] != '\r' && in imap_state_capability_resp()
893 line[wordlen] != '\n';) in imap_state_capability_resp()
894 wordlen++; in imap_state_capability_resp()
897 if(wordlen == 8 && !memcmp(line, "STARTTLS", 8)) in imap_state_capability_resp()
901 else if(wordlen == 13 && !memcmp(line, "LOGINDISABLED", 13)) in imap_state_capability_resp()
905 else if(wordlen == 7 && !memcmp(line, "SASL-IR", 7)) in imap_state_capability_resp()
909 else if(wordlen > 5 && !memcmp(line, "AUTH=", 5)) { in imap_state_capability_resp()
914 wordlen -= 5; in imap_state_capability_resp()
917 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in imap_state_capability_resp()
918 if(mechbit && llen == wordlen) in imap_state_capability_resp()
922 line += wordlen; in imap_state_capability_resp()