Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
DClangUtilityFunction.cpp44 int temp_fd = -1; in ClangUtilityFunction() local
46 llvm::sys::fs::createTemporaryFile("lldb", "expr", temp_fd, result_path); in ClangUtilityFunction()
47 if (temp_fd != -1) { in ClangUtilityFunction()
48 lldb_private::NativeFile file(temp_fd, File::eOpenOptionWriteOnly, true); in ClangUtilityFunction()
DClangExpressionParser.cpp1052 int temp_fd = -1; in ParseInternal() local
1057 llvm::sys::fs::createUniqueFile(temp_source_path, temp_fd, result_path); in ParseInternal()
1059 llvm::sys::fs::createTemporaryFile("lldb", "expr", temp_fd, result_path); in ParseInternal()
1062 if (temp_fd != -1) { in ParseInternal()
1063 lldb_private::NativeFile file(temp_fd, File::eOpenOptionWriteOnly, true); in ParseInternal()
/openbsd/src/usr.bin/xinstall/
Dxinstall.c288 int temp_fd = to_fd; in install() local
295 if (fstat(temp_fd, &temp_sb)) { in install()
301 if (compare(temp_fd, tempfile, temp_sb.st_size, to_fd, in install()
311 futimens(temp_fd, ts); in install()
316 (void)close(temp_fd); in install()
321 to_fd = temp_fd; in install()