Lines Matching defs:full
84 char *full;
124 full = malloc ((size_t)len);
125 if (!full)
127 full[0] = '\0';
130 _XcursorAddPathElt (full, home, -1);
131 _XcursorAddPathElt (full, dir, dirlen);
132 _XcursorAddPathElt (full, theme, themelen);
133 return full;
139 char *full;
144 full = malloc (strlen (dir) + 1 + strlen (subdir) + 1 + strlen (file) + 1);
145 if (!full)
147 full[0] = '\0';
148 _XcursorAddPathElt (full, dir, -1);
149 _XcursorAddPathElt (full, subdir, -1);
150 _XcursorAddPathElt (full, file, -1);
151 return full;
174 _XcursorThemeInherits (const char *full)
180 if (!full)
183 f = fopen (full, "r" FOPEN_CLOEXEC);
227 char *full;
262 full = _XcursorBuildFullname (dir, "cursors", name);
263 if (full)
265 f = fopen (full, "r" FOPEN_CLOEXEC);
266 free (full);
275 full = _XcursorBuildFullname (dir, "", "index.theme");
276 if (full)
278 inherits[d + 1].line = _XcursorThemeInherits (full);
280 free (full);