Lines Matching refs:directory
1 /* Construct a full pathname from a directory and a filename.
31 /* Concatenate a directory pathname, a relative pathname and an optional
32 suffix. The directory may end with the directory separator. The second
33 argument may not start with the directory separator (it is relative).
36 concatenated_pathname (const char *directory, const char *filename,
42 if (strcmp (directory, ".") == 0)
44 /* No need to prepend the directory. */
52 size_t directory_len = strlen (directory);
54 (directory_len > FILE_SYSTEM_PREFIX_LEN (directory)
55 && !ISSLASH (directory[directory_len - 1]));
60 memcpy (result, directory, directory_len);