/frameworks/compile/libbcc/lib/ScriptCRT/ |
D | clamp.c | 20 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 …]
|
D | rs_core.c | 193 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 …hort __attribute__((overloadable, always_inline)) rsClamp(ushort amount, ushort low, ushort high) { in rsClamp() argument 200 return amount < low ? low : (amount > high ? high : amount); in rsClamp() 202 …n short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, short high) { in rsClamp() argument 203 return amount < low ? low : (amount > high ? high : amount); in rsClamp() 205 …n uchar __attribute__((overloadable, always_inline)) rsClamp(uchar amount, uchar low, uchar high) { in rsClamp() argument 206 return amount < low ? low : (amount > high ? high : amount); in rsClamp() [all …]
|
/frameworks/compile/libbcc/runtime/lib/ |
D | udivmodti4.c | 38 if (n.s.high == 0) in __udivmodti4() 40 if (d.s.high == 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() 80 r.s.high = n.s.high % d.s.high; in __udivmodti4() 84 return n.s.high / d.s.high; in __udivmodti4() 90 if ((d.s.high & (d.s.high - 1)) == 0) /* if d is a power of 2 */ in __udivmodti4() 95 r.s.high = n.s.high & (d.s.high - 1); in __udivmodti4() 98 return n.s.high >> __builtin_ctzll(d.s.high); in __udivmodti4() [all …]
|
D | udivmoddi4.c | 36 if (n.s.high == 0) in __udivmoddi4() 38 if (d.s.high == 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() 78 r.s.high = n.s.high % d.s.high; in __udivmoddi4() 82 return n.s.high / d.s.high; in __udivmoddi4() 88 if ((d.s.high & (d.s.high - 1)) == 0) /* if d is a power of 2 */ in __udivmoddi4() 93 r.s.high = n.s.high & (d.s.high - 1); in __udivmoddi4() 96 return n.s.high >> __builtin_ctz(d.s.high); in __udivmoddi4() [all …]
|
D | int_lib.h | 43 si_int high; member 45 si_int high; 58 su_int high; member 60 su_int high; 78 di_int high; member 80 di_int high; 93 du_int high; member 95 du_int high; 103 r.s.high = h; in make_ti() 110 r.s.high = h; in make_tu() [all …]
|
D | ashrdi3.c | 31 result.s.high = input.s.high >> (bits_in_word - 1); in __ashrdi3() 32 result.s.low = input.s.high >> (b - bits_in_word); in __ashrdi3() 38 result.s.high = input.s.high >> b; in __ashrdi3() 39 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b); in __ashrdi3()
|
D | ashrti3.c | 33 result.s.high = input.s.high >> (bits_in_dword - 1); in __ashrti3() 34 result.s.low = input.s.high >> (b - bits_in_dword); in __ashrti3() 40 result.s.high = input.s.high >> b; in __ashrti3() 41 result.s.low = (input.s.high << (bits_in_dword - b)) | (input.s.low >> b); in __ashrti3()
|
D | lshrdi3.c | 30 result.s.high = 0; in __lshrdi3() 31 result.s.low = input.s.high >> (b - bits_in_word); in __lshrdi3() 37 result.s.high = input.s.high >> b; in __lshrdi3() 38 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b); in __lshrdi3()
|
D | lshrti3.c | 32 result.s.high = 0; in __lshrti3() 33 result.s.low = input.s.high >> (b - bits_in_dword); in __lshrti3() 39 result.s.high = input.s.high >> b; in __lshrti3() 40 result.s.low = (input.s.high << (bits_in_dword - b)) | (input.s.low >> b); in __lshrti3()
|
D | muldi3.c | 31 r.s.high = t >> bits_in_word_2; in __muldsi3() 36 r.s.high += t >> bits_in_word_2; in __muldsi3() 37 r.s.high += (a >> bits_in_word_2) * (b >> bits_in_word_2); in __muldsi3() 52 r.s.high += x.s.high * y.s.low + x.s.low * y.s.high; in __muldi3()
|
D | multi3.c | 33 r.s.high = t >> bits_in_dword_2; in __mulddi3() 38 r.s.high += t >> bits_in_dword_2; in __mulddi3() 39 r.s.high += (a >> bits_in_dword_2) * (b >> bits_in_dword_2); in __mulddi3() 54 r.s.high += x.s.high * y.s.low + x.s.low * y.s.high; in __multi3()
|
D | ucmpti2.c | 31 if (x.s.high < y.s.high) in __ucmpti2() 33 if (x.s.high > y.s.high) in __ucmpti2()
|
D | cmpdi2.c | 29 if (x.s.high < y.s.high) in __cmpdi2() 31 if (x.s.high > y.s.high) in __cmpdi2()
|
D | cmpti2.c | 31 if (x.s.high < y.s.high) in __cmpti2() 33 if (x.s.high > y.s.high) in __cmpti2()
|
D | ucmpdi2.c | 29 if (x.s.high < y.s.high) in __ucmpdi2() 31 if (x.s.high > y.s.high) in __ucmpdi2()
|
D | fixunsdfdi.c | 34 int e = ((fb.u.s.high & 0x7FF00000) >> 20) - 1023; in __fixunsdfdi() 35 if (e < 0 || (fb.u.s.high & 0x80000000)) in __fixunsdfdi() 38 r.s.high = (fb.u.s.high & 0x000FFFFF) | 0x00100000; in __fixunsdfdi()
|
D | fixdfdi.c | 31 int e = ((fb.u.s.high & 0x7FF00000) >> 20) - 1023; in __fixdfdi() 34 di_int s = (si_int)(fb.u.s.high & 0x80000000) >> 31; in __fixdfdi() 36 r.s.high = (fb.u.s.high & 0x000FFFFF) | 0x00100000; in __fixdfdi()
|
/frameworks/native/opengl/libs/ETC1/ |
D | etc1.cpp | 201 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; in etc1_decode_block() local 204 if (high & 2) { in etc1_decode_block() 206 int rBase = high >> 27; in etc1_decode_block() 207 int gBase = high >> 19; in etc1_decode_block() 208 int bBase = high >> 11; in etc1_decode_block() 210 r2 = convertDiff(rBase, high >> 24); in etc1_decode_block() 212 g2 = convertDiff(gBase, high >> 16); in etc1_decode_block() 214 b2 = convertDiff(bBase, high >> 8); in etc1_decode_block() 217 r1 = convert4To8(high >> 28); in etc1_decode_block() 218 r2 = convert4To8(high >> 24); in etc1_decode_block() [all …]
|
/frameworks/base/core/java/android/util/ |
D | SparseLongArray.java | 229 int high = start + len, low = start - 1, guess; in binarySearch() local 231 while (high - low > 1) { in binarySearch() 232 guess = (high + low) / 2; in binarySearch() 237 high = guess; in binarySearch() 240 if (high == start + len) in binarySearch() 242 else if (a[high] == key) in binarySearch() 243 return high; in binarySearch() 245 return ~high; in binarySearch()
|
D | SparseIntArray.java | 235 int high = start + len, low = start - 1, guess; in binarySearch() local 237 while (high - low > 1) { in binarySearch() 238 guess = (high + low) / 2; in binarySearch() 243 high = guess; in binarySearch() 246 if (high == start + len) in binarySearch() 248 else if (a[high] == key) in binarySearch() 249 return high; in binarySearch() 251 return ~high; in binarySearch()
|
D | SparseBooleanArray.java | 224 int high = start + len, low = start - 1, guess; in binarySearch() local 226 while (high - low > 1) { in binarySearch() 227 guess = (high + low) / 2; in binarySearch() 232 high = guess; in binarySearch() 235 if (high == start + len) in binarySearch() 237 else if (a[high] == key) in binarySearch() 238 return high; in binarySearch() 240 return ~high; in binarySearch()
|
D | MathUtils.java | 38 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/support/volley/tests/src/com/android/volley/ |
D | RequestTest.java | 38 TestRequest high = new TestRequest(Priority.HIGH); in testCompareTo() local 39 high.setSequence(sequence++); in testCompareTo() 44 assertTrue(low.compareTo(high) > 0); in testCompareTo() 45 assertTrue(high.compareTo(low) < 0); in testCompareTo() 48 assertTrue(immediate.compareTo(high) < 0); in testCompareTo()
|
/frameworks/compile/libbcc/lib/ScriptCRT/neon/ |
D | clamp.ll | 23 define <4 x float> @_Z5clampDv4_fS_S_(<4 x float> %value, <4 x float> %low, <4 x float> %high) noun… 24 …%1 = tail call <4 x float> @llvm.arm.neon.vmins.v4f32(<4 x float> %value, <4 x float> %high) nounw… 29 define <4 x float> @_Z5clampDv4_fff(<4 x float> %value, float %low, float %high) nounwind readonly { 30 %_high = tail call <4 x float> @smear_4f(float %high) nounwind readnone 36 define <3 x float> @_Z5clampDv3_fS_S_(<3 x float> %value, <3 x float> %low, <3 x float> %high) noun… 39 …%_high = shufflevector <3 x float> %high, <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 { 48 %_high = tail call <4 x float> @smear_4f(float %high) nounwind readnone 57 define <2 x float> @_Z5clampDv2_fS_S_(<2 x float> %value, <2 x float> %low, <2 x float> %high) noun… 58 …%1 = tail call <2 x float> @llvm.arm.neon.vmins.v2f32(<2 x float> %value, <2 x float> %high) nounw… [all …]
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioPeakingFilter.cpp | 103 void AudioPeakingFilter::getBandRange(uint32_t & low, uint32_t & high) const { in getBandRange() 109 high = mNiquistFreq; in getBandRange() 111 …high = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(halfBW + (16… in getBandRange() 112 if (CC_UNLIKELY(high > mNiquistFreq)) { in getBandRange() 113 high = mNiquistFreq; in getBandRange()
|