/frameworks/rs/tests/cpp_api/cppbasic/ |
compute.cpp | 35 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local 38 sc->set_alloc(a1); 39 sc->set_elem(e); 40 sc->set_type(t); 41 sc->set_script(sc); 42 sc->set_script(nullptr); 44 sc->set_sampler(samp); 54 sc->bind_failed(failed_alloc); 63 sc->forEach_root(ain, aout) [all...] |
/frameworks/rs/tests/cpp_api/cppbasic-shared/ |
compute.cpp | 35 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local 38 sc->set_alloc(a1); 39 sc->set_elem(e); 40 sc->set_type(t); 41 sc->set_script(sc); 42 sc->set_script(nullptr); 44 sc->set_sampler(samp); 54 sc->bind_failed(failed_alloc); 63 sc->forEach_root(ain, aout) [all...] |
/art/runtime/arch/arm/ |
fault_handler_arm.cc | 51 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 52 *out_sp = static_cast<uintptr_t>(sc->arm_sp); 60 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); 64 *out_method = reinterpret_cast<ArtMethod*>(sc->arm_r0); 76 uint8_t* ptr = reinterpret_cast<uint8_t*>(sc->arm_pc); 87 *out_return_pc = (sc->arm_pc + instr_size) | 1; 102 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 103 uint8_t* ptr = reinterpret_cast<uint8_t*>(sc->arm_pc); 105 uintptr_t gc_map_location = (sc->arm_pc + instr_size) | 1; 108 sc->arm_sp -= sizeof(uintptr_t) 135 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 200 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 202 VLOG(signals) << "sigcontext: " << std::hex << sc; local [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
uspoof.h | 69 * USpoofChecker* sc = uspoof_open(&status); 70 * uspoof_setChecks(sc, USPOOF_CONFUSABLE, &status); 72 * int32_t bitmask = uspoof_areConfusable(sc, str1, -1, str2, -1, &status); 76 * uspoof_close(sc); 92 * LocalUSpoofCheckerPointer sc(uspoof_open(&status)); 93 * uspoof_setChecks(sc.getAlias(), USPOOF_CONFUSABLE, &status); 107 * USpoofChecker* sc = uspoof_open(&status); 108 * uspoof_setChecks(sc, USPOOF_CONFUSABLE, &status); 111 * int32_t skel1Len = uspoof_getSkeleton(sc, 0, str1, -1, NULL, 0, &status); 114 * uspoof_getSkeleton(sc, 0, str1, -1, skel1, skel1Len, &status) [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_detokenize.h | 23 const scan_order *sc, int x, int y, TX_SIZE tx_size,
|
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/ |
tm-syscall-asm.S | 10 sc 22 sc
|
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/server/ |
AcceptHandler.java | 71 SocketChannel sc = channel.accept(); 72 if (sc == null) { 78 sc, false /* non-blocking */, sslContext) : 80 sc, false /* non-blocking */));
|
/prebuilts/jdk/jdk8/linux-x86/sample/nio/server/ |
AcceptHandler.java | 71 SocketChannel sc = channel.accept(); 72 if (sc == null) { 78 sc, false /* non-blocking */, sslContext) : 80 sc, false /* non-blocking */));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/ |
4-1.c | 93 for (sc = 0; sc < NSCENAR; sc++) { 94 if (scenarii[sc].detached == 1) 100 sc, scenarii[sc].descr); 108 ret = pthread_create(&child, &scenarii[sc].ta, threaded, NULL); 110 switch (scenarii[sc].result) {
|
/external/v8/src/compiler/ |
frame-states.cc | 15 size_t hash_value(OutputFrameStateCombine const& sc) { 16 return base::hash_combine(sc.kind_, sc.parameter_); 20 std::ostream& operator<<(std::ostream& os, OutputFrameStateCombine const& sc) { 21 switch (sc.kind_) { 23 if (sc.parameter_ == 0) return os << "Ignore"; 24 return os << "Push(" << sc.parameter_ << ")"; 26 return os << "PokeAt(" << sc.parameter_ << ")";
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mips/ |
r5900-nollsc.s | 9 # sc/ll instructions are not supported on r5900: 11 sc $5, 0($6)
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/ppc/ |
machine.s | 10 sc
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
15-1.c | 116 if (scenarii[sc].bottom != NULL) { 136 output("Current stack : %p -> %p\n", scenarii[sc].bottom, 137 sz + (long)scenarii[sc].bottom); 141 if ((((long)scenarii[sc].bottom) < ((long)child_stack)) 143 (((long)scenarii[sc].bottom) + sz))) { 151 ret = sem_post(&scenarii[sc].sem);
|
3-2.c | 395 ret = sem_post(&scenarii[sc].sem); 427 for (sc = 0; sc < NSCENAR; sc++) { 430 output("Starting test with scenario (%i): %s\n", sc, 431 scenarii[sc].descr); 437 if ((scenarii[sc].altstack == 0) 438 && (scenarii[sc].altsize == 1)) { 444 test_stack(&scenarii[sc].ta, 449 if (scenarii[sc].guard == 2) [all...] |
/frameworks/native/opengl/tests/lib/ |
WindowSurface.cpp | 57 sp<SurfaceControl> sc = surfaceComposerClient->createSurface( local 60 if (sc == NULL || !sc->isValid()) { 66 .setLayer(sc, 0x7FFFFFFF) 67 .show(sc) 70 mSurfaceControl = sc;
|
/packages/services/Car/evs/app/ |
WindowSurface.cpp | 57 sp<SurfaceControl> sc = surfaceComposerClient->createSurface( local 60 if (sc == NULL || !sc->isValid()) { 66 .setLayer(sc, 0x7FFFFFFF) // always on top 67 .show(sc) 70 mSurfaceControl = sc;
|
/external/icu/icu4c/source/test/cintltst/ |
spooftest.c | 53 * "sc" is the ready-to-go SpoofChecker for use in the tests. 57 USpoofChecker *sc; \ 58 sc = uspoof_open(&status); \ 65 uspoof_close(sc); \ 86 const UChar scMixed[] = {(UChar)0x73, (UChar)0x0441, 0}; /* "sc", with Cyrillic 'c' */ 89 const UChar scLatin[] = {(UChar)0x73, (UChar)0x63, 0}; /* "sc", plain ascii. */ 176 USpoofChecker *sc; local 178 sc = uspoof_open(&status); 185 uspoof_close(sc); 199 serializedSize = uspoof_serialize(sc, NULL, 0, &status) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/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/icu/icu4c/source/i18n/ |
uspoof.cpp | 183 uspoof_clone(const USpoofChecker *sc, UErrorCode *status) { 184 const SpoofImpl *src = SpoofImpl::validateThis(sc, *status); 198 uspoof_close(USpoofChecker *sc) { 200 SpoofImpl *This = SpoofImpl::validateThis(sc, status); 206 uspoof_setChecks(USpoofChecker *sc, int32_t checks, UErrorCode *status) { 207 SpoofImpl *This = SpoofImpl::validateThis(sc, *status); 224 uspoof_getChecks(const USpoofChecker *sc, UErrorCode *status) { 225 const SpoofImpl *This = SpoofImpl::validateThis(sc, *status); 233 uspoof_setRestrictionLevel(USpoofChecker *sc, URestrictionLevel restrictionLevel) { 235 SpoofImpl *This = SpoofImpl::validateThis(sc, status) [all...] |
/frameworks/base/rs/java/android/renderscript/ |
RenderScriptGL.java | 74 public SurfaceConfig(SurfaceConfig sc) { 75 mDepthMin = sc.mDepthMin; 76 mDepthPref = sc.mDepthPref; 77 mStencilMin = sc.mStencilMin; 78 mStencilPref = sc.mStencilPref; 79 mColorMin = sc.mColorMin; 80 mColorPref = sc.mColorPref; 81 mAlphaMin = sc.mAlphaMin; 82 mAlphaPref = sc.mAlphaPref; 83 mSamplesMin = sc.mSamplesMin [all...] |
/external/selinux/python/sepolgen/tests/ |
test_refpolicy.py | 38 sc = refpolicy.SecurityContext() 39 sc = refpolicy.SecurityContext("user_u:object_r:foo_t") 43 sc = refpolicy.SecurityContext() 44 sc.from_string(context) 45 self.assertEqual(sc.user, "user_u") 46 self.assertEqual(sc.role, "object_r") 47 self.assertEqual(sc.type, "foo_t") 48 self.assertEqual(sc.level, None) 50 self.assertEqual(str(sc), context + ":s0") 52 self.assertEqual(str(sc), context [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/ |
viddec_mp4_parse.c | 135 uint32_t sc=0; local 143 if((getbits = viddec_pm_peek_bits(parent, &sc, 32)) == -1) 151 viddec_pm_get_bits(parent, &sc, 32); 152 sc = sc & 0xFF; 153 cxt->current_sc = sc; 155 DEB("current_sc=0x%.8X, prev_sc=0x%x\n", sc, cxt->prev_sc); 157 switch(sc) 213 if( (sc >= MP4_SC_VIDEO_OBJECT_LAYER_MIN) && (sc <= MP4_SC_VIDEO_OBJECT_LAYER_MAX) [all...] |
/system/core/adb/ |
file_sync_client.cpp | 614 static bool sync_ls(SyncConnection& sc, const char* path, 616 if (!sc.SendRequest(ID_LIST, path)) return false; 620 if (!ReadFdExactly(sc.fd, &msg.dent, sizeof(msg.dent))) return false; 629 if (!ReadFdExactly(sc.fd, buf, len)) return false; 636 static bool sync_stat(SyncConnection& sc, const char* path, struct stat* st) { 637 return sc.SendStat(path) && sc.FinishStat(st); 640 static bool sync_lstat(SyncConnection& sc, const char* path, struct stat* st) { 641 return sc.SendLstat(path) && sc.FinishStat(st) 795 SyncConnection sc; local [all...] |
/external/clang/test/CodeGen/ |
zvector.c | 4 volatile vector signed char sc, sc2; variable 29 // CHECK: store volatile <16 x i8> [[VAL]], <16 x i8>* @sc 30 sc = sc2; 66 // CHECK: store volatile <16 x i8> [[VAL]], <16 x i8>* @sc 67 sc = +sc2; 104 sc = -sc2; 271 // CHECK: [[VAL1:%[^ ]+]] = load volatile <16 x i8>, <16 x i8>* @sc 274 sc = sc + sc2; 275 // CHECK: [[VAL1:%[^ ]+]] = load volatile <16 x i8>, <16 x i8>* @sc [all...] |
/external/valgrind/coregrind/m_sigframe/ |
sigframe-mips32-linux.c | 82 struct vki_sigcontext *sc = *sc1; local 85 (Addr)sc, sizeof(unsigned long long)*34 ); 86 sc->sc_regs[1] = tst->arch.vex.guest_r1; 87 sc->sc_regs[2] = tst->arch.vex.guest_r2; 88 sc->sc_regs[3] = tst->arch.vex.guest_r3; 89 sc->sc_regs[4] = tst->arch.vex.guest_r4; 90 sc->sc_regs[5] = tst->arch.vex.guest_r5; 91 sc->sc_regs[6] = tst->arch.vex.guest_r6; 92 sc->sc_regs[7] = tst->arch.vex.guest_r7; 93 sc->sc_regs[8] = tst->arch.vex.guest_r8 [all...] |