/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, 646 * @cb: Callback function for reporting GAS query result and response 647 * @ctx: Context pointer to use with the @cb call 652 void (*cb)(void *ctx, const u8 *dst, u8 dialog_token, 683 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);
|
BluetoothControllerImpl.java | 153 public void addStateChangedCallback(Callback cb) { 154 mCallbacks.add(cb); 155 fireStateChange(cb); 159 public void removeStateChangedCallback(Callback cb) { 160 mCallbacks.remove(cb); 407 for (Callback cb : mCallbacks) { 408 cb.onBluetoothPairedDevicesChanged(); 426 for (Callback cb : mCallbacks) { 427 fireStateChange(cb); 431 private void fireStateChange(Callback cb) { [all...] |
/frameworks/native/cmds/servicemanager/ |
service_manager.c | 379 union selinux_callback cb; local 380 cb.func_audit = audit_callback; 381 selinux_set_callback(SELINUX_CB_AUDIT, cb); 382 cb.func_log = selinux_log_callback; 383 selinux_set_callback(SELINUX_CB_LOG, cb);
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMnsService.java | 69 Handler cb = mCallbacks.get(instanceId); local 71 if (cb != null) { 73 cb.obtainMessage(EVENT_REPORT, ev).sendToTarget();
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
cpp_bindings.cpp | 609 struct nl_cb *cb = nl_cb_alloc(NL_CB_DEFAULT); local 610 if (!cb) 619 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL); 620 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err); 621 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err); 622 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err); 623 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, response_handler, this); 626 int res = nl_recvmsgs(mInfo->cmd_sock, cb); 632 nl_cb_put(cb);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
ASCIICharsetEncoderTest.java | 108 CharBuffer cb = CharBuffer.wrap(chars); local 109 ByteBuffer bb = encoder.encode(cb); 113 CharBuffer cb = CharBuffer.wrap("\u0080"); local 115 encoder.encode(cb); 120 cb = CharBuffer.wrap("\ud800"); 122 encoder.encode(cb); 128 cb = CharBuffer.wrap("A"); 130 encoder.encode(cb, bb, false); 132 encoder.encode(cb);
|
CharsetDecoder2Test.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);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
MaterialColorMapUtils.java | 162 final float cb = (V - b) / vtemp; local 165 H = cb - cg; 167 H = 2 + cr - cb;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
SelectPhoneAccountDialogFragment.java | 149 CheckBox cb = local 151 cb.setOnCheckedChangeListener(checkListener);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
delayimp.h | 49 DWORD cb; member in struct:DelayLoadInfo
|
mfreadwrite.h | 59 DWORD cb; member in struct:_MF_SINK_WRITER_STATISTICS [all...] |
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
FrameBuffer.h | 31 ColorBufferPtr cb; member in struct:ColorBufferRef
|
/system/core/include/system/ |
graphics.h | 99 * by (W/2) x (H/2) Cr and Cb planes. 332 * @y, @cb, and @cr point to the first byte of their respective planes. 347 void *cb; member in struct:android_ycbcr 418 * Same model as BT.601-625, but all values (Y, Cb, Cr) range from 0 to 255 441 * Chroma (Cb, Cr) samples should range from 16 to 240, inclusive 445 * Chroma (Cb, Cr) samples should range from 64 to 960, inclusive 468 * Chroma (Cb, Cr) samples should range from 16 to 240, inclusive 472 * Chroma (Cb, Cr) samples should range from 64 to 960, inclusive 495 * Chroma (Cb, Cr) samples should range from 16 to 240, inclusive 499 * Chroma (Cb, Cr) samples should range from 64 to 960, inclusiv [all...] |
/libcore/libart/src/main/java/java/lang/ |
String.java | 347 CharBuffer cb = charset.decode(ByteBuffer.wrap(data, offset, byteCount)); local 349 this.count = cb.length(); 351 // We could use cb.array() directly, but that would mean we'd have to trust 357 System.arraycopy(cb.array(), 0, value, 0, count); [all...] |