/libcore/luni/src/test/java/libcore/java/io/ |
OldStringReaderTest.java | 27 StringReader sr; field in class:OldStringReaderTest 30 sr = new StringReader(testString); 32 sr.mark(-1); 40 sr = new StringReader(testString); 42 sr.read(buf, 0, -1); 48 sr.read(buf, -1, 1); 54 sr.read(buf, 1, testString.length()); 64 sr.close();
|
/frameworks/compile/libbcc/runtime/lib/ |
udivsi3.c | 27 unsigned sr; local 33 sr = __builtin_clz(d) - __builtin_clz(n); 34 /* 0 <= sr <= n_uword_bits - 1 or sr large */ 35 if (sr > n_uword_bits - 1) /* d > r */ 37 if (sr == n_uword_bits - 1) /* d == 1 */ 39 ++sr; 40 /* 1 <= sr <= n_uword_bits - 1 */ 42 q = n << (n_uword_bits - sr); 43 r = n >> sr; [all...] |
udivmoddi4.c | 34 unsigned sr; local 102 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high); 103 /* 0 <= sr <= n_uword_bits - 2 or sr large */ 104 if (sr > n_uword_bits - 2) 110 ++sr; 111 /* 1 <= sr <= n_uword_bits - 1 */ 112 /* q.all = n.all << (n_udword_bits - sr); */ 114 q.s.high = n.s.low << (n_uword_bits - sr); 115 /* r.all = n.all >> sr; */ 133 unsigned sr = __builtin_ctz(d.s.low); local [all...] |
udivmodti4.c | 36 unsigned sr; local 104 sr = __builtin_clzll(d.s.high) - __builtin_clzll(n.s.high); 105 /* 0 <= sr <= n_udword_bits - 2 or sr large */ 106 if (sr > n_udword_bits - 2) 112 ++sr; 113 /* 1 <= sr <= n_udword_bits - 1 */ 114 /* q.all = n.all << (n_utword_bits - sr); */ 116 q.s.high = n.s.low << (n_udword_bits - sr); 117 /* r.all = n.all >> sr; */ 135 unsigned sr = __builtin_ctzll(d.s.low); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
StringReaderTest.java | 27 StringReader sr; field in class:StringReaderTest 43 sr = new StringReader(testString); 44 sr.close(); 46 sr.read(buf, 0, 2); 58 sr = new StringReader(testString); 59 sr.skip(5); 60 sr.mark(0); 61 sr.skip(5); 62 sr.reset(); 64 sr.read(buf, 0, 2) 155 final StringReader sr = new StringReader(anything); local [all...] |
/external/libgsm/src/ |
gsm_decode.c | 21 uword sr = 0; local 26 sr = *c++; 27 LARc[0] = sr & 0x3f; sr >>= 6; 28 sr |= (uword)*c++ << 2; 29 LARc[1] = sr & 0x3f; sr >>= 6; 30 sr |= (uword)*c++ << 4; 31 LARc[2] = sr & 0x1f; sr >>= 5 [all...] |
gsm_encode.c | 112 uword sr; local 114 sr = 0; 115 sr = sr >> 6 | LARc[0] << 10; 116 sr = sr >> 6 | LARc[1] << 10; 117 *c++ = sr >> 4; 118 sr = sr >> 5 | LARc[2] << 11; 119 *c++ = sr >> 7 228 uword sr; local [all...] |
gsm_explode.c | 25 uword sr = 0; local 29 sr = *c++; 30 LARc[0] = sr & 0x3f; sr >>= 6; 31 sr |= (uword)*c++ << 2; 32 LARc[1] = sr & 0x3f; sr >>= 6; 33 sr |= (uword)*c++ << 4; 34 LARc[2] = sr & 0x1f; sr >>= 5 [all...] |
gsm_implode.c | 118 uword sr = 0; local 120 sr = sr >> 6 | LARc[0] << 10; 121 sr = sr >> 6 | LARc[1] << 10; 122 *c++ = sr >> 4; 123 sr = sr >> 5 | LARc[2] << 11; 124 *c++ = sr >> 7; 125 sr = sr >> 5 | LARc[3] << 11 [all...] |
/bionic/libc/kernel/arch-sh/asm/ |
kgdb.h | 21 unsigned long sr; member in struct:kgdb_regs
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/ |
ReferenceQueueTest.java | 47 SoftReference sr = new SoftReference(integer, rq); local 48 sr.enqueue(); 63 SoftReference sr = new SoftReference(b, rq); local 64 sr.enqueue(); 76 SoftReference sr = new SoftReference(b, rq); local 77 sr.enqueue();
|
SoftReferenceTest.java | 36 SoftReference sr = new SoftReference(bool, rq); local 37 assertTrue("Initialization failed.", ((Boolean) sr.get()) 54 SoftReference sr = new SoftReference(bool); local 55 assertTrue("Initialization failed.", ((Boolean) sr.get()) 64 SoftReference sr = new SoftReference(bool); local 65 assertTrue("Same object not returned.", bool == sr.get());
|
ReferenceTest.java | 39 SoftReference sr = new SoftReference(tmpA, new ReferenceQueue()); local 41 assertTrue("Start: Object not cleared.", (sr.get() != null) 43 sr.clear(); 45 assertTrue("End: Object cleared.", (sr.get() == null) 48 assertTrue("should always pass", tmpA != sr.get() && tmpB != wr.get());
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
SecureRandom_ImplTest.java | 69 SecureRandom sr = new SecureRandom(); local 70 sr.setSeed(0); 71 sr.setSeed(-1); 72 sr.setSeed(11111111111L); 76 SecureRandom sr = new SecureRandom(); local 77 sr.nextBytes(new byte[20]); 78 sr.nextBytes(new byte[1]); 82 sr.nextBytes(null); 85 sr.nextBytes(new byte[5]); 105 SecureRandom sr = new SecureRandom() local 117 SecureRandom sr = new SecureRandom(); local 138 SecureRandom sr = new SecureRandom(); local [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSessionContextImplTest.java | 34 SecureRandom sr = new SecureRandom(); local 36 CipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA, sr); 38 CipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA, sr); 40 CipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5, sr);
|
/external/clang/test/CXX/expr/ |
p9.cpp | 26 int &sr = s1; variable
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/serialization/ |
SHA1PRNG_SecureRandomTest.java | 71 SecureRandom sr; local 77 sr = SecureRandom.getInstance(algorithm, provider); 83 case 1 : sr.setSeed( zero ); 86 case 2 : sr.setSeed( new byte[] { (byte)1 } ); 89 case 3 : sr.nextBytes( zero ); 92 case 4 : sr.nextBytes( new byte[1] ); 95 data[i] = sr;
|
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
Cipher_Impl1Test.java | 56 SecureRandom sr = new SecureRandom(); local 60 sr.nextBytes(iv); 84 SecureRandom sr = new SecureRandom(); local 90 sr.nextBytes(iv); 97 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, ap, sr);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
CryptoProviderTest.java | 63 SecureRandom sr; local 68 sr = SecureRandom.getInstance(shaprng, providerName);
|
SHA1PRNG_SecureRandomTest.java | 39 private static SecureRandom sr; // fields used by tests field in class:SHA1PRNG_SecureRandomTest 47 sr = SecureRandom.getInstance(algorithm, provider); 58 sr.generateSeed(-1); 74 byte[] myBytes = sr.generateSeed(i); 93 myBytes1 = sr.generateSeed(i); 94 myBytes2 = sr.generateSeed(i); 113 sr.nextBytes(null); 140 sr.setSeed(myBytes); 147 sr.nextBytes(myBytes1); 167 sr.nextBytes(bytes1[k]) [all...] |
/external/libpcap/ |
pcap-snoop.c | 202 struct sockaddr_raw sr; local 224 memset(&sr, 0, sizeof(sr)); 225 sr.sr_family = AF_RAW; 226 (void)strncpy(sr.sr_ifname, device, sizeof(sr.sr_ifname)); 227 if (bind(fd, (struct sockaddr *)&sr, sizeof(sr))) {
|
/external/skia/src/core/ |
SkBlitRow_D16.cpp | 113 int sr = SkGetPackedR32(c); local 116 sr = SkDITHER_R32To565(sr, dither); 121 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), 144 unsigned sr = SkGetPackedR32(c); local 147 sr = SkDITHER_R32_FOR_565(sr, d); 151 uint32_t src_expanded = (sg << 24) | (sr << 13) | (sb << 2); 181 int sr = SkGetPackedR32(c); local 184 sr = SkDITHER_R32To565(sr, dither) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
CipherPBEThread.java | 40 SecureRandom sr = new SecureRandom(); local 49 sr.nextBytes(salt);
|
CipherSymmetricKeyThread.java | 38 SecureRandom sr = new SecureRandom(); local 53 sr.nextBytes(iv);
|
/system/media/wilhelm/src/android/ |
AacBqToPcmCbRenderer.cpp | 216 int32_t sr; local 217 CHECK(meta->findInt32(kKeySampleRate, &sr)); 228 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_SAMPLERATE] = sr; 233 SL_LOGV("AacBqToPcmCbRenderer::onPrepare() channel count=%d SR=%d", 234 channelCount, sr);
|