/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/ |
H A D | IMAPMailbox.cpp | 28 IMAPMailbox::AddMessageEntry(uint32 index, uint32 uid, uint32 flags, in AddMessageEntry() argument 32 std::make_pair(uid, MessageFlagsAndSize(flags, size))); in AddMessageEntry() 35 fUIDs[index] = uid; in AddMessageEntry() 45 uint32 uid = fUIDs[index]; in RemoveMessageEntry() local 46 fMessageEntries.erase(uid); in RemoveMessageEntry() 63 IMAPMailbox::MessageFlags(uint32 uid) const in MessageFlags() 65 MessageEntryMap::const_iterator found = fMessageEntries.find(uid); in MessageFlags() 74 IMAPMailbox::MessageSize(uint32 uid) const in MessageSize() 76 MessageEntryMap::const_iterator found = fMessageEntries.find(uid); in MessageSize() 88 fromToken.uid); in MessageAdded() [all …]
|
H A D | IMAPFolder.cpp | 147 uint32 uid; in Init() member 160 uint32 uid = B_BENDIAN_TO_HOST_INT32(entries[i].uid); in Init() local 163 fFlagsMap.insert(std::make_pair(uid, flags)); in Init() 199 IMAPFolder::GetMessageEntryRef(uint32 uid, entry_ref& ref) in GetMessageEntryRef() argument 202 return _GetMessageEntryRef(uid, ref); in GetMessageEntryRef() 207 IMAPFolder::GetMessageUID(const entry_ref& ref, uint32& uid) const in GetMessageUID() 214 uid = _ReadUniqueID(node); in GetMessageUID() 215 if (uid == 0) in GetMessageUID() 223 IMAPFolder::MessageFlags(uint32 uid) in MessageFlags() argument 226 UIDToFlagsMap::const_iterator found = fFlagsMap.find(uid); in MessageFlags() [all …]
|
H A D | IMAPFolder.h | 31 uint32 uid; member 69 status_t GetMessageEntryRef(uint32 uid, entry_ref& ref); 71 uint32& uid) const; 72 uint32 MessageFlags(uint32 uid); 74 void SyncMessageFlags(uint32 uid, 82 uint32 fetchFlags, uint32 uid, 88 status_t StoreBody(uint32 uid, BDataIO& stream, 92 uint32 uid); 94 uint32 uid, status_t error); 96 void DeleteMessage(uint32 uid); [all …]
|
H A D | IMAPMailbox.h | 26 void AddMessageEntry(uint32 index, uint32 uid, 31 uint32 MessageFlags(uint32 uid) const; 32 uint32 MessageSize(uint32 uid) const;
|
H A D | IMAPConnectionWorker.cpp | 219 virtual void FetchedData(uint32 fetchFlags, uint32 uid, uint32 flags) in FetchedData() argument 222 fFolder.BodyStored(fRef, fFile, uid); in FetchedData() 287 virtual void FetchedData(uint32 fetchFlags, uint32 uid, uint32 flags) in FetchedData() argument 290 fFolder.MessageStored(fRef, fFile, fetchFlags, uid, flags); in FetchedData() 292 uint32 size = fMailbox.MessageSize(uid); in FetchedData() 294 fFetchBodies.push_back(uid); in FetchedData() 386 B_PRIx32 "\n", entries[i].uid, entries[i].size, in Process() 388 fMailbox->AddMessageEntry(from + i, entries[i].uid, in Process() 391 if (entries[i].uid > fFolder->LastUID()) { in Process() 393 fUIDsToFetch.push_back(entries[i].uid); in Process() [all …]
|
H A D | IMAPProtocol.cpp | 175 IMAPProtocol::UpdateMessageFlags(IMAPFolder& folder, uint32 uid, uint32 flags) in UpdateMessageFlags() argument 184 return worker->EnqueueUpdateFlags(folder, uid, flags); in UpdateMessageFlags() 244 uint32 uid; in HandleFetchBody() local 245 status_t status = folder->GetMessageUID(ref, uid); in HandleFetchBody() 254 return worker->EnqueueFetchBody(*folder, uid, replyTo); in HandleFetchBody()
|
/haiku/src/bin/multiuser/ |
H A D | passwd.cpp | 94 uid_t uid = getuid(); in main() local 97 if (uid != 0) { in main() 117 if (uid != 0 && passwd->pw_uid != uid) { in main() 123 passwd = getpwuid(uid); in main() 126 "%d.\n", uid); in main() 134 if (uid != 0) { in main()
|
H A D | useradd.cpp | 195 uid_t uid = 1000; in main() local 196 while (getpwuid(uid) != NULL) in main() 197 uid++; in main() 201 if (message.AddInt32("uid", uid) != B_OK in main()
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | security.c | 1141 static BOOL staticgroupmember(struct SECURITY_CONTEXT *scx, uid_t uid, gid_t gid) in staticgroupmember() argument 1149 if (uid) { in staticgroupmember() 1151 while (user && ((uid_t)user->xid != uid)) in staticgroupmember() 1174 static BOOL groupmember(struct SECURITY_CONTEXT *scx, uid_t uid, gid_t gid) in groupmember() argument 1200 ismember = staticgroupmember(scx, uid, gid); in groupmember() 1240 static BOOL groupmember(struct SECURITY_CONTEXT *scx, uid_t uid, gid_t gid) in groupmember() argument 1268 static BOOL groupmember(struct SECURITY_CONTEXT *scx, uid_t uid, gid_t gid) in groupmember() argument 1284 ismember = staticgroupmember(scx, uid, gid); in groupmember() 1510 return ((cached->uid != item->uid) in compare() 1519 return ((cached->uid != item->uid) in compare() [all …]
|
H A D | security.h | 56 uid_t uid; member 94 uid_t uid; member 145 uid_t uid; /* uid of user requesting (not the mounter) */ member 238 uid_t uid, gid_t gid, ntfs_inode *dir_ni, 242 uid_t uid, gid_t gid, mode_t mode, BOOL isdir); 245 uid_t uid, gid_t gid); 247 ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode); 250 ntfs_inode *ni, uid_t uid, gid_t gid, 254 ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode); 266 ntfs_inode *ni, uid_t uid, gid_t gid, [all …]
|
/haiku/src/tests/kits/interface/bshelf/ShelfInspector/ |
H A D | InfoWindow.cpp | 335 int32 uid = item->id; in UpdateLists() local 336 if (IsReplicantLoaded(uid) == false) in UpdateLists() 348 int32 uid; in UpdateLists() local 349 while ((uid = GetReplicantAt(index++)) >= B_OK) in UpdateLists() 352 match_info mi(uid); in UpdateLists() 360 if (GetReplicantName(uid, &rep_info) != B_OK) in UpdateLists() 368 fReplicantList->AddItem(new IDItem(name, uid)); in UpdateLists() 382 status_t InfoWindow :: GetReplicantName(int32 uid, BMessage *reply) const in GetReplicantName() argument 397 uid_specifier.AddInt32("id", uid); in GetReplicantName() 410 bool InfoWindow :: IsReplicantLoaded(int32 uid) const in IsReplicantLoaded() [all …]
|
H A D | InfoWindow.h | 42 status_t GetReplicantName(int32 uid, BMessage *result) const; 43 status_t DeleteReplicant(int32 uid); 44 status_t ImportReplicant(int32 uid); 46 bool IsReplicantLoaded(int32 uid) const;
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | usergroup.cpp | 75 setuid(uid_t uid) in setuid() argument 77 return set_errno_if_necessary(_kern_setreuid(uid, (uid_t)-1, true)); in setuid() 89 seteuid(uid_t uid) in seteuid() argument 91 return set_errno_if_necessary(_kern_setreuid((uid_t)-1, uid, false)); in seteuid()
|
/haiku/src/system/libroot/posix/ |
H A D | pwd.cpp | 55 int32 uid; in query_passwd_entry() local 62 if ((error = reply.FindInt32("uid", &uid)) != B_OK in query_passwd_entry() 72 error = BPrivate::copy_passwd_to_buffer(name, password, uid, gid, home, in query_passwd_entry() 206 getpwuid(uid_t uid) in getpwuid() argument 209 int status = getpwuid_r(uid, &sPasswdBuffer, sPasswdStringBuffer, in getpwuid() 218 getpwuid_r(uid_t uid, struct passwd *passwd, char *buffer, in getpwuid_r() argument 221 return query_passwd_entry(NULL, uid, passwd, buffer, bufferSize, _result); in getpwuid_r()
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | MetadataCache.cpp | 89 MetadataCache::GetAccess(uid_t uid, uint32* allowed) in GetAccess() argument 94 AVLTreeMap<uid_t, AccessEntry>::Iterator it = fAccessCache.Find(uid); in GetAccess() 113 MetadataCache::SetAccess(uid_t uid, uint32 allowed) in SetAccess() argument 116 AVLTreeMap<uid_t, AccessEntry>::Iterator it = fAccessCache.Find(uid); in SetAccess() 125 fAccessCache.Insert(uid, entry); in SetAccess()
|
H A D | MetadataCache.h | 37 status_t GetAccess(uid_t uid, uint32* allowed); 38 void SetAccess(uid_t uid, uint32 allowed);
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/ |
H A D | Commands.cpp | 324 entry.uid = list.NumberAt(i + 1); in HandleUntagged() 334 if (entry.uid == 0) in HandleUntagged() 376 uint32 uid = uids[index]; in FetchCommand() local 377 if (uid != last + 1) in FetchCommand() 380 last = uid; in FetchCommand() 431 uint32 uid = 0; in HandleUntagged() local 436 uid = list.NumberAt(i + 1); in HandleUntagged() 445 fListener->FetchedData(fFlags, uid, flags); in HandleUntagged() 465 SetFlagsCommand::SetFlagsCommand(uint32 uid, uint32 flags) in SetFlagsCommand() argument 467 fUID(uid), in SetFlagsCommand() [all …]
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/ |
H A D | POP3.cpp | 180 const char* uid = toDownload.StringAt(i); in SyncMessages() local 181 int32 toRetrieve = fUniqueIDs.IndexOf(uid); in SyncMessages() 186 printf("POP3: uid %s index %i not found in fUniqueIDs!\n", uid, in SyncMessages() 193 fileName += uid; in SyncMessages() 213 printf("POP3: Failed to download body %s\n ", uid); in SyncMessages() 224 printf("POP3: Failed to download header %s\n ", uid); in SyncMessages() 231 const BString uidStr(uid); in SyncMessages() 239 fManifest.Add(uid); in SyncMessages() 377 POP3Protocol::Login(const char* uid, const char* password, int method) in Login() argument 382 errorMessage.ReplaceFirst("%user", uid); in Login() [all …]
|
/haiku/src/bin/network/mount_nfs/ |
H A D | mount_nfs.cpp | 28 uid_t uid; member 93 sscanf (argv[3],"%d",¶ms.uid); in main() 104 params.uid, in main()
|
/haiku/headers/posix/ |
H A D | pwd.h | 36 extern struct passwd *getpwuid(uid_t uid); 37 extern int getpwuid_r(uid_t uid, struct passwd *passwd, char *buffer,
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | Node.cpp | 54 fNode.uid = geteuid(); in Node() 179 Node::SetUID(uint32 uid) in SetUID() argument 181 fNode.uid = uid; in SetUID()
|
/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci_acpi.cpp | 185 const char* uid; in supports_device_acpi() local 198 if (gDeviceManager->get_attr_string(parent, ACPI_DEVICE_UID_ITEM, &uid, false)) { in supports_device_acpi() 203 TRACE("supports_device(hid:%s uid:%s)\n", hid, uid); in supports_device_acpi() 222 TRACE("SDHCI Device found! hid: %s, uid: %s\n", hid, uid); in supports_device_acpi()
|
/haiku/src/add-ons/kernel/bus_managers/acpi/ |
H A D | Module.cpp | 105 char* uid = NULL; in acpi_enumerate_child_devices() local 109 &uid, &cls) == B_OK) { in acpi_enumerate_child_devices() 122 if (uid != NULL) { in acpi_enumerate_child_devices() 125 attrs[attrCount].value.string = uid; in acpi_enumerate_child_devices() 156 free(uid); in acpi_enumerate_child_devices()
|
/haiku/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | AuthenticationServer.cpp | 34 const char* share, uid_t uid, bool badPassword, in GetAuthentication() argument 45 status_t error = request.AddInt32("uid", uid); in GetAuthentication()
|
/haiku/src/add-ons/kernel/drivers/wmi/ |
H A D | WMIAsus.cpp | 75 const char* uid = wmi->get_uid(wmi_cookie); in WMIAsus() local 76 if (uid != NULL && strcmp(uid, ACPI_ASUS_UID_ASUSWMI) == 0) in WMIAsus() 78 TRACE("WMIAsus using _UID %s\n", uid); in WMIAsus()
|