Home
last modified time | relevance | path

Searched refs:sr (Results 1 – 25 of 926) sorted by relevance

12345678910>>...38

/external/libgsm/src/
Dgsm_encode.c112 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 …]
Dgsm_implode.c118 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 …]
Dgsm_explode.c25 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 …]
Dgsm_decode.c21 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/
DGparser.c30 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 …]
DGscript.c244 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/compiler-rt/lib/builtins/
Dudivmoddi4.c34 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 …]
Dudivmodti4.c36 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 …]
Dudivsi3.c30 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/c/enc/
Dbackward_references_inc.h39 HasherSearchResult sr; in EXPORT_FN() local
40 sr.len = 0; in EXPORT_FN()
41 sr.len_code_delta = 0; in EXPORT_FN()
42 sr.distance = 0; in EXPORT_FN()
43 sr.score = kMinScore; in EXPORT_FN()
46 max_distance, gap, params->dist.max_distance, &sr); in EXPORT_FN()
47 if (sr.score > kMinScore) { in EXPORT_FN()
55 BROTLI_MIN(size_t, sr.len - 1, max_length) : 0; in EXPORT_FN()
64 if (sr2.score >= sr.score + cost_diff_lazy) { in EXPORT_FN()
69 sr = sr2; in EXPORT_FN()
[all …]
/external/u-boot/arch/m68k/lib/
Dinterrupts.c29 unsigned short sr; in get_sr() local
31 asm volatile ("move.w %%sr,%0":"=r" (sr):); in get_sr()
33 return sr; in get_sr()
36 static __inline__ void set_sr (unsigned short sr) in set_sr() argument
38 asm volatile ("move.w %0,%%sr"::"r" (sr)); in set_sr()
69 unsigned short sr; in enable_interrupts() local
71 sr = get_sr (); in enable_interrupts()
72 set_sr (sr & ~0x0700); in enable_interrupts()
77 unsigned short sr; in disable_interrupts() local
79 sr = get_sr (); in disable_interrupts()
[all …]
/external/clang/test/SemaCXX/
Doverloaded-builtin-operators.cpp87 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/
Dr300_render_stencilref.c57 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/
DGparser.c51 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/catch2/projects/SelfTest/IntrospectiveTests/
DString.tests.cpp122 StringRef sr = stdStr; variable
123 REQUIRE( sr == "a standard string" );
124 REQUIRE( sr.size() == stdStr.size() );
127 StringRef sr( stdStr );
128 REQUIRE( sr == "a standard string" );
129 REQUIRE( sr.size() == stdStr.size() );
132 StringRef sr; variable
133 sr = stdStr;
134 REQUIRE( sr == "a standard string" );
135 REQUIRE( sr.size() == stdStr.size() );
[all …]
/external/slf4j/osgi-over-slf4j/src/main/java/org/slf4j/osgi/logservice/impl/
DLogServiceImpl.java125 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/swiftshader/src/Vulkan/
DVkImageView.cpp89 VkImageSubresourceRange sr = subresourceRange; in clear() local
90 sr.aspectMask = aspectMask; in clear()
108 VkImageSubresourceRange sr; in clear() local
109 sr.aspectMask = aspectMask; in clear()
110 sr.baseMipLevel = subresourceRange.baseMipLevel; in clear()
111 sr.levelCount = subresourceRange.levelCount; in clear()
112 sr.baseArrayLayer = renderArea.baseArrayLayer + subresourceRange.baseArrayLayer; in clear()
113 sr.layerCount = renderArea.layerCount; in clear()
115 image->clear(clearValue, renderArea.rect, sr); in clear()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/
DJavaParser.java209 StringReader sr = new StringReader(blockStatement); in parseBlock() local
210 BlockStmt result = new ASTParser(sr).Block(); in parseBlock()
211 sr.close(); in parseBlock()
226 StringReader sr = new StringReader(statement); in parseStatement() local
227 Statement stmt = new ASTParser(sr).Statement(); in parseStatement()
228 sr.close(); in parseStatement()
243 StringReader sr = new StringReader(importDeclaration); in parseImport() local
244 ImportDeclaration id = new ASTParser(sr).ImportDeclaration(); in parseImport()
245 sr.close(); in parseImport()
260 StringReader sr = new StringReader(expression); in parseExpression() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DDataReadWriteTest.java59 StringReader sr = new StringReader(str); in testOpenClose() local
60 XMLRecordReader xrr = new XMLRecordReader(sr); in testOpenClose()
75 StringReader sr = new StringReader(str); in testBool() local
76 XMLRecordReader xrr = new XMLRecordReader(sr); in testBool()
109 StringReader sr = new StringReader(str); in testBoolArray() local
110 XMLRecordReader xrr = new XMLRecordReader(sr); in testBoolArray()
131 StringReader sr = new StringReader(str); in testCharacter() local
132 XMLRecordReader xrr = new XMLRecordReader(sr); in testCharacter()
165 StringReader sr = new StringReader(str); in testCharacterArray() local
166 XMLRecordReader xrr = new XMLRecordReader(sr); in testCharacterArray()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DDataReadWriteTest.java56 StringReader sr = new StringReader(str); in testOpenClose() local
57 XMLRecordReader xrr = new XMLRecordReader(sr); in testOpenClose()
72 StringReader sr = new StringReader(str); in testBool() local
73 XMLRecordReader xrr = new XMLRecordReader(sr); in testBool()
106 StringReader sr = new StringReader(str); in testBoolArray() local
107 XMLRecordReader xrr = new XMLRecordReader(sr); in testBoolArray()
128 StringReader sr = new StringReader(str); in testCharacter() local
129 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/u-boot/arch/xtensa/include/asm/arch-de212/
Dtie.h69 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \
70 XCHAL_SA_REG(s,1,0,0,1, acchi, 4, 4, 4,0x0211, sr,17 , 8,0,0,0) \
71 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0) \
72 XCHAL_SA_REG(s,0,0,0,1, m0, 4, 4, 4,0x0220, sr,32 , 32,0,0,0) \
73 XCHAL_SA_REG(s,0,0,0,1, m1, 4, 4, 4,0x0221, sr,33 , 32,0,0,0) \
74 XCHAL_SA_REG(s,0,0,0,1, m2, 4, 4, 4,0x0222, sr,34 , 32,0,0,0) \
75 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0)
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Lanai/
Dpeephole-compare.mir16 # 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
212 SFSUB_F_RI_LO %4, 0, implicit-def $sr
213 %5 = SELECT %2, %4, 7, implicit $sr
254 SFSUB_F_RR %1, %0, implicit-def $sr
255 %4 = SELECT %2, %1, 7, implicit $sr
300 SFSUB_F_RI_LO killed %4, 0, implicit-def $sr
301 %5 = SELECT %2, %3, 11, implicit $sr
[all …]
/external/llvm/test/CodeGen/MIR/Lanai/
Dpeephole-compare.mir16 # 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/u-boot/arch/xtensa/include/asm/arch-dc232b/
Dtie.h92 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \
93 XCHAL_SA_REG(s,1,0,0,1, acchi, 4, 4, 4,0x0211, sr,17 , 8,0,0,0) \
94 XCHAL_SA_REG(s,0,0,0,1, m0, 4, 4, 4,0x0220, sr,32 , 32,0,0,0) \
95 XCHAL_SA_REG(s,0,0,0,1, m1, 4, 4, 4,0x0221, sr,33 , 32,0,0,0) \
96 XCHAL_SA_REG(s,0,0,0,1, m2, 4, 4, 4,0x0222, sr,34 , 32,0,0,0) \
97 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0) \
98 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0) \
/external/u-boot/arch/xtensa/include/asm/arch-dc233c/
Dtie.h93 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \
94 XCHAL_SA_REG(s,1,0,0,1, acchi, 4, 4, 4,0x0211, sr,17 , 8,0,0,0) \
95 XCHAL_SA_REG(s,0,0,0,1, m0, 4, 4, 4,0x0220, sr,32 , 32,0,0,0) \
96 XCHAL_SA_REG(s,0,0,0,1, m1, 4, 4, 4,0x0221, sr,33 , 32,0,0,0) \
97 XCHAL_SA_REG(s,0,0,0,1, m2, 4, 4, 4,0x0222, sr,34 , 32,0,0,0) \
98 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0) \
99 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0)

12345678910>>...38