Searched defs:cb (Results 1 - 6 of 6) sorted by relevance
/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 | 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);
|
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...] |
/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 | 837 surface_t* cb = &(c->state.buffers.depth); local 838 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y)); 1397 const surface_t* cb = &(c->state.buffers.color); local 1399 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); 2054 surface_t* cb = &(c->state.buffers.color); local 2059 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); 2093 surface_t* cb local 2143 surface_t* cb = &(c->state.buffers.color); local 2205 surface_t* cb = &(c->state.buffers.color); local 2225 surface_t* cb = &(c->state.buffers.color); local 2236 surface_t* cb = &(c->state.buffers.color); local 2247 surface_t* cb = &(c->state.buffers.color); local 2258 surface_t* cb = &(c->state.buffers.color); local 2271 surface_t* cb = &(c->state.buffers.color); local 2296 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 79 milliseconds