Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 5 of 5) sorted by relevance

/unit/src/
H A Dnxt_job_resolve.c19 struct addrinfo hint, *res, *r; in nxt_job_resolve() local
42 nxt_memzero(&hint, sizeof(struct addrinfo)); in nxt_job_resolve()
43 hint.ai_socktype = SOCK_STREAM; in nxt_job_resolve()
45 err = getaddrinfo((char *) host, NULL, &hint, &res); in nxt_job_resolve()
H A Dnxt_event_engine.c559 nxt_event_engine_mem_alloc(nxt_event_engine_t *engine, uint8_t *hint, in nxt_event_engine_mem_alloc() argument
569 n = *hint; in nxt_event_engine_mem_alloc()
611 *hint = (uint8_t) n; in nxt_event_engine_mem_alloc()
631 nxt_event_engine_mem_free(nxt_event_engine_t *engine, uint8_t hint, void *p, in nxt_event_engine_mem_free() argument
643 n = hint; in nxt_event_engine_mem_free()
683 uint8_t hint; in nxt_event_engine_buf_mem_alloc() local
685 hint = NXT_EVENT_ENGINE_NO_MEM_HINT; in nxt_event_engine_buf_mem_alloc()
687 b = nxt_event_engine_mem_alloc(engine, &hint, NXT_BUF_MEM_SIZE + size); in nxt_event_engine_buf_mem_alloc()
694 b->cache_hint = hint; in nxt_event_engine_buf_mem_alloc()
H A Dnxt_event_engine.h507 void *nxt_event_engine_mem_alloc(nxt_event_engine_t *engine, uint8_t *hint,
509 void nxt_event_engine_mem_free(nxt_event_engine_t *engine, uint8_t hint,
H A Dnxt_sockaddr.c27 uint8_t hint; in nxt_sockaddr_cache_alloc() local
30 hint = NXT_EVENT_ENGINE_NO_MEM_HINT; in nxt_sockaddr_cache_alloc()
33 sa = nxt_event_engine_mem_alloc(engine, &hint, size); in nxt_sockaddr_cache_alloc()
39 sa->cache_hint = hint; in nxt_sockaddr_cache_alloc()
/unit/src/nodejs/unit-http/
H A Dnxt_napi.h718 wrap(napi_value val, void *obj, napi_finalize fin_cb, void *hint = nullptr)
723 status = napi_wrap(env_, val, obj, fin_cb, hint, &res);