Home
last modified time | relevance | path

Searched refs:shl (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/media/codecs/amrnb/dec/src/
Dd_plsf_5.cpp388 shl( in D_plsf_5()
401 shl( in D_plsf_5()
425 shl( in D_plsf_5()
448 shl( in D_plsf_5()
461 shl( in D_plsf_5()
Dd8_31pf.cpp217 shl( in decompress10()
236 shl( in decompress10()
254 shl( in decompress10()
464 shl( in decompress_code()
484 shl( in decompress_code()
Dc_g_aver.cpp519 tmp1 = shl(tmp1, shift1, pOverflow); /* Q15+Qn */ in Cb_gain_average()
521 tmp2 = shl(*(lspAver + i), shift2, pOverflow); /* Q15+Qm */ in Cb_gain_average()
533 *(tmp + i) = shl(*(tmp + i), negate(shift), pOverflow); in Cb_gain_average()
600 bgMix = shl(tmp1, 2, pOverflow); in Cb_gain_average()
Dex_ctrl.cpp177 testEnergy = shl(prevEnergy, 2, pOverflow); /* testEnergy = 4*prevEnergy; */ in Ex_ctrl()
192 excEnergy = shl(excEnergy, exp, pOverflow); in Ex_ctrl()
Dd_gain_c.cpp230 gcode0 = shl(gcode0, 4, pOverflow); in d_gain_code()
231 *gain_code = shl(mult(gcode0, *p++, pOverflow), 1, pOverflow); in d_gain_code()
Ddec_gain.cpp204 index = shl(index, 2, pOverflow); in Dec_gain()
246 temp2 = shl(exp, 10, pOverflow); in Dec_gain()
Dd2_9pf.cpp199 shl( in decode_2i40_9bits()
Da_refl.cpp269 refl[i] = shl(aState[i], 3, pOverflow); in A_Refl()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DNetworkCapabilitiesUtilsTest.kt114 assertEquals((1 shl NET_CAPABILITY_EIMS).toLong() and RESTRICTED_CAPABILITIES, in testRestrictedUnrestrictedCapabilities()
115 (1 shl NET_CAPABILITY_EIMS).toLong()) in testRestrictedUnrestrictedCapabilities()
118 assertEquals((1 shl NET_CAPABILITY_CBS).toLong() and RESTRICTED_CAPABILITIES, in testRestrictedUnrestrictedCapabilities()
119 (1 shl NET_CAPABILITY_CBS).toLong()) in testRestrictedUnrestrictedCapabilities()
122 assertEquals((1 shl NET_CAPABILITY_INTERNET).toLong() and RESTRICTED_CAPABILITIES, 0) in testRestrictedUnrestrictedCapabilities()
/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt97 for (i: Int in -(1 shl 23) until (1 shl 23)) { in testFloatToComplex()
123 for (value: Int in -(1 shl 23) until (1 shl 23)) { in testIntToComplex()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DSurfaceTracingTestBase.kt118 (1 shl 0) or (1 shl 5) or (1 shl 6) // TRACE_CRITICAL | TRACE_BUFFERS | TRACE_SYNC in <lambda>()
/frameworks/av/media/codecs/amrnb/enc/src/
Dq_gain_c.cpp233 gcode0 = shl(gcode0, 4, pOverflow); in q_gain_code()
237 gcode0 = shl(gcode0, 5, pOverflow); in q_gain_code()
Dcbsearch.cpp280 shl( in cbsearch()
341 pit_sharpTmp = shl(gain_pit, 1, pOverflow); in cbsearch()
Dqua_gain.cpp277 temp = shl(exp_code, 1, pOverflow); in Qua_gain()
380 p = &table_gain[shl(index, 2, pOverflow)]; in Qua_gain()
Dqgain795.cpp263 exp_max[2] = add(exp_coeff[2], add(15, shl(exp_code, 1, pOverflow), 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()
580 exp = sub(shl(exp_gcode0, 1, pOverflow), 7, pOverflow); in MR795_gain_code_quant_mod()
893 gain_cod_unq = shl(cod_gain_frac, exp, pOverflow); in MR795_gain_quant()
Dhp_max.cpp327 *cor_hp_max = shl(cor_max, negate(shift), pOverflow); /* Q15 */ in hp_max()
Dg_adapt.cpp490 filt = shl(filt, 2, pOverflow); /* Q15 */ in gain_adapt()
/frameworks/av/media/codecs/amrnb/common/include/
Dshl.h106 Word16 shl(Word16 var1, Word16 var2, Flag *pOverflow);
Dbasic_op.h275 static inline Word16 shl(Word16 var1, Word16 var2, Flag *pOverflow) in shl() function
/frameworks/av/media/codecs/amrwb/enc/src/
Ddtx.c234 log_en = shl(st->log_en_index, 15 - 6); in dtx_enc()
245 log_en_int_m = shl(log_en_int_m, 5); in dtx_enc()
282 exc2[i] = shl(tmp, exp); in dtx_enc()
316 log_en = shl(log_en_e, 7); /* Q7 */ in dtx_buffer()
Dg_pitch.c68 gain = shl(gain, i); in G_pitch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsMetricsLoggerImpl.kt34 private const val INSTANCE_ID_MAX = 1 shl 13
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DLogParserTest.kt57 ProtoLogFileProto.MagicNumber.MAGIC_NUMBER_H.number.toLong() shl 32 or in buildProtoInput()
165 ProtoLogFileProto.MagicNumber.MAGIC_NUMBER_H.number.toLong() shl 32 or in parse_invalidVersion()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuare.kt43 data[i] = (round(f) * s).toInt() shl 24 in <lambda>()
76 user[y * width + x] = v shl 24 in <lambda>()
/frameworks/av/media/codecs/amrwb/enc/inc/
Dbasic_op.h70 static_vo Word16 shl (Word16 var1, Word16 var2); /* Short shift left…
213 static_vo Word16 shl (Word16 var1, Word16 var2) in shl() function
284 var_out = shl(var1, (Word16)-var2); in shr()

12