Lines Matching defs:directory
1 /* Construct a full pathname from a directory and a filename.
28 /* Concatenate a directory filename, a relative filename and an optional
29 suffix. The directory may end with the directory separator. The second
30 argument may not start with the directory separator (it is relative).
33 concatenated_filename (const char *directory, const char *filename,
39 if (strcmp (directory, ".") == 0)
41 /* No need to prepend the directory. */
50 size_t directory_len = strlen (directory);
52 (directory_len > FILE_SYSTEM_PREFIX_LEN (directory)
53 && !ISSLASH (directory[directory_len - 1]));
59 memcpy (result, directory, directory_len);