/external/skia/legacy/src/core/ |
SkBlitRow_D32.cpp | 78 SkPMColor sc = *src; 79 if (sc) { 80 unsigned srcA = SkGetPackedA32(sc); 81 SkPMColor result = sc; 83 result = SkPMSrcOver(sc, *dst);
|
SkBlitter_ARGB32.cpp | 99 uint32_t sc = SkAlphaMulQ(color, SkAlpha255To256(aa)); local 100 fColor32Proc(device, device, count, sc); 130 #define blend_8_pixels(mask, dst, sc, dst_scale) \ 132 if (mask & 0x80) { dst[0] = sc + SkAlphaMulQ(dst[0], dst_scale); } \ 133 if (mask & 0x40) { dst[1] = sc + SkAlphaMulQ(dst[1], dst_scale); } \ 134 if (mask & 0x20) { dst[2] = sc + SkAlphaMulQ(dst[2], dst_scale); } \ 135 if (mask & 0x10) { dst[3] = sc + SkAlphaMulQ(dst[3], dst_scale); } \ 136 if (mask & 0x08) { dst[4] = sc + SkAlphaMulQ(dst[4], dst_scale); } \ 137 if (mask & 0x04) { dst[5] = sc + SkAlphaMulQ(dst[5], dst_scale); } \ 138 if (mask & 0x02) { dst[6] = sc + SkAlphaMulQ(dst[6], dst_scale); } [all...] |
SkBlitRow_D16.cpp | 72 SkPMColor sc = *src++; local 73 SkPMColorAssert(sc); 74 if (sc) { 76 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); 77 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 78 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 79 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale);
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 304 SocketChannel sc = SocketChannel.open(); local 305 sc.connect(ssc.socket().getLocalSocketAddress()); 309 sc.read(buf); 312 sc.read(buf); 313 sc.close(); 320 sc = SocketChannel.open(); 321 sc.connect(ssc.socket().getLocalSocketAddress()); 325 sc.read(buf); 328 sc.read(buf); 329 sc.close() [all...] |
/external/openssl/ssl/ |
ssl_cert.c | 451 void ssl_sess_cert_free(SESS_CERT *sc) 455 if (sc == NULL) 458 i = CRYPTO_add(&sc->references, -1, CRYPTO_LOCK_SSL_SESS_CERT); 460 REF_PRINT("SESS_CERT", sc); 473 if (sc->cert_chain != NULL) 474 sk_X509_pop_free(sc->cert_chain, X509_free); 477 if (sc->peer_pkeys[i].x509 != NULL) 478 X509_free(sc->peer_pkeys[i].x509); 482 if (sc->peer_pkeys[i].privatekey != NULL) 483 EVP_PKEY_free(sc->peer_pkeys[i].privatekey) [all...] |
/bionic/libc/tools/ |
gensyscalls.py | 362 for sc in self.syscalls: 363 if arch_test[arch](sc): 365 (arch, sc["func"])) 372 for sc in self.syscalls: 373 if sc.has_key("asm-arm") and 'arm' in all_archs: 374 fname = "arch-arm/syscalls/%s.S" % sc["func"] 377 fp.write(sc["asm-arm"]) 381 if sc.has_key("asm-x86") and 'x86' in all_archs: 382 fname = "arch-x86/syscalls/%s.S" % sc["func"] 385 fp.write(sc["asm-x86"] [all...] |
/external/skia/src/core/ |
SkBlitRow_D16.cpp | 73 SkPMColor sc = *src++; local 74 SkPMColorAssert(sc); 75 if (sc) { 77 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); 78 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 79 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 80 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale);
|
/external/smack/src/org/jivesoftware/smack/sasl/ |
SASLMechanism.java | 60 protected SaslClient sc;
field in class:SASLMechanism 92 sc = Sasl.createSaslClient(mechanisms, username, "xmpp", host, props, this);
109 sc = Sasl.createSaslClient(mechanisms, username, "xmpp", host, props, cbh);
116 if(sc.hasInitialResponse()) {
117 byte[] response = sc.evaluateChallenge(new byte[0]);
139 response = sc.evaluateChallenge(StringUtils.decodeBase64(challenge));
141 response = sc.evaluateChallenge(new byte[0]);
|
/frameworks/rs/cpu_ref/ |
rsCpuScript.cpp | 469 const RsScriptCall *sc, 499 if (!sc || (sc->xEnd == 0)) { 502 rsAssert(sc->xStart < mtls->fep.dimX); 503 rsAssert(sc->xEnd <= mtls->fep.dimX); 504 rsAssert(sc->xStart < sc->xEnd); 505 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart); 506 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd); 510 if (!sc || (sc->yEnd == 0)) [all...] |
rsCpuIntrinsic.h | 38 const RsScriptCall *sc);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmMmiCode.java | 282 scToCallForwardReason(String sc) { 283 if (sc == null) { 284 throw new RuntimeException ("invalid call forward sc"); 287 if (sc.equals(SC_CF_All)) { 289 } else if (sc.equals(SC_CFU)) { 291 } else if (sc.equals(SC_CFB)) { 293 } else if (sc.equals(SC_CFNR)) { 295 } else if (sc.equals(SC_CFNRy)) { 297 } else if (sc.equals(SC_CF_All_Conditional)) { 300 throw new RuntimeException ("invalid call forward sc"); [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Script.java | 259 * @param sc 261 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { 263 mT.thunkForEach(slot, ain, aout, v, sc); 272 if (sc == null) { 288 mRS.nScriptForEachClipped(getID(mRS), slot, in_id, out_id, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc.zend) [all...] |
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
FBOSyncView.java | 46 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 47 sc.setDepth(16, 24); 48 mRS = createRenderScriptGL(sc);
|
FBOTestView.java | 46 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 47 sc.setDepth(16, 24); 48 mRS = createRenderScriptGL(sc);
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
ShadersTestView.java | 44 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 45 sc.setDepth(16, 24); 46 mRS = createRenderScriptGL(sc);
|
/frameworks/rs/driver/ |
rsdShader.h | 67 void setup(const android::renderscript::Context *, RsdShaderCache *sc); 92 RsdShaderCache *sc, bool isFragment); 96 void setupTextures(const android::renderscript::Context *rsc, RsdShaderCache *sc);
|
/libcore/luni/src/main/java/java/nio/ |
ServerSocketChannelImpl.java | 123 SocketChannel sc = channelImpl.accept(); local 124 if (sc == null) { 127 return sc.socket();
|
/external/quake/quake/src/QW/client/ |
snd_dma.c | 457 sfxcache_t *sc; local 491 sc = S_LoadSound (sfx); 492 if (!sc) 500 target_chan->end = paintedtime + sc->length; 626 sfxcache_t *sc; local 640 sc = S_LoadSound (sfx); 641 if (!sc) 644 if (sc->loopstart == -1) 654 ss->end = paintedtime + sc->length; 964 sfxcache_t *sc; local [all...] |
/external/quake/quake/src/WinQuake/ |
snd_dma.cpp | 461 sfxcache_t *sc; local 495 sc = S_LoadSound (sfx); 496 if (!sc) 504 target_chan->end = paintedtime + sc->length; 630 sfxcache_t *sc; local 644 sc = S_LoadSound (sfx); 645 if (!sc) 648 if (sc->loopstart == -1) 658 ss->end = paintedtime + sc->length; 971 sfxcache_t *sc; local [all...] |
/external/qemu/audio/ |
audio.c | 865 SWVoiceCap *sc = hw->cap_head.lh_first; local 867 while (sc) { 868 SWVoiceCap *sc1 = sc->entries.le_next; 869 SWVoiceOut *sw = &sc->sw; 870 CaptureVoiceOut *cap = sc->cap; 879 QLIST_REMOVE (sc, entries); 880 qemu_free (sc); 887 sc = sc1; 898 SWVoiceCap *sc; local 902 sc = audio_calloc (AUDIO_FUNC, 1, sizeof (*sc)) 1316 SWVoiceCap *sc; local 1446 SWVoiceCap *sc; local 1498 SWVoiceCap *sc; local 1905 SWVoiceCap *sc; local 2174 SWVoiceCap *sc = (SWVoiceCap *) sw; local [all...] |
/external/skia/legacy/src/images/ |
SkScaledBitmapSampler.h | 38 bool begin(SkBitmap* dst, SrcConfig sc, bool doDither,
|
/external/skia/src/images/ |
SkScaledBitmapSampler.h | 38 bool begin(SkBitmap* dst, SrcConfig sc, bool doDither,
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
TestAppView.java | 60 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 61 sc.setDepth(16, 24); 62 sc.setSamples(1, 2, 1); 63 mRS = createRenderScriptGL(sc);
|
/frameworks/rs/ |
rsScriptC_Lib.cpp | 123 float rsrGetDt(Context *rsc, const Script *sc) { 125 int64_t l = sc->mEnviroment.mLastDtTime; 126 sc->mEnviroment.mLastDtTime = systemTime(SYSTEM_TIME_MONOTONIC); 127 return ((float)(sc->mEnviroment.mLastDtTime - l)) / 1.0e9;
|
rsScriptIntrinsic.h | 49 const RsScriptCall *sc = NULL);
|