Searched refs:pos (Results 1 - 25 of 72) sorted by relevance

123

/tldk/app/nginx/src/http/v2/
H A Dngx_http_v2.c59 u_char *pos, u_char *end);
61 u_char *pos, u_char *end);
63 u_char *pos, u_char *end);
65 u_char *pos, u_char *end);
67 u_char *pos, u_char *end);
69 u_char *pos, u_char *end);
71 u_char *pos, u_char *end);
73 u_char *pos, u_char *end);
75 u_char *pos, u_char *end);
77 u_char *pos, u_cha
680 ngx_http_v2_state_proxy_protocol(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
701 ngx_http_v2_state_preface(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
723 ngx_http_v2_state_preface_end(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
749 ngx_http_v2_state_head(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
784 ngx_http_v2_state_data(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
917 ngx_http_v2_state_read_data(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
999 ngx_http_v2_state_headers(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1188 ngx_http_v2_state_header_block(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1288 ngx_http_v2_state_field_len(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1375 ngx_http_v2_state_field_huff(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1430 ngx_http_v2_state_field_raw(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1475 ngx_http_v2_state_field_skip(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1517 ngx_http_v2_state_process_header(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1675 ngx_http_v2_state_header_complete(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1712 ngx_http_v2_handle_continuation(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end, ngx_http_v2_handler_pt handler) argument
1774 ngx_http_v2_state_priority(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1867 ngx_http_v2_state_rst_stream(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1949 ngx_http_v2_state_settings(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
1982 ngx_http_v2_state_settings_params(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
2049 ngx_http_v2_state_push_promise(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
2060 ngx_http_v2_state_ping(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
2102 ngx_http_v2_state_goaway(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
2139 ngx_http_v2_state_window_update(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
2260 ngx_http_v2_state_continuation(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
2271 ngx_http_v2_state_complete(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
2292 ngx_http_v2_state_skip_padded(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
2303 ngx_http_v2_state_skip(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end) argument
2325 ngx_http_v2_state_save(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end, ngx_http_v2_handler_pt handler) argument
2354 ngx_http_v2_state_headers_save(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end, ngx_http_v2_handler_pt handler) argument
2393 ngx_http_v2_parse_int(ngx_http_v2_connection_t *h2c, u_char **pos, u_char *end, ngx_uint_t prefix) argument
3645 ngx_http_v2_process_request_body(ngx_http_request_t *r, u_char *pos, size_t size, ngx_uint_t last) argument
[all...]
H A Dngx_http_v2_filter_module.c56 static u_char *ngx_http_v2_write_int(u_char *pos, ngx_uint_t prefix,
59 ngx_http_request_t *r, u_char *pos, u_char *end);
129 u_char status, *pos, *start, *p, *tmp; local
414 pos = ngx_pnalloc(r->pool, len);
416 if (pos == NULL || tmp == NULL) {
420 start = pos;
427 *pos++ = status;
430 *pos++ = ngx_http_v2_inc_indexed(NGX_HTTP_V2_STATUS_INDEX);
431 *pos++ = NGX_HTTP_V2_ENCODE_RAW | 3;
432 pos
666 ngx_http_v2_write_int(u_char *pos, ngx_uint_t prefix, ngx_uint_t value) argument
688 ngx_http_v2_create_headers_frame(ngx_http_request_t *r, u_char *pos, u_char *end) argument
[all...]
H A Dngx_http_v2_table.c204 h2c->hpack.pos = h2c->hpack.storage;
223 avail = h2c->hpack.storage + NGX_HTTP_V2_TABLE_SIZE - h2c->hpack.pos;
226 entry->name.data = h2c->hpack.pos;
229 h2c->hpack.pos = ngx_cpymem(h2c->hpack.pos, header->name.data,
232 ngx_memcpy(h2c->hpack.pos, header->name.data, avail);
233 h2c->hpack.pos = ngx_cpymem(h2c->hpack.storage,
242 entry->value.data = h2c->hpack.pos;
245 h2c->hpack.pos = ngx_cpymem(h2c->hpack.pos, heade
[all...]
/tldk/lib/libtle_l4p/
H A Dtcp_ofo.h59 _ofo_remove(struct ofo *ofo, uint32_t pos, uint32_t num) argument
63 n = ofo->nb_elem - num - pos;
65 _ofodb_move(&ofo->db[pos + i], &ofo->db[pos + num + i]);
81 _ofo_insert_mbuf(struct ofo* ofo, uint32_t pos, union seqlen* sl, argument
86 struct ofodb* db = ofo->db + pos;
93 if (!is_compact && pos < ofo->nb_elem - 1)
94 end = ofo->db[pos + 1].sl.seq;
116 _ofo_insert_new(struct ofo *ofo, uint32_t pos, union seqlen *sl, argument
131 for (i = n; i != pos;
143 _ofo_insert_right(struct ofo *ofo, uint32_t pos, union seqlen *sl, struct rte_mbuf *mb[], uint32_t num, bool is_compact) argument
[all...]
/tldk/app/nginx/src/os/win32/
H A Dngx_wsasend_chain.c70 size = cl->buf->last - cl->buf->pos;
76 if (prev == cl->buf->pos) {
77 wsabuf->len += cl->buf->last - cl->buf->pos;
85 wsabuf->buf = (char *) cl->buf->pos;
86 wsabuf->len = cl->buf->last - cl->buf->pos;
189 size = cl->buf->last - cl->buf->pos;
195 if (prev == cl->buf->pos) {
196 wsabuf->len += cl->buf->last - cl->buf->pos;
204 wsabuf->buf = (char *) cl->buf->pos;
205 wsabuf->len = cl->buf->last - cl->buf->pos;
[all...]
/tldk/app/nginx/src/http/
H A Dngx_http_request_body.c88 preread = r->header_in->last - r->header_in->pos;
106 r->request_length += preread - (r->header_in->last - r->header_in->pos);
121 b->start = r->header_in->pos;
122 b->pos = r->header_in->pos;
285 if (rb->buf->pos != rb->buf->last) {
325 rb->buf->pos = rb->buf->start;
330 rest = rb->rest - (rb->buf->last - rb->buf->pos);
390 && rb->buf->pos != rb->buf->last)
497 cl->buf->pos
[all...]
H A Dngx_http_write_filter_module.c75 "write old buf t:%d f:%d %p, pos %p, size: %z "
78 cl->buf->start, cl->buf->pos,
79 cl->buf->last - cl->buf->pos,
92 cl->buf->pos,
131 "write new buf t:%d f:%d %p, pos %p, size: %z "
134 cl->buf->start, cl->buf->pos,
135 cl->buf->last - cl->buf->pos,
148 cl->buf->pos,
H A Dngx_http_script.c93 e.pos = value->data;
525 e.pos = value->data;
532 return e.pos;
745 p = e->pos;
748 e->pos = ngx_copy(p, e->ip + sizeof(ngx_http_script_copy_code_t),
756 "http script copy: \"%*s\"", e->pos - p, p);
850 p = e->pos;
851 e->pos = ngx_copy(p, value->data, value->len);
855 "http script var: \"%*s\"", e->pos - p, p);
901 e->args = e->pos;
1246 u_char *p, *pos; local
[all...]
/tldk/app/nginx/src/os/unix/
H A Dngx_writev_chain.c70 cl->buf->pos,
139 in->buf->pos,
150 size = in->buf->last - in->buf->pos;
156 if (prev == in->buf->pos) {
166 iov->iov_base = (void *) in->buf->pos;
170 prev = in->buf->pos + size;
H A Dngx_solaris_sendfilev_chain.c100 size = cl->buf->last - cl->buf->pos;
106 if (prev == cl->buf->pos) {
118 sfv->sfv_off = (off_t) (uintptr_t) cl->buf->pos;
122 prev = cl->buf->pos + (size_t) size;
H A Dngx_udp_sendmsg_chain.c74 cl->buf->pos,
151 in->buf->pos,
162 size = in->buf->last - in->buf->pos;
164 if (prev == in->buf->pos) {
176 iov->iov_base = (void *) in->buf->pos;
180 prev = in->buf->pos + size;
/tldk/app/nginx/src/http/modules/
H A Dngx_http_fastcgi_module.c78 u_char *pos; member in struct:__anon128
828 u_char ch, *pos, *lowcase_key; local
1001 ngx_memcpy(b->pos, &ngx_http_fastcgi_request_start,
1005 (b->pos + sizeof(ngx_http_fastcgi_header_t)
1013 b->last = b->pos + sizeof(ngx_http_fastcgi_header_t)
1022 e.pos = b->last;
1055 *e.pos++ = (u_char) key_len;
1058 *e.pos++ = (u_char) (((val_len >> 24) & 0x7f) | 0x80);
1059 *e.pos++ = (u_char) ((val_len >> 16) & 0xff);
1060 *e.pos
1344 u_char *pos, *start; local
[all...]
H A Dngx_http_sub_filter_module.c59 u_char *pos; member in struct:__anon236
340 ctx->pos = ctx->buf->pos;
353 while (ctx->pos < ctx->buf->last) {
379 b->pos = ngx_pnalloc(r->pool, ctx->saved.len);
380 if (b->pos == NULL) {
384 ngx_memcpy(b->pos, ctx->saved.data, ctx->saved.len);
385 b->last = b->pos + ctx->saved.len;
405 b->pos = ctx->copy_start;
413 b->file_last = b->file_pos + (b->last - ctx->buf->pos);
[all...]
H A Dngx_http_chunked_filter_module.c174 b->pos = chunk;
193 b->pos = (u_char *) CRLF "0" CRLF CRLF;
194 b->last = b->pos + 7;
201 b->pos += 2;
215 b->pos = (u_char *) CRLF;
216 b->last = b->pos + 2;
H A Dngx_http_mp4_module.c782 mp4->moov_size += mp4->mvhd_atom_buf.last - mp4->mvhd_atom_buf.pos;
1084 atom->pos = ftyp_atom;
1155 atom->pos = mp4->moov_atom_header;
1251 atom->pos = atom_header;
1387 atom->pos = atom_header;
1421 atom->pos = atom_header;
1455 ngx_mp4_set_32value(atom->pos, trak->size);
1594 atom->pos = atom_header;
1621 atom->pos = atom_header;
1638 ngx_mp4_set_32value(atom->pos, tra
3068 uint32_t *pos, *end, entries; local
[all...]
H A Dngx_http_charset_filter_module.c627 b->shadow->pos = b->shadow->last;
630 if (b->pos) {
658 for (p = b->pos; p < last; p++) {
695 src = buf->pos;
705 len = src - buf->pos;
720 b->pos = buf->pos;
745 src = buf->pos;
765 dst = b->pos;
821 b->pos
[all...]
H A Dngx_http_ssi_filter_module.h42 u_char *pos; member in struct:__anon228
/tldk/app/nginx/src/stream/
H A Dngx_stream_ssl_preread_module.c20 u_char *pos; member in struct:__anon463
32 ngx_stream_ssl_preread_ctx_t *ctx, u_char *pos, u_char *last);
131 ctx->pos = c->buffer->pos;
134 p = ctx->pos;
168 ctx->pos = p;
176 u_char *pos, u_char *last)
208 n = ngx_min((size_t) (last - pos), size);
211 dst = ngx_cpymem(dst, pos, n);
214 pos
175 ngx_stream_ssl_preread_parse_record(ngx_stream_ssl_preread_ctx_t *ctx, u_char *pos, u_char *last) argument
[all...]
H A Dngx_stream_write_filter_module.c99 "write old buf t:%d f:%d %p, pos %p, size: %z "
102 cl->buf->start, cl->buf->pos,
103 cl->buf->last - cl->buf->pos,
116 cl->buf->pos,
155 "write new buf t:%d f:%d %p, pos %p, size: %z "
158 cl->buf->start, cl->buf->pos,
159 cl->buf->last - cl->buf->pos,
172 cl->buf->pos,
H A Dngx_stream_script.c94 e.pos = value->data;
429 e.pos = value->data;
436 return e.pos;
637 p = e->pos;
640 e->pos = ngx_copy(p, e->ip + sizeof(ngx_stream_script_copy_code_t),
648 "stream script copy: \"%*s\"", e->pos - p, p);
744 p = e->pos;
745 e->pos = ngx_copy(p, value->data, value->len);
749 "stream script var: \"%*s\"", e->pos - p, p);
822 u_char *p, *pos; local
[all...]
/tldk/app/nginx/src/core/
H A Dngx_output_chain.c116 ctx->in->buf->pos,
346 buf->pos += (ssize_t) (NGX_SENDFILE_LIMIT - buf->file_pos);
347 b->last = buf->pos;
487 b->pos = b->start;
513 size = ngx_min(size, dst->end - dst->pos);
526 ngx_memcpy(dst->pos, src->pos, (size_t) size);
527 src->pos += (size_t) size;
548 if (src->pos == src->last) {
570 n = ngx_file_aio_read(src->file, dst->pos, (size_
[all...]
H A Dngx_buf.c38 b->pos = b->start;
102 b->pos = p;
215 cl->buf->pos = cl->buf->start;
291 in->buf->pos = in->buf->last;
302 in->buf->pos += (size_t) sent;
/tldk/app/nginx/src/event/
H A Dngx_event_pipe.c386 "%p, pos %p, size: %z "
390 cl->buf->start, cl->buf->pos,
391 cl->buf->last - cl->buf->pos,
399 "%p, pos %p, size: %z "
403 cl->buf->start, cl->buf->pos,
404 cl->buf->last - cl->buf->pos,
412 "%p, pos %p, size: %z "
416 cl->buf->start, cl->buf->pos,
417 cl->buf->last - cl->buf->pos,
425 "%p, pos
[all...]
/tldk/app/nginx/src/mail/
H A Dngx_mail_parse.c31 for (p = s->buffer->pos; p < s->buffer->last; p++) {
183 s->buffer->pos = p;
190 s->buffer->pos = p + 1;
237 for (p = s->buffer->pos; p < s->buffer->last; p++) {
524 s->buffer->pos = p + 1;
583 s->buffer->pos = p;
590 s->buffer->pos = p + 1;
638 for (p = s->buffer->pos; p < s->buffer->last; p++) {
816 s->buffer->pos = p;
823 s->buffer->pos
[all...]
H A Dngx_mail_proxy_module.c309 s->proxy->buffer->pos = s->proxy->buffer->start;
443 s->proxy->buffer->pos = s->proxy->buffer->start;
651 b->pos = b->start;
670 if (s->buffer->pos == s->buffer->last) {
695 s->proxy->buffer->pos = s->proxy->buffer->start;
742 if (b->last - b->pos < 4) {
751 b->pos);
758 p = b->pos;
863 s->out.len = b->last - b->pos;
864 s->out.data = b->pos;
[all...]

Completed in 29 milliseconds

123