Lines Matching refs:path
26 " %s unregister ( <file> | <device path> | <device ID> )\n"
62 // file path
63 BPath path;
65 device.GetFilePath(&path) == B_OK ? path.Path() : "???");
67 // device path
68 printf("%s", device.GetPath(&path) == B_OK ? path.Path() : "???");
102 // print the success message (get the device path)
104 BPath path;
106 && device.GetPath(&path) == B_OK) {
108 path.Path(), id);
111 "but failed to get the device path.\n", id);
165 // get file path and stat it, same for the device path
166 BPath path;
168 if ((device.GetFilePath(&path) == B_OK && lstat(path.Path(), &st) == 0
171 || (device.GetPath(&path) == B_OK && lstat(path.Path(), &st) == 0