Lines Matching defs:length
662 || (apr_table_get(r->headers_in, "content-length")
663 && strcmp(apr_table_get(r->headers_in, "content-length"), "0")))
1359 * Adjust the DH parameter length according to the size of the
2213 * The client protocol list is serialized as length byte followed by ascii
2314 * string in wire format -- a sequence of length-prefixed strings -- indicating
2353 * by its length. First, calculate how long that string will be. */
2357 unsigned int length = strlen(string);
2358 /* If the protocol name is too long (the length must fit in one byte),
2360 if (length > 255) {
2362 "SSL NPN protocol name too long (length=%u): %s",
2363 length, string);
2366 /* Leave room for the length prefix (one byte) plus the protocol name
2368 size += 1 + length;
2379 * larger string, prefixed by its length. */
2384 apr_size_t length = strlen(string);
2385 if (length > 255)
2387 *start = (unsigned char)length;
2389 memcpy(start, string, length * sizeof(unsigned char));
2390 start += length;