/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/libunwind/src/ia64/ |
D | Gparser.c | 30 struct ia64_state_record *sr, 43 push (struct ia64_state_record *sr) in push() argument 53 memcpy (rs, &sr->curr, sizeof (*rs)); in push() 54 sr->curr.next = rs; in push() 58 pop (struct ia64_state_record *sr) in pop() argument 60 struct ia64_reg_state *rs = sr->curr.next; in pop() 67 memcpy (&sr->curr, rs, sizeof (*rs)); in pop() 200 finish_prologue (struct ia64_state_record *sr) in finish_prologue() argument 210 reg = sr->curr.reg + unw.save_order[i]; in finish_prologue() 214 reg->val = sr->gr_save_loc++; in finish_prologue() [all …]
|
D | Gscript.c | 244 struct ia64_state_record *sr) in script_finalize() argument 246 script->pr_mask = sr->pr_mask; in script_finalize() 247 script->pr_val = sr->pr_val; in script_finalize() 264 compile_reg (struct ia64_state_record *sr, int i, struct ia64_reg_info *r, in compile_reg() argument 272 if (r->where == IA64_WHERE_NONE || r->when >= sr->when_target) in compile_reg() 394 sort_regs (struct ia64_state_record *sr, int regorder[]) in sort_regs() argument 402 if (sr->curr.reg[r].where == IA64_WHERE_NONE in sort_regs() 403 || sr->curr.reg[r].when >= sr->when_target) in sort_regs() 416 max_when = sr->curr.reg[max_reg].when; in sort_regs() 419 if (sr->curr.reg[regorder[j]].when > max_when) in sort_regs() [all …]
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
D | SecureRandomTest.java | 56 SecureRandom sr = new SecureRandom(); in testNext() local 57 if (sr.next(1) != 1 || sr.next(2) != 3 || sr.next(3) != 7) { in testNext() 66 SecureRandom sr = new SecureRandom(); in testSetSeedlong() local 67 sr.setSeed(12345); in testSetSeedlong() 75 SecureRandom sr = new SecureRandom(); in testNextBytes() local 76 sr.nextBytes(b); in testNextBytes() 88 SecureRandom sr = new SecureRandom(); in testSecureRandom() local 89 if (!sr.getAlgorithm().equals("someRandom") || in testSecureRandom() 90 sr.getProvider() != p) { in testSecureRandom() 110 SecureRandom sr = null; in testGetInstanceString() local [all …]
|
/external/valgrind/include/ |
D | pub_tool_basics.h | 220 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() argument 221 return sr._isError; in sr_isError() 223 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() argument 224 return sr._isError ? 0 : sr._val; in sr_Res() 226 static inline UWord sr_ResEx ( SysRes sr ) { in sr_ResEx() argument 227 return sr._isError ? 0 : sr._valEx; in sr_ResEx() 229 static inline UWord sr_Err ( SysRes sr ) { in sr_Err() argument 230 return sr._isError ? sr._val : 0; in sr_Err() 259 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() argument 260 return sr._isError; in sr_isError() [all …]
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandom_ImplTest.java | 67 SecureRandom sr = new SecureRandom(); in testSetSeedlong() local 68 sr.setSeed(0); in testSetSeedlong() 69 sr.setSeed(-1); in testSetSeedlong() 70 sr.setSeed(11111111111L); in testSetSeedlong() 74 SecureRandom sr = new SecureRandom(); in testNextBytes() local 75 sr.nextBytes(new byte[20]); in testNextBytes() 76 sr.nextBytes(new byte[1]); in testNextBytes() 80 sr.nextBytes(null); in testNextBytes() 83 sr.nextBytes(new byte[5]); in testNextBytes() 103 SecureRandom sr = new SecureRandom(); in testGetAlgorithm() local [all …]
|
/external/compiler-rt/lib/builtins/ |
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 | 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 | 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/clang/test/SemaCXX/ |
D | overloaded-builtin-operators.cpp | 87 void g(ShortRef sr, LongRef lr, E2Ref e2_ref, XpmfRef pmf_ref) { in g() argument 89 short s1 = sr++; in g() 95 short& sr1 = (sr *= lr); in g() 96 volatile long& lr1 = (lr *= sr); in g() 107 short& sr2 = (sr %= lr); in g() 108 volatile long& lr2 = (lr <<= sr); in g() 110 bool b1 = (sr && lr) || (sr || lr); in g() 129 void test_with_ptrs(VolatileIntPtr vip, ConstIntPtr cip, ShortRef sr, in test_with_ptrs() argument 131 const int& cir1 = cip[sr]; in test_with_ptrs() 132 const int& cir2 = sr[cip]; in test_with_ptrs() [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/libunwind/src/dwarf/ |
D | Gparser.c | 51 set_reg (dwarf_state_record_t *sr, unw_word_t regnum, dwarf_where_t where, in set_reg() argument 54 sr->rs_current.reg[regnum].where = where; in set_reg() 55 sr->rs_current.reg[regnum].val = val; in set_reg() 60 run_cfi_program (struct dwarf_cursor *c, dwarf_state_record_t *sr, in run_cfi_program() argument 154 set_reg (sr, regnum, DWARF_WHERE_CFAREL, val * dci->data_align); in run_cfi_program() 163 set_reg (sr, regnum, DWARF_WHERE_CFAREL, val * dci->data_align); in run_cfi_program() 172 set_reg (sr, regnum, DWARF_WHERE_CFAREL, val * dci->data_align); in run_cfi_program() 186 sr->rs_current.reg[regnum] = sr->rs_initial.reg[regnum]; in run_cfi_program() 200 sr->rs_current.reg[regnum] = sr->rs_initial.reg[regnum]; in run_cfi_program() 219 set_reg (sr, regnum, DWARF_WHERE_UNDEF, 0); in run_cfi_program() [all …]
|
/external/slf4j/osgi-over-slf4j/src/main/java/org/slf4j/osgi/logservice/impl/ |
D | LogServiceImpl.java | 125 public void log(ServiceReference sr, int level, String message) { in log() argument 130 delegate.debug(createMessage(sr, message)); in log() 135 delegate.error(createMessage(sr, message)); in log() 140 delegate.info(createMessage(sr, message)); in log() 145 delegate.warn(createMessage(sr, message)); in log() 160 private String createMessage(ServiceReference sr, String message) { in createMessage() argument 163 if (sr != null) { in createMessage() 164 output.append('[').append(sr.toString()).append(']'); in createMessage() 179 public void log(ServiceReference sr, int level, String message, Throwable exception) { in log() argument 184 delegate.debug(createMessage(sr, message), exception); in log() [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/skia/src/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 …]
|
D | SkBlitRow_D16.cpp | 118 int sr = SkGetPackedR32(c); in S32_D565_Blend_Dither() local 121 sr = SkDITHER_R32To565(sr, dither); in S32_D565_Blend_Dither() 126 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither() 149 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither() local 152 sr = SkDITHER_R32_FOR_565(sr, d); in S32A_D565_Opaque_Dither() 156 uint32_t src_expanded = (sg << 24) | (sr << 13) | (sb << 2); in S32A_D565_Opaque_Dither() 186 int sr = SkGetPackedR32(c); in S32A_D565_Blend_Dither() local 189 sr = SkDITHER_R32To565(sr, dither); in S32A_D565_Blend_Dither() 193 int dr = (sr * src_scale + SkGetPackedR16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | DataReadWriteTest.java | 56 StringReader sr = new StringReader(str); in testOpenClose() local 57 XMLRecordReader xrr = new XMLRecordReader(sr); in testOpenClose() 71 StringReader sr = new StringReader(str); in testBool() local 72 XMLRecordReader xrr = new XMLRecordReader(sr); in testBool() 104 StringReader sr = new StringReader(str); in testBoolArray() local 105 XMLRecordReader xrr = new XMLRecordReader(sr); in testBoolArray() 125 StringReader sr = new StringReader(str); in testCharacter() local 126 XMLRecordReader xrr = new XMLRecordReader(sr); in testCharacter() 158 StringReader sr = new StringReader(str); in testCharacterArray() local 159 XMLRecordReader xrr = new XMLRecordReader(sr); in testCharacterArray() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
D | DataReadWriteTest.java | 60 StringReader sr = new StringReader(str); in testOpenClose() local 61 XMLRecordReader xrr = new XMLRecordReader(sr); in testOpenClose() 75 StringReader sr = new StringReader(str); in testBool() local 76 XMLRecordReader xrr = new XMLRecordReader(sr); in testBool() 108 StringReader sr = new StringReader(str); in testBoolArray() local 109 XMLRecordReader xrr = new XMLRecordReader(sr); in testBoolArray() 129 StringReader sr = new StringReader(str); in testCharacter() local 130 XMLRecordReader xrr = new XMLRecordReader(sr); in testCharacter() 162 StringReader sr = new StringReader(str); in testCharacterArray() local 163 XMLRecordReader xrr = new XMLRecordReader(sr); in testCharacterArray() [all …]
|
/external/fec/ |
D | init_rs.h | 9 int i, j, sr,root,iprim; variable 51 sr = 1; 53 rs->index_of[sr] = i; 54 rs->alpha_to[i] = sr; 55 sr <<= 1; 56 if(sr & (1<<symsize)) 57 sr ^= gfpoly; 58 sr &= rs->nn; 60 if(sr != 1){
|
D | vtest615.c | 42 int sr=0,trials = 10,errcnt,framebits=2048; local 120 sr = (sr << 1) | bit; 121 bits[i/8] = sr & 0xff; 122 symbols[6*i+0] = addnoise(parity(sr & V615POLYA),gain,Gain,OFFSET,CLIP); 123 symbols[6*i+1] = addnoise(parity(sr & V615POLYB),gain,Gain,OFFSET,CLIP); 124 symbols[6*i+2] = addnoise(parity(sr & V615POLYC),gain,Gain,OFFSET,CLIP); 125 symbols[6*i+3] = addnoise(parity(sr & V615POLYD),gain,Gain,OFFSET,CLIP); 126 symbols[6*i+4] = addnoise(parity(sr & V615POLYE),gain,Gain,OFFSET,CLIP); 127 symbols[6*i+5] = addnoise(parity(sr & V615POLYF),gain,Gain,OFFSET,CLIP);
|
/external/opencv3/modules/cudaimgproc/perf/ |
D | perf_mean_shift.cpp | 66 const int sr = 50; variable 73 TEST_CYCLE() cv::cuda::meanShiftFiltering(d_src, dst, sp, sr); 81 TEST_CYCLE() cv::pyrMeanShiftFiltering(img, dst, sp, sr); 102 const int sr = 50; variable 110 TEST_CYCLE() cv::cuda::meanShiftProc(d_src, dstr, dstsp, sp, sr); 136 const int sr = 10; variable 144 TEST_CYCLE() cv::cuda::meanShiftSegmentation(d_src, dst, sp, sr, minsize);
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_bsd.c | 1147 struct ieee80211_scan_req sr; in wpa_driver_bsd_scan() local 1176 os_memset(&sr, 0, sizeof(sr)); in wpa_driver_bsd_scan() 1177 sr.sr_flags = IEEE80211_IOC_SCAN_ACTIVE | IEEE80211_IOC_SCAN_ONCE | in wpa_driver_bsd_scan() 1179 sr.sr_duration = IEEE80211_IOC_SCAN_FOREVER; in wpa_driver_bsd_scan() 1181 sr.sr_nssid = params->num_ssids; in wpa_driver_bsd_scan() 1184 if (sr.sr_nssid > IEEE80211_IOC_SCAN_MAX_SSID) in wpa_driver_bsd_scan() 1185 sr.sr_nssid = IEEE80211_IOC_SCAN_MAX_SSID; in wpa_driver_bsd_scan() 1189 sr.sr_flags |= IEEE80211_IOC_SCAN_CHECK; in wpa_driver_bsd_scan() 1191 for (i = 0; i < sr.sr_nssid; i++) { in wpa_driver_bsd_scan() 1192 sr.sr_ssid[i].len = params->ssids[i].ssid_len; in wpa_driver_bsd_scan() [all …]
|