Searched refs:user (Results 1 - 25 of 121) sorted by relevance

12345

/haiku/headers/private/kernel/util/
H A Dsyscall_args.h13 copy_ref_var_from_user(T *user, T &kernel) argument
15 if (!IS_USER_ADDRESS(user))
17 return user_memcpy(&kernel, user, sizeof(T));
24 copy_ref_var_to_user(T &kernel, T *user) argument
26 if (!IS_USER_ADDRESS(user))
28 return user_memcpy(user, &kernel, sizeof(T));
/haiku/src/bin/
H A Dlogname.c50 char* user = getenv("USER"); local
51 if (user == NULL)
54 puts(user);
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DStatisticsManager.cpp37 void AddUser(const char* user) argument
40 if (fUsers.ContainsKey(user))
41 count = fUsers.Get(user);
43 fUsers.Put(user, count);
46 void RemoveUser(const char* user) argument
48 if (!fUsers.ContainsKey(user))
51 int32 count = fUsers.Get(user);
54 fUsers.Put(user, count);
56 fUsers.Remove(user);
63 HashString user(i
160 UserRemoved(User* user) argument
180 ShareMounted(Share* share, User* user) argument
208 ShareUnmounted(Share* share, User* user) argument
226 GetUserStatistics(User* user, BMessage* statistics) argument
236 GetUserStatistics(const char* user, BMessage* _statistics) argument
[all...]
H A DStatisticsManager.h25 void UserRemoved(User* user);
28 void ShareMounted(Share* share, User* user);
29 void ShareUnmounted(Share* share, User* user);
31 status_t GetUserStatistics(User* user,
33 status_t GetUserStatistics(const char* user,
H A DSecurityContext.cpp318 UserPath(const char* path, User* user) argument
320 user(user)
326 user(other.user)
333 uint64 v = (uint64)user;
336 return path.GetHashCode() * 31 + (uint32)user;
343 user = other.user;
349 return (path == other.path && user
358 User* user; member in struct:SecurityContext::UserPath
441 User* user = FindUser(userName); local
471 User* user = it.Next().value; local
500 User* user = it.Next().value; local
531 User* user = it.Next().value; local
552 User* user = it.Next().value; local
647 User* user = FindUser(name); local
664 RemoveUser(User* user) argument
700 User* user = fUsers->Get(name); local
718 User* user = FindUser(name); local
754 User* user = it.Next().value; local
934 SetNodePermissions(const node_ref& ref, User* user, Permissions permissions) argument
954 SetNodePermissions(const char* path, User* user, Permissions permissions) argument
971 ClearNodePermissions(const node_ref& ref, User* user) argument
989 ClearNodePermissions(const char* path, User* user) argument
1007 GetNodePermissions(const node_ref& ref, User* user) argument
1023 GetNodePermissions(const char* path, User* user) argument
1036 GetUserSecurityContext(User* user, UserSecurityContext* userContext) argument
[all...]
H A DSecurityContext.h87 User** user = NULL);
89 User** user = NULL);
90 status_t RemoveUser(User* user);
93 const char* password, User** user);
109 User* user, Permissions permissions);
111 User* user, Permissions permissions);
113 User* user = NULL);
115 User* user = NULL);
117 User* user);
119 User* user);
[all...]
H A DConnectionListener.h26 User** user) = 0;
H A DPortConnectionListener.h22 User** user);
/haiku/src/apps/serialconnect/libvterm/include/
H A Dvterm.h164 int (*text)(const char *bytes, size_t len, void *user);
165 int (*control)(unsigned char control, void *user);
166 int (*escape)(const char *bytes, size_t len, void *user);
167 int (*csi)(const char *leader, const long args[], int argcount, const char *intermed, char command, void *user);
168 int (*osc)(const char *command, size_t cmdlen, void *user);
169 int (*dcs)(const char *command, size_t cmdlen, void *user);
170 int (*resize)(int rows, int cols, void *user);
173 void vterm_set_parser_callbacks(VTerm *vt, const VTermParserCallbacks *callbacks, void *user);
182 int (*putglyph)(VTermGlyphInfo *info, VTermPos pos, void *user);
183 int (*movecursor)(VTermPos pos, VTermPos oldpos, int visible, void *user);
[all...]
/haiku/src/system/kernel/arch/generic/
H A Dgeneric_vm_physical_page_ops.h19 size_t length, bool user);
21 size_t length, bool user);
H A DGenericVMPhysicalPageMapper.cpp85 size_t length, bool user)
87 return generic_vm_memcpy_from_physical(to, from, length, user);
93 size_t length, bool user)
95 return generic_vm_memcpy_to_physical(to, from, length, user);
84 MemcpyFromPhysical(void* to, phys_addr_t from, size_t length, bool user) argument
92 MemcpyToPhysical(phys_addr_t to, const void* from, size_t length, bool user) argument
/haiku/src/add-ons/kernel/file_systems/netfs/netfs_server_prefs/
H A DNetFSServerRoster.cpp96 NetFSServerRoster::AddUser(const char* user, const char* password) argument
99 if (!user || strlen(user) < 1)
104 if (request.AddString("user", user) != B_OK
115 NetFSServerRoster::RemoveUser(const char* user) argument
118 if (!user || strlen(user) < 1)
123 if (request.AddString("user", user) !
156 GetUserStatistics(const char* user, BMessage* statistics) argument
300 SetUserPermissions(const char* share, const char* user, uint32 permissions) argument
321 GetUserPermissions(const char* share, const char* user, uint32* permissions) argument
[all...]
H A DNetFSServerRoster.h22 status_t AddUser(const char* user, const char* password);
23 status_t RemoveUser(const char* user);
25 status_t GetUserStatistics(const char* user,
39 const char* user, uint32 permissions);
41 const char* user, uint32* permissions);
H A DNetFSServerPrefs.cpp41 " add user <name> [ <password> ]\n"
42 " add a new user with the name <name> and, if supplied, \n"
44 " remove user <name>\n"
45 " remove the user named <name>\n"
46 " permissions <user> <share> [ m ] [ r ] [ w ] [ q ]\n"
47 " set the permissions of user <user> for share <share> to m(ount),\n"
142 const char* user; local
143 for (int32 i = 0; users.FindString("users", i, &user) == B_OK; i++)
144 printf("%s\n", user);
176 const char* user; local
309 set_user_permissions(const char* user, const char* share, uint32 permissions) argument
472 const char* user = next_arg(argc, argv, argi); local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/
H A DAuthenticationServer.h23 HashString* user, HashString* password);
26 const char* user, const char* password,
30 const char* user, const char* password);
H A DAuthenticationServer.cpp26 Authentication(const char* user, const char* password) argument
27 : fUser(user),
32 status_t SetTo(const char* user, const char* password) argument
34 if (fUser.SetTo(user) && fPassword.SetTo(password))
135 status_t SetDefaultAuthentication(const char* user, const char* password) argument
137 return fDefaultAuthentication.SetTo(user, password);
145 status_t SetAuthentication(const char* share, const char* user, argument
152 return authentication->SetTo(user, password);
157 status_t error = authentication->SetTo(user, password);
190 : Task("user dialo
205 char user[B_OS_NAME_LENGTH]; local
373 _GetAuthentication(const char* context, const char* server, const char* share, HashString* user, HashString* password) argument
401 _AddAuthentication(const char* context, const char* server, const char* share, const char* user, const char* password, bool makeDefault) argument
433 _SendRequestReply(port_id port, int32 token, status_t error, bool cancelled, const char* user, const char* password) argument
[all...]
/haiku/src/bin/multiuser/
H A Dsu.cpp66 const char* user = NULL; local
68 user = argv[0];
70 if (user == NULL)
71 user = "user";
81 status = authenticate_user("password: ", user, &passwd, NULL,
88 syslog(LOG_NOTICE, "su attempt for non-existent user \"%s\"", user);
92 // setup environment for the user
H A Duserdel.cpp25 "Usage: %s [ <options> ] <user name>\n"
26 "Deletes the specified user.\n"
70 const char* user = argv[optind]; local
77 if (getpwnam(user) == NULL) {
78 fprintf(stderr, "Error: User \"%s\" doesn't exist.\n", user);
84 if (message.AddString("name", user) != B_OK) {
93 fprintf(stderr, "Error: Failed to delete user: %s\n", strerror(error));
H A Dpasswd.cpp33 "Usage: %s [ <options> ] [ <user name> ]\n"
34 "Change the password of the specified user.\n"
38 " Delete the password for the specified user.\n"
86 const char* user = optind < argc ? argv[optind] : NULL; local
102 if (user == NULL) {
103 fprintf(stderr, "Error: A user must be specified.\n");
110 if (user != NULL) {
111 passwd = getpwnam(user);
113 fprintf(stderr, "Error: No user with name \"%s\".\n", user);
[all...]
H A Dlogin.cpp55 login(const char* user, struct passwd** _passwd) argument
59 if (user == NULL) {
74 user = userBuffer;
77 // if no user is given, we exit immediately
78 if (!user[0])
90 struct passwd* passwd = getpwnam(user);
91 struct spwd* spwd = getspnam(user);
159 const char* user = NULL; local
161 user = argv[0];
173 status = login(user,
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Dutil.h34 bool user);
/haiku/src/apps/serialconnect/
H A DTermView.h49 static int _Damage(VTermRect rect, void* user);
51 int visible, void* user);
53 void* user);
55 void* user);
/haiku/docs/interface_guidelines/docbook-css/
H A Dmozilla.css21 -moz-user-focus: normal;
/haiku/src/system/libnetwork/
H A Dr5_compatibility.cpp31 int getusername(char *user, size_t bufferLength);
105 getusername(char *user, size_t length) argument
107 if (find_net_setting(NULL, "GLOBAL", "USERNAME", user, length) == NULL)
110 return strlen(user);
/haiku/src/servers/launch/
H A DLaunchDaemon.cpp77 Session(uid_t user, const BMessenger& target);
137 Session* FindSession(uid_t user) const;
216 void _ForwardEventMessage(uid_t user,
261 Session::Session(uid_t user, const BMessenger& daemon) argument
263 fUser(user),
390 LaunchDaemon::FindSession(uid_t user) const
392 SessionMap::const_iterator found = fSessions.find(user);
463 // System-wide user specific jobs
666 uid_t user = _GetUserID(message); local
667 if (user <
727 uid_t user = _GetUserID(message); local
782 uid_t user = _GetUserID(message); local
818 uid_t user = _GetUserID(message); local
849 uid_t user = _GetUserID(message); local
881 uid_t user = _GetUserID(message); local
913 uid_t user = _GetUserID(message); local
937 uid_t user = _GetUserID(message); local
963 uid_t user = _GetUserID(message); local
1009 uid_t user = _GetUserID(message); local
1046 uid_t user = _GetUserID(message); local
1076 uid_t user = _GetUserID(message); local
1104 uid_t user = _GetUserID(message); local
1141 uid_t user = _GetUserID(message); local
1170 uid_t user = _GetUserID(message); local
1217 uid_t user = _GetUserID(message); local
1258 uid_t user = _GetUserID(message); local
1342 uid_t user = (uid_t)message->GetInt32("user", -1); local
1925 _ForwardEventMessage(uid_t user, BMessage* message) argument
[all...]

Completed in 180 milliseconds

12345