Home
last modified time | relevance | path

Searched refs:tmpl (Results 1 – 3 of 3) sorted by relevance

/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dtempname.c135 int __path_search(char *tmpl, size_t tmpl_len, const char *dir,
137 int __gen_tempname(char *tmpl, int kind);
155 __path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, in __path_search() argument
207 sprintf (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx); in __path_search()
230 __gen_tempname (char *tmpl, int kind) in __gen_tempname() argument
253 len = strlen (tmpl); in __gen_tempname()
254 if (len < 6 || strcmp (&tmpl[len - 6], "XXXXXX")) in __gen_tempname()
261 XXXXXX = &tmpl[len - 6]; in __gen_tempname()
300 fd = open(tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in __gen_tempname()
304 fd = mkdir(tmpl, S_IRUSR | S_IWUSR | S_IXUSR); in __gen_tempname()
[all …]
/haiku/src/libs/libsolv/ext/
H A Dtools_util.h53 int tmpl; member
69 if (l > jd->tmpl) in join2()
71 jd->tmpl = l + 256; in join2()
72 jd->tmp = solv_realloc(jd->tmp, jd->tmpl); in join2()
106 jd->tmpl = 0; in join_freemem()
/haiku/src/tests/kits/net/service/
H A DFileTest.cpp52 char tmpl[] = "/tmp/filestoptestXXXXXX"; in StopTest() local
53 int fd = mkstemp(tmpl); in StopTest()
57 BFile file(tmpl, O_WRONLY | O_CREAT); in StopTest()
66 url.SetPath(tmpl); in StopTest()