Searched defs:cb (Results 1 - 7 of 7) sorted by last modified time
/system/core/init/ |
H A D | init.c | 890 union selinux_callback cb; local 891 cb.func_log = klog_write; 892 selinux_set_callback(SELINUX_CB_LOG, cb); 894 cb.func_audit = audit_callback; 895 selinux_set_callback(SELINUX_CB_AUDIT, cb);
|
/system/core/libnl_2/ |
H A D | handlers.c | 26 struct nl_cb *cb; local 28 cb = (struct nl_cb *) malloc(sizeof(struct nl_cb)); 29 if (cb == NULL) 31 memset(cb, 0, sizeof(*cb)); 33 return nl_cb_get(cb); 57 int nl_cb_set(struct nl_cb *cb, enum nl_cb_type type, enum nl_cb_kind kind, \ argument 60 cb->cb_set[type] = func; 61 cb->cb_args[type] = arg; 68 int nl_cb_err(struct nl_cb *cb, enu argument 77 nl_cb_get(struct nl_cb *cb) argument 83 nl_cb_put(struct nl_cb *cb) argument [all...] |
H A D | netlink.c | 105 int nl_recvmsgs(struct nl_sock *sk, struct nl_cb *cb) argument 147 cb_rc = cb->cb_err(&nla, nlme, cb->cb_err_arg); 162 if (cb->cb_set[i]) { 166 cb_rc = cb->cb_set[i](msg, cb->cb_args[i]); 172 cb_rc = cb->cb_set[i](msg, cb->cb_args[i]); 178 cb_rc = cb->cb_set[i](msg, cb [all...] |
H A D | socket.c | 38 struct nl_cb *cb; local 72 struct nl_cb *cb; local 77 cb = nl_cb_alloc(NL_CB_DEFAULT); 78 if (!cb) 80 sk->s_cb = cb; 88 struct nl_sock *nl_socket_alloc_cb(struct nl_cb *cb) argument 95 sk->s_cb = cb; 96 nl_cb_get(cb); 131 void nl_socket_set_cb(struct nl_sock *sk, struct nl_cb *cb) argument 134 sk->s_cb = cb; [all...] |
/system/core/libpixelflinger/ |
H A D | raster.cpp | 59 surface_t* cb = &(c->state.buffers.color); local 62 if (uint32_t(xs) > cb->width) 64 if (uint32_t(ys) > cb->height) 66 if (uint32_t(xs + width) > cb->width) 68 if (uint32_t(ys + height) > cb->height) 105 const GGLFormat* fp = &(c->formats[cb->format]); 106 uint8_t* src = reinterpret_cast<uint8_t*>(cb->data) 107 + (xs + (cb->stride * ys)) * fp->size; 108 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) 109 + (xd + (cb [all...] |
H A D | scanline.cpp | 858 surface_t* cb = &(c->state.buffers.depth); local 859 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y)); 1418 const surface_t* cb = &(c->state.buffers.color); local 1420 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); 2075 surface_t* cb = &(c->state.buffers.color); local 2080 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); 2114 surface_t* cb local 2164 surface_t* cb = &(c->state.buffers.color); local 2230 surface_t* cb = &(c->state.buffers.color); local 2250 surface_t* cb = &(c->state.buffers.color); local 2261 surface_t* cb = &(c->state.buffers.color); local 2272 surface_t* cb = &(c->state.buffers.color); local 2283 surface_t* cb = &(c->state.buffers.color); local 2296 surface_t* cb = &(c->state.buffers.color); local 2321 surface_t* cb = &(c->state.buffers.color); local [all...] |
H A D | trap.cpp | 454 surface_t* cb = &(c->state.buffers.color); local 455 const GGLFormat* fp = &(c->formats[cb->format]); 456 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) + 457 (x + (cb->stride * y)) * fp->size;
|
Completed in 46 milliseconds