/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
SourceResourceRunner.java | 42 private final ResourceCallback cb; field in class:SourceResourceRunner 51 ResourceCallback cb) { 66 this.cb = cb; 112 cb.onResourceReady(transcoded); 114 cb.onException(null); 118 cb.onException(e);
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
ViewTarget.java | 51 public void getSize(SizeReadyCallback cb) { 52 sizeDeterminer.getSize(cb); 89 for (SizeReadyCallback cb : cbs) { 90 cb.onSizeReady(width, height); 124 public void getSize(SizeReadyCallback cb) { 127 cb.onSizeReady(view.getWidth(), view.getHeight()); 129 cb.onSizeReady(layoutParams.width, layoutParams.height); 141 cb.onSizeReady(display.getWidth(), display.getHeight()); 143 cbs.add(cb);
|
/external/javassist/src/main/javassist/expr/ |
Expr.java | 100 CtBehavior[] cb = thisClass.getDeclaredBehaviors(); local 101 for (int i = cb.length - 1; i >= 0; --i) 102 if (cb[i].getMethodInfo2() == mi) 103 return cb[i]; 114 for (int i = cb.length - 1; i >= 0; --i) { 115 if (thisMethod.getName().equals(cb[i].getMethodInfo2().getName()) 117 .equals(cb[i].getMethodInfo2().getDescriptor())) { 118 return cb[i];
|
/external/jpeg/ |
jdcolor.c | 25 int * Cb_b_tab; /* => table for Cb to B conversion */ 27 INT32 * Cb_g_tab; /* => table for Cb to G conversion */ 56 * YCbCr is defined per CCIR 601-1, except that Cb and Cr are 60 * G = Y - 0.34414 * Cb - 0.71414 * Cr 61 * B = Y + 1.77200 * Cb 62 * where Cb and Cr represent the incoming values less CENTERJSAMPLE. 72 * by precalculating the constants times Cb and Cr for all possible values. 77 * The Cr=>R and Cb=>B values can be rounded to integers in advance; the 114 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */ 118 /* Cb=>B value is nearest int to 1.77200 * x * 146 register int y, cb, cr; local 187 register int y, cb, cr; local 228 register int y, cb, cr; local 300 register int y, cb, cr; local 696 register int y, cb, cr; local [all...] |
jdmerge.c | 18 * G = Y + K2 * Cb + K3 * Cr 19 * B = Y + K4 * Cb 72 int * Cb_b_tab; /* => table for Cb to B conversion */ 74 INT32 * Cb_g_tab; /* => table for Cb to G conversion */ 123 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */ 127 /* Cb=>B value is nearest int to 1.77200 * x */ 132 /* Cb=>G value is scaled-up -0.34414 * x */ 256 int cb, cr; local 275 cb = GETJSAMPLE(*inptr1++); 278 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS) 315 int cb, cr; local 379 int cb, cr; local 453 int cb, cr; local 529 int cb, cr; local 614 int cb, cr; local [all...] |
/external/libnl/lib/ |
cache.c | 468 struct nl_cb *cb; local 477 cb = nl_cb_clone(sk->s_cb); 478 if (cb == NULL) 481 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, update_msg_parser, &x); 483 err = nl_recvmsgs(sk, cb); 489 nl_cb_put(cb); 520 struct nl_msgtype *type, change_func_t cb, void *data) 531 if (cb) 532 cb(cache, old, NL_ACT_DEL, data); 539 if (old == NULL && cb) [all...] |
socket.c | 90 static struct nl_sock *__alloc_socket(struct nl_cb *cb) 99 sk->s_cb = cb; 119 struct nl_cb *cb; local 121 cb = nl_cb_alloc(default_cb); 122 if (!cb) 125 return __alloc_socket(cb); 130 * @arg cb Callback handler 137 struct nl_sock *nl_socket_alloc_cb(struct nl_cb *cb) 139 if (cb == NULL) 142 return __alloc_socket(nl_cb_get(cb)); [all...] |
/external/llvm/lib/Target/R600/InstPrinter/ |
AMDGPUInstPrinter.cpp | 282 int cb = sel >> 12; local 284 O << cb << "[" << sel << "]"; 371 O << "CB" << KCacheBank <<":";
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_inlines.h | 467 struct pipe_constant_buffer cb; local 468 cb.buffer = buf; 469 cb.buffer_offset = 0; 470 cb.buffer_size = buf->width0; 471 cb.user_buffer = NULL; 472 pipe->set_constant_buffer(pipe, shader, index, &cb);
|
/external/nfacct/ |
nfacct.c | 397 struct nl_cb *cb; local 447 cb = nl_cb_alloc(NL_CB_DEFAULT); 448 if (!cb) 451 if (nl_cb_set(cb, NL_CB_MSG_IN, 456 nl_socket_set_cb(handle,cb);
|
/external/opencv/cvaux/src/ |
cvbgfg_codebook.cpp | 142 CvBGCodeBookElem** cb = model->cbmap + image->cols*(y + roi.y) + roi.x; local 144 for( x = 0; x < roi.width; x++, p += 3, cb++ ) 157 for( e = *cb; e != 0; e = e->next ) 214 e->next = *cb; 215 *cb = e; 265 CvBGCodeBookElem** cb = model->cbmap + image->cols*(y + roi.y) + roi.x; local 267 for( x = 0; x < roi.width; x++, p += 3, cb++ ) 275 for( e = *cb; e != 0; e = e->next ) 327 CvBGCodeBookElem** cb = model->cbmap + model->size.width*(y + roi.y) + roi.x; local 329 for( x = 0; x < roi.width; x++, cb++ [all...] |
/external/openssl/crypto/des/ |
des_opts.c | 399 #define print_name(name) fprintf(stderr,"Doing %s %ld times\n",name,cb); 405 for (count=0,run=1; COND(cb); count++) \ 412 tm[index]=((double)COUNT(cb))/tm[index]; 431 long ca,cb,cc,cd,ce; local 464 cb=count*3;
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
fpdfapi_jdcolor.c | 24 int * Cb_b_tab; /* => table for Cb to B conversion */
26 INT32 * Cb_g_tab; /* => table for Cb to G conversion */
35 * YCbCr is defined per CCIR 601-1, except that Cb and Cr are
39 * G = Y - 0.34414 * Cb - 0.71414 * Cr
40 * B = Y + 1.77200 * Cb
41 * where Cb and Cr represent the incoming values less CENTERJSAMPLE.
51 * by precalculating the constants times Cb and Cr for all possible values.
56 * The Cr=>R and Cb=>B values can be rounded to integers in advance; the
93 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */
97 /* Cb=>B value is nearest int to 1.77200 * x */ 126 register int y, cb, cr; local 251 register int y, cb, cr; local [all...] |
fpdfapi_jdmerge.c | 19 * G = Y + K2 * Cb + K3 * Cr
20 * B = Y + K4 * Cb
58 int * Cb_b_tab; /* => table for Cb to B conversion */
60 INT32 * Cb_g_tab; /* => table for Cb to G conversion */
109 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */
113 /* Cb=>B value is nearest int to 1.77200 * x */
118 /* Cb=>G value is scaled-up -0.34414 * x */
236 int cb, cr;
local 255 cb = GETJSAMPLE(*inptr1++);
258 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); 298 int cb, cr; local [all...] |
/external/qemu/android/ |
charpipe.c | 39 CBuffer cb[1]; member in struct:BipBuffer 59 cbuffer_reset( bip->cb, bip->buff, sizeof(bip->buff) ); 138 int len2 = cbuffer_write( bip->cb, buf, len ); 172 size = cbuffer_read_avail(bip->cb); 191 avail = cbuffer_read_peek( bip->cb, &base ); 198 cbuffer_read_step( bip->cb, avail ); 328 int len2 = cbuffer_write( bip->cb, buf, len ); 362 avail = cbuffer_read_peek( bip->cb, &base ); 378 cbuffer_read_step( bip->cb, size ); 448 CharBuffer* cb = _s_charbuffers local [all...] |
/external/qemu/distrib/jpeg-6b/ |
jdcolor.c | 23 int * Cb_b_tab; /* => table for Cb to B conversion */ 25 INT32 * Cb_g_tab; /* => table for Cb to G conversion */ 54 * YCbCr is defined per CCIR 601-1, except that Cb and Cr are 58 * G = Y - 0.34414 * Cb - 0.71414 * Cr 59 * B = Y + 1.77200 * Cb 60 * where Cb and Cr represent the incoming values less CENTERJSAMPLE. 70 * by precalculating the constants times Cb and Cr for all possible values. 75 * The Cr=>R and Cb=>B values can be rounded to integers in advance; the 112 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */ 116 /* Cb=>B value is nearest int to 1.77200 * x * 144 register int y, cb, cr; local 185 register int y, cb, cr; local 226 register int y, cb, cr; local 298 register int y, cb, cr; local 694 register int y, cb, cr; local [all...] |
jdmerge.c | 18 * G = Y + K2 * Cb + K3 * Cr 19 * B = Y + K4 * Cb 72 int * Cb_b_tab; /* => table for Cb to B conversion */ 74 INT32 * Cb_g_tab; /* => table for Cb to G conversion */ 123 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */ 127 /* Cb=>B value is nearest int to 1.77200 * x */ 132 /* Cb=>G value is scaled-up -0.34414 * x */ 256 int cb, cr; local 275 cb = GETJSAMPLE(*inptr1++); 278 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS) 315 int cb, cr; local 379 int cb, cr; local 453 int cb, cr; local 529 int cb, cr; local 614 int cb, cr; local [all...] |
/external/qemu/include/qemu/ |
timer.h | 60 QEMUTimerCB *cb; member in struct:QEMUTimer 259 * @cb: the callback to call on notification 268 QEMUTimerListNotifyCB *cb, void *opaque); 353 * @cb: the callback to call when a notify is required 360 * list is modified. If @cb is specified as null, qemu_notify() 364 QEMUTimerListNotifyCB *cb, void *opaque); 409 * @cb: the callback to be called when the timer expires 420 QEMUTimerCB *cb, void *opaque); 426 * @cb: the callback to be called when the timer expires 439 QEMUTimerCB *cb, [all...] |
/external/svox/pico/lib/ |
picodbg.c | 341 char cb[MAX_CONTEXT_LEN + 1]; local 377 sprintf(cb, "%-10s", picodbg_fileTitle(file)); 378 strcat(ctxbuf, cb); 380 sprintf(cb, "(%d)", line); 381 strcat(ctxbuf, cb); 387 sprintf(cb, "%-18s", func); 388 strcat(ctxbuf, cb);
|
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_glue.c | 312 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), 319 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx)) 327 int (*cb)(struct wpa_authenticator *sm, void *ctx); member in struct:wpa_auth_iface_iter_data 337 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) 345 void *ctx, int (*cb)(struct wpa_authenticator *sm, void *ctx), 353 data.cb = cb; 533 struct wpa_auth_callbacks cb; local 542 os_memset(&cb, 0, sizeof(cb)); [all...] |
/external/wpa_supplicant_8/src/wps/ |
http_server.c | 30 void (*cb)(void *ctx, struct http_request *req); member in struct:http_server 51 srv->cb(srv->cb_ctx, req); 229 void (*cb)(void *ctx, 240 srv->cb = cb;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
gas_query.c | 46 void (*cb)(void *ctx, const u8 *dst, u8 dialog_token, member in struct:gas_query_pending 155 query->cb(query->ctx, query->addr, query->dialog_token, result, 637 * @cb: Callback function for reporting GAS query result and response 638 * @ctx: Context pointer to use with the @cb call 643 void (*cb)(void *ctx, const u8 *dst, u8 dialog_token, 674 query->cb = cb;
|
ibss_rsn.c | 341 static int auth_for_each_sta(void *ctx, int (*cb)(struct wpa_state_machine *sm, 351 if (peer->auth && cb(peer->auth, cb_ctx)) 410 struct wpa_auth_callbacks cb; local 423 os_memset(&cb, 0, sizeof(cb)); 424 cb.ctx = ibss_rsn; 425 cb.logger = auth_logger; 426 cb.set_eapol = auth_set_eapol; 427 cb.send_eapol = auth_send_eapol; 428 cb.get_psk = auth_get_psk [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Color.java | 134 final float cb = (V - b) / vtemp; local 137 H = cb - cg; 139 H = 2 + cr - cb;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
BatteryController.java | 65 public void addStateChangedCallback(BatteryStateChangeCallback cb) { 66 mChangeCallbacks.add(cb); 67 cb.onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); 70 public void removeStateChangedCallback(BatteryStateChangeCallback cb) { 71 mChangeCallbacks.remove(cb);
|