Lines Matching defs:template
232 __archive_mktempx(const char *tmpdir, wchar_t *template)
260 if (template == NULL) {
318 template = temp_name.s;
320 xp = wcschr(template, L'X');
369 ws = __la_win_permissive_name_w(template);
374 if (template == temp_name.s) {
426 if (template == temp_name.s)
438 __archive_mkstemp(wchar_t *template)
440 return __archive_mktempx(NULL, template);
502 __archive_mkstemp(char *template)
505 fd = mkstemp(template);
518 __archive_mktempx(const char *tmpdir, char *template)
536 if (template == NULL) {
557 template = temp_name.s;
559 tp = strchr(template, 'X');
577 fd = open(template, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC,
583 if (template == temp_name.s)
586 if (template == temp_name.s)
598 __archive_mkstemp(char *template)
600 return __archive_mktempx(NULL, template);