Home
last modified time | relevance | path

Searched refs:pValue (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/compile/mclinker/lib/Support/
DLEB128.cpp17 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue) { in encode() argument
20 ByteType byte = pValue & 0x7f; in encode()
21 pValue >>= 7; in encode()
22 if (pValue) in encode()
26 } while (pValue); in encode()
36 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue) { in encode() argument
37 if ((pValue & ~0x7f) == 0) { in encode()
38 *pBuf++ = static_cast<ByteType>(pValue); in encode()
40 } else if ((pValue & ~0x3fff) == 0) { in encode()
41 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); in encode()
[all …]
/frameworks/compile/mclinker/lib/Target/
DELFAttributeData.cpp35 bool ELFAttributeData::ReadValue(ELFAttributeValue& pValue, in ReadValue() argument
39 if (pValue.isIntValue()) { in ReadValue()
42 pValue.setIntValue(static_cast<unsigned int>(int_value)); in ReadValue()
52 if (pValue.isStringValue()) { in ReadValue()
53 pValue.setStringValue(pBuf); in ReadValue()
55 size_t size = pValue.getStringValue().length() + 1 /* '\0' */; in ReadValue()
65 const ELFAttributeValue& pValue, in WriteAttribute() argument
71 if (pValue.isIntValue()) in WriteAttribute()
72 leb128::encode<uint32_t>(pBuf, pValue.getIntValue()); in WriteAttribute()
74 if (pValue.isStringValue()) { in WriteAttribute()
[all …]
DELFAttributeValue.cpp52 bool ELFAttributeValue::equals(const ELFAttributeValue& pValue) const { in equals()
53 if ((pValue.type() != m_Type) || isUninitialized()) in equals()
56 if (isIntValue() && (m_IntValue != pValue.getIntValue())) in equals()
59 if (isStringValue() && (m_StringValue != pValue.getStringValue())) in equals()
/frameworks/compile/mclinker/include/mcld/LD/
DMsgHandler.h35 void addTaggedVal(intptr_t pValue,
71 inline const MsgHandler& operator<<(const MsgHandler& pHandler, int pValue) {
72 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_sint);
77 unsigned int pValue) {
78 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_uint);
82 inline const MsgHandler& operator<<(const MsgHandler& pHandler, long pValue) {
83 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_sint);
88 unsigned long pValue) {
89 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_uint);
94 unsigned long long pValue) {
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DLEB128.h23 size_t encode(ByteType*& pBuf, IntType pValue);
36 size_t size(IntType pValue) { in size() argument
38 while (pValue > 0x80) { in size()
39 pValue >>= 7; in size()
52 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue);
55 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue);
61 size_t encode<int64_t>(ByteType*& pBuf, int64_t pValue);
64 size_t encode<int32_t>(ByteType*& pBuf, int32_t pValue);
96 size_t encode(char*& pBuf, IntType pValue) { in encode() argument
97 return encode<IntType>(reinterpret_cast<ByteType*&>(pBuf), pValue); in encode()
DAllocators.h36 static void construct(value_type* pPtr, const value_type& pValue) { in construct() argument
37 new (pPtr) value_type(pValue); in construct()
72 static void construct(value_type* pPtr, const value_type& pValue) { in construct() argument
73 new (pPtr) value_type(pValue); in construct()
119 void construct(pointer pPtr, const_reference pValue) { in construct() argument
120 chunk_type::construct(pPtr, pValue); in construct()
342 void construct(pointer pObject, const DataType& pValue) { in construct() argument
343 ::new (reinterpret_cast<void*>(pObject)) value_type(pValue); in construct()
396 void construct(DataType* pObject, const DataType& pValue) { /* do nothing */ in construct() argument
399 void construct(pointer pObject, const_reference pValue) { /* do nothing */ in construct() argument
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp121 …zer_getParameter(AudioEqualizer * pEqualizer, int32_t *pParam, uint32_t *pValueSize, void *pValue);
122 int Equalizer_setParameter(AudioEqualizer * pEqualizer, int32_t *pParam, void *pValue);
366 …izer_getParameter(AudioEqualizer * pEqualizer, int32_t *pParam, uint32_t *pValueSize, void *pValue) in Equalizer_getParameter() argument
422 *(uint16_t *)pValue = (uint16_t)kNumBands; in Equalizer_getParameter()
423 ALOGV("Equalizer_getParameter() EQ_PARAM_NUM_BANDS %d", *(int16_t *)pValue); in Equalizer_getParameter()
427 *(int16_t *)pValue = -9600; in Equalizer_getParameter()
428 *((int16_t *)pValue + 1) = 4800; in Equalizer_getParameter()
430 *(int32_t *)pValue, *((int32_t *)pValue + 1)); in Equalizer_getParameter()
439 *(int16_t *)pValue = (int16_t)pEqualizer->getGain(param2); in Equalizer_getParameter()
441 param2, *(int32_t *)pValue); in Equalizer_getParameter()
[all …]
/frameworks/wilhelm/src/android/
Dandroid_Effect.h23 int32_t param, int32_t param2, void *pValue);
26 int32_t param, int32_t param2, void *pValue);
34 int32_t param, void *pValue);
37 int32_t param, void *pValue);
45 int32_t param, void *pValue);
48 int32_t param, void *pValue);
67 int32_t param, void *pValue);
70 int32_t param, void *pValue);
140 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
143 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
Dandroid_Effect.cpp202 int32_t param, int32_t param2, void *pValue) in android_eq_getParam() argument
218 memcpy(pValue, p->data + p->psize, p->vsize); in android_eq_getParam()
228 int32_t param, int32_t param2, void *pValue) in android_eq_setParam() argument
240 memcpy(p->data + p->psize, pValue, p->vsize); in android_eq_setParam()
251 int32_t param, void *pValue) { in android_bb_setParam() argument
254 pValue, bb_valueSize(param)); in android_bb_setParam()
259 int32_t param, void *pValue) { in android_bb_getParam() argument
262 pValue, bb_valueSize(param)); in android_bb_getParam()
354 int32_t param, void *pValue) { in android_virt_setParam() argument
357 pValue, virt_valueSize(param)); in android_virt_setParam()
[all …]
/frameworks/compile/mclinker/include/mcld/Target/
DELFAttributeValue.h87 bool equals(const ELFAttributeValue& pValue) const;
89 bool operator==(const ELFAttributeValue& pValue) const {
90 return equals(pValue);
92 bool operator!=(const ELFAttributeValue& pValue) const {
93 return !equals(pValue);
DELFDynamic.tcc20 void Entry<32, true>::setValue(uint64_t pTag, uint64_t pValue) { in setValue() argument
22 m_Pair.d_un.d_val = pValue; in setValue()
42 void Entry<64, true>::setValue(uint64_t pTag, uint64_t pValue) { in setValue() argument
44 m_Pair.d_un.d_val = pValue; in setValue()
DGOT.h39 Entry(uint64_t pValue, SectionData* pParent) in Entry() argument
40 : TargetFragment(Fragment::Target, pParent), f_Value(pValue) {} in Entry()
46 void setValue(uint64_t pValue) { f_Value = pValue; } in setValue() argument
DELFDynamic.h43 virtual void setValue(uint64_t pTag, uint64_t pValue) = 0;
72 inline void setValue(uint64_t pTag, uint64_t pValue);
103 inline void setValue(uint64_t pTag, uint64_t pValue);
166 void applyOne(uint64_t pTag, uint64_t pValue);
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp289 int Agc2GetParameter(preproc_effect_t* effect, void* pParam, uint32_t* pValueSize, void* pValue) { in Agc2GetParameter() argument
292 agc2_settings_t* pProperties = (agc2_settings_t*)pValue; in Agc2GetParameter()
329 *(float*)pValue = in Agc2GetParameter()
331 ALOGV("Agc2GetParameter() target level %f dB", *(float*)pValue); in Agc2GetParameter()
334 *(uint32_t*)pValue = (uint32_t)( in Agc2GetParameter()
337 *(webrtc::AudioProcessing::Config::GainController2::LevelEstimator*)pValue); in Agc2GetParameter()
340 *(float*)pValue = (float)(effect->session->config.gain_controller2.adaptive_digital in Agc2GetParameter()
342 ALOGV("Agc2GetParameter() extra saturation margin %f dB", *(float*)pValue); in Agc2GetParameter()
362 int AgcGetParameter(preproc_effect_t* effect, void* pParam, uint32_t* pValueSize, void* pValue) { in AgcGetParameter() argument
365 t_agc_settings* pProperties = (t_agc_settings*)pValue; in AgcGetParameter()
[all …]
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64RelocationHelpers.h20 static inline bool helper_check_signed_overflow(Relocator::DWord pValue, in helper_check_signed_overflow() argument
24 int64_t signed_val = static_cast<int64_t>(pValue); in helper_check_signed_overflow()
33 Relocator::Address pValue) { in helper_get_page_address() argument
34 return (pValue & ~(Relocator::Address)0xFFF); in helper_get_page_address()
38 Relocator::Address pValue) { in helper_get_page_offset() argument
39 return (pValue & (Relocator::Address)0xFFF); in helper_get_page_offset()
42 static inline uint32_t get_mask(uint32_t pValue) { in get_mask() argument
43 return ((1u << (pValue)) - 1); in get_mask()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp150 uint32_t valueSize, void* pValue);
152 uint32_t* pValueSize, void* pValue);
154 uint32_t valueSize, void* pValue);
156 uint32_t* pValueSize, void* pValue);
158 uint32_t valueSize, void* pValue);
160 uint32_t* pValueSize, void* pValue);
162 uint32_t valueSize, void* pValue);
164 uint32_t* pValueSize, void* pValue);
1853 uint32_t* pValueSize, void* pValue) { in BassBoost_getParameter() argument
1873 *(uint32_t*)pValue = 1; in BassBoost_getParameter()
[all …]
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h392 LDSymbol::ValueType pValue = 0x0,
437 LDSymbol::ValueType pValue = 0x0,
466 LDSymbol::ValueType pValue,
476 LDSymbol::ValueType pValue,
493 LDSymbol::ValueType pValue,
504 LDSymbol::ValueType pValue,
515 LDSymbol::ValueType pValue,
526 LDSymbol::ValueType pValue,
/frameworks/compile/mclinker/include/mcld/Script/
DOperand.h71 void setValue(uint64_t pValue) { m_Value = pValue; } in setValue() argument
95 explicit IntOperand(uint64_t pValue);
102 void setValue(uint64_t pValue) { m_Value = pValue; } in setValue() argument
109 static IntOperand* create(uint64_t pValue);
/frameworks/compile/mclinker/include/mcld/Fragment/
DAlignFragment.h21 int64_t pValue,
36 void setEmitNops(bool pValue) { m_bEmitNops = pValue; } in setEmitNops() argument
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp404 LDSymbol::ValueType pValue, in AddSymbol() argument
436 frag = FragmentRef::Create(*pSection, pValue); in AddSymbol()
439 name, pType, pDesc, pBind, pSize, pValue, frag, pVis); in AddSymbol()
445 pInput, name, pType, pDesc, pBind, pSize, pValue, pVis); in AddSymbol()
460 LDSymbol::ValueType pValue, in addSymbolFromObject() argument
486 pValue, in addSymbolFromObject()
499 input_sym->setValue(pValue); in addSymbolFromObject()
524 output_sym->setValue(pValue); in addSymbolFromObject()
535 LDSymbol::ValueType pValue, in addSymbolFromDynObj() argument
561 pValue, in addSymbolFromDynObj()
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGOT.h38 virtual void setEntryValue(Fragment* entry, uint64_t pValue) = 0;
95 virtual Fragment* createEntry(uint64_t pValue, SectionData* pParent) = 0;
229 virtual void setEntryValue(Fragment* entry, uint64_t pValue);
231 virtual Fragment* createEntry(uint64_t pValue, SectionData* pParent);
247 virtual void setEntryValue(Fragment* entry, uint64_t pValue);
249 virtual Fragment* createEntry(uint64_t pValue, SectionData* pParent);
/frameworks/compile/mclinker/lib/LD/
DELFReaderIf.cpp128 uint64_t ELFReaderIF::getSymValue(uint64_t pValue, in getSymValue() argument
135 return pValue; in getSymValue()
146 return pValue; in getSymValue()
151 return pValue; in getSymValue()
/frameworks/compile/mclinker/lib/Fragment/
DFillFragment.cpp18 FillFragment::FillFragment(int64_t pValue, in FillFragment() argument
23 m_Value(pValue), in FillFragment()
DAlignFragment.cpp20 int64_t pValue, in AlignFragment() argument
26 m_Value(pValue), in AlignFragment()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp187 int Reverb_setParameter(ReverbContext* pContext, void* pParam, void* pValue, int vsize);
188 int Reverb_getParameter(ReverbContext* pContext, void* pParam, uint32_t* pValueSize, void* pValue);
1390 int Reverb_getParameter(ReverbContext* pContext, void* pParam, uint32_t* pValueSize, void* pValue) { in Reverb_getParameter() argument
1402 *(uint16_t*)pValue = pContext->nextPreset; in Reverb_getParameter()
1491 pProperties = (t_reverb_settings*)pValue; in Reverb_getParameter()
1529 *(int16_t*)pValue = ReverbGetRoomLevel(pContext); in Reverb_getParameter()
1535 *(int16_t*)pValue = ReverbGetRoomHfLevel(pContext); in Reverb_getParameter()
1541 *(uint32_t*)pValue = ReverbGetDecayTime(pContext); in Reverb_getParameter()
1547 *(int16_t*)pValue = ReverbGetDecayHfRatio(pContext); in Reverb_getParameter()
1553 *(int16_t*)pValue = ReverbGetReverbLevel(pContext); in Reverb_getParameter()
[all …]

123