Lines Matching defs:pProp

205      * @param   pProp         where to return the property found.  If none is
210 Property *pProp)
215 AssertPtrReturn(pProp, VERR_INVALID_POINTER);
216 int rc = getOldNotificationInternal(pszPatterns, u64Timestamp, pProp);
219 * ENSURE that pProp is the first event in the notification queue that:
234 && it->mTimestamp != pProp->mTimestamp; ++it)
236 if (pProp->mTimestamp != 0)
238 Assert(*pProp == *it);
239 Assert(pProp->Matches(pszPatterns));
380 uint64_t u64Timestamp, Property *pProp);
521 Property *pProp = getPropertyInternal(papszNames[i]);
522 if (pProp)
525 pProp->mValue = papszValues[i];
526 pProp->mTimestamp = pau64Timestamps[i];
527 pProp->mFlags = fFlags;
532 pProp = new Property(papszNames[i], papszValues[i], pau64Timestamps[i], fFlags);
533 if (!pProp)
538 if (RTStrSpaceInsert(&mhProperties, &pProp->mStrCore))
542 delete pProp;
594 Property *pProp = getPropertyInternal(pcszName);
595 if (pProp)
598 rc = writeFlags(pProp->mFlags, szFlags);
603 size_t const cbValue = pProp->mValue.size() + 1;
609 memcpy(pchBuf, pProp->mValue.c_str(), cbValue);
612 paParms[2].setUInt64(pProp->mTimestamp);
618 pcszName, pProp->mValue.c_str(), pProp->mTimestamp, szFlags));
692 Property *pProp = getPropertyInternal(pcszName);
693 rc = checkPermission(pProp ? (ePropFlags)pProp->mFlags : NILFLAG, isGuest);
699 if (pProp)
701 pProp->mValue = pcszValue;
702 pProp->mTimestamp = u64TimeNano;
703 pProp->mFlags = fFlags;
710 pProp = new Property(pcszName, pcszValue, u64TimeNano, fFlags);
711 AssertPtr(pProp);
713 if (RTStrSpaceInsert(&mhProperties, &pProp->mStrCore))
718 delete pProp;
783 Property *pProp = getPropertyInternal(pcszName);
784 if (pProp)
785 rc = checkPermission((ePropFlags)pProp->mFlags, isGuest);
790 if (rc == VINF_SUCCESS && pProp)
793 PRTSTRSPACECORE pStrCore = RTStrSpaceRemove(&mhProperties, pProp->mStrCore.pszString);
796 delete pProp;
824 Property *pProp = (Property *)pStr;
828 if (!pProp->Matches(pEnum->pszPattern))
833 size_t const cbTimestamp = RTStrFormatNumber(szTimestamp, pProp->mTimestamp, 10, 0, 0, 0) + 1;
836 int rc = writeFlags(pProp->mFlags, szFlags);
842 size_t const cbName = pProp->mName.length() + 1;
843 size_t const cbValue = pProp->mValue.length() + 1;
859 memcpy(pchCur, pProp->mName.c_str(), cbName);
862 memcpy(pchCur, pProp->mValue.c_str(), cbValue);
953 Property *pProp)
972 *pProp = *base;
975 *pProp = Property();
1134 Property const * const pProp = getPropertyInternal(pszProperty);
1135 if (pProp)
1138 prop.mValue = pProp->mValue;
1139 prop.mFlags = pProp->mFlags;
1185 if (pProp)
1318 Property *pProp = (Property *)pStr;
1322 int rc = writeFlags(pProp->mFlags, szFlags);
1327 pProp->mName.c_str(), pProp->mValue.c_str(), pProp->mTimestamp);