Lines Matching defs:length
136 /* For an unknown length bucket, while 'point64' is beyond the possible
139 if ((e->length == (apr_size_t)(-1))
149 else if ((point64 < (apr_uint64_t)e->length)
150 || (e->length == (apr_size_t)(-1))) {
171 /* this assumes that len == e->length, which is okay because e
173 * if it was, the length would have been adjusted appropriately */
174 if (point64 < (apr_uint64_t)e->length) {
180 if (point64 == (apr_uint64_t)e->length) {
184 point64 -= (apr_uint64_t)e->length;
191 int read_all, apr_off_t *length)
201 if (bkt->length == (apr_size_t)(-1)) {
216 total += bkt->length;
219 *length = total;
281 * buffer length - so we don't up and palloc 4GB for a single
347 /* We didn't find an APR_ASCII_LF within the maximum line length. */
447 remaining = h->alloc_len - (e->length + (apr_size_t)e->start);
448 buf = h->base + e->start + e->length;
473 e->length = 0; /* We are writing into the brigade, and
476 * after we create it. We'll fix the length
483 e->length += nbyte;
499 /* Compute the total length of the data to be written.
540 (e->length + (apr_size_t)e->start);
541 buf = h->base + e->start + e->length;
552 e->length += total_len;
571 e->length += (buf - start_buf);
603 e->length = total_len;
710 apr_off_t length,
715 if (sizeof(apr_off_t) == sizeof(apr_size_t) || length < MAX_BUCKET_SIZE) {
716 e = apr_bucket_file_create(f, start, (apr_size_t)length, p,
724 while (length > MAX_BUCKET_SIZE) {
729 length -= MAX_BUCKET_SIZE;
731 e->length = (apr_size_t)length; /* Resize just the last bucket */