Searched refs:sr (Results 1 - 25 of 171) sorted by relevance

1234567

/external/libgsm/src/
H A Dgsm_encode.c112 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 >>
228 uword sr; local
[all...]
H A Dgsm_implode.c118 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
[all...]
H A Dgsm_decode.c21 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 >>
[all...]
H A Dgsm_explode.c25 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 >>
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DStringReaderTest.java27 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
[all...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
H A DSecureRandom_ImplTest.java69 SecureRandom sr = new SecureRandom();
70 sr.setSeed(0);
71 sr.setSeed(-1);
72 sr.setSeed(11111111111L);
76 SecureRandom sr = new SecureRandom();
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
[all...]
/external/apache-harmony/security/src/test/api/java.injected/java/security/
H A DSecureRandomTest.java57 SecureRandom sr = new SecureRandom();
58 if (sr.next(1) != 1 || sr.next(2) != 3 || sr.next(3) != 7) {
67 SecureRandom sr = new SecureRandom();
68 sr.setSeed(12345);
76 SecureRandom sr = new SecureRandom();
77 sr.nextBytes(b);
89 SecureRandom sr = new SecureRandom();
90 if (!sr
[all...]
/external/compiler-rt/lib/
H A Dudivsi3.c30 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...]
H A Dudivmoddi4.c34 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...]
H A Dudivmodti4.c36 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...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/
H A DSoftReferenceTest.java36 SoftReference sr = new SoftReference(bool, rq);
37 assertTrue("Initialization failed.", ((Boolean) sr.get())
54 SoftReference sr = new SoftReference(bool);
55 assertTrue("Initialization failed.", ((Boolean) sr.get())
64 SoftReference sr = new SoftReference(bool);
65 assertTrue("Same object not returned.", bool == sr.get());
H A DReferenceQueueTest.java47 SoftReference sr = new SoftReference(integer, rq);
48 sr.enqueue();
63 SoftReference sr = new SoftReference(b, rq);
64 sr.enqueue();
76 SoftReference sr = new SoftReference(b, rq);
77 sr.enqueue();
/external/valgrind/main/include/
H A Dpub_tool_basics.h194 static inline Bool sr_isError ( SysRes sr ) {
195 return sr._isError;
197 static inline UWord sr_Res ( SysRes sr ) {
198 return sr._isError ? 0 : sr._val;
200 static inline UWord sr_ResHI ( SysRes sr ) {
203 static inline UWord sr_Err ( SysRes sr ) {
204 return sr._isError ? sr._val : 0;
214 static inline Bool sr_isError ( SysRes sr ) {
[all...]
/external/icu4c/samples/uresb/
H A Dresources.mak4 TARGETS = en.res root.res sr.res
26 sr.res : sr.txt
/external/clang/test/SemaCXX/
H A Doverloaded-builtin-operators.cpp78 void g(ShortRef sr, LongRef lr, E2Ref e2_ref, XpmfRef pmf_ref) { argument
80 short s1 = sr++;
86 short& sr1 = (sr *= lr);
87 volatile long& lr1 = (lr *= sr);
98 short& sr2 = (sr %= lr);
99 volatile long& lr2 = (lr <<= sr);
101 bool b1 = (sr && lr) || (sr || lr);
120 void test_with_ptrs(VolatileIntPtr vip, ConstIntPtr cip, ShortRef sr, argument
122 const int& cir1 = cip[sr];
150 test_assign_restrictions(ShortRef& sr) argument
[all...]
/external/webkit/Source/WebKit/efl/ewk/
H A Dewk_view_single.c200 static inline void _ewk_view_single_scroll_process_single(Ewk_View_Smart_Data *sd, void *pixels, Evas_Coord ow, Evas_Coord oh, const Ewk_Scroll_Request *sr) argument
205 sr->x, sr->y, sr->w, sr->h, sr->dx, sr->dy, pixels, ow, oh);
207 sx = sr->x;
208 sy = sr->y;
209 sw = sr
339 const Ewk_Scroll_Request *sr; local
[all...]
H A Dewk_view_tiled.c82 const Ewk_Scroll_Request *sr; local
89 sr = ewk_view_scroll_requests_get(sd->_priv, &count);
90 sr_end = sr + count;
91 for (; sr < sr_end; sr++) {
92 if (sr->main_scroll)
94 (sd->backing_store, sr->dx, sr->dy);
98 sx = sr->x;
99 sy = sr
[all...]
/external/opencv/otherlibs/highgui/
H A Dhighgui.h290 CV_INLINE CvRect RectToCvRect( RECT sr );
291 CV_INLINE CvRect RectToCvRect( RECT sr )
293 sr = NormalizeRect( sr );
294 return cvRect( sr.left, sr.top, sr.right - sr.left, sr.bottom - sr
[all...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
H A DSHA1PRNG_SecureRandomTest.java39 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
[all...]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DSSLSessionContextImplTest.java34 SecureRandom sr = new SecureRandom();
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/skia/include/core/
H A DSkDither.h78 unsigned sr = SkGetPackedR32(c); local
81 sr = SkDITHER_R32_FOR_565(sr, dither);
85 return SkPackARGB32(sa, sr, sg, sb);
92 unsigned sr = SkGetPackedR32(c); local
95 sr = SkDITHER_R32_FOR_565(sr, dither);
99 return SkPackARGB32(0xFF, sr, sg, sb);
116 unsigned sr = SkGetPackedR32(c); local
119 sr
131 unsigned sr = SkGetPackedR32(c); local
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dutils.c27 /* Print the system error message for sr.
29 void sr_perror (SysRes sr,char *string,...) argument
32 if (sr_isError (sr))
33 VG_(umsg) ("error %ld %s\n", sr_Err(sr), VG_(strerror) (sr_Err(sr)));
/external/openssl/crypto/ripemd/asm/
H A Drmd-586.pl53 @sr=( 8, 9, 9,11,13,15,15, 5, 7, 7, 8,11,14,14,12, 6,
446 &RIP5($A,$B,$C,$D,$E,$wr[ 0],$sr[ 0],$KR0,-2);
447 &RIP5($E,$A,$B,$C,$D,$wr[ 1],$sr[ 1],$KR0,0);
448 &RIP5($D,$E,$A,$B,$C,$wr[ 2],$sr[ 2],$KR0,0);
449 &RIP5($C,$D,$E,$A,$B,$wr[ 3],$sr[ 3],$KR0,0);
450 &RIP5($B,$C,$D,$E,$A,$wr[ 4],$sr[ 4],$KR0,0);
451 &RIP5($A,$B,$C,$D,$E,$wr[ 5],$sr[ 5],$KR0,0);
452 &RIP5($E,$A,$B,$C,$D,$wr[ 6],$sr[ 6],$KR0,0);
453 &RIP5($D,$E,$A,$B,$C,$wr[ 7],$sr[ 7],$KR0,0);
454 &RIP5($C,$D,$E,$A,$B,$wr[ 8],$sr[
[all...]
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipher_Impl1Test.java56 SecureRandom sr = new SecureRandom();
60 sr.nextBytes(iv);
84 SecureRandom sr = new SecureRandom();
90 sr.nextBytes(iv);
97 cipher.init(Cipher.ENCRYPT_MODE, cipherKey, ap, sr);
/external/webkit/Source/WebCore/platform/graphics/transforms/
H A DAffineTransform.cpp39 static void affineTransformDecompose(const AffineTransform& matrix, double sr[9]) argument
67 sr[0] = sx;
68 sr[1] = sy;
69 sr[2] = angle;
70 sr[3] = m.a();
71 sr[4] = m.b();
72 sr[5] = m.c();
73 sr[6] = m.d();
74 sr[7] = m.e();
75 sr[
78 affineTransformCompose(AffineTransform& m, const double sr[9]) argument
[all...]

Completed in 364 milliseconds

1234567