Lines Matching defs:dir
699 char *dir;
712 dir = isc_mem_strdup(mctx, "/");
715 dir = isc_mem_allocate(mctx, slash - path);
716 if (dir != NULL)
717 strlcpy(dir, path, slash - path);
720 dir = isc_mem_strdup(mctx, ".");
723 if (dir == NULL)
727 isc_mem_free(mctx, dir);
731 *dirname = dir;
780 isc_file_sanitize(const char *dir, const char *base, const char *ext,
798 if (dir != NULL)
799 l += strlen(dir) + 1;
809 dir != NULL ? dir : "", dir != NULL ? "/" : "",
819 dir != NULL ? dir : "", dir != NULL ? "/" : "",
837 dir != NULL ? dir : "", dir != NULL ? "/" : "",