Lines Matching refs:pBuf
19 const char*& pBuf, in ReadTag() argument
24 leb128::decode<uint64_t>(pBuf, size)); in ReadTag()
29 pBuf += size; in ReadTag()
36 const char*& pBuf, in ReadValue() argument
41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); in ReadValue()
47 pBuf += size; in ReadValue()
53 pValue.setStringValue(pBuf); in ReadValue()
57 pBuf += size; in ReadValue()
66 char*& pBuf) { in WriteAttribute() argument
68 leb128::encode<uint32_t>(pBuf, pTag); in WriteAttribute()
72 leb128::encode<uint32_t>(pBuf, pValue.getIntValue()); in WriteAttribute()
79 ::memcpy(pBuf, pValue.getStringValue().c_str(), str_val_len); in WriteAttribute()
80 pBuf += str_val_len; in WriteAttribute()
83 *pBuf++ = '\0'; in WriteAttribute()