Home
last modified time | relevance | path

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

/system/core/base/
Dfile.cpp55 static int mkstemp(char* name_template, size_t size_in_chars) { in mkstemp() argument
57 CHECK(android::base::UTF8ToWide(name_template, &path)) in mkstemp()
58 << "path can't be converted to wchar: " << name_template; in mkstemp()
72 CHECK(strcpy_s(name_template, size_in_chars, path_utf8.c_str()) == 0) in mkstemp()
78 static char* mkdtemp(char* name_template, size_t size_in_chars) { in mkdtemp() argument
80 CHECK(android::base::UTF8ToWide(name_template, &path)) in mkdtemp()
81 << "path can't be converted to wchar: " << name_template; in mkdtemp()
93 CHECK(strcpy_s(name_template, size_in_chars, path_utf8.c_str()) == 0) in mkdtemp()
96 return name_template; in mkdtemp()