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

1234567891011>>

/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/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
H A DSecureRandom_ImplTest.java67 SecureRandom sr = new SecureRandom();
68 sr.setSeed(0);
69 sr.setSeed(-1);
70 sr.setSeed(11111111111L);
74 SecureRandom sr = new SecureRandom();
75 sr.nextBytes(new byte[20]);
76 sr.nextBytes(new byte[1]);
80 sr.nextBytes(null);
83 sr.nextBytes(new byte[5]);
103 SecureRandom sr
[all...]
/external/apache-harmony/security/src/test/api/java.injected/java/security/
H A DSecureRandomTest.java56 SecureRandom sr = new SecureRandom();
57 if (sr.next(1) != 1 || sr.next(2) != 3 || sr.next(3) != 7) {
66 SecureRandom sr = new SecureRandom();
67 sr.setSeed(12345);
75 SecureRandom sr = new SecureRandom();
76 sr.nextBytes(b);
88 SecureRandom sr = new SecureRandom();
89 if (!sr
[all...]
/external/compiler-rt/lib/builtins/
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/libunwind/src/ia64/
H A DGis_signal_frame.c32 struct ia64_state_record sr; local
42 ret = ia64_create_state_record (c, &sr);
48 ret = (sr.abi_marker != 0);
50 ia64_free_state_record (&sr);
H A DGparser.c30 struct ia64_state_record *sr,
43 push (struct ia64_state_record *sr) argument
53 memcpy (rs, &sr->curr, sizeof (*rs));
54 sr->curr.next = rs;
58 pop (struct ia64_state_record *sr) argument
60 struct ia64_reg_state *rs = sr->curr.next;
67 memcpy (&sr->curr, rs, sizeof (*rs));
200 finish_prologue (struct ia64_state_record *sr) argument
210 reg = sr->curr.reg + unw.save_order[i];
214 reg->val = sr
264 desc_prologue(int body, unw_word rlen, unsigned char mask, unsigned char grsave, struct ia64_state_record *sr) argument
313 desc_abi(unsigned char abi, unsigned char context, struct ia64_state_record *sr) argument
320 desc_br_gr(unsigned char brmask, unsigned char gr, struct ia64_state_record *sr) argument
335 desc_br_mem(unsigned char brmask, struct ia64_state_record *sr) argument
352 desc_frgr_mem(unsigned char grmask, unw_word frmask, struct ia64_state_record *sr) argument
381 desc_fr_mem(unsigned char frmask, struct ia64_state_record *sr) argument
398 desc_gr_gr(unsigned char grmask, unsigned char gr, struct ia64_state_record *sr) argument
413 desc_gr_mem(unsigned char grmask, struct ia64_state_record *sr) argument
430 desc_mem_stack_f(unw_word t, unw_word size, struct ia64_state_record *sr) argument
437 desc_mem_stack_v(unw_word t, struct ia64_state_record *sr) argument
444 desc_reg_gr(unsigned char reg, unsigned char dst, struct ia64_state_record *sr) argument
452 desc_reg_psprel(unsigned char reg, unw_word pspoff, struct ia64_state_record *sr) argument
460 desc_reg_sprel(unsigned char reg, unw_word spoff, struct ia64_state_record *sr) argument
468 desc_rp_br(unsigned char dst, struct ia64_state_record *sr) argument
474 desc_reg_when(unsigned char regnum, unw_word t, struct ia64_state_record *sr) argument
484 desc_spill_base(unw_word pspoff, struct ia64_state_record *sr) argument
490 desc_spill_mask(unsigned char *imaskp, struct ia64_state_record *sr) argument
499 desc_epilogue(unw_word t, unw_word ecount, struct ia64_state_record *sr) argument
506 desc_copy_state(unw_word label, struct ia64_state_record *sr) argument
524 desc_label_state(unw_word label, struct ia64_state_record *sr) argument
546 desc_is_active(unsigned char qp, unw_word t, struct ia64_state_record *sr) argument
560 desc_restore_p(unsigned char qp, unw_word t, unsigned char abreg, struct ia64_state_record *sr) argument
575 desc_spill_reg_p(unsigned char qp, unw_word t, unsigned char abreg, unsigned char x, unsigned char ytreg, struct ia64_state_record *sr) argument
597 desc_spill_psprel_p(unsigned char qp, unw_word t, unsigned char abreg, unw_word pspoff, struct ia64_state_record *sr) argument
612 desc_spill_sprel_p(unsigned char qp, unw_word t, unsigned char abreg, unw_word spoff, struct ia64_state_record *sr) argument
697 lookup_preg(int regnum, int memory, struct ia64_state_record *sr) argument
751 desc_alias(unw_dyn_op_t *op, struct cursor *c, struct ia64_state_record *sr) argument
788 parse_dynamic(struct cursor *c, struct ia64_state_record *sr) argument
956 create_state_record_for(struct cursor *c, struct ia64_state_record *sr, unw_word_t ip) argument
1094 ia64_create_state_record(struct cursor *c, struct ia64_state_record *sr) argument
1100 ia64_free_state_record(struct ia64_state_record *sr) argument
[all...]
H A DGscript.c244 struct ia64_state_record *sr)
246 script->pr_mask = sr->pr_mask;
247 script->pr_val = sr->pr_val;
264 compile_reg (struct ia64_state_record *sr, int i, struct ia64_reg_info *r, argument
272 if (r->where == IA64_WHERE_NONE || r->when >= sr->when_target)
394 sort_regs (struct ia64_state_record *sr, int regorder[]) argument
402 if (sr->curr.reg[r].where == IA64_WHERE_NONE
403 || sr->curr.reg[r].when >= sr->when_target)
416 max_when = sr
243 script_finalize(struct ia64_script *script, struct cursor *c, struct ia64_state_record *sr) argument
442 struct ia64_state_record sr; local
[all...]
/external/valgrind/main/include/
H A Dpub_tool_basics.h195 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/
H A Dr300_render_stencilref.c57 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
107 struct r300_stencilref_context *sr = r300->stencilref_fallback; local
[all...]
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_render_stencilref.c57 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
107 struct r300_stencilref_context *sr = r300->stencilref_fallback; local
[all...]
/external/chromium_org/third_party/icu/source/samples/uresb/
H A Dresources.mak4 TARGETS = en.res root.res sr.res
26 sr.res : sr.txt
/external/icu/icu4c/source/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.cpp79 void g(ShortRef sr, LongRef lr, E2Ref e2_ref, XpmfRef pmf_ref) { argument
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, argument
123 const int& cir1 = cip[sr];
151 test_assign_restrictions(ShortRef& sr) argument
[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.java33 SecureRandom sr = new SecureRandom();
35 CipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA, sr);
37 CipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA, sr);
39 CipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5, sr);
/external/chromium_org/third_party/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/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, const char *string,...) argument
32 if (sr_isError (sr))
33 VG_(umsg) ("error %ld %s\n", sr_Err(sr), VG_(strerror) (sr_Err(sr)));
/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);

Completed in 1427 milliseconds

1234567891011>>