Lines Matching defs:permissions
37 static mode_t ParsePermissionString(llvm::StringRef permissions) {
38 if (permissions.size() != 9)
43 user_r = (permissions[0] == 'r');
44 user_w = (permissions[1] == 'w');
45 user_x = (permissions[2] == 'x');
47 group_r = (permissions[3] == 'r');
48 group_w = (permissions[4] == 'w');
49 group_x = (permissions[5] == 'x');
51 world_r = (permissions[6] == 'r');
52 world_w = (permissions[7] == 'w');
53 world_x = (permissions[8] == 'x');
82 "invalid value for permissions: %s", option_arg.str().c_str());
90 "invalid value for permissions: %s", option_arg.str().c_str());
893 // "platform get-permissions remote-file-path"
897 : CommandObjectParsed(interpreter, "platform get-permissions",
899 "platform get-permissions <remote-file-spec>", 0) {
903 (lldb) platform get-permissions /the/remote/file/path
905 Get the file permissions from the remote end with path /the/remote/file/path.)");
924 uint32_t permissions;
926 permissions);
929 "File permissions of %s (remote): 0o%04" PRIo32 "\n",
930 remote_file_path.c_str(), permissions);
1830 LoadSubCommand("get-permissions",