/external/qemu/ |
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/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 | 293 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), 300 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx)) 308 int (*cb)(struct wpa_authenticator *sm, void *ctx); member in struct:wpa_auth_iface_iter_data 318 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) 326 void *ctx, int (*cb)(struct wpa_authenticator *sm, void *ctx), 334 data.cb = cb; 514 struct wpa_auth_callbacks cb; local 523 os_memset(&cb, 0, sizeof(cb)); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
gas_query.c | 40 void (*cb)(void *ctx, const u8 *dst, u8 dialog_token, member in struct:gas_query_pending 89 query->cb(query->ctx, query->addr, query->dialog_token, result, 455 * @cb: Callback function for reporting GAS query result and response 456 * @ctx: Context pointer to use with the @cb call 461 void (*cb)(void *ctx, const u8 *dst, u8 dialog_token, 491 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;
|
/hardware/ti/wlan/mac80211/ti-utils/ |
calibrator.c | 211 struct nl_cb *cb, 282 struct nl_cb *cb; local 423 cb = nl_cb_alloc(calibrator_debug ? NL_CB_DEBUG : NL_CB_DEFAULT); 424 if (!cb) { 444 err = cmd->handler(state, cb, msg, argc, argv); 458 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err); 459 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err); 460 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err); 463 nl_recvmsgs(state->nl_sock, cb); 466 nl_cb_put(cb); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/ |
ASCIICharsetEncoderTest.java | 102 CharBuffer cb = CharBuffer.wrap(chars); local 103 ByteBuffer bb = encoder.encode(cb); 107 CharBuffer cb = CharBuffer.wrap("\u0080"); local 109 encoder.encode(cb); 114 cb = CharBuffer.wrap("\ud800"); 116 encoder.encode(cb); 122 cb = CharBuffer.wrap("A"); 124 encoder.encode(cb, bb, false); 126 encoder.encode(cb);
|
CharsetDecoderTest.java | 259 CharBuffer cb = decoder.decode(ByteBuffer.wrap(bytes)); local 260 fail("No exception thrown on " + Arrays.toString(bytes) + " '" + cb + "'"); 272 CharBuffer cb = decoder.decode(bb); local 273 fail("No exception thrown on " + Arrays.toString(bytes) + " '" + cb + "'");
|
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetEncoder.java | 183 CharBuffer cb; local 185 cb = ((CharBuffer) sequence).duplicate(); 187 cb = CharBuffer.wrap(sequence); 202 encode(cb);
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
FrameBuffer.h | 30 ColorBufferPtr cb; member in struct:ColorBufferRef
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuPresenter.java | 724 final MenuPresenter.Callback cb = getCallback(); local 725 return cb != null ? cb.onOpenSubMenu(subMenu) : false; 733 final MenuPresenter.Callback cb = getCallback(); local 734 if (cb != null) { 735 cb.onCloseMenu(menu, allMenusAreClosing);
|
/libcore/libart/src/main/java/java/lang/ |
String.java | 357 CharBuffer cb = charset.decode(ByteBuffer.wrap(data, offset, byteCount)); local 359 this.count = cb.length(); 361 // We could use cb.array() directly, but that would mean we'd have to trust 367 System.arraycopy(cb.array(), 0, value, 0, count); [all...] |
/libcore/libdvm/src/main/java/java/lang/ |
String.java | 369 CharBuffer cb = charset.decode(ByteBuffer.wrap(data, offset, byteCount)); local 371 this.count = cb.length(); 373 // We could use cb.array() directly, but that would mean we'd have to trust 379 System.arraycopy(cb.array(), 0, value, 0, count); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SystemUIModes.java | 103 ActionMode.Callback cb = new MyActionModeCallback(); local 104 mActionMode = startActionMode(cb);
|
/device/asus/flo/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 1083 qcamera_callback_argm_t *cb = local [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_stream.c | 169 /* check if has CB */ 171 if(NULL != my_obj->buf_cb[i].cb) { 208 /* this Cb will only received in active_stream_on state 235 if(NULL != my_obj->buf_cb[i].cb) { 236 /* for every CB, add ref count */ 261 /* this CB will only received in active_stream_off state 322 if(NULL != my_obj->buf_cb[i].cb) { 324 /* if <0, means infinite CB 325 * if >0, means CB for certain times 326 * both case we need to call CB */ 607 mm_stream_data_cb_t cb; local [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/ |
Sasl3Test.java | 315 TextOutputCallback[] cb = { new TextOutputCallback( local 318 hnd.handle(cb);
|
/external/chromium/net/disk_cache/ |
entry_unittest.cc | 1156 TestCompletionCallback cb; local 1291 TestCompletionCallback cb; local 1310 TestCompletionCallback cb; local 1407 TestCompletionCallback cb; local 1553 TestCompletionCallback cb; local 1786 TestCompletionCallback cb; local [all...] |
/external/chromium/third_party/libevent/ |
event.c | 544 void (*cb)(int, short, void *); member in struct:event_once 555 (*eonce->cb)(fd, events, eonce->arg); 583 eonce->cb = callback;
|
/external/chromium_org/ash/drag_drop/ |
drag_drop_controller_unittest.cc | 656 ui::Clipboard* cb = ui::Clipboard::GetForCurrentThread(); local 660 ui::ScopedClipboardWriter scw(cb, ui::Clipboard::BUFFER_STANDARD); 663 EXPECT_TRUE(cb->IsFormatAvailable(ui::Clipboard::GetPlainTextFormatType(), 684 EXPECT_TRUE(cb->IsFormatAvailable(ui::Clipboard::GetPlainTextFormatType(), 686 cb->ReadAsciiText(ui::Clipboard::BUFFER_STANDARD, &result); [all...] |
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
goobsdiff.c | 345 u_char *cb, *db, *eb; local 376 if(((cb=malloc(newsize+1))==NULL) || 478 offtout(lenf, cb + cblen); 481 offtout((scan - lenb) - (lastscan + lenf), cb + cblen); 484 offtout((pos - lenb) - (lastpos + lenf), cb + cblen); 493 header[88] = make_small(&cb, &cblen); 497 if (fwrite(cb, 1, cblen, pf) != cblen) 517 free(cb);
|
/external/chromium_org/content/browser/renderer_host/p2p/ |
socket_host_test_utils.h | 127 net::CompletionCallback cb = read_callback_; local 129 cb.Run(result);
|