Lines Matching refs:buf

61     const char *name, u_char *buf, size_t size);
335 nxt_buf_mem_used_size(&msg->buf->mem), msg->buf->mem.pos); in nxt_main_data_handler()
412 b = nxt_buf_chk_make_plain(process->mem_pool, msg->buf, msg->size); in nxt_main_start_process_handler()
617 nxt_buf_t *buf; in nxt_main_process_whoami_handler() local
625 if (nxt_slow_path(msg->buf == NULL in nxt_main_process_whoami_handler()
626 || nxt_buf_used_size(msg->buf) != sizeof(nxt_pid_t))) in nxt_main_process_whoami_handler()
632 nxt_memcpy(&ppid, msg->buf->mem.pos, sizeof(nxt_pid_t)); in nxt_main_process_whoami_handler()
677 buf = nxt_buf_mem_alloc(task->thread->engine->mem_pool, in nxt_main_process_whoami_handler()
679 if (nxt_slow_path(buf == NULL)) { in nxt_main_process_whoami_handler()
683 buf->mem.free = nxt_cpymem(buf->mem.free, &pid, sizeof(nxt_pid_t)); in nxt_main_process_whoami_handler()
686 msg->port_msg.stream, 0, buf); in nxt_main_process_whoami_handler()
1050 b = msg->buf; in nxt_main_port_socket_handler()
1310 b = msg->buf; in nxt_main_port_modules_handler()
1482 if (nxt_buf_mem_used_size(&msg->buf->mem) != sizeof(size_t)) { in nxt_main_port_conf_store_handler()
1484 (int) nxt_buf_mem_used_size(&msg->buf->mem)); in nxt_main_port_conf_store_handler()
1488 nxt_memcpy(&size, msg->buf->mem.pos, sizeof(size_t)); in nxt_main_port_conf_store_handler()
1537 u_char *buf, size_t size) in nxt_main_file_store() argument
1553 n = nxt_file_write(&file, buf, size, 0); in nxt_main_file_store()
1577 path = msg->buf->mem.pos; in nxt_main_port_access_log_handler()