Lines Matching +defs:mode +defs:name
41 static std::string addPIDSuffix(const char *name) {
43 ss << name;
84 const char *name, const AccessType &accessType) {
86 (llvm::Twine{temp_directory_path()} + "/" + addPIDSuffix(name)).str();
93 mode_t mode{0};
95 mode |= S_IRUSR;
98 mode |= S_IWUSR;
101 mode |= S_IXUSR;
104 int file = open(path.c_str(), O_CREAT | O_EXCL, mode);
119 std::string mode;
121 mode += 'r';
124 mode += 'w';
127 mode += 'x';
130 mode += ' ';
133 const char *cmode = mode.c_str();