Searched refs:cur (Results 1 – 5 of 5) sorted by relevance
/curl/lib/ |
H A D | inet_ntop.c | 101 } best, cur; in inet_ntop6() local 114 cur.base = -1; in inet_ntop6() 116 cur.len = 0; in inet_ntop6() 120 if(cur.base == -1) { in inet_ntop6() 121 cur.base = i; cur.len = 1; in inet_ntop6() 124 cur.len++; in inet_ntop6() 126 else if(cur.base != -1) { in inet_ntop6() 128 best = cur; in inet_ntop6() 129 cur.base = -1; in inet_ntop6() 132 if((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in inet_ntop6() [all …]
|
H A D | progress.c | 482 static curl_off_t pgrs_est_percent(curl_off_t total, curl_off_t cur) in pgrs_est_percent() argument 485 return cur / (total/CURL_OFF_T_C(100)); in pgrs_est_percent() 487 return (cur*100) / total; in pgrs_est_percent()
|
/curl/lib/vtls/ |
H A D | mbedtls.c | 513 const mbedtls_x509_crt *cur; in mbed_extract_certinfo() local 516 for(i = 0, cur = crt; cur; ++i, cur = cur->next); in mbed_extract_certinfo() 519 for(i = 0, cur = crt; result == CURLE_OK && cur; ++i, cur = cur->next) { in mbed_extract_certinfo() 520 const char *beg = (const char *) cur->raw.p; in mbed_extract_certinfo() 521 const char *end = beg + cur->raw.len; in mbed_extract_certinfo()
|
H A D | schannel.c | 995 int cur = 0; in schannel_connect_step1() local 1003 extension_len = (unsigned int *)(void *)(&alpn_buffer[cur]); in schannel_connect_step1() 1004 cur += (int)sizeof(unsigned int); in schannel_connect_step1() 1008 *(unsigned int *)(void *)&alpn_buffer[cur] = in schannel_connect_step1() 1010 cur += (int)sizeof(unsigned int); in schannel_connect_step1() 1014 list_len = (unsigned short*)(void *)(&alpn_buffer[cur]); in schannel_connect_step1() 1015 cur += (int)sizeof(unsigned short); in schannel_connect_step1() 1017 list_start_index = cur; in schannel_connect_step1() 1024 memcpy(&alpn_buffer[cur], proto.data, proto.len); in schannel_connect_step1() 1025 cur += proto.len; in schannel_connect_step1() [all …]
|
H A D | cipher_suite.c | 734 const char *entry, *cur; in cs_str_to_zip() local 750 cur = nxt; in cs_str_to_zip() 752 len = nxt - cur; in cs_str_to_zip() 757 if(elen == len && strncasecompare(entry, cur, len)) in cs_str_to_zip()
|
Completed in 25 milliseconds