Lines Matching defs:path
51 do_mime_update(int32 what, const char *path, int recursive,
57 status_t err = root.SetTo(path ? path : "/");
89 update_mime_info(const char *path, int recursive, int synchronous, int force)
91 // Force recursion when given a NULL path
92 if (!path)
95 return do_mime_update(B_REG_MIME_UPDATE_MIME_INFO, path, recursive,
102 create_app_meta_mime(const char *path, int recursive, int synchronous,
105 // Force recursion when given a NULL path
106 if (!path)
109 return do_mime_update(B_REG_MIME_CREATE_APP_META_MIME, path, recursive,
339 BPath path;
340 if (find_directory(kWhich[i], &path) != B_OK)
343 path.Append("icons");
344 path.Append(name);
346 status = file.SetTo(path.Path(), B_READ_ONLY);