Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 1657) sorted by relevance

12345678910>>...67

/frameworks/compile/libbcc/runtime/lib/
Dudivmodti4.c38 if (n.s.high == 0) in __udivmodti4()
40 if (d.s.high == 0) in __udivmodti4()
47 *rem = n.s.low % d.s.low; in __udivmodti4()
48 return n.s.low / d.s.low; in __udivmodti4()
55 *rem = n.s.low; in __udivmodti4()
59 if (d.s.low == 0) in __udivmodti4()
61 if (d.s.high == 0) in __udivmodti4()
68 *rem = n.s.high % d.s.low; in __udivmodti4()
69 return n.s.high / d.s.low; in __udivmodti4()
72 if (n.s.low == 0) in __udivmodti4()
[all …]
Dudivmoddi4.c36 if (n.s.high == 0) in __udivmoddi4()
38 if (d.s.high == 0) in __udivmoddi4()
45 *rem = n.s.low % d.s.low; in __udivmoddi4()
46 return n.s.low / d.s.low; in __udivmoddi4()
53 *rem = n.s.low; in __udivmoddi4()
57 if (d.s.low == 0) in __udivmoddi4()
59 if (d.s.high == 0) in __udivmoddi4()
66 *rem = n.s.high % d.s.low; in __udivmoddi4()
67 return n.s.high / d.s.low; in __udivmoddi4()
70 if (n.s.low == 0) in __udivmoddi4()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DHtmlTest.java79 Spanned s; in testColor() local
82 s = Html.fromHtml("<font color=\"#00FF00\">something</font>"); in testColor()
83 colors = s.getSpans(0, s.length(), ForegroundColorSpan.class); in testColor()
87 s = Html.fromHtml("<font color=\"navy\">something</font>"); in testColor()
88 colors = s.getSpans(0, s.length(), ForegroundColorSpan.class); in testColor()
92 s = Html.fromHtml("<font color=\"gibberish\">something</font>"); in testColor()
93 colors = s.getSpans(0, s.length(), ForegroundColorSpan.class); in testColor()
101 Spanned s; in testResourceColor() local
104 s = Html.fromHtml("<font color=\"@android:color/primary_text_dark\">something</font>"); in testResourceColor()
105 colors = s.getSpans(0, s.length(), TextAppearanceSpan.class); in testResourceColor()
[all …]
DSpannedTest.java65 SpannableString s = new SpannableString("Hello there world"); in testWrapParcel() local
67 s.setSpan(mark, 1, 2, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testWrapParcel()
68 s.setSpan(CharacterStyle.wrap(mark), 3, 7, in testWrapParcel()
70 s.setSpan(new TextAppearanceSpan("mono", 0, -1, null, null), 7, 8, in testWrapParcel()
72 s.setSpan(CharacterStyle.wrap(new TypefaceSpan("mono")), 8, 9, in testWrapParcel()
76 TextUtils.writeToParcel(s, p, 0); in testWrapParcel()
105 private void checkPriority(Spannable s) { in checkPriority() argument
106 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
108 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
110 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
[all …]
/frameworks/compile/libbcc/runtime/lib/ppc/
Ddivtc3.c13 (x).s.hi = __builtin_copysign(isinf((x).s.hi) ? 1.0 : 0.0, (x).s.hi); \
14 (x).s.lo = 0.0; \
29 const double logbw = logb(__builtin_fmax( __builtin_fabs(cDD.s.hi), __builtin_fabs(dDD.s.hi) )); in __divtc3()
35 cDD.s.hi = scalbn(cDD.s.hi, -ilogbw); in __divtc3()
36 cDD.s.lo = scalbn(cDD.s.lo, -ilogbw); in __divtc3()
37 dDD.s.hi = scalbn(dDD.s.hi, -ilogbw); in __divtc3()
38 dDD.s.lo = scalbn(dDD.s.lo, -ilogbw); in __divtc3()
48 real.s.hi = scalbn(real.s.hi, -ilogbw); in __divtc3()
49 real.s.lo = scalbn(real.s.lo, -ilogbw); in __divtc3()
50 imag.s.hi = scalbn(imag.s.hi, -ilogbw); in __divtc3()
[all …]
Dmultc3.c13 (x).s.hi = __builtin_copysign(isinf((x).s.hi) ? 1.0 : 0.0, (x).s.hi); \
14 (x).s.lo = 0.0; \
18 if (isnan((x).s.hi)) { \
19 (x).s.hi = __builtin_copysign(0.0, (x).s.hi); \
20 (x).s.lo = 0.0; \
39 if (isnan(real.s.hi) && isnan(imag.s.hi)) in __multc3()
48 if (isinf(aDD.s.hi) || isinf(bDD.s.hi)) in __multc3()
57 if (isinf(cDD.s.hi) || isinf(dDD.s.hi)) in __multc3()
73 if (isinf(acDD.s.hi) || isinf(bdDD.s.hi) || isinf(adDD.s.hi) || isinf(bcDD.s.hi)) in __multc3()
85 real.s.hi = INFINITY * (aDD.s.hi*cDD.s.hi - bDD.s.hi*dDD.s.hi); in __multc3()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dg_pitch.cpp315 Word32 s; in G_pitch() local
325 s = 0; in G_pitch()
329 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s); in G_pitch()
331 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s); in G_pitch()
333 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s); in G_pitch()
335 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s); in G_pitch()
338 if ((s >= 0) & (s < 0x40000000)) in G_pitch()
340 s <<= 1; in G_pitch()
341 s += 1; /* Avoid case of all zeros */ in G_pitch()
343 exp_yy = norm_l(s); /* Note 0<=exp_yy <= 31 */ in G_pitch()
[all …]
Dg_code.cpp237 Word32 s; in G_code() local
247 s = 0; in G_code()
252 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s); in G_code()
254 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s); in G_code()
256 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s); in G_code()
258 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s); in G_code()
260 s <<= 1; in G_code()
261 exp_xy = norm_l(s + 1); /* Avoid case of all zeros, add 1 */ in G_code()
265 xy = (Word16)(s >> (17 - exp_xy)); in G_code()
269 xy = (Word16)(s << (exp_xy - 17)); in G_code()
[all …]
Dcor_h.cpp279 Word32 s; in cor_h() local
300 s = 1; in cor_h()
306 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s); in cor_h()
308 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s); in cor_h()
312 s <<= 1; in cor_h()
314 if (s & MIN_32) in cor_h()
328 s >>= 1; in cor_h()
330 s = Inv_sqrt(s, pOverflow); in cor_h()
332 if (s < (Word32) 0x00ffffffL) in cor_h()
335 dec = (Word16)(((s >> 9) * 32440) >> 15); in cor_h()
[all …]
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c42 T_DRM_Session_Node* s = (T_DRM_Session_Node *)malloc(sizeof(T_DRM_Session_Node)); in newSession() local
44 if (NULL != s) { in newSession()
45 memset(s, 0, sizeof(T_DRM_Session_Node)); in newSession()
47 s->sessionId = curID++; in newSession()
48 s->inputHandle = data.inputHandle; in newSession()
49 s->mimeType = data.mimeType; in newSession()
50 s->getInputDataLengthFunc = data.getInputDataLength; in newSession()
51 s->readInputDataFunc = data.readInputData; in newSession()
52 s->seekInputDataFunc = data.seekInputData; in newSession()
55 return s; in newSession()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dagc.cpp175 Word32 s = 0; in energy_old() local
182 s = L_mac(s, temp, temp, pOverflow); in energy_old()
185 return(s); in energy_old()
377 Word32 s = 0; in energy_new() local
387 s = L_mac(s, in[i], in[i], pOverflow); in energy_new()
391 if (s != MAX_32) in energy_new()
394 s = s >> 4; in energy_new()
399 s = energy_old(in, l_trm, pOverflow); /* function result */ in energy_new()
402 return (s); in energy_new()
754 Word32 s; in agc() local
[all …]
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
DUT_math_agree.java282 private void initializeValues(ScriptC_math_agree s) { in initializeValues() argument
286 s.set_x(x); in initializeValues()
287 s.set_y(y); in initializeValues()
288 s.set_result_add(x + y); in initializeValues()
289 s.set_result_sub(x - y); in initializeValues()
290 s.set_result_mul(x * y); in initializeValues()
291 s.set_result_div(x / y); in initializeValues()
361 s.set_rand_f1_0(rand_f1_0); in initializeValues()
362 s.set_rand_f2_0(pack_f2(rand_f2_0)); in initializeValues()
363 s.set_rand_f3_0(pack_f3(rand_f3_0)); in initializeValues()
[all …]
DUT_vector.java31 private boolean initializeGlobals(ScriptC_vector s) { in initializeGlobals() argument
32 Float2 F2 = s.get_f2(); in initializeGlobals()
38 s.set_f2(F2); in initializeGlobals()
40 Float3 F3 = s.get_f3(); in initializeGlobals()
47 s.set_f3(F3); in initializeGlobals()
49 Float4 F4 = s.get_f4(); in initializeGlobals()
57 s.set_f4(F4); in initializeGlobals()
59 Double2 D2 = s.get_d2(); in initializeGlobals()
65 s.set_d2(D2); in initializeGlobals()
67 Double3 D3 = s.get_d3(); in initializeGlobals()
[all …]
DUT_primitives.java31 private boolean initializeGlobals(ScriptC_primitives s) { in initializeGlobals() argument
32 float pF = s.get_floatTest(); in initializeGlobals()
36 s.set_floatTest(2.99f); in initializeGlobals()
38 double pD = s.get_doubleTest(); in initializeGlobals()
42 s.set_doubleTest(3.05); in initializeGlobals()
44 byte pC = s.get_charTest(); in initializeGlobals()
48 s.set_charTest((byte)-16); in initializeGlobals()
50 short pS = s.get_shortTest(); in initializeGlobals()
54 s.set_shortTest((short)-32); in initializeGlobals()
56 int pI = s.get_intTest(); in initializeGlobals()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/
Dfilelist_vc.txt18 ./vc/comm/src/omxVCCOMM_Copy16x16_s.s
19 ./vc/comm/src/omxVCCOMM_Copy8x8_s.s
20 ./vc/comm/src/omxVCCOMM_ExpandFrame_I_s.s
22 ./vc/m4p10/src/armVCM4P10_Average_4x_Align_unsafe_s.s
24 ./vc/m4p10/src/armVCM4P10_DeblockingChroma_unsafe_s.s
25 ./vc/m4p10/src/armVCM4P10_DeblockingLuma_unsafe_s.s
26 ./vc/m4p10/src/armVCM4P10_DecodeCoeffsToPair_s.s
27 ./vc/m4p10/src/armVCM4P10_DequantTables_s.s
28 ./vc/m4p10/src/armVCM4P10_Interpolate_Chroma_s.s
29 ./vc/m4p10/src/armVCM4P10_InterpolateLuma_Align_unsafe_s.s
[all …]
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
DUT_vector.java31 private boolean initializeGlobals(ScriptC_vector s) { in initializeGlobals() argument
32 Float2 F2 = s.get_f2(); in initializeGlobals()
38 s.set_f2(F2); in initializeGlobals()
40 Float3 F3 = s.get_f3(); in initializeGlobals()
47 s.set_f3(F3); in initializeGlobals()
49 Float4 F4 = s.get_f4(); in initializeGlobals()
57 s.set_f4(F4); in initializeGlobals()
59 Double2 D2 = s.get_d2(); in initializeGlobals()
65 s.set_d2(D2); in initializeGlobals()
67 Double3 D3 = s.get_d3(); in initializeGlobals()
[all …]
DUT_primitives.java31 private boolean initializeGlobals(ScriptC_primitives s) { in initializeGlobals() argument
32 float pF = s.get_floatTest(); in initializeGlobals()
36 s.set_floatTest(2.99f); in initializeGlobals()
38 double pD = s.get_doubleTest(); in initializeGlobals()
42 s.set_doubleTest(3.05); in initializeGlobals()
44 byte pC = s.get_charTest(); in initializeGlobals()
48 s.set_charTest((byte)-16); in initializeGlobals()
50 short pS = s.get_shortTest(); in initializeGlobals()
54 s.set_shortTest((short)-32); in initializeGlobals()
56 int pI = s.get_intTest(); in initializeGlobals()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dconvolve.c37 Word32 s; in Convolve() local
43 s = vo_mult32((*tmpX++), (*tmpH--));i--; in Convolve()
46 s += vo_mult32((*tmpX++), (*tmpH--)); in Convolve()
47 s += vo_mult32((*tmpX++), (*tmpH--)); in Convolve()
48 s += vo_mult32((*tmpX++), (*tmpH--)); in Convolve()
49 s += vo_mult32((*tmpX++), (*tmpH--)); in Convolve()
52 y[n] = ((s<<1) + 0x8000)>>16; in Convolve()
58 s = vo_mult32((*tmpX++), (*tmpH--));i--; in Convolve()
59 s += vo_mult32((*tmpX++), (*tmpH--));i--; in Convolve()
63 s += vo_mult32((*tmpX++), (*tmpH--)); in Convolve()
[all …]
Dresidu.c36 Word32 s; in Residu() local
41 s = vo_mult32((*p1++), (*p2--)); in Residu()
42 s += vo_mult32((*p1++), (*p2--)); in Residu()
43 s += vo_mult32((*p1++), (*p2--)); in Residu()
44 s += vo_mult32((*p1++), (*p2--)); in Residu()
45 s += vo_mult32((*p1++), (*p2--)); in Residu()
46 s += vo_mult32((*p1++), (*p2--)); in Residu()
47 s += vo_mult32((*p1++), (*p2--)); in Residu()
48 s += vo_mult32((*p1++), (*p2--)); in Residu()
49 s += vo_mult32((*p1++), (*p2--)); in Residu()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/
Dfilelist_vc.txt18 ./vc/comm/src/omxVCCOMM_Copy16x16_s.s
19 ./vc/comm/src/omxVCCOMM_Copy8x8_s.s
20 ./vc/comm/src/omxVCCOMM_ExpandFrame_I_s.s
22 ./vc/m4p10/src/armVCM4P10_Average_4x_Align_unsafe_s.s
24 ./vc/m4p10/src/armVCM4P10_DeblockingChroma_unsafe_s.s
25 ./vc/m4p10/src/armVCM4P10_DeblockingLuma_unsafe_s.s
26 ./vc/m4p10/src/armVCM4P10_DecodeCoeffsToPair_s.s
27 ./vc/m4p10/src/armVCM4P10_DequantTables_s.s
28 ./vc/m4p10/src/armVCM4P10_Interpolate_Chroma_s.s
29 ./vc/m4p10/src/armVCM4P10_InterpolateLuma_Align_unsafe_s.s
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dagc2_amr_wb.cpp126 int32 s; in agc2_amr_wb() local
133 s = fxp_mul_16by16(temp, temp) << 1; in agc2_amr_wb()
137 s = mac_16by16_to_int32(s, temp, temp); in agc2_amr_wb()
141 if (s == 0) in agc2_amr_wb()
145 exp = normalize_amr_wb(s) - 1; in agc2_amr_wb()
146 gain_out = amr_wb_round(s << exp); in agc2_amr_wb()
151 s = mul_16by16_to_int32(temp, temp); in agc2_amr_wb()
155 s = mac_16by16_to_int32(s, temp, temp); in agc2_amr_wb()
159 if (s == 0) in agc2_amr_wb()
165 i = normalize_amr_wb(s); in agc2_amr_wb()
[all …]
/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/
DUT_primitives.java31 private boolean initializeGlobals(ScriptC_primitives s) { in initializeGlobals() argument
32 float pF = s.get_floatTest(); in initializeGlobals()
36 s.set_floatTest(2.99f); in initializeGlobals()
38 double pD = s.get_doubleTest(); in initializeGlobals()
42 s.set_doubleTest(3.05); in initializeGlobals()
44 byte pC = s.get_charTest(); in initializeGlobals()
48 s.set_charTest((byte)-16); in initializeGlobals()
50 short pS = s.get_shortTest(); in initializeGlobals()
54 s.set_shortTest((short)-32); in initializeGlobals()
56 int pI = s.get_intTest(); in initializeGlobals()
[all …]
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdRuntimeStubs.cpp254 static void SC_debugF(const char *s, float f) { in SC_debugF() argument
255 ALOGD("%s %f, 0x%08x", s, f, *((int *) (&f))); in SC_debugF()
257 static void SC_debugFv2(const char *s, float f1, float f2) { in SC_debugFv2() argument
258 ALOGD("%s {%f, %f}", s, f1, f2); in SC_debugFv2()
260 static void SC_debugFv3(const char *s, float f1, float f2, float f3) { in SC_debugFv3() argument
261 ALOGD("%s {%f, %f, %f}", s, f1, f2, f3); in SC_debugFv3()
263 static void SC_debugFv4(const char *s, float f1, float f2, float f3, float f4) { in SC_debugFv4() argument
264 ALOGD("%s {%f, %f, %f, %f}", s, f1, f2, f3, f4); in SC_debugFv4()
266 static void SC_debugF2(const char *s, float2 f) { in SC_debugF2() argument
267 ALOGD("%s {%f, %f}", s, f.x, f.y); in SC_debugF2()
[all …]
/frameworks/av/media/libstagefright/foundation/
DAString.cpp37 AString::AString(const char *s) in AString() argument
41 setTo(s); in AString()
44 AString::AString(const char *s, size_t size) in AString() argument
48 setTo(s, size); in AString()
89 void AString::setTo(const char *s) { in setTo() argument
90 setTo(s, strlen(s)); in setTo()
93 void AString::setTo(const char *s, size_t size) { in setTo() argument
95 append(s, size); in setTo()
164 void AString::append(const char *s) { in append() argument
165 append(s, strlen(s)); in append()
[all …]
/frameworks/wilhelm/tools/permute/
Dpermute.c79 static unsigned split(State *s, unsigned frameStart, unsigned frameLength, unsigned segmentBudget) in split() argument
84 if ((frameLength <= s->mMinSegmentLengthFrames*2) || (segmentBudget <= 1)) { in split()
85 assert(s->mSegmentCount < s->mSegmentMax); in split()
86 Segment *seg = &s->mSegmentArray[s->mSegmentCount++]; in split()
93 unsigned slop = frameLength - s->mMinSegmentLengthFrames*2; in split()
99 unsigned leftLength = s->mMinSegmentLengthFrames + cut; in split()
101 unsigned rightLength = s->mMinSegmentLengthFrames + (slop - cut); in split()
107 used = split(s, leftStart, leftLength, segmentBudget / 2); in split()
108 used += split(s, rightStart, rightLength, segmentBudget - used); in split()
110 used = split(s, rightStart, rightLength, segmentBudget / 2); in split()
[all …]

12345678910>>...67