/frameworks/base/core/java/android/util/ |
D | ContainerHelpers.java | 23 int lo = 0; in binarySearch() local 26 while (lo <= hi) { in binarySearch() 27 final int mid = (lo + hi) >>> 1; in binarySearch() 31 lo = mid + 1; in binarySearch() 38 return ~lo; // value not present in binarySearch() 42 int lo = 0; in binarySearch() local 45 while (lo <= hi) { in binarySearch() 46 final int mid = (lo + hi) >>> 1; in binarySearch() 50 lo = mid + 1; in binarySearch() 57 return ~lo; // value not present in binarySearch()
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | ContainerHelpers.java | 46 int lo = 0; in binarySearch() local 49 while (lo <= hi) { in binarySearch() 50 int mid = (lo + hi) >>> 1; in binarySearch() 54 lo = mid + 1; in binarySearch() 61 return ~lo; // value not present in binarySearch() 65 int lo = 0; in binarySearch() local 68 while (lo <= hi) { in binarySearch() 69 final int mid = (lo + hi) >>> 1; in binarySearch() 73 lo = mid + 1; in binarySearch() 80 return ~lo; // value not present in binarySearch()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | oper_32b.c | 57 __inline void VO_L_Extract (Word32 L_32, Word16 *hi, Word16 *lo) in VO_L_Extract() argument 60 *lo = (Word16)((L_32 & 0xffff) >> 1); in VO_L_Extract() 85 Word32 L_Comp (Word16 hi, Word16 lo) in L_Comp() argument 91 return (L_mac (L_32, lo, 1)); /* = hi<<16 + lo<<1 */ in L_Comp() 143 __inline Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n) in Mpy_32_16() argument 148 L_32 += (((lo * n)>>15)<<1); in Mpy_32_16() 197 Word16 approx, hi, lo, n_hi, n_lo; in Div_32() local 210 lo = (L_32 & 0xffff) >> 1; in Div_32() 212 L_32 = Mpy_32_16 (hi, lo, approx); in Div_32() 216 lo = (L_32 & 0xffff) >> 1; in Div_32() [all …]
|
D | isp_az.c | 46 Word16 hi, lo; in Isp_Az() local 92 lo = (f1[i] & 0xffff)>>1; in Isp_Az() 94 t0 = Mpy_32_16(hi, lo, isp[m - 1]); in Isp_Az() 100 lo = (f2[i] & 0xffff)>>1; in Isp_Az() 101 t0 = Mpy_32_16(hi, lo, isp[m - 1]); in Isp_Az() 156 lo = (f1[nc] & 0xffff)>>1; in Isp_Az() 157 t0 = Mpy_32_16(hi, lo, isp[m - 1]); in Isp_Az() 188 Word16 hi, lo; in Get_isp_pol() local 203 lo = (f[-1] & 0xffff)>>1; in Get_isp_pol() 205 t0 = Mpy_32_16(hi, lo, *isp); /* t0 = f[-1] * isp */ in Get_isp_pol() [all …]
|
D | levinson.c | 116 Word16 hi, lo; in Levinson() local 150 lo = (t0 & 0xffff)>>1; in Levinson() 152 t0 = Mpy_32(Rh[0], Rl[0], hi, lo); /* Alpha in Q31 */ in Levinson() 219 lo = (t0 & 0xffff)>>1; in Levinson() 220 t0 = Mpy_32(alp_h, alp_l, hi, lo); /* Alpha in Q31 */ in Levinson()
|
D | p_med_ol.c | 39 Word16 hi, lo; in Pitch_med_ol() local 72 lo = (R0 & 0xffff)>>1; in Pitch_med_ol() 74 R0 = Mpy_32_16(hi, lo, *ww); in Pitch_med_ol() 81 lo = (R0 & 0xffff)>>1; in Pitch_med_ol() 82 R0 = Mpy_32_16(hi, lo, *we); in Pitch_med_ol()
|
/frameworks/base/core/java/android/app/usage/ |
D | TimeSparseArray.java | 46 int lo = 0; in closestIndexOnOrAfter() local 50 while (lo <= hi) { in closestIndexOnOrAfter() 51 mid = lo + ((hi - lo) / 2); in closestIndexOnOrAfter() 55 lo = mid + 1; in closestIndexOnOrAfter() 65 } else if (time > key && lo < size) { in closestIndexOnOrAfter() 66 return lo; in closestIndexOnOrAfter()
|
/frameworks/base/libs/androidfw/ |
D | AssetDir.cpp | 42 int lo, hi, cur; in findEntry() 44 lo = 0; in findEntry() 46 while (lo <= hi) { in findEntry() 49 cur = (hi + lo) / 2; in findEntry() 56 lo = cur + 1; in findEntry()
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | isf_extrapolation.cpp | 123 int16 exp, exp2, hi, lo; in isf_extrapolation() local 164 int32_to_dpf(L_tmp, &hi, &lo); in isf_extrapolation() 165 L_tmp = mpy_dpf_32(hi, lo, hi, lo); in isf_extrapolation() 174 int32_to_dpf(L_tmp, &hi, &lo); in isf_extrapolation() 175 L_tmp = mpy_dpf_32(hi, lo, hi, lo); in isf_extrapolation() 184 int32_to_dpf(L_tmp, &hi, &lo); in isf_extrapolation() 185 L_tmp = mpy_dpf_32(hi, lo, hi, lo); in isf_extrapolation()
|
D | deemphasis_32.cpp | 131 int16 lo, hi; in deemphasis_32() local 142 lo = x_lo[1]; in deemphasis_32() 147 L_tmp += ((int32)lo) << 4; in deemphasis_32() 152 lo = x_lo[i+1]; in deemphasis_32() 156 L_tmp += ((int32)lo) << 4; in deemphasis_32()
|
D | pvamrwbdecoder_basic_op_cequivalent.h | 509 __inline int32 mul_32by16(int16 hi, int16 lo, int16 n) in mul_32by16() argument 511 return (((((int32)hi*n)) + ((((int32)lo*n) >> 15))) << 1); in mul_32by16()
|
D | pvamrwbdecoder_basic_op_armv5.h | 197 __inline int32 mul_32by16(int16 hi, int16 lo, int16 n) in mul_32by16() argument 204 smulbb L_32, lo, n in mul_32by16()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | div_32.cpp | 176 Word16 lo; in Div_32() local 192 lo = (result >> 1) - (hi << 15); in Div_32() 194 result = Mpy_32_16(hi, lo, approx, pOverflow); in Div_32() 199 lo = (result >> 1) - (hi << 15); in Div_32() 204 result = Mpy_32(n_hi, n_lo, hi, lo, pOverflow); in Div_32()
|
D | lsp_az.cpp | 261 Word16 lo; in Get_lsp_pol() local 278 lo = (Word16)((*(f - 1) >> 1) - ((Word32) hi << 15)); in Get_lsp_pol() 281 t0 += ((Word32)lo * *lsp) >> 15; in Get_lsp_pol()
|
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
D | oper_32b.c | 44 void L_Extract (Word32 L_32, Word16 *hi, Word16 *lo) in L_Extract() argument 47 *lo = extract_l (L_msu (L_shr (L_32, 1), *hi, 16384)); in L_Extract() 72 Word32 L_Comp (Word16 hi, Word16 lo) in L_Comp() argument 77 return (L_mac (L_32, lo, 1)); /* = hi<<16 + lo<<1 */ in L_Comp() 129 Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n) in Mpy_32_16() argument 134 L_32 = L_mac (L_32, mult (lo, n), 1); in Mpy_32_16()
|
D | oper_32b.h | 35 void L_Extract (Word32 L_32, Word16 *hi, Word16 *lo); 36 Word32 L_Comp (Word16 hi, Word16 lo); 38 Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | oper_32b.h | 24 void VO_L_Extract (Word32 L_32, Word16 *hi, Word16 *lo); 25 Word32 L_Comp (Word16 hi, Word16 lo); 27 Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | Histogram.java | 61 Script.LaunchOptions lo = new Script.LaunchOptions(); in runTest() local 62 lo.setX(0, 1); in runTest() 71 lo.setX(0, 1024); in runTest() 72 mScript.forEach_draw(mOutPixelsAllocation, lo); in runTest()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | l_comp.cpp | 142 Word32 L_Comp(Word16 hi, Word16 lo, Flag *pOverflow) in L_Comp() argument 156 temp32 = L_mac(L_32, lo, 1, pOverflow); in L_Comp()
|
D | levinson.cpp | 644 Word16 lo; in Levinson() local 698 lo = (Word16)((t0 >> 1) - ((Word32)(hi) << 15)); in Levinson() 700 t0 = Mpy_32(*Rh, *Rl, hi, lo, pOverflow); /* Alpha in */ in Levinson() 792 lo = (Word16)((t0 >> 1) - ((Word32)(hi) << 15)); in Levinson() 794 t0 = (((Word32)alp_h * lo) >> 15); in Levinson()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioCoefInterpolator.cpp | 78 audio_coef_t AudioCoefInterpolator::interp(audio_coef_t lo, audio_coef_t hi, in interp() argument 80 int64_t delta = static_cast<int64_t>(hi-lo) * frac; in interp() 81 return lo + static_cast<audio_coef_t> (delta >> 32); in interp()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | ScriptCThunker.java | 123 android.renderscript.Script.LaunchOptions lo = null; in thunkForEach() local 125 lo = new android.renderscript.Script.LaunchOptions(); in thunkForEach() 126 if (sc.getXEnd() > 0) lo.setX(sc.getXStart(), sc.getXEnd()); in thunkForEach() 127 if (sc.getYEnd() > 0) lo.setY(sc.getYStart(), sc.getYEnd()); in thunkForEach() 128 if (sc.getZEnd() > 0) lo.setZ(sc.getZStart(), sc.getZEnd()); in thunkForEach() 143 forEach(slot, nin, nout, nfp, lo); in thunkForEach()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | PositionMap.java | 441 int lo = 0; in binarySearch() local 444 while (lo <= hi) { in binarySearch() 445 final int mid = (lo + hi) >>> 1; in binarySearch() 449 lo = mid + 1; in binarySearch() 456 return ~lo; // value not present in binarySearch()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | l_comp.h | 104 Word32 L_Comp(Word16 hi, Word16 lo, Flag *pOverflow);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | ParameterUtils.java | 208 private static int clipLower(int value, int lo, Rect rect, String name) { in clipLower() argument 209 return clip(value, lo, /*hi*/Integer.MAX_VALUE, rect, name); in clipLower() 212 private static int clip(int value, int lo, int hi, Rect rect, String name) { in clip() argument 213 if (value < lo) { in clip() 215 + name + " too small, clip to " + lo); in clip() 216 value = lo; in clip()
|