Lines Matching refs:pcszValue
209 static enum ENMFORMAT getFormat(const char *pcszName, const char *pcszValue);
210 static bool checkAbsoluteFilePath(const char *pcszName, const char *pcszValue);
211 static bool checkPrintable(const char *pcszName, const char *pcszValue);
212 static bool checkGraphic(const char *pcszName, const char *pcszValue);
405 enum ENMFORMAT getFormat(const char *pcszName, const char *pcszValue)
407 if (!strcmp(pcszValue, "shell"))
409 RTStrmPrintf(g_pStdErr, "%s: unknown format %s.\n", pcszName, pcszValue);
414 bool checkAbsoluteFilePath(const char *pcszName, const char *pcszValue)
416 if (RTPathFilename(pcszValue) && RTPathStartsWithRoot(pcszValue))
418 RTStrmPrintf(g_pStdErr, "%s: %s must be an absolute path of a file.\n", pcszName, pcszValue);
423 bool checkPrintable(const char *pcszName, const char *pcszValue)
425 const char *pcch = pcszValue;
431 pcszName, pcch - pcszValue, pcszValue);
439 static bool checkGraphic(const char *pcszName, const char *pcszValue)
441 const char *pcch = pcszValue;
447 pcszName, pcch - pcszValue, pcszValue);