Lines Matching refs:pos
129 size_t pos, i; in Curl_tls_keylog_write() local
137 pos = strlen(label); in Curl_tls_keylog_write()
138 if(pos > KEYLOG_LABEL_MAXLEN || !secretlen || secretlen > SECRET_MAXLEN) { in Curl_tls_keylog_write()
143 memcpy(line, label, pos); in Curl_tls_keylog_write()
144 line[pos++] = ' '; in Curl_tls_keylog_write()
148 line[pos++] = hex[client_random[i] >> 4]; in Curl_tls_keylog_write()
149 line[pos++] = hex[client_random[i] & 0xF]; in Curl_tls_keylog_write()
151 line[pos++] = ' '; in Curl_tls_keylog_write()
155 line[pos++] = hex[secret[i] >> 4]; in Curl_tls_keylog_write()
156 line[pos++] = hex[secret[i] & 0xF]; in Curl_tls_keylog_write()
158 line[pos++] = '\n'; in Curl_tls_keylog_write()
159 line[pos] = '\0'; in Curl_tls_keylog_write()