Lines Matching refs:templatePath
285 const char *templatePath = NULL;
332 templatePath = "$h/Desktop";
337 templatePath = "trash"; // TODO: add suffix for current user
339 templatePath = "RECYCLED/_BEOS_";
363 templatePath = kSystemDirectories[which - B_SYSTEM_DIRECTORY];
402 templatePath = kCommonDirectories[which - B_COMMON_DIRECTORY];
444 templatePath = kUserDirectories[which - B_USER_DIRECTORY];
450 templatePath = SYSTEM "/apps";
453 templatePath = SYSTEM "/preferences";
456 templatePath = "packages";
463 if (templatePath == NULL)
469 if (!strncmp(templatePath, "$h", 2)) {
478 templatePath += 2;
479 } else if (templatePath[0] != '\0')
484 if (char* dollar = strchr(templatePath, '$')) {
486 pathBuffer.Append(templatePath, dollar - templatePath);
494 templatePath = dollar + 2;
499 pathBuffer.Append(templatePath);
537 const char *templatePath = NULL;
571 templatePath = kSystemDirectories[which - B_SYSTEM_DIRECTORY];
610 templatePath = kCommonDirectories[which - B_COMMON_DIRECTORY];
652 templatePath = kUserDirectories[which - B_USER_DIRECTORY];
659 if (templatePath == NULL)
665 if (!strncmp(templatePath, "$h", 2)) {
667 templatePath += 2;
668 } else if (templatePath[0] != '\0')
673 if (char* dollar = strchr(templatePath, '$')) {
675 pathBuffer.Append(templatePath, dollar - templatePath);
676 templatePath = dollar + 2;
681 pathBuffer.Append(templatePath);