Lines Matching defs:path
25 BPath path;
26 if ((ret = find_directory(B_USER_SETTINGS_DIRECTORY, &path)) == B_OK) {
29 ret = path.Append(folder);
30 if (ret == B_OK && (ret = path.Append(fileName)) == B_OK) {
31 BFile file(path.Path(), B_READ_ONLY);
48 BPath path;
49 if ((ret = find_directory(B_USER_SETTINGS_DIRECTORY, &path)) == B_OK) {
51 if (folder && (ret = path.Append(folder)) == B_OK)
52 ret = create_directory(path.Path(), 0777);
53 if (ret == B_OK && (ret = path.Append(fileName)) == B_OK) {
54 BFile file(path.Path(),