/external/pdfium/third_party/libjpeg/ |
fpdfapi_jdcolor.c | 23 int * Cb_b_tab; /* => table for Cb to B conversion */ 25 INT32 * Cb_g_tab; /* => table for Cb to G conversion */ 34 * YCbCr is defined per CCIR 601-1, except that Cb and Cr are 38 * G = Y - 0.34414 * Cb - 0.71414 * Cr 39 * B = Y + 1.77200 * Cb 40 * where Cb and Cr represent the incoming values less CENTERJSAMPLE. 50 * by precalculating the constants times Cb and Cr for all possible values. 55 * The Cr=>R and Cb=>B values can be rounded to integers in advance; the 92 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */ 96 /* Cb=>B value is nearest int to 1.77200 * x * 125 register int y, cb, cr; local 250 register int y, cb, cr; local [all...] |
fpdfapi_jdmerge.c | 18 * G = Y + K2 * Cb + K3 * Cr 19 * B = Y + K4 * Cb 57 int * Cb_b_tab; /* => table for Cb to B conversion */ 59 INT32 * Cb_g_tab; /* => table for Cb to G conversion */ 108 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */ 112 /* Cb=>B value is nearest int to 1.77200 * x */ 117 /* Cb=>G value is scaled-up -0.34414 * x */ 235 int cb, cr; local 254 cb = GETJSAMPLE(*inptr1++); 257 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS) 297 int cb, cr; local [all...] |
/external/pdfium/third_party/libtiff/ |
tif_predict.c | 281 unsigned int cb = cp[2]; local 287 cp[2] = (unsigned char) ((cb += cp[2]) & 0xff); 294 unsigned int cb = cp[2]; local 301 cp[2] = (unsigned char) ((cb += cp[2]) & 0xff);
|
/external/skia/gm/ |
image_pict.cpp | 158 const int cb = SkGetPackedB32(c); local 165 int db = SkAbs32((int)SkGetPackedB32(table[i]) - cb);
|
/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 | 356 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), 363 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx)) 371 int (*cb)(struct wpa_authenticator *sm, void *ctx); member in struct:wpa_auth_iface_iter_data 381 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) 389 void *ctx, int (*cb)(struct wpa_authenticator *sm, void *ctx), 397 data.cb = cb; 597 struct wpa_auth_callbacks cb; local 606 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/ |
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...] |
mesh_rsn.c | 142 struct wpa_auth_callbacks cb; local 156 os_memset(&cb, 0, sizeof(cb)); 157 cb.ctx = rsn; 158 cb.logger = auth_logger; 159 cb.get_psk = auth_get_psk; 160 cb.set_key = auth_set_key; 161 cb.start_ampe = auth_start_ampe; 163 rsn->auth = wpa_init(addr, &conf, &cb);
|
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 117 union selinux_callback cb; local 118 cb.func_log = selinux_log_callback; 119 selinux_set_callback(SELINUX_CB_LOG, cb);
|
/frameworks/av/media/ndk/ |
NdkImage.cpp | 351 uint8_t* cb = nullptr; local 372 cb = cr + 1; 378 (planeIdx == 1) ? cb : cr; 392 cb = cr + cSize; 395 (planeIdx == 1) ? cb : cr;
|
/frameworks/base/core/java/android/animation/ |
AnimationHandler.java | 207 AnimationFrameCallback cb = mAnimationCallbacks.get(i); local 208 if (cb == null) { 211 if (objectAnimator.shouldAutoCancel(cb)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
CellularTile.java | 104 CallbackInfo cb = (CallbackInfo) arg; local 105 if (cb == null) { 106 cb = mSignalCallback.mInfo; 110 final int iconId = cb.noSim ? R.drawable.ic_qs_no_sim 111 : !cb.enabled || cb.airplaneModeEnabled ? R.drawable.ic_qs_signal_disabled 112 : cb.mobileSignalIconId > 0 ? cb.mobileSignalIconId 115 state.isOverlayIconWide = cb.isDataTypeIconWide; 116 state.autoMirrorDrawable = !cb.noSim [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
CarBatteryController.java | 98 public void addStateChangedCallback(BatteryController.BatteryStateChangeCallback cb) { 99 mChangeCallbacks.add(cb); 103 cb.onBatteryLevelChanged(mLevel, false /* pluggedIn */, false /* charging */); 104 cb.onPowerSaveChanged(false /* isPowerSave */); 108 public void removeStateChangedCallback(BatteryController.BatteryStateChangeCallback cb) { 109 mChangeCallbacks.remove(cb);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
BatteryControllerImpl.java | 91 public void addStateChangedCallback(BatteryController.BatteryStateChangeCallback cb) { 93 mChangeCallbacks.add(cb); 95 cb.onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); 96 cb.onPowerSaveChanged(mPowerSave); 100 public void removeStateChangedCallback(BatteryController.BatteryStateChangeCallback cb) { 102 mChangeCallbacks.remove(cb);
|
/frameworks/native/cmds/servicemanager/ |
service_manager.c | 403 union selinux_callback cb; local 404 cb.func_audit = audit_callback; 405 selinux_set_callback(SELINUX_CB_AUDIT, cb); 406 cb.func_log = selinux_log_callback; 407 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/ |
nan_req.cpp | 991 struct nl_cb * cb; local [all...] |
/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/ojluni/src/main/java/java/io/ |
BufferedReader.java | 75 private char cb[]; field in class:BufferedReader 106 cb = new char[sz]; 143 if (readAheadLimit <= cb.length) { 145 System.arraycopy(cb, markedChar, cb, 0, delta); 156 int nlength = cb.length * 2; 161 System.arraycopy(cb, markedChar, ncb, 0, delta); 162 cb = ncb; 172 n = in.read(cb, dst, cb.length - dst) [all...] |
Console.java | 405 private char[] cb; field in class:Console.LineReader 410 cb = new char[1024]; 436 n = in.read(cb, 0, cb.length); 441 if (n < cb.length && 442 cb[n-1] != '\n' && cb[n-1] != '\r') { 456 if (leftoverLF && cbuf == rcb && cb[nextChar] == '\n') { 465 c = cbuf[off++] = cb[nextChar]; 466 cb[nextChar++] = 0 [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
StringCoding.java | 170 CharBuffer cb = CharBuffer.wrap(ca); local 172 CoderResult cr = cd.decode(bb, cb, true); 175 cr = cd.flush(cb); 183 return safeTrim(ca, cb.position(), cs, isTrusted); 245 CharBuffer cb = CharBuffer.wrap(ca); local 247 CoderResult cr = cd.decode(bb, cb, true); 250 cr = cd.flush(cb); 258 return safeTrim(ca, cb.position(), cs, isTrusted); 320 CharBuffer cb = CharBuffer.wrap(ca, off, len); local 323 CoderResult cr = ce.encode(cb, bb, true) 377 CharBuffer cb = CharBuffer.wrap(ca, off, len); local [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
ByteBufferAsCharBuffer.java | 166 CharBuffer cb = CharBuffer.wrap(ca); local 170 cb.put(db);
|
/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;
|