Lines Matching refs:path
25 Looper(const char* path);
35 Looper::Looper(const char* path)
36 : BLooper("path monitor test"),
37 fPath(path)
39 status_t status = BPathMonitor::StartWatching(path, B_WATCH_ALL, this);
41 fprintf(stderr, "Could not watch path \"%s\": %s.\n", path, strerror(status));
67 create_file(const char* path)
69 printf("******* create file %s *******\n", path);
71 status_t status = file.SetTo(path, B_CREATE_FILE | B_READ_WRITE);
79 remove_file(const char* path)
81 printf("******* remove file %s *******\n", path);
82 remove(path);
87 create_directory(const char* path)
89 printf("******* create directory %s *******\n", path);
90 create_directory(path, 0755);
95 remove_directory(const char* path)
97 printf("******* remove directory %s *******\n", path);
98 rmdir(path);