/aosp12/frameworks/compile/mclinker/lib/Support/ |
H A D | LEB128.cpp | 20 ByteType byte = pValue & 0x7f; 21 pValue >>= 7; 22 if (pValue) 26 } while (pValue); 37 if ((pValue & ~0x7f) == 0) { 38 *pBuf++ = static_cast<ByteType>(pValue); 40 } else if ((pValue & ~0x3fff) == 0) { 44 } else if ((pValue & ~0x1fffff) == 0) { 49 } else if ((pValue & ~0xfffffff) == 0) { 72 ByteType byte = pValue & 0x7f; [all …]
|
/aosp12/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFAttributeData.cpp | 35 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() 71 if (pValue.isIntValue()) in WriteAttribute() 72 leb128::encode<uint32_t>(pBuf, pValue.getIntValue()); in WriteAttribute() 74 if (pValue.isStringValue()) { in WriteAttribute() 76 size_t str_val_len = pValue.getStringValue().length(); in WriteAttribute() [all …]
|
H A D | ELFAttributeValue.cpp | 52 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()
|
/aosp12/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | MsgHandler.h | 35 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); 83 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_sint); 88 unsigned long pValue) { 89 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_uint); 94 unsigned long long pValue) { 95 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_ulonglong); [all …]
|
/aosp12/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | LEB128.h | 23 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()
|
H A D | Allocators.h | 36 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
|
/aosp12/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 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() 441 param2, *(int32_t *)pValue); in Equalizer_getParameter() 452 param2, *(int32_t *)pValue); in Equalizer_getParameter() 461 pEqualizer->getBandRange(param2, *(uint32_t *)pValue, *((uint32_t *)pValue + 1)); in Equalizer_getParameter() 463 param2, *(int32_t *)pValue, *((int32_t *)pValue + 1)); in Equalizer_getParameter() 470 param2, *(int32_t *)pValue); in Equalizer_getParameter() 489 name = (char *)pValue; in Equalizer_getParameter() 498 int16_t *p = (int16_t *)pValue; in Equalizer_getParameter() [all …]
|
/aosp12/frameworks/wilhelm/src/android/ |
H A D | android_Effect.cpp | 251 int32_t param, void *pValue) { in android_bb_setParam() argument 259 int32_t param, void *pValue) { in android_bb_getParam() argument 354 int32_t param, void *pValue) { in android_virt_setParam() argument 362 int32_t param, void *pValue) { in android_virt_getParam() argument 430 int32_t param, void *pValue) { in android_erev_setParam() argument 445 int32_t param, void *pValue) { in android_erev_getParam() argument 946 int32_t param, void *pValue) { in android_aec_setParam() argument 952 int32_t param, void *pValue) { in android_aec_getParam() argument 982 int32_t param, void *pValue) { in android_agc_setParam() argument 1014 int32_t param, void *pValue) in android_ns_setParam() argument [all …]
|
H A D | android_Effect.h | 23 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);
|
/aosp12/hardware/st/nfc/st21nfc/adaptation/ |
H A D | config.cpp | 64 bool getValue(const char* name, char* pValue, size_t& len) const; 418 if (pParam == NULL || pValue == NULL) return false; in getValue() 421 memset(pValue, 0, len); in getValue() 427 memcpy(pValue, pParam->str_value(), len); in getValue() 448 memset(pValue, 0, len); in getValue() 449 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue() 664 return rConfig.getValue(name, pValue, len); in GetStrValue() 687 return rConfig.getValue(name, pValue, bufflen, len); in GetByteArrayValue() 700 if (!pValue) return false; in GetNumValue() 716 *(static_cast<unsigned long*>(pValue)) = (unsigned long)v; in GetNumValue() [all …]
|
/aosp12/hardware/samsung/nfc/halimpl/src/ |
H A D | config.cpp | 148 bool getValue(const char* name, char* pValue, size_t len) const; 500 memset(pValue, 0, len); in getValue() 501 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue() 514 memset(pValue, 0, len); in getValue() 515 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue() 769 return rConfig.getValue(name, pValue, len); in GetStrValue() 792 return rConfig.getValue(name, pValue, bufflen, len); in GetByteArrayValue() 805 if (!pValue) return false; in GetNumValue() 821 *(static_cast<unsigned long*>(pValue)) = (unsigned long)v; in GetNumValue() 824 *(static_cast<unsigned short*>(pValue)) = (unsigned short)v; in GetNumValue() [all …]
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
H A D | VehicleHalManager_test.cpp | 69 VehiclePropValuePtr pValue; in get() local 85 return pValue; in get() 91 pValue->prop = toInt(property); in get() 92 pValue->areaId = areaId; in get() 96 return pValue; in get() 185 auto pValue = objectPool->obtainComplex(); in getComplexProperty() local 186 pValue->prop = kCustomComplexProperty; in getComplexProperty() 187 pValue->areaId = 0; in getComplexProperty() 192 pValue->value.stringValue = kCarMake; in getComplexProperty() 193 return pValue; in getComplexProperty() [all …]
|
/aosp12/hardware/nxp/nfc/pn8x/halimpl/utils/ |
H A D | phNxpConfig.cpp | 131 bool getValue(const char* name, char* pValue, size_t len) const; 494 memset(pValue, 0, len); in getValue() 495 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue() 508 memset(pValue, 0, len); in getValue() 509 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue() 752 extern "C" int GetNxpStrValue(const char* name, char* pValue, in GetNxpStrValue() argument 756 return rConfig.getValue(name, pValue, len); in GetNxpStrValue() 780 return rConfig.getValue(name, pValue, bufflen, len); in GetNxpByteArrayValue() 792 extern "C" int GetNxpNumValue(const char* name, void* pValue, in GetNxpNumValue() argument 794 if (!pValue) return false; in GetNxpNumValue() [all …]
|
/aosp12/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 329 *(float*)pValue = in Agc2GetParameter() 334 *(uint32_t*)pValue = (uint32_t)( in Agc2GetParameter() 365 t_agc_settings* pProperties = (t_agc_settings*)pValue; in AgcGetParameter() 397 *(int16_t*)pValue = in AgcGetParameter() 402 *(int16_t*)pValue = in AgcGetParameter() 435 valueFloat = (float)(*(int32_t*)pValue); in Agc2SetParameter() 446 valueFloat = (float)(*(int32_t*)pValue); in Agc2SetParameter() 484 (-(*(int16_t*)pValue / 100)); in AgcSetParameter() 489 (*(int16_t*)pValue / 100); in AgcSetParameter() 594 uint32_t value = *(uint32_t*)pValue; in AecSetParameter() [all …]
|
/aosp12/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 1873 *(uint32_t*)pValue = 1; in BassBoost_getParameter() 1992 *(uint32_t*)pValue = 1; in Virtualizer_getParameter() 2213 *(uint16_t*)pValue); in Equalizer_getParameter() 2250 *(int16_t*)pValue = -1500; in Equalizer_getParameter() 2251 *((int16_t*)pValue + 1) = 1500; in Equalizer_getParameter() 2278 EqualizerGetBandFreqRange(pContext, band, (uint32_t*)pValue, ((uint32_t*)pValue + 1)); in Equalizer_getParameter() 2280 *(int32_t*)pValue, *((int32_t*)pValue + 1)); in Equalizer_getParameter() 2308 *(int32_t*)pValue); in Equalizer_getParameter() 2351 int16_t* p = (int16_t*)pValue; in Equalizer_getParameter() 2447 int16_t* p = (int16_t*)pValue; in Equalizer_setParameter() [all …]
|
/aosp12/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | ELFAttributeValue.h | 87 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);
|
H A D | ELFDynamic.tcc | 20 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()
|
H A D | GOT.h | 39 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
|
/aosp12/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64RelocationHelpers.h | 20 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()
|
/aosp12/hardware/nxp/nfc/snxxx/halimpl/utils/ |
H A D | phNxpConfig.cc | 143 bool getValue(const char* name, char* pValue, size_t len) const; 531 memset(pValue, 0, len); in getValue() 532 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue() 545 memset(pValue, 0, len); in getValue() 546 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue() 953 extern "C" int GetNxpStrValue(const char* name, char* pValue, in GetNxpStrValue() argument 957 return rConfig.getValue(name, pValue, len); in GetNxpStrValue() 981 return rConfig.getValue(name, pValue, bufflen, len); in GetNxpByteArrayValue() 993 extern "C" int GetNxpNumValue(const char* name, void* pValue, in GetNxpNumValue() argument 995 if (!pValue) return false; in GetNxpNumValue() [all …]
|
/aosp12/hardware/st/nfc/1.0/adaptation/ |
H A D | config.cpp | 63 bool getValue(const char* name, char* pValue, size_t& len) const; 389 bool CNfcConfig::getValue(const char* name, char* pValue, size_t& len) const { in getValue() argument 391 if (pParam == NULL || pValue== NULL) return false; in getValue() 394 memset(pValue, 0, len); in getValue() 396 memcpy(pValue, pParam->str_value(), len); in getValue() 603 extern "C" int GetStrValue(const char* name, char* pValue, unsigned long l) { in GetStrValue() argument 607 return rConfig.getValue(name, pValue, len); in GetStrValue() 620 if (!pValue) return false; in GetNumValue() 636 *(static_cast<unsigned long*>(pValue)) = (unsigned long)v; in GetNumValue() 639 *(static_cast<unsigned short*>(pValue)) = (unsigned short)v; in GetNumValue() [all …]
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/ |
H A D | VehicleManager_fuzzer.cpp | 106 VehiclePropValuePtr pValue = nullptr; in get() local 108 return pValue; in get() 116 pValue = getValuePool()->obtainString(kCarMake); in get() 122 pValue = getValuePool()->obtainFloat(42.42); in get() 127 pValue = getValuePool()->obtainComplex(); in get() 132 pValue->value.stringValue = kCarMake; in get() 136 pValue = getValuePool()->obtain(mValues[key]); in get() 140 pValue->prop = toInt(property); in get() 141 pValue->areaId = areaId; in get() 142 pValue->timestamp = elapsedRealtimeNano(); in get() [all …]
|
/aosp12/frameworks/compile/mclinker/include/mcld/ |
H A D | IRBuilder.h | 392 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,
|
/aosp12/frameworks/compile/mclinker/lib/Core/ |
H A D | IRBuilder.cpp | 499 input_sym->setValue(pValue); in addSymbolFromObject() 524 output_sym->setValue(pValue); in addSymbolFromObject() 561 pValue, in addSymbolFromDynObj() 575 input_sym->setValue(pValue); in addSymbolFromDynObj() 643 LDSymbol::ValueType pValue, 699 output_sym->setValue(pValue); 713 LDSymbol::ValueType pValue, 738 output_sym->setValue(pValue); 760 LDSymbol::ValueType pValue, 787 output_sym->setValue(pValue); [all …]
|
/aosp12/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | Operand.h | 71 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);
|