Searched refs:cb (Results 1 – 9 of 9) sorted by relevance
/system/core/libnl_2/ |
D | handlers.c | 26 struct nl_cb *cb; in nl_cb_alloc() local 28 cb = (struct nl_cb *) malloc(sizeof(struct nl_cb)); in nl_cb_alloc() 29 if (cb == NULL) in nl_cb_alloc() 31 memset(cb, 0, sizeof(*cb)); in nl_cb_alloc() 33 return nl_cb_get(cb); in nl_cb_alloc() 57 int nl_cb_set(struct nl_cb *cb, enum nl_cb_type type, enum nl_cb_kind kind, \ in nl_cb_set() argument 60 cb->cb_set[type] = func; in nl_cb_set() 61 cb->cb_args[type] = arg; in nl_cb_set() 68 int nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, \ in nl_cb_err() argument 71 cb->cb_err = func; in nl_cb_err() [all …]
|
D | socket.c | 38 struct nl_cb *cb; in _nl_socket_alloc() local 72 struct nl_cb *cb; in nl_socket_alloc() local 77 cb = nl_cb_alloc(NL_CB_DEFAULT); in nl_socket_alloc() 78 if (!cb) in nl_socket_alloc() 80 sk->s_cb = cb; in nl_socket_alloc() 88 struct nl_sock *nl_socket_alloc_cb(struct nl_cb *cb) in nl_socket_alloc_cb() argument 95 sk->s_cb = cb; in nl_socket_alloc_cb() 96 nl_cb_get(cb); in nl_socket_alloc_cb() 131 void nl_socket_set_cb(struct nl_sock *sk, struct nl_cb *cb) in nl_socket_set_cb() argument 134 sk->s_cb = cb; in nl_socket_set_cb() [all …]
|
D | netlink.c | 105 int nl_recvmsgs(struct nl_sock *sk, struct nl_cb *cb) in nl_recvmsgs() argument 147 cb_rc = cb->cb_err(&nla, nlme, cb->cb_err_arg); in nl_recvmsgs() 162 if (cb->cb_set[i]) { in nl_recvmsgs() 166 cb_rc = cb->cb_set[i](msg, cb->cb_args[i]); in nl_recvmsgs() 172 cb_rc = cb->cb_set[i](msg, cb->cb_args[i]); in nl_recvmsgs() 178 cb_rc = cb->cb_set[i](msg, cb->cb_args[i]); in nl_recvmsgs()
|
/system/core/libpixelflinger/ |
D | raster.cpp | 59 surface_t* cb = &(c->state.buffers.color); in ggl_copyPixels() local 62 if (uint32_t(xs) > cb->width) in ggl_copyPixels() 64 if (uint32_t(ys) > cb->height) in ggl_copyPixels() 66 if (uint32_t(xs + width) > cb->width) in ggl_copyPixels() 68 if (uint32_t(ys + height) > cb->height) in ggl_copyPixels() 105 const GGLFormat* fp = &(c->formats[cb->format]); in ggl_copyPixels() 106 uint8_t* src = reinterpret_cast<uint8_t*>(cb->data) in ggl_copyPixels() 107 + (xs + (cb->stride * ys)) * fp->size; in ggl_copyPixels() 108 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) in ggl_copyPixels() 109 + (xd + (cb->stride * yd)) * fp->size; in ggl_copyPixels() [all …]
|
D | scanline.cpp | 858 surface_t* cb = &(c->state.buffers.depth); in scanline() local 859 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y)); in scanline() 1418 const surface_t* cb = &(c->state.buffers.color); in dst_iterator16() local 1420 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); in dst_iterator16() 2075 surface_t* cb = &(c->state.buffers.color); in scanline_col32cb16blend() local 2080 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); in scanline_col32cb16blend() 2114 surface_t* cb = &(c->state.buffers.color); in scanline_t32cb16() local 2119 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); in scanline_t32cb16() 2164 surface_t* cb = &(c->state.buffers.color); in scanline_t32cb16blend() local 2165 uint16_t* dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); in scanline_t32cb16blend() [all …]
|
D | trap.cpp | 454 surface_t* cb = &(c->state.buffers.color); in scanline_set() local 455 const GGLFormat* fp = &(c->formats[cb->format]); in scanline_set() 456 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) + in scanline_set() 457 (x + (cb->stride * y)) * fp->size; in scanline_set()
|
/system/core/include/system/ |
D | graphics.h | 242 void *cb; member
|
/system/core/init/ |
D | init.c | 858 union selinux_callback cb; in main() local 859 cb.func_log = klog_write; in main() 860 selinux_set_callback(SELINUX_CB_LOG, cb); in main() 862 cb.func_audit = audit_callback; in main() 863 selinux_set_callback(SELINUX_CB_AUDIT, cb); in main()
|
/system/core/adb/ |
D | adb.c | 1066 startup.cb = sizeof(startup); in launch_server()
|