Lines Matching refs:mem

225     size = b->mem.end - b->mem.free;  in nxt_fastcgi_request_create()
230 p = b->mem.free; in nxt_fastcgi_request_create()
239 b->mem.free = nxt_cpymem(p, nxt_fastcgi_params_record, 8); in nxt_fastcgi_request_create()
270 b->mem.free = nxt_cpymem(b->mem.free, param.buf, len); in nxt_fastcgi_request_create()
285 if (b->mem.end - b->mem.free >= 16) { in nxt_fastcgi_request_create()
289 nxt_thread_log_debug("\"%*s\"", b->mem.free - b->mem.pos, in nxt_fastcgi_request_create()
290 b->mem.pos); in nxt_fastcgi_request_create()
302 nxt_memzero(b->mem.free, size); in nxt_fastcgi_request_create()
303 b->mem.free += size; in nxt_fastcgi_request_create()
307 if (b->mem.end - b->mem.free < 16) { in nxt_fastcgi_request_create()
308 nxt_thread_log_debug("\"%*s\"", b->mem.free - b->mem.pos, b->mem.pos); in nxt_fastcgi_request_create()
320 p = nxt_cpymem(b->mem.free, nxt_fastcgi_params_record, 8); in nxt_fastcgi_request_create()
323 b->mem.free = nxt_cpymem(p, nxt_fastcgi_stdin_record, 8); in nxt_fastcgi_request_create()
325 nxt_thread_log_debug("\"%*s\"", b->mem.free - b->mem.pos, b->mem.pos); in nxt_fastcgi_request_create()
425 for (p = b->mem.free - 1; p >= b->mem.pos; p--) { in nxt_fastcgi_source_record_filter()
431 size = (p + 1) - b->mem.pos; in nxt_fastcgi_source_record_filter()
436 size, b->mem.pos); in nxt_fastcgi_source_record_filter()
481 ret = nxt_http_split_header_parse(&fs->u.header, &b->mem); in nxt_fastcgi_source_header_filter()
663 if (nxt_buf_mem_used_size(&b->mem) != 0) { in nxt_fastcgi_source_header_ready()