Home
last modified time | relevance | path

Searched refs:pValue (Results 1 – 25 of 59) 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.cpp200 int32_t param, int32_t param2, void *pValue) in android_eq_getParam() argument
216 memcpy(pValue, p->data + p->psize, p->vsize); in android_eq_getParam()
226 int32_t param, int32_t param2, void *pValue) in android_eq_setParam() argument
238 memcpy(p->data + p->psize, pValue, p->vsize); in android_eq_setParam()
249 int32_t param, void *pValue) { in android_bb_setParam() argument
252 pValue, bb_valueSize(param)); in android_bb_setParam()
257 int32_t param, void *pValue) { in android_bb_getParam() argument
260 pValue, bb_valueSize(param)); in android_bb_getParam()
352 int32_t param, void *pValue) { in android_virt_setParam() argument
355 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/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.cpp156 void *pValue);
161 void *pValue);
166 void *pValue);
171 void *pValue);
176 void *pValue);
181 void *pValue);
186 void *pValue);
191 void *pValue);
2208 void *pValue) { in BassBoost_getParameter() argument
2228 *(uint32_t *)pValue = 1; in BassBoost_getParameter()
[all …]
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h392 LDSymbol::ValueType pValue = 0x0,
438 LDSymbol::ValueType pValue = 0x0,
467 LDSymbol::ValueType pValue,
477 LDSymbol::ValueType pValue,
494 LDSymbol::ValueType pValue,
505 LDSymbol::ValueType pValue,
516 LDSymbol::ValueType pValue,
527 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.cpp403 LDSymbol::ValueType pValue, in AddSymbol() argument
435 frag = FragmentRef::Create(*pSection, pValue); in AddSymbol()
438 name, pType, pDesc, pBind, pSize, pValue, frag, pVis); in AddSymbol()
444 pInput, name, pType, pDesc, pBind, pSize, pValue, pVis); in AddSymbol()
459 LDSymbol::ValueType pValue, in addSymbolFromObject() argument
485 pValue, in addSymbolFromObject()
498 input_sym->setValue(pValue); in addSymbolFromObject()
523 output_sym->setValue(pValue); in addSymbolFromObject()
534 LDSymbol::ValueType pValue, in addSymbolFromDynObj() argument
560 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/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp191 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue, int vsize);
195 void *pValue);
1664 void *pValue){ in Reverb_getParameter() argument
1676 *(uint16_t *)pValue = pContext->nextPreset; in Reverb_getParameter()
1765 pProperties = (t_reverb_settings *) pValue; in Reverb_getParameter()
1803 *(int16_t *)pValue = ReverbGetRoomLevel(pContext); in Reverb_getParameter()
1809 *(int16_t *)pValue = ReverbGetRoomHfLevel(pContext); in Reverb_getParameter()
1815 *(uint32_t *)pValue = ReverbGetDecayTime(pContext); in Reverb_getParameter()
1821 *(int16_t *)pValue = ReverbGetDecayHfRatio(pContext); in Reverb_getParameter()
1827 *(int16_t *)pValue = ReverbGetReverbLevel(pContext); in Reverb_getParameter()
[all …]
/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/preprocessing/
DPreProcessing.cpp296 void *pValue) in AgcGetParameter() argument
300 t_agc_settings *pProperties = (t_agc_settings *)pValue; in AgcGetParameter()
332 *(int16_t *) pValue = (int16_t)(agc->target_level_dbfs() * -100); in AgcGetParameter()
333 ALOGV("AgcGetParameter() target level %d milliBels", *(int16_t *) pValue); in AgcGetParameter()
336 *(int16_t *) pValue = (int16_t)(agc->compression_gain_db() * 100); in AgcGetParameter()
337 ALOGV("AgcGetParameter() comp gain %d milliBels", *(int16_t *) pValue); in AgcGetParameter()
340 *(bool *) pValue = (bool)agc->is_limiter_enabled(); in AgcGetParameter()
342 (*(int16_t *) pValue != 0) ? "true" : "false"); in AgcGetParameter()
357 int AgcSetParameter (preproc_effect_t *effect, void *pParam, void *pValue) in AgcSetParameter() argument
361 t_agc_settings *pProperties = (t_agc_settings *)pValue; in AgcSetParameter()
[all …]

123