Home
last modified time | relevance | path

Searched refs:Pointer (Results 1 – 3 of 3) sorted by relevance

/unit/go/
H A Dunit.go30 return C.uintptr_t(uintptr(unsafe.Pointer(&buf[0])))
34 Data unsafe.Pointer
39 header := (*string_header)(unsafe.Pointer(&s))
50 Data unsafe.Pointer
62 Data: unsafe.Pointer(uintptr(buf.b)),
67 return *(*[]byte)(unsafe.Pointer(header))
70 func GoBytes(buf unsafe.Pointer, size C.int) []byte { argument
77 return *(*[]byte)(unsafe.Pointer(bytesHeader))
81 p := unsafe.Pointer(sptr)
84 return C.GoStringN((*C.char)(unsafe.Pointer(b)), l)
H A Dport.go143 func nxt_go_port_send(pid C.int, id C.int, buf unsafe.Pointer, buf_size C.int, argument
144 oob unsafe.Pointer, oob_size C.int) C.ssize_t { argument
171 func nxt_go_port_recv(pid C.int, id C.int, buf unsafe.Pointer, buf_size C.int, argument
172 oob unsafe.Pointer, oob_size *C.size_t) C.ssize_t { argument
H A Drequest.go95 f := uintptr(unsafe.Pointer(req)) + uintptr(C.NXT_FIELDS_OFFSET)
98 Data: unsafe.Pointer(f),
103 return *(*[]C.nxt_unit_field_t)(unsafe.Pointer(h))