Searched refs:start (Results 1 - 25 of 58) sorted by relevance

123

/tldk/app/nginx/src/http/modules/
H A Dngx_http_not_modified_filter_module.c175 u_char *start, *end, ch; local
202 start = list->data;
205 while (start < end) {
208 && end - start > 2
209 && start[0] == 'W'
210 && start[1] == '/')
212 start += 2;
215 if (etag.len > (size_t) (end - start)) {
219 if (ngx_strncmp(start, etag.data, etag.len) != 0) {
223 start
[all...]
H A Dngx_http_slice_filter_module.c19 off_t start; member in struct:__anon219
30 off_t start; member in struct:__anon220
160 cr.start, cr.end, cr.complete_length);
164 end = ngx_min(cr.start + (off_t) slcf->size, cr.complete_length);
166 if (cr.start != ctx->start || cr.end != end) {
169 cr.start, cr.end);
173 ctx->start = end;
179 r->headers_out.content_offset = cr.start;
194 if (ctx->start
287 off_t start, end, complete_length, cutoff, cutlim; local
443 off_t start, cutoff, cutlim; local
[all...]
H A Dngx_http_flv_module.c65 off_t start, len; local
170 start = 0;
176 if (ngx_http_arg(r, (u_char *) "start", 5, &value) == NGX_OK) {
178 start = ngx_atoof(value.data, value.len);
180 if (start == NGX_ERROR || start >= len) {
181 start = 0;
184 if (start) {
185 len = sizeof(ngx_flv_header) - 1 + len - start;
238 b->file_pos = start;
[all...]
H A Dngx_http_range_filter_module.c49 off_t start; member in struct:__anon207
273 off_t start, end, size, content_length, cutoff, local
302 start = 0;
314 if (start >= cutoff && (start > cutoff || *p - '0' > cutlim)) {
318 start = start * 10 + *p++ - '0';
358 start = content_length - end;
371 if (start < end) {
377 range->start
650 off_t start, last; local
690 off_t start, last; local
[all...]
H A Dngx_http_geo_module.c15 u_short start; member in struct:__anon133
91 ngx_http_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end);
93 ngx_http_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end);
296 if (n >= (ngx_uint_t) range->start
655 in_addr_t start, end; local
710 start = ngx_inet_addr(net->data, p - net->data);
712 if (start == INADDR_NONE) {
716 start = ntohl(start);
728 if (start > en
762 ngx_http_geo_add_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end) argument
964 ngx_http_geo_delete_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end) argument
[all...]
H A Dngx_http_secure_link_module.c204 u_char *p, *start, *end, *last; local
216 start = p;
238 if (end - start != 32 || len == 0) {
248 n = ngx_hextoi(&start[2 * i], 2);
H A Dngx_http_sub_filter_module.c87 static ngx_int_t ngx_http_sub_match(ngx_http_sub_ctx_t *ctx, ngx_int_t start,
612 ngx_int_t offset, start, next, end, len, rc; local
626 /* sets start and next to end */
646 start = offset - (ngx_int_t) tables->min_match_len + 1;
659 rc = ngx_http_sub_match(ctx, start, m);
672 next = start + (ngx_int_t) m->len;
689 start = offset - (ngx_int_t) tables->min_match_len + 1;
691 if (start >= end) {
698 if (ngx_http_sub_match(ctx, start, m) == NGX_AGAIN) {
710 start
744 ngx_http_sub_match(ngx_http_sub_ctx_t *ctx, ngx_int_t start, ngx_str_t *m) argument
[all...]
H A Dngx_http_memcached_module.c305 u_char *p, *start; local
364 start = p;
380 flags = ngx_atoi(start, p - start - 1);
404 start = p;
407 u->headers_in.content_length_n = ngx_atoof(start, p - start);
H A Dngx_http_fastcgi_module.c71 u_char *start; member in struct:__anon127
1229 b->start = pos;
1344 u_char *pos, *start; local
1401 if (b->start == NULL) {
1404 b->start = ngx_palloc(r->pool,
1406 if (b->start == NULL) {
1410 b->pos = b->start;
1411 b->last = b->start;
1413 b->end = b->start + sizeof(ngx_http_fastcgi_header_t) + 7;
1433 in->buf->start, i
1629 u_char *p, *msg, *start, *last, local
[all...]
H A Dngx_http_mp4_module.c131 ngx_uint_t start; member in struct:__anon180
272 ngx_http_mp4_trak_t *trak, ngx_uint_t start);
278 ngx_http_mp4_trak_t *trak, ngx_uint_t start);
284 ngx_http_mp4_trak_t *trak, ngx_uint_t start);
290 ngx_http_mp4_trak_t *trak, ngx_uint_t start);
424 ngx_int_t rc, start, end; local
529 start = -1;
537 if (ngx_http_arg(r, (u_char *) "start", 5, &value) == NGX_OK) {
540 * A Flash player may send start value with a lot of digits
544 start
2151 ngx_http_mp4_crop_stts_data(ngx_http_mp4_file_t *mp4, ngx_http_mp4_trak_t *trak, ngx_uint_t start) argument
2380 ngx_http_mp4_crop_stss_data(ngx_http_mp4_file_t *mp4, ngx_http_mp4_trak_t *trak, ngx_uint_t start) argument
2567 ngx_http_mp4_crop_ctts_data(ngx_http_mp4_file_t *mp4, ngx_http_mp4_trak_t *trak, ngx_uint_t start) argument
2781 ngx_http_mp4_crop_stsc_data(ngx_http_mp4_file_t *mp4, ngx_http_mp4_trak_t *trak, ngx_uint_t start) argument
[all...]
/tldk/lib/libtle_dring/
H A Ddring.c28 if (db->start + idx < dr->cons.tail)
30 else if (db->start + idx >= dr->prod.tail)
46 fprintf(f, "\t\t\t\t%u:%p\n", db->start + idx, db->objs[idx]);
51 db->start + idx, db->objs[idx], st);
63 fprintf(f, "\t\t\tstart=%u,\n", db->start);
H A Dtle_dring.h65 uint32_t start; /**< start index for that block. */ member in struct:tle_drb
135 n = head - pb->start;
148 pb->start = head + i;
313 n = head - pb->start;
/tldk/app/nginx/src/core/
H A Dngx_buf.c22 b->start = ngx_palloc(pool, size);
23 if (b->start == NULL) {
38 b->pos = b->start;
39 b->last = b->start;
106 b->start = p;
215 cl->buf->pos = cl->buf->start;
216 cl->buf->last = cl->buf->start;
H A Dngx_conf_file.c80 b.start = param->data;
199 buf.start = ngx_alloc(NGX_CONF_BUFFER, cf->log);
200 if (buf.start == NULL) {
204 buf.pos = buf.start;
205 buf.last = buf.start;
332 if (cf->conf_file->buffer->start) {
333 ngx_free(cf->conf_file->buffer->start);
504 u_char *start, ch, *src, *dst; local
525 start = b->pos;
554 len = b->pos - start;
[all...]
H A Dngx_radix_tree.h32 char *start; member in struct:__anon48
H A Dngx_slab.h47 u_char *start; member in struct:__anon67
H A Dngx_radix_tree.c28 tree->start = NULL;
475 tree->start = ngx_pmemalign(tree->pool, ngx_pagesize, ngx_pagesize);
476 if (tree->start == NULL) {
483 p = (ngx_radix_node_t *) tree->start;
484 tree->start += sizeof(ngx_radix_node_t);
H A Dngx_output_chain.c115 ctx->in->buf->start,
475 b->start = ngx_pmemalign(ctx->pool, size, (size_t) ctx->alignment);
476 if (b->start == NULL) {
481 b->start = ngx_palloc(ctx->pool, size);
482 if (b->start == NULL) {
487 b->pos = b->start;
488 b->last = b->start;
677 in->buf->start,
721 cl->buf->start,
/tldk/app/nginx/src/stream/
H A Dngx_stream_geo_module.c15 u_short start; member in struct:__anon420
86 ngx_stream_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end);
88 ngx_stream_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end);
287 if (n >= (ngx_uint_t) range->start
605 in_addr_t start, end; local
660 start = ngx_inet_addr(net->data, p - net->data);
662 if (start == INADDR_NONE) {
666 start = ntohl(start);
678 if (start > en
712 ngx_stream_geo_add_range(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end) argument
914 ngx_stream_geo_delete_range(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end) argument
[all...]
H A Dngx_stream_write_filter_module.c102 cl->buf->start, cl->buf->pos,
115 cl->buf->start,
158 cl->buf->start, cl->buf->pos,
171 cl->buf->start,
H A Dngx_stream_log_module.c47 u_char *start; member in struct:__anon437
269 ngx_stream_log_write(s, &log[l], buffer->start,
270 buffer->pos - buffer->start);
272 buffer->pos = buffer->start;
279 if (buffer->event && p == buffer->start) {
610 len = buffer->pos - buffer->start;
618 n = ngx_stream_log_gzip(file->fd, buffer->start, len, buffer->gzip,
621 n = ngx_write_fd(file->fd, buffer->start, len);
624 n = ngx_write_fd(file->fd, buffer->start, len);
638 buffer->pos = buffer->start;
[all...]
/tldk/app/nginx/src/event/
H A Dngx_event_pipe.c390 cl->buf->start, cl->buf->pos,
403 cl->buf->start, cl->buf->pos,
416 cl->buf->start, cl->buf->pos,
429 cl->buf->start, cl->buf->pos,
475 ngx_pfree(p->pool, cl->buf->start);
603 if (prev == cl->buf->start) {
607 bsize += cl->buf->end - cl->buf->start;
608 prev = cl->buf->start;
647 if (bsize + cl->buf->end - cl->buf->start > p->busy_size) {
652 bsize += cl->buf->end - cl->buf->start;
[all...]
/tldk/app/nginx/src/http/
H A Dngx_http_write_filter_module.c78 cl->buf->start, cl->buf->pos,
91 cl->buf->start,
134 cl->buf->start, cl->buf->pos,
147 cl->buf->start,
/tldk/app/nginx/src/os/unix/
H A Dngx_writev_chain.c69 cl->buf->start,
138 in->buf->start,
/tldk/app/nginx/src/mail/
H A Dngx_mail_proxy_module.c309 s->proxy->buffer->pos = s->proxy->buffer->start;
310 s->proxy->buffer->last = s->proxy->buffer->start;
443 s->proxy->buffer->pos = s->proxy->buffer->start;
444 s->proxy->buffer->last = s->proxy->buffer->start;
651 b->pos = b->start;
654 ngx_memcpy(b->start, smtp_auth_ok, sizeof(smtp_auth_ok) - 1);
655 b->last = b->start + sizeof(smtp_auth_ok) - 1;
695 s->proxy->buffer->pos = s->proxy->buffer->start;
696 s->proxy->buffer->last = s->proxy->buffer->start;
961 b->pos = b->start;
[all...]

Completed in 19 milliseconds

123