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 | 907 size_t wordlen; in imap_state_capability_resp() local 919 for(wordlen = 0; line[wordlen] && line[wordlen] != ' ' && in imap_state_capability_resp() 920 line[wordlen] != '\t' && line[wordlen] != '\r' && in imap_state_capability_resp() 921 line[wordlen] != '\n';) in imap_state_capability_resp() 922 wordlen++; in imap_state_capability_resp() 925 if(wordlen == 8 && !memcmp(line, "STARTTLS", 8)) in imap_state_capability_resp() 933 else if(wordlen == 7 && !memcmp(line, "SASL-IR", 7)) in imap_state_capability_resp() 937 else if(wordlen > 5 && !memcmp(line, "AUTH=", 5)) { in imap_state_capability_resp() 942 wordlen -= 5; in imap_state_capability_resp() 946 if(mechbit && llen == wordlen) in imap_state_capability_resp() [all …]
|
H A D | pop3.c | 778 size_t wordlen; in pop3_state_capa_resp() local 793 for(wordlen = 0; wordlen < len && line[wordlen] != ' ' && in pop3_state_capa_resp() 794 line[wordlen] != '\t' && line[wordlen] != '\r' && in pop3_state_capa_resp() 795 line[wordlen] != '\n';) in pop3_state_capa_resp() 796 wordlen++; in pop3_state_capa_resp() 799 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in pop3_state_capa_resp() 800 if(mechbit && llen == wordlen) in pop3_state_capa_resp() 803 line += wordlen; in pop3_state_capa_resp() 804 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 20 milliseconds