/external/libgsm/src/ |
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_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...] |
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_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...] |
/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/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/security/src/test/api/java.injected/java/security/ |
SecureRandomTest.java | 57 SecureRandom sr = new SecureRandom(); local 58 if (sr.next(1) != 1 || sr.next(2) != 3 || sr.next(3) != 7) { 67 SecureRandom sr = new SecureRandom(); local 68 sr.setSeed(12345); 76 SecureRandom sr = new SecureRandom(); local 77 sr.nextBytes(b); 89 SecureRandom sr = new SecureRandom(); local 90 if (!sr.getAlgorithm().equals("someRandom") | 111 SecureRandom sr = null; local 126 SecureRandom sr = SecureRandom.getInstance("someRandom", "SRProvider"); local 137 SecureRandom sr = SecureRandom.getInstance("someRandom", p); local 148 SecureRandom sr = new SecureRandom(); local 163 SecureRandom sr = new SecureRandom(); local [all...] |
/external/compiler-rt/lib/ |
udivsi3.c | 30 unsigned sr; local 36 sr = __builtin_clz(d) - __builtin_clz(n); 37 /* 0 <= sr <= n_uword_bits - 1 or sr large */ 38 if (sr > n_uword_bits - 1) /* d > r */ 40 if (sr == n_uword_bits - 1) /* d == 1 */ 42 ++sr; 43 /* 1 <= sr <= n_uword_bits - 1 */ 45 q = n << (n_uword_bits - sr); 46 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; */ [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; */ [all...] |
/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();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IntrinsicConvolve3x3.java | 39 ScriptC_intrinsic_convolve3x3 sr = new ScriptC_intrinsic_convolve3x3(mRS); local 40 sr.set_gCoeffs(cf1); 41 sr.set_gIn(mAllocSrc); 42 sr.set_gWidth(w); 43 sr.set_gHeight(h); 47 sr.forEach_convolve_U4(mAllocDst); 50 sr.forEach_convolve_U3(mAllocDst); 53 sr.forEach_convolve_U2(mAllocDst); 56 sr.forEach_convolve_U1(mAllocDst); 62 sr.forEach_convolve_F4(mAllocDst) [all...] |
IntrinsicConvolve5x5.java | 23 private void test5(ScriptC_intrinsic_convolve5x5 sr, ScriptIntrinsicConvolve5x5 si, 29 sr.set_gWidth(w); 30 sr.set_gHeight(h); 31 sr.set_gCoeffs(cf); 32 sr.set_gIn(mAllocSrc); 36 sr.forEach_convolve_U4(mAllocDst); 39 sr.forEach_convolve_U3(mAllocDst); 42 sr.forEach_convolve_U2(mAllocDst); 45 sr.forEach_convolve_U1(mAllocDst); 51 sr.forEach_convolve_F4(mAllocDst) 86 ScriptC_intrinsic_convolve5x5 sr = new ScriptC_intrinsic_convolve5x5(mRS); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/ |
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());
|
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();
|
/external/valgrind/main/include/ |
pub_tool_basics.h | 195 static inline Bool sr_isError ( SysRes sr ) { 196 return sr._isError; 198 static inline UWord sr_Res ( SysRes sr ) { 199 return sr._isError ? 0 : sr._val; 201 static inline UWord sr_ResEx ( SysRes sr ) { 202 return sr._isError ? 0 : sr._valEx; 204 static inline UWord sr_ResHI ( SysRes sr ) { 207 static inline UWord sr_Err ( SysRes sr ) { [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_render_stencilref.c | 57 struct r300_stencilref_context *sr = r300->stencilref_fallback; local 62 sr->rs_cull_mode = rs->cb_main[rs->cull_mode_index]; 63 sr->zb_stencilrefmask = dsa->stencil_ref_mask; 64 sr->ref_value_front = r300->stencil_ref.ref_value[0]; 75 struct r300_stencilref_context *sr = r300->stencilref_fallback; local 79 rs->cb_main[rs->cull_mode_index] = sr->rs_cull_mode | R300_CULL_FRONT; 90 struct r300_stencilref_context *sr = r300->stencilref_fallback; local 95 rs->cb_main[rs->cull_mode_index] = sr->rs_cull_mode; 96 dsa->stencil_ref_mask = sr->zb_stencilrefmask; 97 r300->stencil_ref.ref_value[0] = sr->ref_value_front 107 struct r300_stencilref_context *sr = r300->stencilref_fallback; local [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_render_stencilref.c | 57 struct r300_stencilref_context *sr = r300->stencilref_fallback; local 62 sr->rs_cull_mode = rs->cb_main[rs->cull_mode_index]; 63 sr->zb_stencilrefmask = dsa->stencil_ref_mask; 64 sr->ref_value_front = r300->stencil_ref.ref_value[0]; 75 struct r300_stencilref_context *sr = r300->stencilref_fallback; local 79 rs->cb_main[rs->cull_mode_index] = sr->rs_cull_mode | R300_CULL_FRONT; 90 struct r300_stencilref_context *sr = r300->stencilref_fallback; local 95 rs->cb_main[rs->cull_mode_index] = sr->rs_cull_mode; 96 dsa->stencil_ref_mask = sr->zb_stencilrefmask; 97 r300->stencil_ref.ref_value[0] = sr->ref_value_front 107 struct r300_stencilref_context *sr = r300->stencilref_fallback; local [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
SecureRandomTest.java | 74 private void test_SecureRandom(SecureRandom sr) throws Exception { 78 sr.nextBytes(out1); 79 sr.nextBytes(out2); 82 byte[] seed1 = sr.generateSeed(20); 83 byte[] seed2 = sr.generateSeed(20); 86 sr.setSeed(STATIC_SEED_BYTES); 87 sr.nextBytes(out1); 88 sr.nextBytes(out2); 91 sr.setSeed(STATIC_SEED_LONG); 92 sr.nextBytes(out1) 98 SecureRandom sr = SecureRandom.getInstance("SHA1PRNG"); local [all...] |
/external/icu4c/samples/uresb/ |
resources.mak | 4 TARGETS = en.res root.res sr.res 26 sr.res : sr.txt
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
bwfilter.rs | 20 static float sr = 0.f; 26 sr = rw; 31 imageMin = fmin(sr,imageMin); 33 imageMax = fmax(sr,imageMax); 37 sr /= avg; 42 float r = in->r * sr;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
bwfilter.rs | 20 static float sr = 0.f; 26 sr = rw; 31 imageMin = fmin(sr,imageMin); 33 imageMax = fmax(sr,imageMax); 37 sr /= avg; 42 float r = in->r * sr;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
bwfilter.rs | 20 static float sr = 0.f; 26 sr = rw; 31 imageMin = fmin(sr,imageMin); 33 imageMax = fmax(sr,imageMax); 37 sr /= avg; 42 float r = in->r * sr;
|
/external/clang/test/SemaCXX/ |
overloaded-builtin-operators.cpp | 79 void g(ShortRef sr, LongRef lr, E2Ref e2_ref, XpmfRef pmf_ref) { 81 short s1 = sr++; 87 short& sr1 = (sr *= lr); 88 volatile long& lr1 = (lr *= sr); 99 short& sr2 = (sr %= lr); 100 volatile long& lr2 = (lr <<= sr); 102 bool b1 = (sr && lr) || (sr || lr); 121 void test_with_ptrs(VolatileIntPtr vip, ConstIntPtr cip, ShortRef sr, 123 const int& cir1 = cip[sr]; [all...] |
/libcore/luni/src/test/java/tests/java/security/ |
SecureRandomTest.java | 62 MySecureRandom sr = new MySecureRandom(); local 63 if (sr.nextElement(1) != 1 || sr.nextElement(2) != 3 || sr.nextElement(3) != 7) { 72 SecureRandom sr = new SecureRandom(); local 73 sr.setSeed(12345); 81 SecureRandom sr = new SecureRandom(); local 82 sr.nextBytes(b); 90 sr.nextBytes(null); 101 SecureRandom sr = new SecureRandom() local 126 SecureRandom sr = null; local 141 SecureRandom sr = SecureRandom.getInstance("someRandom", "SRProvider"); local 204 SecureRandom sr = SecureRandom.getInstance("someRandom", p); local 251 SecureRandom sr = new SecureRandom(); local 267 SecureRandom sr = new SecureRandom(); local [all...] |