Searched refs:wordlen (Results 1 – 5 of 5) sorted by relevance
/external/curl/lib/ |
D | curl_sasl.h | 113 #define sasl_mech_equal(line, wordlen, mech) \ argument 114 (wordlen == (sizeof(mech) - 1) / sizeof(char) && \ 115 !memcmp(line, mech, wordlen))
|
D | imap.c | 866 size_t wordlen; in imap_state_capability_resp() local 887 for(wordlen = 0; line[wordlen] && line[wordlen] != ' ' && in imap_state_capability_resp() 888 line[wordlen] != '\t' && line[wordlen] != '\r' && in imap_state_capability_resp() 889 line[wordlen] != '\n';) in imap_state_capability_resp() 890 wordlen++; in imap_state_capability_resp() 893 if(wordlen == 8 && !memcmp(line, "STARTTLS", 8)) in imap_state_capability_resp() 897 else if(wordlen == 13 && !memcmp(line, "LOGINDISABLED", 13)) in imap_state_capability_resp() 901 else if(wordlen == 7 && !memcmp(line, "SASL-IR", 7)) in imap_state_capability_resp() 905 else if(wordlen > 5 && !memcmp(line, "AUTH=", 5)) { in imap_state_capability_resp() 910 wordlen -= 5; in imap_state_capability_resp() [all …]
|
D | pop3.c | 711 size_t wordlen; in pop3_state_capa_resp() local 750 for(wordlen = 0; wordlen < len && line[wordlen] != ' ' && in pop3_state_capa_resp() 751 line[wordlen] != '\t' && line[wordlen] != '\r' && in pop3_state_capa_resp() 752 line[wordlen] != '\n';) in pop3_state_capa_resp() 753 wordlen++; in pop3_state_capa_resp() 756 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in pop3_state_capa_resp() 757 if(mechbit && llen == wordlen) in pop3_state_capa_resp() 760 line += wordlen; in pop3_state_capa_resp() 761 len -= wordlen; in pop3_state_capa_resp()
|
D | smtp.c | 718 size_t wordlen; in smtp_state_ehlo_resp() local 767 for(wordlen = 0; wordlen < len && line[wordlen] != ' ' && in smtp_state_ehlo_resp() 768 line[wordlen] != '\t' && line[wordlen] != '\r' && in smtp_state_ehlo_resp() 769 line[wordlen] != '\n';) in smtp_state_ehlo_resp() 770 wordlen++; in smtp_state_ehlo_resp() 773 mechbit = Curl_sasl_decode_mech(line, wordlen, &llen); in smtp_state_ehlo_resp() 774 if(mechbit && llen == wordlen) in smtp_state_ehlo_resp() 777 line += wordlen; in smtp_state_ehlo_resp() 778 len -= wordlen; in smtp_state_ehlo_resp()
|
/external/tcpdump/ |
D | print-ospf6.c | 412 u_int wordlen; in ospf6_print_lsaprefix() local 419 wordlen = (lsapp->lsa_p_len + 31) / 32; in ospf6_print_lsaprefix() 420 if (wordlen * 4 > sizeof(struct in6_addr)) { in ospf6_print_lsaprefix() 424 if (lsa_length < wordlen * 4) in ospf6_print_lsaprefix() 426 lsa_length -= wordlen * 4; in ospf6_print_lsaprefix() 427 ND_TCHECK2(lsapp->lsa_p_prefix, wordlen * 4); in ospf6_print_lsaprefix() 429 memcpy(&prefix, lsapp->lsa_p_prefix, wordlen * 4); in ospf6_print_lsaprefix() 438 return sizeof(*lsapp) - IPV6_ADDR_LEN_BYTES + wordlen * 4; in ospf6_print_lsaprefix()
|