Searched defs:cb (Results 1 - 7 of 7) sorted by relevance

/system/core/libnl_2/
H A Dhandlers.c26 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 Dsocket.c38 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...]
H A Dnetlink.c105 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...]
/system/core/libpixelflinger/
H A Draster.cpp59 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 Dscanline.cpp858 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 Dtrap.cpp454 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;
/system/core/init/
H A Dinit.c890 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);

Completed in 60 milliseconds