Home | History | Annotate | Download | only in xfa

Lines Matching refs:pKey

215   void* pKey = GetMapKey_Element(GetXFAObject()->GetElementType(), eAttr);
216 return HasMapModuleKey(pKey);
248 void CJX_Object::SetMapModuleString(void* pKey, const WideStringView& wsValue) {
249 SetMapModuleBuffer(pKey, (void*)wsValue.unterminated_c_str(),
260 void* pKey = GetMapKey_Custom(wsAttr);
261 SetMapModuleString(pKey, wsValue);
317 void* pKey = GetMapKey_Custom(wsAttr);
319 if (!GetMapModuleString(pKey, wsValueC))
326 void* pKey = GetMapKey_Custom(wsAttr);
327 if (pKey)
328 RemoveMapModuleKey(pKey);
333 void* pKey = GetMapKey_Element(GetXFAObject()->GetElementType(), eAttr);
334 if (GetMapModuleValue(pKey, pValue))
370 void* pKey = GetMapKey_Element(GetXFAObject()->GetElementType(), eAttr);
372 if (GetMapModuleValue(pKey, pValue))
382 void* pKey = GetMapKey_Element(GetXFAObject()->GetElementType(), eAttr);
384 if (GetMapModuleValue(pKey, pValue)) {
413 void* pKey = GetMapKey_Element(GetXFAObject()->GetElementType(), eAttr);
415 SetMapModuleBuffer(pKey, &mValue, sizeof(CXFA_Measurement), nullptr);
422 void* pKey = GetMapKey_Element(GetXFAObject()->GetElementType(), eAttr);
425 if (GetMapModuleBuffer(pKey, pValue, iBytes, true) &&
455 void* pKey = GetMapKey_Element(xfaObj->GetElementType(), eAttr);
459 SetUserData(pKey, pClone, &deleteWideStringCallBack);
461 SetMapModuleString(pKey, wsValue.AsStringView());
529 void* pKey =
533 SetUserData(pKey, pClone, &deleteWideStringCallBack);
574 void* pKey = GetMapKey_Element(GetXFAObject()->GetElementType(), eAttr);
579 if (GetMapModuleBuffer(pKey, pData, iBytes, true) &&
588 if (GetMapModuleString(pKey, wsValueC))
601 void* pKey = GetMapKey_Element(GetXFAObject()->GetElementType(), eAttr);
603 SetMapModuleValue(pKey, pValue);
951 bool CJX_Object::SetUserData(void* pKey,
954 SetMapModuleBuffer(pKey, &pData, sizeof(void*),
969 void CJX_Object::SetMapModuleValue(void* pKey, void* pValue) {
970 CreateMapModuleData()->m_ValueMap[pKey] = pValue;
973 bool CJX_Object::GetMapModuleValue(void* pKey, void*& pValue) {
978 auto it = pModule->m_ValueMap.find(pKey);
990 bool CJX_Object::GetMapModuleString(void* pKey, WideStringView& wsValue) {
993 if (!GetMapModuleBuffer(pKey, pValue, iBytes, true))
1003 void* pKey,
1007 XFA_MAPDATABLOCK*& pBuffer = CreateMapModuleData()->m_BufferMap[pKey];
1029 bool CJX_Object::GetMapModuleBuffer(void* pKey,
1038 auto it = pModule->m_BufferMap.find(pKey);
1055 bool CJX_Object::HasMapModuleKey(void* pKey) {
1057 return pModule && (pdfium::ContainsKey(pModule->m_ValueMap, pKey) ||
1058 pdfium::ContainsKey(pModule->m_BufferMap, pKey));
1079 void CJX_Object::RemoveMapModuleKey(void* pKey) {
1080 ASSERT(pKey);
1086 auto it = pModule->m_BufferMap.find(pKey);
1097 pModule->m_ValueMap.erase(pKey);