Searched refs:wordlen (Results 1 – 4 of 4) sorted by relevance
/curl/lib/ |
H A D | curl_sasl.h | 134 #define sasl_mech_equal(line, wordlen, mech) \ argument 135 (wordlen == (sizeof(mech) - 1) / sizeof(char) && \ 136 !memcmp(line, mech, wordlen))
|
H A D | imap.c | 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() 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() 950 if(mechbit && llen == wordlen) in imap_state_capability_resp() [all …]
|
H A D | pop3.c | 788 size_t wordlen; in pop3_state_capa_resp() local 803 for(wordlen = 0; wordlen < len && line[wordlen] != ' ' && in pop3_state_capa_resp() 804 line[wordlen] != '\t' && line[wordlen] != '\r' && in pop3_state_capa_resp() 805 line[wordlen] != '\n';) in pop3_state_capa_resp() 806 wordlen++; in pop3_state_capa_resp() 809 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in pop3_state_capa_resp() 810 if(mechbit && llen == wordlen) in pop3_state_capa_resp() 813 line += wordlen; in pop3_state_capa_resp() 814 len -= wordlen; in pop3_state_capa_resp()
|
H A D | smtp.c | 929 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 36 milliseconds