Home
last modified time | relevance | path

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

/unit/src/
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.h512 void *nxt_event_engine_mem_alloc(nxt_event_engine_t *engine, uint8_t *hint,
514 void nxt_event_engine_mem_free(nxt_event_engine_t *engine, uint8_t hint,
H A Dnxt_sockaddr.c23 uint8_t hint; in nxt_sockaddr_cache_alloc() local
26 hint = NXT_EVENT_ENGINE_NO_MEM_HINT; in nxt_sockaddr_cache_alloc()
29 sa = nxt_event_engine_mem_alloc(engine, &hint, size); in nxt_sockaddr_cache_alloc()
35 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);