Lines Matching defs:cmdline
546 * %A cmdline argument as an absolute path (must be absolute to match)
547 * %R cmdline argument as a relative path
548 * %S cmdline argument as a "safe" path (relative, and no ".." elements)
603 DoSubstitution(const char *template, const char *cmdline, const char *projroot,
629 if (cmdline && xf86pathIsAbsolute(cmdline)) {
630 APPEND_STR(cmdline);
637 if (cmdline && !xf86pathIsAbsolute(cmdline)) {
638 APPEND_STR(cmdline);
645 if (cmdline && xf86pathIsSafe(cmdline)) {
646 APPEND_STR(cmdline);
733 OpenConfigFile(const char *path, const char *cmdline, const char *projroot,
745 filepath = DoSubstitution(template, cmdline, projroot,
749 if (cmdline && !cmdlineUsed) {
836 OpenConfigDir(const char *path, const char *cmdline, const char *projroot,
850 dirpath = DoSubstitution(template, cmdline, projroot,
854 if (cmdline && !cmdlineUsed) {
923 xf86openConfigFile(const char *path, const char *cmdline, const char *projroot)
931 configPath = OpenConfigFile(path, cmdline, projroot, XCONFIGFILE);
951 xf86openConfigDirFiles(const char *path, const char *cmdline,
960 configDirPath = OpenConfigDir(path, cmdline, projroot, XCONFIGDIR);