Lines Matching defs:pszValue
174 * @param pszValue The value to store. Utf8. If this is NULL then
178 VBGLR3DECL(int) VbglR3GuestPropWrite(uint32_t u32ClientId, const char *pszName, const char *pszValue, const char *pszFlags)
182 if (pszValue != NULL)
191 VbglHGCMParmPtrSetString(&Msg.value, pszValue);
221 * @param pszValue The value to store. Must be valid UTF-8.
224 * @note if the property already exists and pszValue is not NULL then the
227 VBGLR3DECL(int) VbglR3GuestPropWriteValue(uint32_t u32ClientId, const char *pszName, const char *pszValue)
231 if (pszValue != NULL)
240 VbglHGCMParmPtrSetString(&Msg.value, pszValue);
278 char *pszValue;
279 if (RTStrAPrintfV(&pszValue, pszValueFormat, va) >= 0)
281 rc = VbglR3GuestPropWriteValue(u32ClientId, pszName, pszValue);
282 RTStrFree(pszValue);
312 * @retval VINF_SUCCESS on success, pszValue, pu64Timestamp and pszFlags
437 char *pszValue = NULL;
450 &pszValue, NULL, NULL, &cchBuf);
457 Assert(pszValue == (char *)pvBuf);
458 *ppszValue = pszValue;
477 * @param pszValue the memory to be freed. NULL pointers will be ignored.
479 VBGLR3DECL(void) VbglR3GuestPropReadValueFree(char *pszValue)
481 RTMemFree(pszValue);
489 * @retval VINF_SUCCESS on success, pszValue containing valid data.
499 * @param pszValue Where to store the value retrieved.
500 * @param cchValue The size of the buffer pointed to by @a pszValue
505 char *pszValue, uint32_t cchValue,
508 void *pvBuf = pszValue;
511 &pszValue, NULL, NULL, &cchValueActual);
738 char *pszValue = pchNext = RTStrEnd(pchNext, pchEnd - pchNext) + 1;
767 AssertMsgReturn(!*pszValue && !*pszTimestamp && !*pszFlags,
768 ("'%s' '%s' '%s'\n", pszValue, pszTimestamp, pszFlags),
778 *ppszValue = *pszValue != '\0' ? pszValue : NULL;
845 char const *pszName, *pszValue, *pszFlags;
852 &pszValue,
864 &pszValue,
961 char *pszValue = RTStrEnd((char *)pvBuf, cbBuf) + 1;
962 AssertPtrReturn(pszValue, VERR_TOO_MUCH_DATA);
967 char *pszFlags = RTStrEnd(pszValue, cbBuf - (pszValue - (char *)pvBuf)) + 1;
970 *ppszValue = pszValue;