Lines Matching defs:pszDef
784 * @param pszDef The default value.
786 VMMR3DECL(int) CFGMR3QueryStringDef(PCFGMNODE pNode, const char *pszName, char *pszString, size_t cchString, const char *pszDef)
809 size_t cchDef = strlen(pszDef);
812 memcpy(pszString, pszDef, cchDef);
3077 * NULL if @a pszDef is not NULL, because we need
3084 * @param pszDef The default return value. This can be NULL.
3086 VMMR3DECL(int) CFGMR3QueryStringAllocDef(PCFGMNODE pNode, const char *pszName, char **ppszString, const char *pszDef)
3088 Assert(pNode || !pszDef); /* We need pVM if we need to duplicate the string later. */
3092 * cannot handle pszDef being NULL.)
3115 if (!pszDef)
3119 size_t const cbDef = strlen(pszDef) + 1;
3121 memcpy(*ppszString, pszDef, cbDef);