Lines Matching defs:path
94 assert(destfile[0] != '\0', "invalid PerfData file path");
159 // construct the path name to user specific tmp directory
200 // check if the given path is considered a secure directory for
202 // and is considered a secure location. Returns false if the path
205 static bool is_directory_secure(const char* path) {
209 RESTARTABLE(::lstat(path, &statbuf), result);
214 // the path exists, now check it's mode
216 // the path represents a link or some non-directory file type,
447 // this method removes the file specified by the given path
449 static void remove_file(const char* path) {
458 RESTARTABLE(::unlink(path), result);
462 " store file %s : %s\n", path, strerror(errno));
476 char* path = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal);
478 strcpy(path, dirname);
479 strcat(path, "/");
480 strcat(path, filename);
482 remove_file(path);
484 FREE_C_HEAP_ARRAY(char, path, mtInternal);