Home
last modified time | relevance | path

Searched refs:low (Results 1 – 25 of 183) sorted by relevance

12345678

/frameworks/compile/libbcc/lib/ScriptCRT/
Dclamp.c20 extern float __attribute__((overloadable)) clamp(float amount, float low, float high) { in clamp() argument
21 return amount < low ? low : (amount > high ? high : amount); in clamp()
24 extern float2 __attribute__((overloadable)) clamp(float2 amount, float2 low, float2 high) { in clamp() argument
26 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); in clamp()
27 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); in clamp()
31 extern float3 __attribute__((overloadable)) clamp(float3 amount, float3 low, float3 high) { in clamp() argument
33 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); in clamp()
34 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); in clamp()
35 r.z = amount.z < low.z ? low.z : (amount.z > high.z ? high.z : amount.z); in clamp()
39 extern float4 __attribute__((overloadable)) clamp(float4 amount, float4 low, float4 high) { in clamp() argument
[all …]
Drs_core.c193 extern uint __attribute__((overloadable, always_inline)) rsClamp(uint amount, uint low, uint high) { in rsClamp() argument
194 return amount < low ? low : (amount > high ? high : amount); in rsClamp()
196 extern int __attribute__((overloadable, always_inline)) rsClamp(int amount, int low, int high) { in rsClamp() argument
197 return amount < low ? low : (amount > high ? high : amount); in rsClamp()
199 extern ushort __attribute__((overloadable, always_inline)) rsClamp(ushort amount, ushort low, ushor… in rsClamp() argument
200 return amount < low ? low : (amount > high ? high : amount); in rsClamp()
202 extern short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, short hi… in rsClamp() argument
203 return amount < low ? low : (amount > high ? high : amount); in rsClamp()
205 extern uchar __attribute__((overloadable, always_inline)) rsClamp(uchar amount, uchar low, uchar hi… in rsClamp() argument
206 return amount < low ? low : (amount > high ? high : amount); in rsClamp()
[all …]
/frameworks/compile/libbcc/runtime/lib/
Dudivmodti4.c47 *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()
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()
81 r.s.low = 0; in __udivmodti4()
94 r.s.low = n.s.low; in __udivmodti4()
115 q.s.low = 0; in __udivmodti4()
[all …]
Dudivmoddi4.c45 *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()
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()
79 r.s.low = 0; in __udivmoddi4()
92 r.s.low = n.s.low; in __udivmoddi4()
113 q.s.low = 0; in __udivmoddi4()
[all …]
Dint_lib.h42 su_int low; member
46 su_int low;
57 su_int low; member
61 su_int low;
77 du_int low; member
81 du_int low;
92 du_int low; member
96 du_int low;
104 r.s.low = l; in make_ti()
111 r.s.low = l; in make_tu()
[all …]
Dmuldi3.c26 r.s.low = (a & lower_mask) * (b & lower_mask); in __muldsi3()
27 su_int t = r.s.low >> bits_in_word_2; in __muldsi3()
28 r.s.low &= lower_mask; in __muldsi3()
30 r.s.low += (t & lower_mask) << bits_in_word_2; in __muldsi3()
32 t = r.s.low >> bits_in_word_2; in __muldsi3()
33 r.s.low &= lower_mask; in __muldsi3()
35 r.s.low += (t & lower_mask) << bits_in_word_2; in __muldsi3()
51 r.all = __muldsi3(x.s.low, y.s.low); in __muldi3()
52 r.s.high += x.s.high * y.s.low + x.s.low * y.s.high; in __muldi3()
Dmulti3.c28 r.s.low = (a & lower_mask) * (b & lower_mask); in __mulddi3()
29 du_int t = r.s.low >> bits_in_dword_2; in __mulddi3()
30 r.s.low &= lower_mask; in __mulddi3()
32 r.s.low += (t & lower_mask) << bits_in_dword_2; in __mulddi3()
34 t = r.s.low >> bits_in_dword_2; in __mulddi3()
35 r.s.low &= lower_mask; in __mulddi3()
37 r.s.low += (t & lower_mask) << bits_in_dword_2; in __mulddi3()
53 r.all = __mulddi3(x.s.low, y.s.low); in __multi3()
54 r.s.high += x.s.high * y.s.low + x.s.low * y.s.high; in __multi3()
Dashldi3.c30 result.s.low = 0; in __ashldi3()
31 result.s.high = input.s.low << (b - bits_in_word); in __ashldi3()
37 result.s.low = input.s.low << b; in __ashldi3()
38 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_word - b)); in __ashldi3()
Dashlti3.c32 result.s.low = 0; in __ashlti3()
33 result.s.high = input.s.low << (b - bits_in_dword); in __ashlti3()
39 result.s.low = input.s.low << b; in __ashlti3()
40 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_dword - b)); in __ashlti3()
Ducmpti2.c35 if (x.s.low < y.s.low) in __ucmpti2()
37 if (x.s.low > y.s.low) in __ucmpti2()
Dcmpdi2.c33 if (x.s.low < y.s.low) in __cmpdi2()
35 if (x.s.low > y.s.low) in __cmpdi2()
Dcmpti2.c35 if (x.s.low < y.s.low) in __cmpti2()
37 if (x.s.low > y.s.low) in __cmpti2()
Ducmpdi2.c33 if (x.s.low < y.s.low) in __ucmpdi2()
35 if (x.s.low > y.s.low) in __ucmpdi2()
Dfloatdidf.c38 union { int64_t x; double d; } low = { .d = twop52 }; in __floatdidf() local
41 low.x |= a & INT64_C(0x00000000ffffffff); in __floatdidf()
43 const double result = (high - twop52) + low.d; in __floatdidf()
104 fb.u.low = (su_int)a; /* mantissa-low */ in __floatdidf()
/frameworks/support/volley/tests/src/com/android/volley/
DRequestTest.java34 TestRequest low = new TestRequest(Priority.LOW); in testCompareTo() local
35 low.setSequence(sequence++); in testCompareTo()
44 assertTrue(low.compareTo(high) > 0); in testCompareTo()
45 assertTrue(high.compareTo(low) < 0); in testCompareTo()
46 assertTrue(low.compareTo(low2) < 0); in testCompareTo()
47 assertTrue(low.compareTo(immediate) > 0); in testCompareTo()
/frameworks/base/core/java/android/util/
DMathUtils.java38 public static int constrain(int amount, int low, int high) { in constrain() argument
39 return amount < low ? low : (amount > high ? high : amount); in constrain()
42 public static long constrain(long amount, long low, long high) { in constrain() argument
43 return amount < low ? low : (amount > high ? high : amount); in constrain()
46 public static float constrain(float amount, float low, float high) { in constrain() argument
47 return amount < low ? low : (amount > high ? high : amount); in constrain()
/frameworks/compile/libbcc/runtime/lib/ppc/
Dfloatditf.c16 doublebits low = { .d = twop52 }; in __floatditf() local
17 low.x |= a & UINT64_C(0x00000000ffffffff); /* 0x1.0p52 + low 32 bits of a. */ in __floatditf()
32 result.s.hi = high_addend + low.d; in __floatditf()
33 result.s.lo = (high_addend - result.s.hi) + low.d; in __floatditf()
Dfloatunditf.c20 doublebits low = { .d = twop52 }; in __floatunditf() local
23 low.x |= a & UINT64_C(0x00000000ffffffff); /* 0x1.0p52 + low 32 bits of a */ in __floatunditf()
37 result.s.hi = high_addend + low.d; in __floatunditf()
38 result.s.lo = (high_addend - result.s.hi) + low.d; in __floatunditf()
/frameworks/compile/libbcc/lib/ScriptCRT/neon/
Dclamp.ll23 define <4 x float> @_Z5clampDv4_fS_S_(<4 x float> %value, <4 x float> %low, <4 x float> %high) noun…
25 …%2 = tail call <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float> %1, <4 x float> %low) nounwind r…
29 define <4 x float> @_Z5clampDv4_fff(<4 x float> %value, float %low, float %high) nounwind readonly {
31 %_low = tail call <4 x float> @smear_4f(float %low) nounwind readnone
36 define <3 x float> @_Z5clampDv3_fS_S_(<3 x float> %value, <3 x float> %low, <3 x float> %high) noun…
38 %_low = shufflevector <3 x float> %low, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
46 define <3 x float> @_Z5clampDv3_fff(<3 x float> %value, float %low, float %high) nounwind readonly {
49 %_low = tail call <4 x float> @smear_4f(float %low) nounwind readnone
57 define <2 x float> @_Z5clampDv2_fS_S_(<2 x float> %value, <2 x float> %low, <2 x float> %high) noun…
59 …%2 = tail call <2 x float> @llvm.arm.neon.vmaxs.v2f32(<2 x float> %1, <2 x float> %low) nounwind r…
[all …]
/frameworks/base/core/java/android/text/
DAndroidBidi.java164 for (int low = i, hi = e - 2; low < hi; low += 2, hi -= 2) { in directions()
165 int x = ld[low]; ld[low] = ld[hi]; ld[hi] = x; in directions()
166 x = ld[low+1]; ld[low+1] = ld[hi+1]; ld[hi+1] = x; in directions()
/frameworks/compile/libbcc/runtime/test/Unit/
Dumodti3_test.c38 at.s.high, at.s.low, bt.s.high, bt.s.low, rt.s.high, rt.s.low, in test__umodti3()
39 expected_rt.s.high, expected_rt.s.low); in test__umodti3()
Dudivti3_test.c38 at.s.high, at.s.low, bt.s.high, bt.s.low, qt.s.high, qt.s.low, in test__udivti3()
39 expected_qt.s.high, expected_qt.s.low); in test__udivti3()
Dsubvti3_test.c42 at.s.high, at.s.low, bt.s.high, bt.s.low, xt.s.high, xt.s.low, in test__subvti3()
43 expectedt.s.high, expectedt.s.low); in test__subvti3()
/frameworks/base/graphics/java/android/graphics/drawable/
DLevelListDrawable.java66 public void addLevel(int low, int high, Drawable drawable) { in addLevel() argument
68 mLevelListState.addLevel(low, high, drawable); in addLevel()
93 int low = 0; in inflate() local
111 low = a.getInt( in inflate()
140 mLevelListState.addLevel(low, high, dr); in inflate()
172 public void addLevel(int low, int high, Drawable drawable) { in addLevel() argument
174 mLows[pos] = low; in addLevel()
/frameworks/av/media/libmedia/
Dautodetect.cpp851 int low = 0; in charMatchesEncoding() local
854 while (low < high) { in charMatchesEncoding()
855 int i = (low + high) / 2; in charMatchesEncoding()
860 low = i + 1; in charMatchesEncoding()

12345678