Home
last modified time | relevance | path

Searched refs:sptr (Results 1 – 6 of 6) sorted by relevance

/unit/src/
H A Dnxt_unit_sptr.h25 nxt_unit_sptr_set(nxt_unit_sptr_t *sptr, void *ptr) in nxt_unit_sptr_set() argument
27 sptr->offset = (uint8_t *) ptr - sptr->base; in nxt_unit_sptr_set()
32 nxt_unit_sptr_get(nxt_unit_sptr_t *sptr) in nxt_unit_sptr_get() argument
34 return sptr->base + sptr->offset; in nxt_unit_sptr_get()
/unit/go/
H A Dunit.go80 func GoStringN(sptr *C.nxt_unit_sptr_t, l C.int) string {
81 p := unsafe.Pointer(sptr)
/unit/src/python/
H A Dnxt_python_wsgi.c65 nxt_unit_sptr_t *sptr, uint32_t size);
693 nxt_unit_sptr_t *sptr, uint32_t size) in nxt_python_add_sptr() argument
698 src = nxt_unit_sptr_get(sptr); in nxt_python_add_sptr()
H A Dnxt_python_asgi.c31 static PyObject *nxt_py_asgi_create_address(nxt_unit_sptr_t *sptr, uint8_t len,
737 nxt_py_asgi_create_address(nxt_unit_sptr_t *sptr, uint8_t len, uint16_t port) in nxt_py_asgi_create_address() argument
747 p = nxt_unit_sptr_get(sptr); in nxt_py_asgi_create_address()
/unit/src/perl/
H A Dnxt_perl_psgi.c65 const char *name, uint32_t name_len, nxt_unit_sptr_t *sptr, uint32_t len);
717 const char *name, uint32_t name_len, nxt_unit_sptr_t *sptr, uint32_t len) in nxt_perl_psgi_add_sptr() argument
720 nxt_unit_sptr_get(sptr), len); in nxt_perl_psgi_add_sptr()
/unit/src/ruby/
H A Dnxt_ruby.c60 nxt_unit_sptr_t *sptr, uint32_t len);
821 nxt_unit_sptr_t *sptr, uint32_t len) in nxt_ruby_add_sptr() argument
825 str = nxt_unit_sptr_get(sptr); in nxt_ruby_add_sptr()