Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 25 of 182) sorted by relevance

12345678

/frameworks/av/media/module/codecs/amrnb/enc/src/
Denc_lag3.cpp273 temp1 = sub(T0, 85, pOverflow); in Enc_lag3()
279 temp2 = sub(i, 58, pOverflow); in Enc_lag3()
295 i = sub(T0, T0_min, pOverflow); in Enc_lag3()
307 temp1 = sub(tmp_lag, T0_min, pOverflow); in Enc_lag3()
308 temp2 = sub(temp1, 5, pOverflow); in Enc_lag3()
311 temp1 = sub(T0_max, tmp_lag, pOverflow); in Enc_lag3()
312 temp2 = sub(temp1, 4, pOverflow); in Enc_lag3()
314 tmp_lag = sub(T0_max, 4, pOverflow); in Enc_lag3()
320 i = sub(tmp_lag, 2, pOverflow); in Enc_lag3()
324 temp1 = sub(tmp_ind, uplag, pOverflow); in Enc_lag3()
[all …]
Dqgain795.cpp258 exp_code = sub(exp_gcode0, 10, pOverflow); in MR795_gain_code_quant3()
261 exp_max[0] = sub(exp_coeff[0], 13, pOverflow); in MR795_gain_code_quant3()
262 exp_max[1] = sub(exp_coeff[1], 14, pOverflow); in MR795_gain_code_quant3()
295 j = sub(e_max, exp_max[i], pOverflow); in MR795_gain_code_quant3()
383 L_tmp = L_shr(L_tmp, sub(9, exp_gcode0, pOverflow), pOverflow); in MR795_gain_code_quant3()
556 gain_code = shl(*gain_cod, sub(10, exp_gcode0, pOverflow), pOverflow); /* Q1 -> Q11 (-ec0) */ in MR795_gain_code_quant_mod()
559 one_alpha = add(sub(32767, alpha, pOverflow), 1, pOverflow); /* 32768 - alpha */ in MR795_gain_code_quant_mod()
569 exp_coeff[1] = sub(exp_en[1], 15, pOverflow); in MR795_gain_code_quant_mod()
574 exp = sub(exp_gcode0, 10, pOverflow); in MR795_gain_code_quant_mod()
580 exp = sub(shl(exp_gcode0, 1, pOverflow), 7, pOverflow); in MR795_gain_code_quant_mod()
[all …]
Dqua_gain.cpp271 exp_code = sub(exp_gcode0, 11, pOverflow); in Qua_gain()
274 exp_max[0] = sub(exp_coeff[0], 13, pOverflow); in Qua_gain()
275 exp_max[1] = sub(exp_coeff[1], 14, pOverflow); in Qua_gain()
314 j = sub(e_max, exp_max[i], pOverflow); in Qua_gain()
394 temp = sub(10, exp_gcode0, pOverflow); in Qua_gain()
Dcalc_en.cpp316 tmp2 = sub(tmp1, pv_round(L_temp, pOverflow), pOverflow); in calc_unfilt_energies()
352 exp_en[1] = sub(15, exp, pOverflow); in calc_unfilt_energies()
361 exp = sub(15, exp, pOverflow); in calc_unfilt_energies()
372 exp = sub(exp, exp_en[0], pOverflow); in calc_unfilt_energies()
383 L_temp = L_Comp(sub(ltpg_exp, 27, pOverflow), ltpg_frac, pOverflow); in calc_unfilt_energies()
662 exp_coeff[4] = sub(7, exp, pOverflow); in calc_filt_energies()
/frameworks/libs/binary_translation/guest_abi/arm/
Dguest_function_wrapper_test.cc50 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub"); in TEST_F() local
52 int x = sub(239, 11); in TEST_F()
67 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub_long"); in TEST_F() local
69 uint64_t x = sub(0xffff0000ffff0001ULL, 0x7fff0000ffff0000ULL); in TEST_F()
86 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub_float"); in TEST_F() local
88 float x = sub(2.71f, 3.14f); in TEST_F()
105 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub_double"); in TEST_F() local
107 double x = sub(2.71, 3.14); in TEST_F()
/frameworks/libs/binary_translation/guest_abi/riscv64/
Dguest_function_wrapper_test.cc49 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub"); in TEST_F() local
51 int x = sub(239, 11); in TEST_F()
65 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub_long"); in TEST_F() local
67 uint64_t x = sub(0xffff0000ffff0001ULL, 0x7fff0000ffff0000ULL); in TEST_F()
81 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub_float"); in TEST_F() local
83 float x = sub(2.71f, 3.14f); in TEST_F()
97 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub_double"); in TEST_F() local
99 double x = sub(2.71, 3.14); in TEST_F()
/frameworks/libs/binary_translation/guest_abi/arm64/
Dguest_function_wrapper_test.cc49 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub"); in TEST_F() local
51 int x = sub(239, 11); in TEST_F()
65 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub_long"); in TEST_F() local
67 uint64_t x = sub(0xffff0000ffff0001ULL, 0x7fff0000ffff0000ULL); in TEST_F()
81 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub_float"); in TEST_F() local
83 float x = sub(2.71f, 3.14f); in TEST_F()
97 TwoArgFunction sub = WrapGuestFunction(bit_cast<GuestType<TwoArgFunction>>(pc), "sub_double"); in TEST_F() local
99 double x = sub(2.71, 3.14); in TEST_F()
Dhost_function_wrapper_test.cc82 int sub(int x, int y) { in sub() function
97 EXPECT_EQ(-2, CallWrappedHostFunctionFromWrappedGuestFunction<int>(pc, sub)); in TEST_F()
123 if (n == 2) return sub;
/frameworks/av/media/module/codecs/amrnb/dec/src/
Ddec_lag3.cpp229 sub( in Dec_lag3()
269 sub( in Dec_lag3()
284 sub( in Dec_lag3()
290 sub( in Dec_lag3()
303 sub( in Dec_lag3()
318 sub( in Dec_lag3()
326 sub( in Dec_lag3()
335 sub( in Dec_lag3()
378 sub( in Dec_lag3()
Ddec_lag6.cpp235 sub( in Dec_lag6()
249 sub( in Dec_lag6()
262 sub( in Dec_lag6()
283 sub( in Dec_lag6()
303 sub( in Dec_lag6()
326 sub( in Dec_lag6()
332 sub( in Dec_lag6()
Dec_gains.cpp337 if (sub(tmp, st->past_gain_code, pOverflow) > 0) in ec_gain_code()
467 if (sub(*gain_code, st->prev_gc, pOverflow) > 0) in ec_gain_code_update()
596 if (sub(tmp, st->past_gain_pit, pOverflow) > 0) in ec_gain_pitch()
820 if (sub(*gain_pitch, st->prev_gp, pOverflow) > 0) in ec_gain_pitch_update()
830 if (sub(st->past_gain_pit, 16384, pOverflow) > 0) in ec_gain_pitch_update()
/frameworks/av/media/libaudiohal/impl/
DEffectProxy.cpp51 SubEffect sub({.descriptor = desc}); in EffectProxy() local
52 status = factory->createEffect(desc.common.id.uuid, &sub.handle); in EffectProxy()
53 if (!status.isOk() || !sub.handle) { in EffectProxy()
54 sub.handle = nullptr; in EffectProxy()
58 subEffects.emplace_back(sub); in EffectProxy()
83 const auto& itor = std::find_if(mSubEffects.begin(), mSubEffects.end(), [&](const auto& sub) { in setOffloadParam() argument
84 const auto& desc = sub.descriptor; in setOffloadParam()
110 for (auto& sub : mSubEffects) { in open() local
112 if (!sub.handle || !(status = sub.handle->open(common, specific, &openReturn)).isOk()) { in open()
113 ALOGE("%s: failed to open %p UUID %s", __func__, sub.handle.get(), in open()
[all …]
/frameworks/base/core/java/android/text/
DAlteredCharSequence.java36 public static AlteredCharSequence make(CharSequence source, char[] sub, in make() argument
39 return new AlteredSpanned(source, sub, substart, subend); in make()
41 return new AlteredCharSequence(source, sub, substart, subend); in make()
44 private AlteredCharSequence(CharSequence source, char[] sub, in AlteredCharSequence() argument
47 mChars = sub; in AlteredCharSequence()
52 /* package */ void update(char[] sub, int substart, int subend) { in update() argument
53 mChars = sub; in update()
62 private AlteredSpanned(CharSequence source, char[] sub, in AlteredSpanned() argument
64 super(source, sub, substart, subend); in AlteredSpanned()
/frameworks/av/media/module/codecs/mp3dec/src/asm/
Dpvmp3_dct_16_gcc.s53 sub r2,r1,r3
55 sub sp,sp,#0x1c
60 sub r3,r2,r12
67 sub r2,r1,r3
74 sub r4,r1,r12
80 sub r4,r12,lr
85 sub r12,r1,r12
92 sub lr,r1,r12
99 sub r6,r12,lr
105 sub r12,r1,r12
[all …]
Dpvmp3_polyphase_filter_window_gcc.s49 sub sp,sp,#4
55 sub r2,r2,#1
68 sub r2,r4,r10
79 sub r9,r9,r5
86 sub r11,r11,r2
100 sub r9,r9,r5
104 sub r11,r11,r5
118 sub r9,r9,r5
122 sub r11,r11,r5
139 sub r9,r9,r5
[all …]
/frameworks/base/core/java/android/content/res/
DStringBlock.java310 String sub; in applyStyles() local
312 sub = subtag(tag, ";height="); in applyStyles()
313 if (sub != null) { in applyStyles()
314 int size = Integer.parseInt(sub); in applyStyles()
319 sub = subtag(tag, ";size="); in applyStyles()
320 if (sub != null) { in applyStyles()
321 int size = Integer.parseInt(sub); in applyStyles()
327 sub = subtag(tag, ";fgcolor="); in applyStyles()
328 if (sub != null) { in applyStyles()
329 buffer.setSpan(getColor(sub, true), in applyStyles()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DRcsConfigTest.java242 for (String[] sub : SUB_CHARACTERISTICS) { in testSetAndMoveCharacteristic()
243 Characteristic[] cl = new Characteristic[sub.length]; in testSetAndMoveCharacteristic()
245 for (String cur : sub) { in testSetAndMoveCharacteristic()
265 for (String[] sub : SAME_PARMS_DIFF_CHARS_VALUE_MAP) { in testGetDuplicateParmInDifferentCharacteristics()
267 if (!sub[1].isEmpty()) { in testGetDuplicateParmInDifferentCharacteristics()
268 config.setCurrentCharacteristic(config.getCharacteristic(sub[1])); in testGetDuplicateParmInDifferentCharacteristics()
271 String value = config.getString(sub[0], ""); in testGetDuplicateParmInDifferentCharacteristics()
273 assertEquals(value, sub[2]); in testGetDuplicateParmInDifferentCharacteristics()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardEsimArea.java109 SubscriptionInfo sub = SubscriptionManager.from(context).getActiveSubscriptionInfo(subId); in isEsimLocked() local
110 return sub != null && sub.isEmbedded(); in isEsimLocked()
125 SubscriptionInfo sub = SubscriptionManager.from(mContext) in onClick() local
127 if (sub == null) { in onClick()
139 SubscriptionManager.INVALID_SUBSCRIPTION_ID, sub.getPortIndex(), callbackIntent); in onClick()
/frameworks/av/media/module/codecs/amrnb/common/src/
Dvad1.cpp190 temp0 = sub(temp1, temp0, pOverflow); in first_filter_stage()
198 temp3 = sub(temp2, temp3, pOverflow); in first_filter_stage()
204 out[4*i+1] = sub(temp1, temp2, pOverflow); in first_filter_stage()
208 data0 = sub(temp2, temp1, pOverflow); in first_filter_stage()
215 data1 = sub(temp2, data1, pOverflow); in first_filter_stage()
221 out[4*i+3] = sub(temp1, temp2, pOverflow); in first_filter_stage()
308 temp0 = sub(*in0, temp0, pOverflow); in filter5()
315 temp0 = sub(*in1, temp0, pOverflow); in filter5()
325 temp0 = sub(temp1, temp2, pOverflow); in filter5()
412 temp1 = sub(*in1, temp1, pOverflow); in filter3()
[all …]
/frameworks/rs/toolkit/
DResize_advsimd.S156 sub x8, sp, #48
157 sub sp, sp, #80
165 sub x12, sp, #BUFFER_SIZE
185 sub x8, x2, x3
210 sub x14, x12, x13, LSL #(COMPONENT_SHIFT + 1)
232 sub x12, x12, #32
238 sub x11, x11, #4
243 sub x4, x4, x13, LSL #(COMPONENT_SHIFT)
244 sub x5, x5, x13, LSL #(COMPONENT_SHIFT)
245 sub x6, x6, x13, LSL #(COMPONENT_SHIFT)
[all …]
DResize_neon.S184 sub r12, sp, #BUFFER_SIZE + 32
209 sub r8, r2, r3
238 sub r8, r12, r10, LSL #COMPONENT_SHIFT + 1
262 sub r12, r12, #32
269 sub lr, r11, #4
274 sub r4, r4, r10, LSL #COMPONENT_SHIFT
275 sub r5, r5, r10, LSL #COMPONENT_SHIFT
276 sub r6, r6, r10, LSL #COMPONENT_SHIFT
277 sub r7, r7, r10, LSL #COMPONENT_SHIFT
314 sub lr, lr, #8 / COMPONENT_COUNT
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_advsimd_Resize.S156 sub x8, sp, #48
157 sub sp, sp, #80
165 sub x12, sp, #BUFFER_SIZE
185 sub x8, x2, x3
210 sub x14, x12, x13, LSL #(COMPONENT_SHIFT + 1)
232 sub x12, x12, #32
238 sub x11, x11, #4
243 sub x4, x4, x13, LSL #(COMPONENT_SHIFT)
244 sub x5, x5, x13, LSL #(COMPONENT_SHIFT)
245 sub x6, x6, x13, LSL #(COMPONENT_SHIFT)
[all …]
DrsCpuIntrinsics_neon_Resize.S184 sub r12, sp, #BUFFER_SIZE + 32
209 sub r8, r2, r3
238 sub r8, r12, r10, LSL #COMPONENT_SHIFT + 1
262 sub r12, r12, #32
269 sub lr, r11, #4
274 sub r4, r4, r10, LSL #COMPONENT_SHIFT
275 sub r5, r5, r10, LSL #COMPONENT_SHIFT
276 sub r6, r6, r10, LSL #COMPONENT_SHIFT
277 sub r7, r7, r10, LSL #COMPONENT_SHIFT
314 sub lr, lr, #8 / COMPONENT_COUNT
[all …]
/frameworks/rs/script_api/include/
Drs_object_info.rsh244 * For Elements that represents a structure, this function returns the sub-element at the
248 * sub-elements, an invalid handle is returned.
252 * index: Index of the sub-element to return.
262 * rsElementGetSubElementArraySize: Array size of a sub-element of a complex Element
264 * For complex Elements, sub-elements can be statically sized arrays. This function
265 * returns the array size of the sub-element at the index. This sub-element repetition
270 * index: Index of the sub-element.
272 * Returns: Array size of the sub-element.
280 * rsElementGetSubElementCount: Number of sub-elements
283 * sub-elements. This function returns zero for simple Elements and the number of
[all …]
/frameworks/base/ravenwood/scripts/
Dconvert-androidtest.py104 line = re_extends.sub('', line)
148 line = re.sub(r''' \s* \@Override \s* \n ''', '', line, 0, re.X)
149 line = re.sub(r'''protected''', 'public', line, 0, re.X)
156 line = re.sub(r'''\b mContext \b ''', 'getContext()', line, 0, re.X)

12345678