/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_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 …]
|
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 …]
|
/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/valgrind/include/ |
D | pub_tool_basics.h | 231 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() argument 232 return sr._isError; in sr_isError() 234 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() argument 235 return sr._isError ? 0 : sr._val; in sr_Res() 237 static inline UWord sr_ResEx ( SysRes sr ) { in sr_ResEx() argument 238 return sr._isError ? 0 : sr._valEx; in sr_ResEx() 240 static inline UWord sr_Err ( SysRes sr ) { in sr_Err() argument 241 return sr._isError ? sr._val : 0; in sr_Err() 270 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() argument 271 return sr._isError; in sr_isError() [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/brotli/enc/ |
D | backward_references_inc.h | 39 HasherSearchResult sr; in FN() local 40 sr.len = 0; in FN() 41 sr.len_x_code = 0; in FN() 42 sr.distance = 0; in FN() 43 sr.score = kMinScore; in FN() 46 position, max_length, max_distance, &sr)) { in FN() 55 BROTLI_MIN(size_t, sr.len - 1, max_length) : 0; in FN() 63 if (is_match_found && sr2.score >= sr.score + cost_diff_lazy) { in FN() 68 sr = sr2; in FN() 77 position + 2 * sr.len + random_heuristics_window_size; in FN() [all …]
|
/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/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/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/skia/src/core/ |
D | SkDither.h | 77 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32For565() local 80 sr = SkDITHER_R32_FOR_565(sr, dither); in SkDitherARGB32For565() 84 return SkPackARGB32(sa, sr, sg, sb); in SkDitherARGB32For565() 91 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32For565() local 94 sr = SkDITHER_R32_FOR_565(sr, dither); in SkDitherRGB32For565() 98 return SkPackARGB32(0xFF, sr, sg, sb); in SkDitherRGB32For565() 115 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32To565() local 118 sr = SkDITHER_R32To565(sr, dither); in SkDitherRGB32To565() 122 return SkPackRGB16(sr, sg, sb); in SkDitherRGB32To565() 130 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32To565() local [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | DataReadWriteTest.java | 53 StringReader sr = new StringReader(str); in testOpenClose() local 54 XMLRecordReader xrr = new XMLRecordReader(sr); in testOpenClose() 69 StringReader sr = new StringReader(str); in testBool() local 70 XMLRecordReader xrr = new XMLRecordReader(sr); in testBool() 103 StringReader sr = new StringReader(str); in testBoolArray() local 104 XMLRecordReader xrr = new XMLRecordReader(sr); in testBoolArray() 125 StringReader sr = new StringReader(str); in testCharacter() local 126 XMLRecordReader xrr = new XMLRecordReader(sr); in testCharacter() 159 StringReader sr = new StringReader(str); in testCharacterArray() local 160 XMLRecordReader xrr = new XMLRecordReader(sr); in testCharacterArray() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
D | DataReadWriteTest.java | 54 StringReader sr = new StringReader(str); in testOpenClose() local 55 XMLRecordReader xrr = new XMLRecordReader(sr); in testOpenClose() 70 StringReader sr = new StringReader(str); in testBool() local 71 XMLRecordReader xrr = new XMLRecordReader(sr); in testBool() 104 StringReader sr = new StringReader(str); in testBoolArray() local 105 XMLRecordReader xrr = new XMLRecordReader(sr); in testBoolArray() 126 StringReader sr = new StringReader(str); in testCharacter() local 127 XMLRecordReader xrr = new XMLRecordReader(sr); in testCharacter() 160 StringReader sr = new StringReader(str); in testCharacterArray() local 161 XMLRecordReader xrr = new XMLRecordReader(sr); in testCharacterArray() [all …]
|
/external/llvm/test/CodeGen/MIR/Lanai/ |
D | peephole-compare.mir | 16 # CHECK: SUB_F_R [[IN1]], [[IN2]], 0, implicit-def %sr 21 # CHECK: SUB_F_R [[IN1]], [[IN2]], 0, implicit-def %sr 26 # CHECK: SUB_F_R [[IN1]], [[IN2]], 0, implicit-def %sr 31 # CHECK: SUB_F_R [[IN1]], [[IN2]], 0, implicit-def %sr 216 SFSUB_F_RI_LO %4, 0, implicit-def %sr 217 %5 = SELECT %2, %4, 7, implicit %sr 262 SFSUB_F_RR %1, %0, implicit-def %sr 263 %4 = SELECT %2, %1, 7, implicit %sr 312 SFSUB_F_RI_LO killed %4, 0, implicit-def %sr 313 %5 = SELECT %2, %3, 11, implicit %sr [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/mesa3d/src/gallium/targets/haiku-softpipe/ |
D | SoftwareRenderer.cpp | 225 BRect sr = fBitmap->Bounds(); in CopyPixelsOut() local 233 sr = sr & dr.OffsetBySelf(location); in CopyPixelsOut() 234 dr = sr.OffsetByCopy(-location.x, -location.y); in CopyPixelsOut() 240 for (y = (uint32) sr.top; y <= (uint32) sr.bottom; y++) { in CopyPixelsOut() 242 s += (uint32) sr.left; in CopyPixelsOut() 244 d = (uint32 *)(pd + (y + (uint32)(dr.top - sr.top)) in CopyPixelsOut() 270 BRect sr = bitmap->Bounds(); in CopyPixelsIn() local 273 sr = sr & dr.OffsetBySelf(location); in CopyPixelsIn() 274 dr = sr.OffsetByCopy(-location.x, -location.y); in CopyPixelsIn() 281 for (y = (uint32) sr.top; y <= (uint32) sr.bottom; y++) { in CopyPixelsIn() [all …]
|
/external/skia/gm/ |
D | hsl.cpp | 83 float* sr, float* sg, float* sb) { in hue() argument 85 float R = *sr, in hue() 90 *sr = R; in hue() 96 float* sr, float* sg, float* sb) { in saturation() argument 101 set_sat(&R,&G,&B, sat(*sr,*sg,*sb)); in saturation() 103 *sr = R; in saturation() 109 float* sr, float* sg, float* sb) { in color() argument 111 float R = *sr, in color() 115 *sr = R; in color() 121 float* sr, float* sg, float* sb) { in luminosity() argument [all …]
|
/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 …]
|
/external/ltp/testcases/network/lib6/ |
D | asapi_03.c | 245 static int sr = -1; in so_test() local 252 if (psoe->so_clear || sr < 0) { in so_test() 253 if (sr < 0) in so_test() 254 close(sr); in so_test() 255 sr = SAFE_SOCKET(NULL, PF_INET6, SOCK_RAW, NH_TEST); in so_test() 261 SAFE_BIND(NULL, sr, (struct sockaddr *)&sin6, sizeof(sin6)); in so_test() 263 if (setsockopt(sr, SOL_IPV6, psoe->so_opt, &psoe->so_clrval, in so_test() 269 TEST(setsockopt(sr, SOL_IPV6, psoe->so_opt, &psoe->so_setval, in so_test() 278 TEST(getsockopt(sr, SOL_IPV6, psoe->so_opt, &sobuf, &valsize)); in so_test() 308 FD_SET(sr, &rfds_saved); in so_test() [all …]
|