Lines Matching refs:wordlen
908 size_t wordlen; in imap_state_capability_resp() local
920 for(wordlen = 0; line[wordlen] && line[wordlen] != ' ' && in imap_state_capability_resp()
921 line[wordlen] != '\t' && line[wordlen] != '\r' && in imap_state_capability_resp()
922 line[wordlen] != '\n';) in imap_state_capability_resp()
923 wordlen++; in imap_state_capability_resp()
926 if(wordlen == 8 && !memcmp(line, "STARTTLS", 8)) in imap_state_capability_resp()
930 else if(wordlen == 13 && !memcmp(line, "LOGINDISABLED", 13)) in imap_state_capability_resp()
934 else if(wordlen == 7 && !memcmp(line, "SASL-IR", 7)) in imap_state_capability_resp()
938 else if(wordlen > 5 && !memcmp(line, "AUTH=", 5)) { in imap_state_capability_resp()
943 wordlen -= 5; in imap_state_capability_resp()
946 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in imap_state_capability_resp()
947 if(mechbit && llen == wordlen) in imap_state_capability_resp()
951 line += wordlen; in imap_state_capability_resp()