Searched refs:user (Results 1 - 25 of 124) 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));
H A Diovec_support.h22 generic_size_t size, bool user = false)
25 if (user)
30 return vm_memcpy_to_physical(dest, (const void*)src, size, user);
32 return vm_memcpy_from_physical((void*)dest, src, size, user);
/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);
/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/system/kernel/arch/arm64/
H A DPMAPPhysicalPageMapper.cpp39 PMAPPhysicalPageMapper::MemcpyFromPhysical(void* to, phys_addr_t from, size_t length, bool user)
41 if (user)
42 panic("MemcpyFromPhysical user not impl");
52 PMAPPhysicalPageMapper::MemcpyToPhysical(phys_addr_t to, const void* from, size_t length, bool user)
54 if (user)
55 panic("MemcpyToPhysical user not impl");
/haiku/src/apps/serialconnect/
H A DTermView.h51 static int _Damage(VTermRect rect, void* user);
53 int visible, void* user);
55 void* user);
57 void* user);
/haiku/src/add-ons/kernel/drivers/audio/generic/
H A Dutil.h38 bool 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);

Completed in 179 milliseconds

12345