Home
last modified time | relevance | path

Searched refs:pValue (Results 1 – 25 of 60) 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.cpp118 …zer_getParameter(AudioEqualizer * pEqualizer, int32_t *pParam, uint32_t *pValueSize, void *pValue);
119 int Equalizer_setParameter(AudioEqualizer * pEqualizer, int32_t *pParam, void *pValue);
363 …izer_getParameter(AudioEqualizer * pEqualizer, int32_t *pParam, uint32_t *pValueSize, void *pValue) in Equalizer_getParameter() argument
419 *(uint16_t *)pValue = (uint16_t)kNumBands; in Equalizer_getParameter()
420 ALOGV("Equalizer_getParameter() EQ_PARAM_NUM_BANDS %d", *(int16_t *)pValue); in Equalizer_getParameter()
424 *(int16_t *)pValue = -9600; in Equalizer_getParameter()
425 *((int16_t *)pValue + 1) = 4800; in Equalizer_getParameter()
427 *(int32_t *)pValue, *((int32_t *)pValue + 1)); in Equalizer_getParameter()
436 *(int16_t *)pValue = (int16_t)pEqualizer->getGain(param2); in Equalizer_getParameter()
438 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);
125 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
128 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/compile/mclinker/include/mcld/
DIRBuilder.h389 LDSymbol::ValueType pValue = 0x0,
435 LDSymbol::ValueType pValue = 0x0,
464 LDSymbol::ValueType pValue,
474 LDSymbol::ValueType pValue,
491 LDSymbol::ValueType pValue,
502 LDSymbol::ValueType pValue,
513 LDSymbol::ValueType pValue,
524 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/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/include/mcld/Fragment/
DAlignFragment.h21 int64_t pValue,
36 void setEmitNops(bool pValue) { m_bEmitNops = pValue; } in setEmitNops() argument
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGOT.h38 virtual void setEntryValue(Fragment* entry, uint64_t pValue) = 0;
87 virtual Fragment* createEntry(uint64_t pValue, SectionData* pParent) = 0;
207 virtual void setEntryValue(Fragment* entry, uint64_t pValue);
209 virtual Fragment* createEntry(uint64_t pValue, SectionData* pParent);
225 virtual void setEntryValue(Fragment* entry, uint64_t pValue);
227 virtual Fragment* createEntry(uint64_t pValue, SectionData* pParent);
DMipsGOT.cpp375 void Mips32GOT::setEntryValue(Fragment* entry, uint64_t pValue) { in setEntryValue() argument
376 llvm::cast<Mips32GOTEntry>(entry)->setValue(pValue); in setEntryValue()
391 Fragment* Mips32GOT::createEntry(uint64_t pValue, SectionData* pParent) { in createEntry() argument
392 return new Mips32GOTEntry(pValue, pParent); in createEntry()
410 void Mips64GOT::setEntryValue(Fragment* entry, uint64_t pValue) { in setEntryValue() argument
411 llvm::cast<Mips64GOTEntry>(entry)->setValue(pValue); in setEntryValue()
426 Fragment* Mips64GOT::createEntry(uint64_t pValue, SectionData* pParent) { in createEntry() argument
427 return new Mips64GOTEntry(pValue, pParent); in createEntry()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp141 int BassBoost_setParameter (EffectContext *pContext, void *pParam, void *pValue);
145 void *pValue);
146 int Virtualizer_setParameter (EffectContext *pContext, void *pParam, void *pValue);
150 void *pValue);
151 int Equalizer_setParameter (EffectContext *pContext, void *pParam, void *pValue);
155 void *pValue);
156 int Volume_setParameter (EffectContext *pContext, void *pParam, void *pValue);
160 void *pValue);
2003 void *pValue){ in BassBoost_getParameter() argument
2035 *(uint32_t *)pValue = 1; in BassBoost_getParameter()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp183 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue);
187 void *pValue);
1541 void *pValue){ in Reverb_getParameter() argument
1554 *(uint16_t *)pValue = pContext->nextPreset; in Reverb_getParameter()
1643 pProperties = (t_reverb_settings *) pValue; in Reverb_getParameter()
1681 *(int16_t *)pValue = ReverbGetRoomLevel(pContext); in Reverb_getParameter()
1687 *(int16_t *)pValue = ReverbGetRoomHfLevel(pContext); in Reverb_getParameter()
1693 *(uint32_t *)pValue = ReverbGetDecayTime(pContext); in Reverb_getParameter()
1699 *(int16_t *)pValue = ReverbGetDecayHfRatio(pContext); in Reverb_getParameter()
1705 *(int16_t *)pValue = ReverbGetReverbLevel(pContext); in Reverb_getParameter()
[all …]
/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()

123