/external/libgsm/src/ |
D | gsm_encode.c | 112 uword sr; variable 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; 120 sr = sr >> 5 | LARc[3] << 11; 121 sr = sr >> 4 | LARc[4] << 12; 122 *c++ = sr >> 6; [all …]
|
D | gsm_implode.c | 118 uword sr = 0; variable 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; 126 sr = sr >> 4 | LARc[4] << 12; 127 *c++ = sr >> 6; 128 sr = sr >> 4 | LARc[5] << 12; [all …]
|
D | gsm_explode.c | 25 uword sr = 0; variable 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; 35 LARc[3] = sr & 0x1f; sr >>= 5; 36 sr |= (uword)*c++ << 2; 37 LARc[4] = sr & 0xf; sr >>= 4; [all …]
|
D | gsm_decode.c | 21 uword sr = 0; variable 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; 32 LARc[3] = sr & 0x1f; sr >>= 5; 33 sr |= (uword)*c++ << 2; 34 LARc[4] = sr & 0xf; sr >>= 4; [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
D | StringReaderTest.java | 27 StringReader sr; field in StringReaderTest 43 sr = new StringReader(testString); in test_close() 44 sr.close(); in test_close() 46 sr.read(buf, 0, 2); in test_close() 58 sr = new StringReader(testString); in test_markI() 59 sr.skip(5); in test_markI() 60 sr.mark(0); in test_markI() 61 sr.skip(5); in test_markI() 62 sr.reset(); in test_markI() 64 sr.read(buf, 0, 2); in test_markI() [all …]
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
D | SecureRandomTest.java | 57 SecureRandom sr = new SecureRandom(); in testNext() local 58 if (sr.next(1) != 1 || sr.next(2) != 3 || sr.next(3) != 7) { in testNext() 67 SecureRandom sr = new SecureRandom(); in testSetSeedlong() local 68 sr.setSeed(12345); in testSetSeedlong() 76 SecureRandom sr = new SecureRandom(); in testNextBytes() local 77 sr.nextBytes(b); in testNextBytes() 89 SecureRandom sr = new SecureRandom(); in testSecureRandom() local 90 if (!sr.getAlgorithm().equals("someRandom") || in testSecureRandom() 91 sr.getProvider()!= p) { in testSecureRandom() 111 SecureRandom sr = null; in testGetInstanceString() local [all …]
|
/external/compiler-rt/lib/ |
D | udivmodti4.c | 36 unsigned sr; in __udivmodti4() local 104 sr = __builtin_clzll(d.s.high) - __builtin_clzll(n.s.high); in __udivmodti4() 106 if (sr > n_udword_bits - 2) in __udivmodti4() 112 ++sr; in __udivmodti4() 116 q.s.high = n.s.low << (n_udword_bits - sr); in __udivmodti4() 118 r.s.high = n.s.high >> sr; in __udivmodti4() 119 r.s.low = (n.s.high << (n_udword_bits - sr)) | (n.s.low >> sr); in __udivmodti4() 135 sr = __builtin_ctzll(d.s.low); in __udivmodti4() 136 q.s.high = n.s.high >> sr; in __udivmodti4() 137 q.s.low = (n.s.high << (n_udword_bits - sr)) | (n.s.low >> sr); in __udivmodti4() [all …]
|
D | udivmoddi4.c | 34 unsigned sr; in __udivmoddi4() local 102 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high); in __udivmoddi4() 104 if (sr > n_uword_bits - 2) in __udivmoddi4() 110 ++sr; in __udivmoddi4() 114 q.s.high = n.s.low << (n_uword_bits - sr); in __udivmoddi4() 116 r.s.high = n.s.high >> sr; in __udivmoddi4() 117 r.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4() 133 sr = __builtin_ctz(d.s.low); in __udivmoddi4() 134 q.s.high = n.s.high >> sr; in __udivmoddi4() 135 q.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4() [all …]
|
D | udivsi3.c | 30 unsigned sr; in ARM_EABI_FNALIAS() local 36 sr = __builtin_clz(d) - __builtin_clz(n); in ARM_EABI_FNALIAS() 38 if (sr > n_uword_bits - 1) /* d > r */ in ARM_EABI_FNALIAS() 40 if (sr == n_uword_bits - 1) /* d == 1 */ in ARM_EABI_FNALIAS() 42 ++sr; in ARM_EABI_FNALIAS() 45 q = n << (n_uword_bits - sr); in ARM_EABI_FNALIAS() 46 r = n >> sr; in ARM_EABI_FNALIAS() 48 for (; sr > 0; --sr) in ARM_EABI_FNALIAS()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandom_ImplTest.java | 69 SecureRandom sr = new SecureRandom(); in testSetSeedlong() local 70 sr.setSeed(0); in testSetSeedlong() 71 sr.setSeed(-1); in testSetSeedlong() 72 sr.setSeed(11111111111L); in testSetSeedlong() 76 SecureRandom sr = new SecureRandom(); in testNextBytes() local 77 sr.nextBytes(new byte[20]); in testNextBytes() 78 sr.nextBytes(new byte[1]); in testNextBytes() 82 sr.nextBytes(null); in testNextBytes() 85 sr.nextBytes(new byte[5]); in testNextBytes() 105 SecureRandom sr = new SecureRandom(); in testGetAlgorithm() local [all …]
|
/external/valgrind/main/include/ |
D | pub_tool_basics.h | 195 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() argument 196 return sr._isError; in sr_isError() 198 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() argument 199 return sr._isError ? 0 : sr._val; in sr_Res() 201 static inline UWord sr_ResEx ( SysRes sr ) { in sr_ResEx() argument 202 return sr._isError ? 0 : sr._valEx; in sr_ResEx() 204 static inline UWord sr_ResHI ( SysRes sr ) { in sr_ResHI() argument 207 static inline UWord sr_Err ( SysRes sr ) { in sr_Err() argument 208 return sr._isError ? sr._val : 0; in sr_Err() 218 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() argument [all …]
|
/external/openssl/crypto/ripemd/asm/ |
D | rmd-586.pl | 53 @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[ 8],$KR0,0); [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/ripemd/asm/ |
D | rmd-586.pl | 53 @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[ 8],$KR0,0); [all …]
|
/external/clang/test/SemaCXX/ |
D | overloaded-builtin-operators.cpp | 79 void g(ShortRef sr, LongRef lr, E2Ref e2_ref, XpmfRef pmf_ref) { in g() argument 81 short s1 = sr++; in g() 87 short& sr1 = (sr *= lr); in g() 88 volatile long& lr1 = (lr *= sr); in g() 99 short& sr2 = (sr %= lr); in g() 100 volatile long& lr2 = (lr <<= sr); in g() 102 bool b1 = (sr && lr) || (sr || lr); in g() 121 void test_with_ptrs(VolatileIntPtr vip, ConstIntPtr cip, ShortRef sr, in test_with_ptrs() argument 123 const int& cir1 = cip[sr]; in test_with_ptrs() 124 const int& cir2 = sr[cip]; in test_with_ptrs() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
D | r300_render_stencilref.c | 57 struct r300_stencilref_context *sr = r300->stencilref_fallback; in r300_stencilref_begin() local 62 sr->rs_cull_mode = rs->cb_main[rs->cull_mode_index]; in r300_stencilref_begin() 63 sr->zb_stencilrefmask = dsa->stencil_ref_mask; in r300_stencilref_begin() 64 sr->ref_value_front = r300->stencil_ref.ref_value[0]; in r300_stencilref_begin() 75 struct r300_stencilref_context *sr = r300->stencilref_fallback; in r300_stencilref_switch_side() local 79 rs->cb_main[rs->cull_mode_index] = sr->rs_cull_mode | R300_CULL_FRONT; in r300_stencilref_switch_side() 90 struct r300_stencilref_context *sr = r300->stencilref_fallback; in r300_stencilref_end() local 95 rs->cb_main[rs->cull_mode_index] = sr->rs_cull_mode; in r300_stencilref_end() 96 dsa->stencil_ref_mask = sr->zb_stencilrefmask; in r300_stencilref_end() 97 r300->stencil_ref.ref_value[0] = sr->ref_value_front; in r300_stencilref_end() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_render_stencilref.c | 57 struct r300_stencilref_context *sr = r300->stencilref_fallback; in r300_stencilref_begin() local 62 sr->rs_cull_mode = rs->cb_main[rs->cull_mode_index]; in r300_stencilref_begin() 63 sr->zb_stencilrefmask = dsa->stencil_ref_mask; in r300_stencilref_begin() 64 sr->ref_value_front = r300->stencil_ref.ref_value[0]; in r300_stencilref_begin() 75 struct r300_stencilref_context *sr = r300->stencilref_fallback; in r300_stencilref_switch_side() local 79 rs->cb_main[rs->cull_mode_index] = sr->rs_cull_mode | R300_CULL_FRONT; in r300_stencilref_switch_side() 90 struct r300_stencilref_context *sr = r300->stencilref_fallback; in r300_stencilref_end() local 95 rs->cb_main[rs->cull_mode_index] = sr->rs_cull_mode; in r300_stencilref_end() 96 dsa->stencil_ref_mask = sr->zb_stencilrefmask; in r300_stencilref_end() 97 r300->stencil_ref.ref_value[0] = sr->ref_value_front; in r300_stencilref_end() [all …]
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
D | SHA1PRNG_SecureRandomTest.java | 39 private static SecureRandom sr; // fields used by tests field in SHA1PRNG_SecureRandomTest 47 sr = SecureRandom.getInstance(algorithm, provider); in setUp() 58 sr.generateSeed(-1); in testGenerateSeedint01() 74 byte[] myBytes = sr.generateSeed(i); in testGenerateSeedint02() 93 myBytes1 = sr.generateSeed(i); in testGenerateSeedint03() 94 myBytes2 = sr.generateSeed(i); in testGenerateSeedint03() 113 sr.nextBytes(null); in testNextBytesbyteArray01() 140 sr.setSeed(myBytes); in testNextBytesbyteArray02() 147 sr.nextBytes(myBytes1); in testNextBytesbyteArray02() 167 sr.nextBytes(bytes1[k]); in testNextBytesbyteArray02() [all …]
|
/external/opencv/otherlibs/highgui/ |
D | highgui.h | 290 CV_INLINE CvRect RectToCvRect( RECT sr ); in LOAD_CHDL() 291 CV_INLINE CvRect RectToCvRect( RECT sr ) in LOAD_CHDL() 293 sr = NormalizeRect( sr ); in LOAD_CHDL() 294 return cvRect( sr.left, sr.top, sr.right - sr.left, sr.bottom - sr.top ); in LOAD_CHDL() 297 CV_INLINE RECT CvRectToRect( CvRect sr ); in LOAD_CHDL() 298 CV_INLINE RECT CvRectToRect( CvRect sr ) in LOAD_CHDL() 301 dr.left = sr.x; in LOAD_CHDL() 302 dr.top = sr.y; in LOAD_CHDL() 303 dr.right = sr.x + sr.width; in LOAD_CHDL() 304 dr.bottom = sr.y + sr.height; in LOAD_CHDL()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkDither.h | 78 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32For565() local 81 sr = SkDITHER_R32_FOR_565(sr, dither); in SkDitherARGB32For565() 85 return SkPackARGB32(sa, sr, sg, sb); in SkDitherARGB32For565() 92 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32For565() local 95 sr = SkDITHER_R32_FOR_565(sr, dither); in SkDitherRGB32For565() 99 return SkPackARGB32(0xFF, sr, sg, sb); in SkDitherRGB32For565() 116 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32To565() local 119 sr = SkDITHER_R32To565(sr, dither); in SkDitherRGB32To565() 123 return SkPackRGB16(sr, sg, sb); in SkDitherRGB32To565() 131 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32To565() local [all …]
|
/external/skia/include/core/ |
D | SkDither.h | 78 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32For565() local 81 sr = SkDITHER_R32_FOR_565(sr, dither); in SkDitherARGB32For565() 85 return SkPackARGB32(sa, sr, sg, sb); in SkDitherARGB32For565() 92 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32For565() local 95 sr = SkDITHER_R32_FOR_565(sr, dither); in SkDitherRGB32For565() 99 return SkPackARGB32(0xFF, sr, sg, sb); in SkDitherRGB32For565() 116 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32To565() local 119 sr = SkDITHER_R32To565(sr, dither); in SkDitherRGB32To565() 123 return SkPackRGB16(sr, sg, sb); in SkDitherRGB32To565() 131 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32To565() local [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/ |
D | SoftReferenceTest.java | 36 SoftReference sr = new SoftReference(bool, rq); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue() local 37 assertTrue("Initialization failed.", ((Boolean) sr.get()) in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue() 54 SoftReference sr = new SoftReference(bool); in test_ConstructorLjava_lang_Object() local 55 assertTrue("Initialization failed.", ((Boolean) sr.get()) in test_ConstructorLjava_lang_Object() 64 SoftReference sr = new SoftReference(bool); in test_get() local 65 assertTrue("Same object not returned.", bool == sr.get()); in test_get()
|
D | ReferenceQueueTest.java | 47 SoftReference sr = new SoftReference(integer, rq); in run() local 48 sr.enqueue(); in run() 63 SoftReference sr = new SoftReference(b, rq); in test_poll() local 64 sr.enqueue(); in test_poll() 76 SoftReference sr = new SoftReference(b, rq); in test_remove() local 77 sr.enqueue(); in test_remove()
|
/external/skia/src/core/ |
D | SkBlitRow_D16.cpp | 121 int sr = SkGetPackedR32(c); in S32_D565_Blend_Dither() local 124 sr = SkDITHER_R32To565(sr, dither); in S32_D565_Blend_Dither() 129 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither() 152 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither() local 155 sr = SkDITHER_R32_FOR_565(sr, d); in S32A_D565_Opaque_Dither() 159 uint32_t src_expanded = (sg << 24) | (sr << 13) | (sb << 2); in S32A_D565_Opaque_Dither() 189 int sr = SkGetPackedR32(c); in S32A_D565_Blend_Dither() local 192 sr = SkDITHER_R32To565(sr, dither); in S32A_D565_Blend_Dither() 196 int dr = (sr * src_scale + SkGetPackedR16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkBlitRow_D16.cpp | 121 int sr = SkGetPackedR32(c); in S32_D565_Blend_Dither() local 124 sr = SkDITHER_R32To565(sr, dither); in S32_D565_Blend_Dither() 129 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither() 152 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither() local 155 sr = SkDITHER_R32_FOR_565(sr, d); in S32A_D565_Opaque_Dither() 159 uint32_t src_expanded = (sg << 24) | (sr << 13) | (sb << 2); in S32A_D565_Opaque_Dither() 189 int sr = SkGetPackedR32(c); in S32A_D565_Blend_Dither() local 192 sr = SkDITHER_R32To565(sr, dither); in S32A_D565_Blend_Dither() 196 int dr = (sr * src_scale + SkGetPackedR16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
D | st_atom_depth.c | 99 struct pipe_stencil_ref sr; in update_depth_stencil_alpha() local 103 memset(&sr, 0, sizeof(sr)); in update_depth_stencil_alpha() 119 sr.ref_value[0] = ctx->Stencil.Ref[0] & 0xff; in update_depth_stencil_alpha() 130 sr.ref_value[1] = ctx->Stencil.Ref[back] & 0xff; in update_depth_stencil_alpha() 138 sr.ref_value[1] = sr.ref_value[0]; in update_depth_stencil_alpha() 149 cso_set_stencil_ref(st->cso_context, &sr); in update_depth_stencil_alpha()
|