/external/libffi/testsuite/libffi.special/ |
unwindtest_ffi_call.cc | 25 signed char sc; local 32 values[2] = ≻ 40 sc = -1;
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
AbstractSelectableChannelTest.java | 112 SocketChannel sc = SocketChannel.open(); local 113 sc.configureBlocking(false); 114 SelectionKey acceptKey = sc.register(acceptSelector1, 118 assertSame(sc, acceptKey.channel()); 120 //test that sc.register invokes Selector.register() 121 acceptKey = sc.register(acceptSelector2, SelectionKey.OP_READ, null); 211 SocketChannel sc = SocketChannel.open(); local 212 sc.configureBlocking(false); 214 sc.register(null, SelectionKey.OP_READ, argObj); 235 SocketChannel sc = SocketChannel.open() local 257 SocketChannel sc = SocketChannel.open(); local [all...] |
/external/skia/tests/ |
ColorTest.cpp | 19 static inline bool S32A_D565_Blend_0(SkPMColor sc, uint16_t dc, U8CPU alpha) { 20 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); 21 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 22 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 33 static inline bool S32A_D565_Blend_01(SkPMColor sc, uint16_t dc, U8CPU alpha) { 34 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); 35 unsigned dr = SkMulS16(SkGetPackedR32(sc), alpha) + SkMulS16(SkGetPackedR16(dc) << 3, dst_scale); 36 unsigned dg = SkMulS16(SkGetPackedG32(sc), alpha) + SkMulS16(SkGetPackedG16(dc) << 2, dst_scale); 47 static inline bool S32A_D565_Blend_02(SkPMColor sc, uint16_t dc, U8CPU alpha) { 48 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha) 105 SkPMColor sc = SkPackARGB32(src_a, src_c, src_c, src_c); local [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
RenderScriptGL.java | 81 public SurfaceConfig(SurfaceConfig sc) { 82 mDepthMin = sc.mDepthMin; 83 mDepthPref = sc.mDepthPref; 84 mStencilMin = sc.mStencilMin; 85 mStencilPref = sc.mStencilPref; 86 mColorMin = sc.mColorMin; 87 mColorPref = sc.mColorPref; 88 mAlphaMin = sc.mAlphaMin; 89 mAlphaPref = sc.mAlphaPref; 90 mSamplesMin = sc.mSamplesMin [all...] |
/external/icu4c/test/cintltst/ |
spooftest.c | 50 * "sc" is the ready-to-go SpoofChecker for use in the tests. 54 USpoofChecker *sc; \ 55 sc = uspoof_open(&status); \ 62 uspoof_close(sc); \ 82 const UChar scMixed[] = {(UChar)0x73, (UChar)0x0441, 0}; /* "sc", with Cyrillic 'c' */ 85 const UChar scLatin[] = {(UChar)0x73, (UChar)0x63, 0}; /* "sc", plain ascii. */ 114 USpoofChecker *sc; local 116 sc = uspoof_open(&status); 123 uspoof_close(sc); 189 serializedSize = uspoof_serialize(sc, NULL, 0, &status) [all...] |
/frameworks/rs/tests/cppbasic/ |
compute.cpp | 35 sp<ScriptC_mono> sc = new ScriptC_mono(rs, NULL, 0); local 46 sc->bind_failed(failed_alloc); 55 sc->forEach_root(ain, aout); 57 sc->invoke_foo(99, 3.1f); 58 sc->set_g_f(39.9f); 59 sc->set_g_i(-14); 60 sc->invoke_foo(99, 3.1f); 63 sc->invoke_bar(47, -3, 'c', -7, 14, -8); 82 sc->forEach_kern1(kern1_in, kern1_out); 83 sc->forEach_verify_kern1(kern1_out) [all...] |
/frameworks/base/core/java/android/view/ |
VolumePanel.java | 412 StreamControl sc = new StreamControl(); local 413 sc.streamType = streamType; 414 sc.group = (ViewGroup) inflater.inflate(R.layout.volume_adjust_item, null); 415 sc.group.setTag(sc); 416 sc.icon = (ImageView) sc.group.findViewById(R.id.stream_icon); 417 sc.icon.setTag(sc); 418 sc.icon.setContentDescription(res.getString(streamRes.descRes)) 458 StreamControl sc = mStreamControls.get(streamType); local 513 StreamControl sc = (StreamControl) mSliderGroup.getChildAt(i).getTag(); local 625 StreamControl sc = mStreamControls.get(streamType); local 713 StreamControl sc = mStreamControls.get(streamType); local 922 StreamControl sc = mStreamControls.get(AudioManager.STREAM_MUSIC); local 1027 StreamControl sc = (StreamControl) tag; local 1041 StreamControl sc = (StreamControl) tag; local [all...] |
/external/icu4c/test/intltest/ |
itspoof.h | 40 void checkSkeleton(const USpoofChecker *sc, uint32_t flags,
|
/external/valgrind/main/none/tests/x86-linux/ |
sigcontext.c | 27 static void handler2(int sig, struct sigcontext sc) 31 if (sc.eax != 0) 32 printf("FAILED: handler2 expected eax == 0, not %p\n", (void*)sc.eax); 34 sc.eax = VAL2;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
SimpleAppView.java | 42 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); local 43 sc.setDepth(16, 24); 44 sc.setSamples(1, 2, 1); 45 mRS = createRenderScriptGL(sc);
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/ |
DriverView.java.template | 40 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); 41 mRS = createRenderScriptGL(sc);
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
eh44.cpp | 32 cc sc(ca(1), ca(1));
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
eh44.cpp | 32 cc sc(ca(1), ca(1));
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SelectorTest.java | 122 SocketChannel sc = SocketChannel.open(); local 123 sc.configureBlocking(false); 124 SelectionKey key3 = sc.register(selector, SelectionKey.OP_READ); 157 SocketChannel sc = SocketChannel.open(); local 161 sc.connect(LOCAL_ADDRESS); 194 sc.close(); 350 SocketChannel sc = SocketChannel.open(); local 351 sc.configureBlocking(false); 352 SelectionKey key2 = sc.register(selector, SelectionKey.OP_READ); 407 SocketChannel sc = SocketChannel.open() local 482 SocketChannel sc = SocketChannel.open(); local 516 SocketChannel sc = SocketChannel.open(); local 552 SocketChannel sc = SocketChannel.open(); local 625 SocketChannel sc = SocketChannel.open(); local [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
SelectorTest.java | 42 SocketChannel sc = SocketChannel.open(); local 43 sc.configureBlocking(false); 44 sc.connect(ssc.socket().getLocalSocketAddress()); 45 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT); 48 sc.finishConnect(); 60 SocketChannel sc = SocketChannel.open(); local 61 sc.configureBlocking(false); 62 sc.connect(ss.getLocalSocketAddress()); 63 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT); 66 sc.finishConnect() [all...] |
/external/iproute2/tc/ |
q_hfsc.c | 44 "Usage: ... hfsc [ [ rt SC ] [ ls SC ] | [ sc SC ] ] [ ul SC ]\n" 46 "SC := [ [ m1 BPS ] [ d SEC ] m2 BPS\n" 54 "SC := [ [ umax BYTE ] dmax SEC ] rate BPS\n" 169 } else if (matches(*argv, "sc") == 0) { 172 explain1("sc"); 223 hfsc_print_sc(FILE *f, char *name, struct tc_service_curve *sc) [all...] |
/sdk/eclipse/scripts/ |
build_server.sh | 118 for sc in */*/*/build_ide*.sh; do 119 if [[ -x $sc ]]; then 120 echo "RUNNING $sc from $PWD" 121 $sc "$DEST_DIR" "$QUALIFIER" "${BUILD_NUMBER:-$QUALIFIER}" 123 echo "WARNING: skipping non-exec $sc script"
|
/external/quake/quake/src/QW/client/ |
snd_mix.c | 258 void SND_PaintChannelFrom8 (channel_t *ch, sfxcache_t *sc, int endtime);
259 void SND_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int endtime);
266 sfxcache_t *sc;
local 287 sc = S_LoadSound (ch->sfx);
288 if (!sc)
302 if (sc->width == 1)
303 SND_PaintChannelFrom8(ch, sc, count);
305 SND_PaintChannelFrom16(ch, sc, count);
313 if (sc->loopstart >= 0)
315 ch->pos = sc->loopstart; [all...] |
skin.c | 40 void Skin_Find (player_info_t *sc) 50 s = Info_ValueForKey (sc->userinfo, "skin"); 66 sc->skin = &skins[i]; 67 Skin_Cache (sc->skin); 79 sc->skin = skin; 221 player_info_t *sc; local 232 sc = &cl.players[cls.downloadnumber]; 233 if (!sc->name[0]) 235 Skin_Find (sc); 238 if (!CL_CheckOrDownloadFile(va("skins/%s.pcx", sc->skin->name)) [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
bit_cnt.c | 48 Word16 bc11,sc; local 56 sc=0; 91 sc = sc + (t0>0) + (t1>0) + (t2>0) + (t3>0); 96 bitCount[3]=extract_h(bc3_4) + sc; 97 bitCount[4]=extract_l(bc3_4) + sc; 100 bitCount[7]=extract_h(bc7_8) + sc; 101 bitCount[8]=extract_l(bc7_8) + sc; 102 bitCount[9]=extract_h(bc9_10) + sc; 103 bitCount[10]=extract_l(bc9_10) + sc; 124 Word16 bc11,sc; local 199 Word16 bc11,sc; local 255 Word16 bc11,sc; local 304 Word16 bc11,sc; local 350 Word16 bc11,sc; local 391 Word16 bc11,ec,sc; local [all...] |
/external/valgrind/main/coregrind/m_sigframe/ |
sigframe-amd64-linux.c | 332 struct vki_sigcontext *sc = &uc->uc_mcontext; local 340 sc->fpstate = fpstate; 344 # define SC2(reg,REG) sc->reg = tst->arch.vex.guest_##REG 363 sc->eflags = LibVEX_GuestAMD64_get_rflags(&tst->arch.vex); 367 sc->trapno = trapno; 368 sc->err = err; 371 sc->cr2 = (UWord)si->_sifields._sigfault._addr; 567 struct vki_sigcontext *sc, 570 tst->arch.vex.guest_RAX = sc->rax; 571 tst->arch.vex.guest_RCX = sc->rcx [all...] |
sigframe-mips32-linux.c | 122 struct vki_sigcontext *sc = *sc1; local 125 (Addr)sc, sizeof(unsigned long long)*34 ); 126 sc->sc_regs[1] = tst->arch.vex.guest_r1; 127 sc->sc_regs[2] = tst->arch.vex.guest_r2; 128 sc->sc_regs[3] = tst->arch.vex.guest_r3; 129 sc->sc_regs[4] = tst->arch.vex.guest_r4; 130 sc->sc_regs[5] = tst->arch.vex.guest_r5; 131 sc->sc_regs[6] = tst->arch.vex.guest_r6; 132 sc->sc_regs[7] = tst->arch.vex.guest_r7; 133 sc->sc_regs[8] = tst->arch.vex.guest_r8 [all...] |
/packages/apps/Dialer/src/com/android/dialer/ |
SpecialCharSequenceMgr.java | 192 SimContactQueryCookie sc = new SimContactQueryCookie(index - 1, handler, local 196 sc.contactNum = index - 1; 197 sc.setTextField(textField); 200 sc.progressDialog = new ProgressDialog(context); 201 sc.progressDialog.setTitle(R.string.simContacts_title); 202 sc.progressDialog.setMessage(context.getText(R.string.simContacts_emptyLoading)); 203 sc.progressDialog.setIndeterminate(true); 204 sc.progressDialog.setCancelable(true); 205 sc.progressDialog.setOnCancelListener(sc); 395 SimContactQueryCookie sc = (SimContactQueryCookie) cookie; local [all...] |
/external/clang/test/SemaCXX/ |
compare.cpp | 285 void test6(signed char sc) { 286 (void)(sc < 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always true}} 287 (void)(sc > 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always false}} 288 (void)(sc <= 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always true}} 289 (void)(sc >= 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always false}} 290 (void)(sc == 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always false}} 291 (void)(sc != 200); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always true}} 293 (void)(200 < sc); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always false}} 294 (void)(200 > sc); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always true}} 295 (void)(200 <= sc); // expected-warning{{comparison of constant 200 with expression of type 'signed char' is always (…) [all...] |
/external/ipsec-tools/src/racoon/ |
schedule.c | 158 sched_add(sc) 159 struct sched *sc; 164 if (sc->xtime < p->xtime) { 165 TAILQ_INSERT_BEFORE(p, sc, chain); 170 TAILQ_INSERT_TAIL(&sctree, sc, chain); 198 sched_kill(sc) 199 struct sched *sc; 201 sc->dead = 1; 211 struct sched *sc; local 213 TAILQ_FOREACH(sc, &sctree, chain) [all...] |