/external/strace/linux/powerpc/ |
arch_sigreturn.c | 2 struct sigcontext sc; variable in typeref:struct:sigcontext 12 if (umove(tcp, esp, &sc) < 0) { 17 mask[0] = sc.oldmask | (sc._unused[3] << 32); 19 mask[0] = sc.oldmask; 20 mask[1] = sc._unused[3];
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
strpbrk.c | 40 int c, sc; local 43 for (scanp = s2; (sc = *scanp++) != 0;) 44 if (sc == c)
|
strcspn.c | 43 char c, sc; local 53 if ((sc = *spanp++) == c) 55 } while (sc != 0);
|
strsep.c | 50 int c, sc; local 59 if ((sc = *spanp++) == c) { 67 } while (sc != 0);
|
strspn.c | 40 char c, sc; local 47 for (spanp = s2; (sc = *spanp++) != 0;) 48 if (sc == c)
|
strstr.c | 42 char c, sc; local 49 if ((sc = *s++) == 0) 51 } while (sc != c);
|
strtok.c | 44 int c, sc; local 56 for (spanp = (char *)delim; (sc = *spanp++) != 0;) { 57 if (c == sc) 75 if ((sc = *spanp++) == c) { 83 } while (sc != 0);
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
SocketChannelTest.java | 57 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress()); local 59 sc.read(readOnly); 64 sc.read(new ByteBuffer[] { readOnly }); 69 sc.read(new ByteBuffer[] { readOnly }, 0, 1); 79 SocketChannel sc = SocketChannel.open(); local 80 sc.configureBlocking(false); 83 SelectionKey selectionKey = sc.register(selector, SelectionKey.OP_CONNECT); 86 sc.connect(new InetSocketAddress(InetAddress.getByAddress(new byte[] { 0, 0, 0, 0 }), 0)); 92 sc.finishConnect(); 102 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress()) local 123 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress()); local 142 SocketChannel sc = SocketChannel.open(); local 165 SocketChannel sc = SocketChannel.open(); local 181 SocketChannel sc = SocketChannel.open(); local 209 SocketChannel sc = SocketChannel.open(); local 236 SocketChannel sc = SocketChannel.open(); local 255 SocketChannel sc = SocketChannel.open(); local [all...] |
/external/fio/lib/ |
strsep.c | 7 int c, sc; local 18 sc = *spanp++; 19 if (sc == c) { 27 } while (sc != 0);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLSessionContextTest.java | 25 SSLSessionContext sc = context local 27 sc.setSessionCacheSize(10); 28 assertEquals("10 wasn't returned", 10, sc.getSessionCacheSize()); 29 sc.setSessionCacheSize(5); 30 assertEquals("5 wasn't returned", 5, sc.getSessionCacheSize()); 33 sc.setSessionCacheSize(-1); 49 SSLSessionContext sc = context local 51 sc.setSessionTimeout(100); 52 assertEquals("100 wasn't returned", 100, sc.getSessionTimeout()); 53 sc.setSessionTimeout(5000) 72 SSLSessionContext sc = context local 90 SSLSessionContext sc = context local [all...] |
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
cso_cache.c | 83 static INLINE struct cso_hash *_cso_hash_for_type(struct cso_cache *sc, enum cso_cache_type type) 86 hash = sc->hashes[type]; 155 static INLINE void sanitize_hash(struct cso_cache *sc, 160 if (sc->sanitize_cb) 161 sc->sanitize_cb(hash, type, max_size, sc->sanitize_data); 186 cso_insert_state(struct cso_cache *sc, 190 struct cso_hash *hash = _cso_hash_for_type(sc, type); 191 sanitize_hash(sc, hash, type, sc->max_size) 248 struct cso_cache *sc = MALLOC_STRUCT(cso_cache); local [all...] |
cso_cache.h | 149 void cso_cache_delete(struct cso_cache *sc); 151 void cso_cache_set_sanitize_callback(struct cso_cache *sc, 155 struct cso_hash_iter cso_insert_state(struct cso_cache *sc, 158 struct cso_hash_iter cso_find_state(struct cso_cache *sc, 160 struct cso_hash_iter cso_find_state_template(struct cso_cache *sc, 163 void cso_for_each_state(struct cso_cache *sc, enum cso_cache_type type, 165 void * cso_take_state(struct cso_cache *sc, unsigned hash_key, 168 void cso_set_maximum_cache_size(struct cso_cache *sc, int number); 169 int cso_maximum_cache_size(const struct cso_cache *sc);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_texture.c | 52 /* Compute sc = +/-scale and tc = +/-scale. 57 const float sc = (2 * in_st[0] - 1) * scale; local 64 rz = -sc; 69 rz = sc; 72 rx = sc; 77 rx = sc; 82 rx = sc; 87 rx = -sc;
|
/external/clang/test/CodeGen/ |
Atomics.c | 5 signed char sc; variable 16 (void) __sync_fetch_and_add (&sc, 1); // CHECK: atomicrmw add i8 25 (void) __sync_fetch_and_sub (&sc, 1); // CHECK: atomicrmw sub i8 34 (void) __sync_fetch_and_or (&sc, 1); // CHECK: atomicrmw or i8 43 (void) __sync_fetch_and_xor (&sc, 1); // CHECK: atomicrmw xor i8 52 (void) __sync_fetch_and_nand (&sc, 1); // CHECK: atomicrmw nand i8 61 (void) __sync_fetch_and_and (&sc, 1); // CHECK: atomicrmw and i8 74 sc = __sync_fetch_and_add (&sc, 11); // CHECK: atomicrmw add 83 sc = __sync_fetch_and_sub (&sc, 11); // CHECK: atomicrmw su [all...] |
/external/libunwind/src/arm/ |
Gresume.c | 75 struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr; local 76 sc->arm_r0 = uc->regs[0]; 77 sc->arm_r1 = uc->regs[1]; 78 sc->arm_r2 = uc->regs[2]; 79 sc->arm_r3 = uc->regs[3]; 80 sc->arm_r4 = uc->regs[4]; 81 sc->arm_r5 = uc->regs[5]; 82 sc->arm_r6 = uc->regs[6]; 83 sc->arm_r7 = uc->regs[7]; 84 sc->arm_r8 = uc->regs[8] [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
LaunchClip.java | 97 private void verifyCell(int x, int y, int z, int[] a, Script.LaunchOptions sc) { 102 if (x >= sc.getXStart() && x < sc.getXEnd()) { 110 if (y >= sc.getYStart() && y < sc.getYEnd()) { 118 if (z >= sc.getZStart() && z < sc.getZEnd()) { 138 void verifyRange(Script.LaunchOptions sc, int[] a) { 145 verifyCell(x, y, z, a, sc); 179 Script.LaunchOptions sc = new Script.LaunchOptions() local 190 Script.LaunchOptions sc = new Script.LaunchOptions(); local 203 Script.LaunchOptions sc = new Script.LaunchOptions(); local 215 Script.LaunchOptions sc = new Script.LaunchOptions(); local 228 Script.LaunchOptions sc = new Script.LaunchOptions(); local 242 Script.LaunchOptions sc = new Script.LaunchOptions(); local 255 Script.LaunchOptions sc = new Script.LaunchOptions(); local 270 Script.LaunchOptions sc = new Script.LaunchOptions(); local 285 Script.LaunchOptions sc = new Script.LaunchOptions(); local [all...] |
/art/runtime/arch/mips/ |
fault_handler_mips.cc | 46 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 47 *out_sp = static_cast<uintptr_t>(sc->sc_regs[29]); // SP register 59 *out_method = reinterpret_cast<ArtMethod*>(sc->sc_regs[4]); // A0 register 69 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->sc_pc)); 71 *out_return_pc = sc->sc_pc + 4; 81 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 83 sc->sc_regs[31] = sc->sc_pc + 4; // RA needs to point to gc map location 84 sc->sc_pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception); 85 sc->sc_regs[25] = sc->sc_pc; // make sure T9 points to the functio 110 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 112 VLOG(signals) << "sigcontext: " << std::hex << sc; local [all...] |
/art/runtime/arch/mips64/ |
fault_handler_mips64.cc | 46 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 47 *out_sp = static_cast<uintptr_t>(sc->sc_regs[29]); // SP register 59 *out_method = reinterpret_cast<ArtMethod*>(sc->sc_regs[4]); // A0 register 69 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->sc_pc)); 71 *out_return_pc = sc->sc_pc + 4; 81 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 83 sc->sc_regs[31] = sc->sc_pc + 4; // RA needs to point to gc map location 84 sc->sc_pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception); 85 sc->sc_regs[25] = sc->sc_pc; // make sure T9 points to the functio 110 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 112 VLOG(signals) << "sigcontext: " << std::hex << sc; local [all...] |
/art/runtime/arch/arm64/ |
fault_handler_arm64.cc | 47 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 51 sc->regs[0] = reinterpret_cast<uintptr_t>(*self->GetNestedSignalState()); 52 sc->regs[1] = 1; 53 sc->pc = reinterpret_cast<uintptr_t>(longjmp); 60 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 61 *out_sp = static_cast<uintptr_t>(sc->sp); 69 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); 73 *out_method = reinterpret_cast<ArtMethod*>(sc->regs[0]); 82 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->pc)); 84 *out_return_pc = sc->pc + 4 94 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 119 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 165 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 167 VLOG(signals) << "sigcontext: " << std::hex << sc; local [all...] |
/external/openssh/openbsd-compat/ |
strsep.c | 57 int c, sc; local 66 if ((sc = *spanp++) == c) { 74 } while (sc != 0);
|
/external/tcpdump/missing/ |
strsep.c | 63 register int c, sc; local 72 if ((sc = *spanp++) == c) { 80 } while (sc != 0);
|
/external/libunwind/src/aarch64/ |
Gresume.c | 78 struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr; local 80 if (c->dwarf.eh_valid_mask & 0x1) sc->regs[0] = c->dwarf.eh_args[0]; 81 if (c->dwarf.eh_valid_mask & 0x2) sc->regs[1] = c->dwarf.eh_args[1]; 82 if (c->dwarf.eh_valid_mask & 0x4) sc->regs[2] = c->dwarf.eh_args[2]; 83 if (c->dwarf.eh_valid_mask & 0x8) sc->regs[3] = c->dwarf.eh_args[3]; 85 sc->regs[4] = uc->uc_mcontext.regs[4]; 86 sc->regs[5] = uc->uc_mcontext.regs[5]; 87 sc->regs[6] = uc->uc_mcontext.regs[6]; 88 sc->regs[7] = uc->uc_mcontext.regs[7]; 89 sc->regs[8] = uc->uc_mcontext.regs[8] [all...] |
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcstok.c | 46 wchar_t c, sc; local 56 for (spanp = delim; (sc = *spanp++) != L'\0';) { 57 if (c == sc) 75 if ((sc = *spanp++) == c) { 83 } while (sc != L'\0');
|
/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 34 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc, 37 sp<Surface> s = sc->getSurface(); 57 static void captureScreen(sp<ScreenCapture>* sc) { 68 *sc = new ScreenCapture(cpuConsumer); 180 sp<ScreenCapture> sc; local 183 ScreenCapture::captureScreen(&sc); 184 sc->checkPixel( 0, 12, 63, 63, 195); 185 sc->checkPixel( 75, 75, 195, 63, 63); 186 sc->checkPixel(145, 145, 63, 63, 195); 195 ScreenCapture::captureScreen(&sc); 214 sp<ScreenCapture> sc; local [all...] |
/external/libunwind/src/sh/ |
Gresume.c | 80 struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr; local 81 sc->sc_regs[0] = uc->uc_mcontext.gregs[0]; 82 sc->sc_regs[1] = uc->uc_mcontext.gregs[1]; 83 sc->sc_regs[2] = uc->uc_mcontext.gregs[2]; 84 sc->sc_regs[3] = uc->uc_mcontext.gregs[3]; 85 sc->sc_regs[4] = uc->uc_mcontext.gregs[4]; 86 sc->sc_regs[5] = uc->uc_mcontext.gregs[5]; 87 sc->sc_regs[6] = uc->uc_mcontext.gregs[6]; 88 sc->sc_regs[7] = uc->uc_mcontext.gregs[7]; 89 sc->sc_regs[8] = uc->uc_mcontext.gregs[8] [all...] |