Lines Matching refs:wordlen
911 size_t wordlen; in imap_state_capability_resp() local
923 for(wordlen = 0; line[wordlen] && line[wordlen] != ' ' && in imap_state_capability_resp()
924 line[wordlen] != '\t' && line[wordlen] != '\r' && in imap_state_capability_resp()
925 line[wordlen] != '\n';) in imap_state_capability_resp()
926 wordlen++; in imap_state_capability_resp()
929 if(wordlen == 8 && !memcmp(line, "STARTTLS", 8)) in imap_state_capability_resp()
933 else if(wordlen == 13 && !memcmp(line, "LOGINDISABLED", 13)) in imap_state_capability_resp()
937 else if(wordlen == 7 && !memcmp(line, "SASL-IR", 7)) in imap_state_capability_resp()
941 else if(wordlen > 5 && !memcmp(line, "AUTH=", 5)) { in imap_state_capability_resp()
946 wordlen -= 5; in imap_state_capability_resp()
949 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in imap_state_capability_resp()
950 if(mechbit && llen == wordlen) in imap_state_capability_resp()
954 line += wordlen; in imap_state_capability_resp()