Lines Matching refs:len

344   size_t len;  in parse_content_sha_hdr()  local
360 len = strlen(value); in parse_content_sha_hdr()
361 while(len > 0 && ISBLANK(value[len-1])) in parse_content_sha_hdr()
362 --len; in parse_content_sha_hdr()
364 *value_len = len; in parse_content_sha_hdr()
410 size_t len = sizeof(S3_UNSIGNED_PAYLOAD) - 1; in calc_s3_payload_hash() local
411 DEBUGASSERT(len < SHA256_HEX_LENGTH); /* 16 < 65 */ in calc_s3_payload_hash()
412 memcpy(sha_hex, S3_UNSIGNED_PAYLOAD, len); in calc_s3_payload_hash()
413 sha_hex[len] = 0; in calc_s3_payload_hash()
427 size_t len; member
435 if(aa->len == 0) in compare_func()
437 if(bb->len == 0) in compare_func()
439 return strncmp(aa->p, bb->p, aa->len < bb->len ? aa->len : bb->len); in compare_func()
450 static CURLcode canon_string(const char *q, size_t len, in canon_string() argument
455 for(; len && !result; q++, len--) { in canon_string()
475 len -= 2; in canon_string()
533 ap->len = amp - p; /* excluding the ampersand */ in canon_query()
535 ap->len = strlen(p); in canon_query()
553 if(!ap->len) in canon_query()
555 result = canon_string(q, ap->len, dq, &found_equals); in canon_query()
573 size_t len; in Curl_output_aws_sigv4() local
655 len = hostdot - hostname; in Curl_output_aws_sigv4()
656 if(len > MAX_SIGV4_LEN) { in Curl_output_aws_sigv4()
661 memcpy(service, hostname, len); in Curl_output_aws_sigv4()
662 service[len] = '\0'; in Curl_output_aws_sigv4()
674 len = hostreg - reg; in Curl_output_aws_sigv4()
675 if(len > MAX_SIGV4_LEN) { in Curl_output_aws_sigv4()
680 memcpy(region, reg, len); in Curl_output_aws_sigv4()
681 region[len] = '\0'; in Curl_output_aws_sigv4()