Home
last modified time | relevance | path

Searched refs:mem (Results 26 – 32 of 32) sorted by relevance

12

/unit/src/
H A Dnxt_http_static.c874 size = nxt_buf_mem_size(&b->mem); in nxt_http_static_buf_completion()
878 n = nxt_file_read(fb->file, b->mem.start, size, fb->file_pos); in nxt_http_static_buf_completion()
898 b->mem.pos = b->mem.start; in nxt_http_static_buf_completion()
899 b->mem.free = b->mem.pos + n; in nxt_http_static_buf_completion()
H A Dnxt_unit.c430 void *mem; in nxt_unit_init() local
444 mem = MAP_FAILED; in nxt_unit_init()
517 nxt_port_queue_init(mem); in nxt_unit_init()
571 if (mem != MAP_FAILED) { in nxt_unit_init()
1184 void *mem; in nxt_unit_process_new_port() local
3777 mm->hdr = mem; in nxt_unit_new_mmap()
3778 hdr = mem; in nxt_unit_new_mmap()
4031 hdr = mem; in nxt_unit_incoming_mmap()
5107 void *mem; in nxt_unit_ctx_alloc() local
5153 nxt_port_queue_init(mem); in nxt_unit_ctx_alloc()
[all …]
H A Dnxt_router_access_log.c244 *b->mem.free++ = '\0'; in nxt_router_access_log_open()
392 *b->mem.free++ = '\0'; in nxt_router_access_log_reopen_handler()
H A Dnxt_openssl.c1341 size = b->mem.end - b->mem.free;
1343 ret = SSL_read(tls->session, b->mem.free, size);
1348 c->socket.fd, b->mem.free, size, ret, err);
1359 c->socket.fd, b->mem.free, size);
H A Dnxt_process.c782 buf->mem.free = nxt_cpymem(buf->mem.free, &nxt_ppid, sizeof(nxt_pid_t)); in nxt_process_whoami()
826 nxt_memcpy(&pid, buf->mem.pos, sizeof(nxt_pid_t)); in nxt_process_whoami_ok()
H A Dnxt_application.c290 p = b->mem.free; in nxt_discovery_modules()
291 end = b->mem.end; in nxt_discovery_modules()
324 b->mem.free = p; in nxt_discovery_modules()
/unit/src/wasm-wasi-component/src/
H A Dlib.rs6 use std::mem::MaybeUninit;

12