Lines Matching refs:i
90 localkey_t i; in thdbufdestroy() local
92 for(i = (localkey_t) 0; i < LK_LAST; i++) { in thdbufdestroy()
234 int i; in set_thread_string() local
240 i = strlen(s) + 1; in set_thread_string()
241 cp = Curl_thread_buffer(key, MAX_CONV_EXPANSION * i + 1); in set_thread_string()
244 i = QadrtConvertE2A(cp, s, MAX_CONV_EXPANSION * i, i); in set_thread_string()
245 cp[i] = '\0'; in set_thread_string()
280 int i; in Curl_getnameinfo_a() local
282 i = QadrtConvertE2A(nodename, enodename, in Curl_getnameinfo_a()
284 nodename[i] = '\0'; in Curl_getnameinfo_a()
288 i = QadrtConvertE2A(servname, eservname, in Curl_getnameinfo_a()
290 servname[i] = '\0'; in Curl_getnameinfo_a()
307 int i; in Curl_getaddrinfo_a() local
313 i = strlen(nodename); in Curl_getaddrinfo_a()
315 enodename = malloc(i + 1); in Curl_getaddrinfo_a()
319 i = QadrtConvertA2E(enodename, nodename, i, i); in Curl_getaddrinfo_a()
320 enodename[i] = '\0'; in Curl_getaddrinfo_a()
324 i = strlen(servname); in Curl_getaddrinfo_a()
326 eservname = malloc(i + 1); in Curl_getaddrinfo_a()
332 QadrtConvertA2E(eservname, servname, i, i); in Curl_getaddrinfo_a()
333 eservname[i] = '\0'; in Curl_getaddrinfo_a()
349 unsigned int i = buf->length; in Curl_gss_convert_in_place() local
354 if(i) { in Curl_gss_convert_in_place()
355 char *t = malloc(i); in Curl_gss_convert_in_place()
365 QadrtConvertE2A(t, buf->value, i, i); in Curl_gss_convert_in_place()
366 memcpy(buf->value, t, i); in Curl_gss_convert_in_place()
379 unsigned int i; in Curl_gss_import_name_a() local
386 i = in.length; in Curl_gss_import_name_a()
388 in.value = malloc(i + 1); in Curl_gss_import_name_a()
396 QadrtConvertA2E(in.value, in_name->value, i, i); in Curl_gss_import_name_a()
397 ((char *) in.value)[i] = '\0'; in Curl_gss_import_name_a()
449 unsigned int i = inp->length; in Curl_gss_init_sec_context_a() local
451 in.value = malloc(i + 1); in Curl_gss_init_sec_context_a()
459 QadrtConvertA2E(in.value, input_token->value, i, i); in Curl_gss_init_sec_context_a()
460 ((char *) in.value)[i] = '\0'; in Curl_gss_init_sec_context_a()
461 in.length = i; in Curl_gss_init_sec_context_a()
519 size_t i; in Curl_ldap_init_a() local
526 i = strlen(host); in Curl_ldap_init_a()
528 ehost = malloc(i + 1); in Curl_ldap_init_a()
532 QadrtConvertA2E(ehost, host, i, i); in Curl_ldap_init_a()
533 ehost[i] = '\0'; in Curl_ldap_init_a()
542 int i; in Curl_ldap_simple_bind_s_a() local
550 i = strlen(dn); in Curl_ldap_simple_bind_s_a()
552 edn = malloc(i + 1); in Curl_ldap_simple_bind_s_a()
556 QadrtConvertA2E(edn, dn, i, i); in Curl_ldap_simple_bind_s_a()
557 edn[i] = '\0'; in Curl_ldap_simple_bind_s_a()
561 i = strlen(passwd); in Curl_ldap_simple_bind_s_a()
563 epasswd = malloc(i + 1); in Curl_ldap_simple_bind_s_a()
569 QadrtConvertA2E(epasswd, passwd, i, i); in Curl_ldap_simple_bind_s_a()
570 epasswd[i] = '\0'; in Curl_ldap_simple_bind_s_a()
573 i = ldap_simple_bind_s(ld, edn, epasswd); in Curl_ldap_simple_bind_s_a()
576 return i; in Curl_ldap_simple_bind_s_a()
583 int i; in Curl_ldap_search_s_a() local
596 i = strlen(base); in Curl_ldap_search_s_a()
598 ebase = malloc(i + 1); in Curl_ldap_search_s_a()
602 QadrtConvertA2E(ebase, base, i, i); in Curl_ldap_search_s_a()
603 ebase[i] = '\0'; in Curl_ldap_search_s_a()
608 i = strlen(filter); in Curl_ldap_search_s_a()
610 efilter = malloc(i + 1); in Curl_ldap_search_s_a()
614 QadrtConvertA2E(efilter, filter, i, i); in Curl_ldap_search_s_a()
615 efilter[i] = '\0'; in Curl_ldap_search_s_a()
620 for(i = 0; attrs[i++];) in Curl_ldap_search_s_a()
623 eattrs = calloc(i, sizeof(*eattrs)); in Curl_ldap_search_s_a()
628 i = strlen(attrs[j]); in Curl_ldap_search_s_a()
630 eattrs[j] = malloc(i + 1); in Curl_ldap_search_s_a()
636 QadrtConvertA2E(eattrs[j], attrs[j], i, i); in Curl_ldap_search_s_a()
637 eattrs[j][i] = '\0'; in Curl_ldap_search_s_a()
669 int i = strlen(attr); in Curl_ldap_get_values_len_a() local
671 cp = malloc(i + 1); in Curl_ldap_get_values_len_a()
678 QadrtConvertA2E(cp, attr, i, i); in Curl_ldap_get_values_len_a()
679 cp[i] = '\0'; in Curl_ldap_get_values_len_a()
700 int i; in Curl_ldap_get_dn_a() local
709 i = strlen(cp); in Curl_ldap_get_dn_a()
711 cp2 = malloc(i + 1); in Curl_ldap_get_dn_a()
715 QadrtConvertE2A(cp2, cp, i, i); in Curl_ldap_get_dn_a()
716 cp2[i] = '\0'; in Curl_ldap_get_dn_a()
731 int i; in Curl_ldap_first_attribute_a() local
740 i = strlen(cp); in Curl_ldap_first_attribute_a()
742 cp2 = malloc(i + 1); in Curl_ldap_first_attribute_a()
746 QadrtConvertE2A(cp2, cp, i, i); in Curl_ldap_first_attribute_a()
747 cp2[i] = '\0'; in Curl_ldap_first_attribute_a()
762 int i; in Curl_ldap_next_attribute_a() local
771 i = strlen(cp); in Curl_ldap_next_attribute_a()
773 cp2 = malloc(i + 1); in Curl_ldap_next_attribute_a()
777 QadrtConvertE2A(cp2, cp, i, i); in Curl_ldap_next_attribute_a()
778 cp2[i] = '\0'; in Curl_ldap_next_attribute_a()
797 unsigned int i; in sockaddr2ebcdic() local
817 i = QadrtConvertA2E(dstu->sun_path, srcu->sun_path, dstsize - 1, srclen); in sockaddr2ebcdic()
818 dstu->sun_path[i] = '\0'; in sockaddr2ebcdic()
819 srclen = i + offsetof(struct sockaddr_un, sun_path); in sockaddr2ebcdic()
871 int i; in Curl_os400_connect() local
874 i = sockaddr2ebcdic(&laddr, destaddr, addrlen); in Curl_os400_connect()
876 if(i < 0) in Curl_os400_connect()
879 return connect(sd, (struct sockaddr *) &laddr, i); in Curl_os400_connect()
885 int i; in Curl_os400_bind() local
888 i = sockaddr2ebcdic(&laddr, localaddr, addrlen); in Curl_os400_bind()
890 if(i < 0) in Curl_os400_bind()
893 return bind(sd, (struct sockaddr *) &laddr, i); in Curl_os400_bind()
900 int i; in Curl_os400_sendto() local
903 i = sockaddr2ebcdic(&laddr, dstaddr, addrlen); in Curl_os400_sendto()
905 if(i < 0) in Curl_os400_sendto()
908 return sendto(sd, buffer, buflen, flags, (struct sockaddr *) &laddr, i); in Curl_os400_sendto()