/test/xts/dcts/communication/softbus_standard/common/ |
H A D | wifi_utils.cpp | 114 int WiFiUtils::ConnectTo(const std::string& ssid, const std::string& passwd)
in ConnectTo() argument 118 deviceConfig.preSharedKey = passwd;
in ConnectTo() 166 int WiFiUtils::ConnectToNew(const std::string& ssid, const std::string& passwd)
in ConnectToNew() argument 170 ret = ConnectTo(ssid, passwd);
in ConnectToNew() 174 int WiFiUtils::EnableThenConnect(const std::string& ssid, const std::string& passwd)
in EnableThenConnect() argument 181 ret = ConnectTo(ssid, passwd);
in EnableThenConnect() 188 int WiFiUtils::DisableThenEnableAndConnect(int delaySeconds, const std::string& ssid, const std::string& passwd)
in DisableThenEnableAndConnect() argument 201 ret = ConnectTo(ssid, passwd);
in DisableThenEnableAndConnect()
|
H A D | wifi_utils.h | 26 static int ConnectTo(const std::string& ssid, const std::string& passwd);
27 static int ConnectToNew(const std::string& ssid, const std::string& passwd);
28 static int EnableThenConnect(const std::string& ssid, const std::string& passwd);
29 static int DisableThenEnableAndConnect(int delaySeconds, const std::string& ssid, const std::string& passwd);
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smbencrypt.c | 144 SMBencrypt(unsigned char *passwd, const unsigned char *c8, unsigned char *p24) in SMBencrypt() argument 153 memcpy(p14, passwd, 14); in SMBencrypt() 169 E_md4hash(const unsigned char *passwd, unsigned char *p16, in E_md4hash() argument 177 if (passwd) /* Password must be converted to NT unicode */ in E_md4hash() 178 len = cifs_strtoUTF16(wpwd, passwd, 128, codepage); in E_md4hash() 192 SMBNTencrypt(unsigned char *passwd, unsigned char *c8, unsigned char *p24, in SMBNTencrypt() argument 201 rc = E_md4hash(passwd, p16, codepage); in SMBNTencrypt()
|
H A D | cifsproto.h | 552 extern int E_md4hash(const unsigned char *passwd, unsigned char *p16, 554 extern int SMBencrypt(unsigned char *passwd, const unsigned char *c8,
|
/kernel/liteos_a/testsuites/unittest/libc/sys/full/ |
H A D | sys_test_019.cpp | 35 struct passwd pwd; in TestCase() 36 struct passwd *user1 = nullptr; in TestCase() 37 struct passwd *user2 = nullptr; in TestCase() 38 struct passwd *user3 = nullptr; in TestCase() 39 struct passwd *user4 = nullptr; in TestCase() 40 struct passwd *user5 = nullptr; in TestCase() 44 CHAR *pathList[] = {"/etc/group", "/etc/passwd"}; in TestCase() 48 ret = PrepareFileEnv(pathList, streamList, streamLen, 2); /* 2, group & passwd */ in TestCase() 51 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase() 105 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase() [all...] |
H A D | sys_test_021.cpp | 35 struct passwd pwd; in TestCase() 36 struct passwd *user1 = nullptr; in TestCase() 37 struct passwd *user2 = nullptr; in TestCase() 38 struct passwd *user3 = nullptr; in TestCase() 39 struct passwd *user4 = nullptr; in TestCase() 40 struct passwd *user5 = nullptr; in TestCase() 44 CHAR *pathList[] = {"/etc/group", "/etc/passwd"}; in TestCase() 48 ret = PrepareFileEnv(pathList, streamList, streamLen, 2); /* 2, group & passwd */ in TestCase() 51 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase() 113 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase() [all...] |
H A D | sys_test_018.cpp | 35 struct passwd *user1 = nullptr; in TestCase() 36 struct passwd *user2 = nullptr; in TestCase() 37 struct passwd *user3 = nullptr; in TestCase() 38 struct passwd *user4 = nullptr; in TestCase() 40 CHAR *pathList[] = {"/etc/group", "/etc/passwd"}; in TestCase() 44 ret = PrepareFileEnv(pathList, streamList, streamLen, 2); /* 2, group & passwd */ in TestCase() 47 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase() 88 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase() 91 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
|
H A D | sys_test_020.cpp | 35 struct passwd *user1 = nullptr; in TestCase() 36 struct passwd *user2 = nullptr; in TestCase() 37 struct passwd *user3 = nullptr; in TestCase() 38 struct passwd *user4 = nullptr; in TestCase() 40 CHAR *pathList[] = {"/etc/group", "/etc/passwd"}; in TestCase() 44 ret = PrepareFileEnv(pathList, streamList, streamLen, 2); /* 2, group & passwd */ in TestCase() 47 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase() 90 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase() 93 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
|
H A D | sys_test_022.cpp | 35 struct passwd *user1 = nullptr; in TestCase() 36 struct passwd *user2 = nullptr; in TestCase() 38 CHAR *pathList[] = {"/etc/group", "/etc/passwd"}; in TestCase() 42 ret = PrepareFileEnv(pathList, streamList, streamLen, 2); /* 2, group & passwd */ in TestCase() 45 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase() 85 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase() 89 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | pwdndk.cpp | 42 struct passwd *p = getpwent();
in Getpwent() 55 struct passwd *getval = getpwent();
in Setpwent() 82 struct passwd *pw = nullptr;
in Getpwnam() 106 struct passwd pwd = {PARAM_0};
in GetpwnamR() 107 struct passwd *p = nullptr;
in GetpwnamR() 122 struct passwd pw = {PARAM_0};
in GetpwuidR() 123 struct passwd *res = nullptr;
in GetpwuidR() 138 struct passwd *ret = nullptr;
in Getpwuid()
|
H A D | grp1ndk.cpp | 59 struct passwd *pwd;
in GetGroupList()
|
H A D | grpndk.cpp | 59 struct passwd *pwd = getpwnam(serverUser);
in GetGroupList()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | smbencrypt.c | 72 E_md4hash(const unsigned char *passwd, unsigned char *p16, in E_md4hash() argument 80 if (passwd) /* Password must be converted to NT unicode */ in E_md4hash() 81 len = cifs_strtoUTF16(wpwd, passwd, 128, codepage); in E_md4hash()
|
H A D | cifsproto.h | 584 extern int E_md4hash(const unsigned char *passwd, unsigned char *p16,
|
/test/xts/hats/telephony/ril/hdi_v1.1_additional/ |
H A D | hdf_ril_hdiService_test_6th.cpp | 3301 simLockInfo.passwd = "1234";
in HWTEST_F() 3325 simLockInfo.passwd = "1234";
in HWTEST_F() 3349 simLockInfo.passwd = "1234";
in HWTEST_F() 3373 simLockInfo.passwd = "1234";
in HWTEST_F() 3397 simLockInfo.passwd = "1234";
in HWTEST_F() 3421 simLockInfo.passwd = "1234";
in HWTEST_F() 3445 simLockInfo.passwd = "1234";
in HWTEST_F() 3469 simLockInfo.passwd = "1234";
in HWTEST_F() 3493 simLockInfo.passwd = "1234";
in HWTEST_F() 3517 simLockInfo.passwd in HWTEST_F() [all...] |
H A D | hdf_ril_hdiService_test_7th.cpp | 1235 simLockInfo.passwd = "1234";
in HWTEST_F() 1261 simLockInfo.passwd = "1234";
in HWTEST_F()
|
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | think-lmi.c | 697 char *auth_str, *passwd; in cert_to_password_store() local 712 passwd = kstrdup(buf, GFP_KERNEL); in cert_to_password_store() 713 if (!passwd) in cert_to_password_store() 717 strip_cr(passwd); in cert_to_password_store() 720 auth_str = kasprintf(GFP_KERNEL, "%s,%s", passwd, setting->signature); in cert_to_password_store() 722 kfree_sensitive(passwd); in cert_to_password_store() 727 kfree_sensitive(passwd); in cert_to_password_store()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | target.c | 71 struct passwd pwd, *result; in target__parse_uid()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | target.c | 99 struct passwd pwd, *result; in target__parse_uid()
|
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/ |
H A D | safesetid-test.c | 97 struct passwd p; in ensure_user_exists() 104 fd=fopen("/etc/passwd","a"); in ensure_user_exists() 333 // /etc/passwd or flush policies that were added to the LSM. in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/safesetid/ |
H A D | safesetid-test.c | 109 struct passwd p; in ensure_user_exists() 116 fd=fopen("/etc/passwd","a"); in ensure_user_exists() 539 // /etc/passwd or flush policies that were added to the LSM. in main()
|
/test/xts/hats/telephony/ril/hdi_v1.0/ |
H A D | hdf_ril_hdiService_test.cpp | 4638 simLockInfo.passwd = "1234"; in HWTEST_F() 4658 simLockInfo.passwd = "1234"; in HWTEST_F()
|