Lines Matching refs:path
44 char *path;
443 load_plugin(struct tep_handle *tep, const char *path,
455 ret = asprintf(&plugin, "%s/%s", path, file);
510 const char *path,
512 const char *path,
522 ret = stat(path, &st);
529 dir = opendir(path);
544 load_plugin(tep, path, name, data);
568 const char *path,
575 char *path;
586 load_plugins_dir(tep, suffix, dir->path,
617 ret = asprintf(&path, "%s/%s", home, LOCAL_PLUGIN_DIR);
623 load_plugins_dir(tep, suffix, path, load_plugin, data);
629 load_plugins_dir(tep, suffix, dir->path,
634 free(path);
649 * @path: Path to a directory. All plugin files in that
655 int tep_add_plugin_path(struct tep_handle *tep, char *path,
660 if (!tep || !path)
667 dir->path = strdup(path);
668 if (!dir->path) {
689 free(dir->path);