Lines Matching refs:pValue
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()
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()
76 size_t str_val_len = pValue.getStringValue().length(); in WriteAttribute()
79 ::memcpy(pBuf, pValue.getStringValue().c_str(), str_val_len); in WriteAttribute()