/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/ |
PasswordCallbackTest.java | 39 char[] pwd = {'a', 'b', 'c'}; local 41 p.setPassword(pwd);
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
KeyManagerImplTest.java | 63 char[] pwd = JSSETestData.KS_PASSWORD; local 65 KeyManagerImpl km = new KeyManagerImpl(ks, pwd);
|
DigitalSignatureTest.java | 39 char[] pwd = JSSETestData.KS_PASSWORD; local 43 new KeyStore.PasswordProtection(pwd));
|
ServerHandshakeImplTest.java | 44 char[] pwd = JSSETestData.KS_PASSWORD; local 48 kmf.init(ks, pwd);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
KeyManagerFactoryImpl.java | 44 private char[] pwd; field in class:KeyManagerFactoryImpl 57 pwd = password.clone(); 59 pwd = EmptyArray.CHAR; 76 pwd = EmptyArray.CHAR; 78 pwd = keyStorePwd.toCharArray(); 81 keyStore.load(new FileInputStream(new File(keyStoreName)), pwd); 115 return new KeyManager[] { new KeyManagerImpl(keyStore, pwd) };
|
DefaultSSLContextImpl.java | 73 char[] pwd = (keystorepwd == null) ? null : keystorepwd.toCharArray(); local 79 ks.load(is, pwd); 92 kmf.init(ks, pwd); 109 char[] pwd = (keystorepwd == null) ? null : keystorepwd.toCharArray(); local 116 ks.load(is, pwd);
|
/cts/apps/CtsVerifier/jni/verifier/ |
com_android_cts_verifier_os_FileUtils.cpp | 22 #include <pwd.h> 73 struct passwd *pwd = getpwuid(uid); local 74 return env->NewStringUTF(pwd->pw_name);
|
/cts/tests/jni/ |
android_os_cts_FileUtils.cpp | 19 #include <pwd.h> 82 struct passwd *pwd = getpwuid(uid); local 83 return env->NewStringUTF(pwd->pw_name);
|
/cts/tests/tests/permission/jni/ |
android_permission_cts_FileUtils.cpp | 22 #include <pwd.h> 79 struct passwd *pwd = getpwuid(uid); local 80 return env->NewStringUTF(pwd->pw_name);
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
PasswordCallbackTest.java | 44 char[] pwd = {'a','b','c'}; local 45 pc.setPassword(pwd); 46 assertEquals(new String(pwd), new String(pc.getPassword())); 48 assertEquals(pwd.length, pc.getPassword().length); 49 assertFalse(new String(pwd).equals(pc.getPassword()));
|
/libcore/luni/src/main/java/java/security/ |
KeyStoreSpi.java | 303 char[] pwd; local 307 pwd = ((KeyStore.PasswordProtection) pp).getPassword(); 308 engineLoad(null, pwd); 316 pwd = getPasswordFromCallBack(pp); 317 engineLoad(null, pwd);
|
/system/core/sh/ |
cd.c | 52 * The cd and pwd commands. 103 error("PWD not set"); 263 setvar("PWD", curdir, VEXPORT); 265 unsetvar("PWD", 0); 295 setvar("PWD", curdir, VEXPORT); 300 * Posix says the default should be 'pwd -L' (as below), however 323 setvar("PWD", curdir, VEXPORT); 341 char *pwd; local 350 pwd = getenv("PWD"); 369 char *pwd; local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl3Test.java | 114 char[] pwd = { 'p', 'a', 's', 's', 'w', 'd' }; local 115 KeyStore.PasswordProtection pPath = new KeyStore.PasswordProtection(pwd); 134 kss[i].setKeyEntry(aliases[3], pk, pwd, certs); 138 kss[i].store(null, pwd); 147 kss[i].store(bos, pwd); 150 kss1[i].load(bis, pwd); 190 assertEquals("Incorrect entry", kss[i].getKey(aliases[3], pwd), 191 kss1[i].getKey(aliases[3], pwd));
|
KeyStore_Impl1Test.java | 470 char[] pwd = { 'p', 'a', 's', 's', 'w', 'd' }; local 471 KeyStore.PasswordProtection pPath = new KeyStore.PasswordProtection(pwd); 510 key = kss[i].getKey(aliases[j], pwd); 583 char [] pwd = {'p', 'a', 's', 's', 'w', 'd'}; local 584 KeyStore.PasswordProtection pPath = new KeyStore.PasswordProtection(pwd); 606 key1 = kss[i].getKey(aliases[j], pwd); 735 char[] pwd = new char[0]; local 746 kss[i].setKeyEntry("ZZZ", null, pwd, certs); 751 kss[i].setKeyEntry("ZZZ", key, pwd, null); 757 kss[i].setKeyEntry("ZZZ", key, pwd, 846 char[] pwd = { 'p', 'a', 's', 's', 'w', 'd' }; local 910 char [] pwd = {'p', 'a', 's', 's', 'w', 'd'}; local 964 char [] pwd = new char[0]; local [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
DigestScheme.java | 294 String pwd = credentials.getPassword(); local 297 StringBuilder tmp = new StringBuilder(uname.length() + realm.length() + pwd.length() + 2); 302 tmp.append(pwd);
|
/external/iptables/extensions/ |
libxt_owner.c | 8 #include <pwd.h> 139 struct passwd *pwd; local 146 if ((pwd = getpwnam(cb->arg)) != NULL) 147 id = pwd->pw_uid; 186 struct passwd *pwd; local 193 if ((pwd = getpwnam(cb->arg)) != NULL) 194 id = pwd->pw_uid; 244 struct passwd *pwd; local 251 if ((pwd = getpwnam(cb->arg)) != NULL) 252 from = to = pwd->pw_uid 301 struct passwd *pwd = getpwuid(info->uid); local 350 struct passwd *pwd = getpwuid(info->uid); local 399 const struct passwd *pwd = getpwuid(info->uid_min); local [all...] |
/external/ppp/pppd/ |
upap.c | 621 char *user, *pwd, *msg; local 650 pwd = (char *) (p + ulen + 2); 657 print_string(pwd, wlen, printer, arg);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStore3Test.java | 167 char[] pwd = new char[] { '1', '2', '3', '4', '5', '6' }; local 171 ks.load(fis, pwd); 172 Builder b = Builder.newInstance(ks, new PasswordProtection(pwd)); 180 new KeyStore.PasswordProtection(pwd));
|
KeyStoreTest.java | 154 char[] pwd = new char[0]; local 167 res = kss[i].getKey(alias, pwd).getEncoded(); 174 res = kss[i].getKey(alias, pwd).getEncoded(); 255 keyStore.load(null, "pwd".toCharArray()); 264 keyStore.setKeyEntry(alias, secretKey, "pwd".toCharArray(), null);
|
/external/ipsec-tools/src/racoon/ |
isakmp_xauth.h | 69 char *pwd; member in struct:xauth_state::__anon6743::authgeneric
|
isakmp_xauth.c | 48 #include <pwd.h> 230 outlet = &xst->authdata.generic.pwd; 255 (xst->authdata.generic.pwd != NULL)) { 259 char *pwd = xst->authdata.generic.pwd; local 264 "Got username \"%s\", password \"%s\"\n", usr, pwd); 278 res = privsep_xauth_login_system(usr, pwd); 282 res = xauth_login_radius(iph1, usr, pwd); 288 iph1->remote, usr, pwd); 293 res = xauth_login_ldap(iph1, usr, pwd); 1459 vchar_t *pwd = NULL; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaMmiCode.java | 63 String pwd; // For password registration field in class:CdmaMmiCode 116 ret.pwd = makeEmptyNull(m.group(MATCH_GROUP_PWD_CONFIRM));
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 153 char[] pwd = new char[0]; local 166 res = kss[i].getKey(alias, pwd).getEncoded(); 173 res = kss[i].getKey(alias, pwd).getEncoded(); 254 keyStore.load(null, "pwd".toCharArray()); 263 keyStore.setKeyEntry(alias, secretKey, "pwd".toCharArray(), null);
|
/external/dropbear/ |
scp.c | 278 struct passwd *pwd; variable in typeref:struct:passwd 391 if ((pwd = getpwuid(userid = getuid())) == NULL) 505 suser = pwd->pw_name; 573 suser = pwd->pw_name;
|
/external/mksh/src/ |
main.c | 250 /* Figure out the current working directory and set $PWD */ 253 struct tbl *pwd_v = global("PWD"); 254 char *pwd = str_val(pwd_v); local 255 char *pwdx = pwd; 257 /* Try to use existing $PWD if it is valid */ 258 if (pwd[0] != '/' || 259 stat(pwd, &s_pwd) < 0 || stat(".", &s_dot) < 0 || 266 /* Only set pwd if we know where we are or if it had a 269 if (current_wd[0] || pwd != null) [all...] |