/system/extras/su/ |
su.c | 44 struct passwd *pw; local 50 pw = getpwnam(argv[1]); 52 if(pw == 0) { 55 uid = pw->pw_uid; 56 gid = pw->pw_gid;
|
/cts/tests/tests/util/src/android/util/cts/ |
PrintWriterPrinterTest.java | 58 PrintWriter pw = new PrintWriter(mFile); local 59 printWriterPrinter = new PrintWriterPrinter(pw); 74 PrintWriter pw = null; local 76 pw = new PrintWriter(mFile); 77 printWriterPrinter = new PrintWriterPrinter(pw); 82 pw.flush(); 83 pw.close();
|
/system/core/toolbox/ |
chown.c | 32 struct passwd *pw; local 37 pw = getpwnam(user); 38 if (pw != NULL) { 39 uid = pw->pw_uid;
|
id.c | 10 struct passwd *pw = getpwuid(uid); local 12 if (pw) { 13 printf("%d(%s)", uid, pw->pw_name);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
Log.java | 48 PrintWriter pw = new PrintWriter(sw); local 49 t.printStackTrace(pw); 50 pw.flush();
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldPipedWriterTest.java | 35 public PReader(PipedWriter pw) { 37 pr = new PipedReader(pw); 74 PipedWriter pw; field in class:OldPipedWriterTest 78 pw = new PipedWriter(); 79 assertNotNull(pw); 81 pw.close(); 91 pw = new PipedWriter(rd); 99 pw.write(testBuf); 104 pw.close(); 110 pw = new PipedWriter(rd) [all...] |
/packages/apps/Exchange/src/com/android/exchange/utility/ |
FileLogger.java | 60 PrintWriter pw = new PrintWriter(sLogWriter); local 61 e.printStackTrace(pw); 62 pw.flush();
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyFormatter.java | 109 PrintWriter pw = new PrintWriterWithHeader(header); local 110 thrown.printStackTrace(pw); 111 sb.append(pw.toString());
|
/libcore/luni/src/main/java/java/util/logging/ |
SimpleFormatter.java | 57 PrintWriter pw = null; local 60 pw = new PrintWriter(sw); 61 t.printStackTrace(pw); 64 IoUtils.closeQuietly(pw);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
PrintWriterTest.java | 58 PrintWriter pw; field in class:PrintWriterTest 72 pw.println("Random Chars"); 73 pw.write("Hello World"); 74 pw.flush(); 94 pw = new PrintWriter(bao, true); 95 pw.println("Random Chars"); 96 pw.write("Hello World"); 102 pw.flush(); 121 pw = new PrintWriter(sw = new Support_StringWriter()); 122 pw.print("Hello") [all...] |
PipedWriterTest.java | 31 public PReader(PipedWriter pw) { 33 pr = new PipedReader(pw); 65 PipedWriter pw; field in class:PipedWriterTest 83 pw = new PipedWriter(rd); 86 pw.write(buf); 87 pw.close(); 101 pw = new PipedWriter(rd); 103 pw.close(); 105 pw.write(buf); 120 pw = new PipedWriter() 318 final PipedWriter pw = new PipedWriter(); local 377 final PipedWriter pw = new PipedWriter(); local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
DefaultErrorHandler.java | 56 public DefaultErrorHandler(PrintWriter pw) 58 m_pw = pw; 64 public DefaultErrorHandler(PrintStream pw) 66 m_pw = new PrintWriter(pw, true); 119 PrintWriter pw = getErrorWriter(); local 121 printLocation(pw, exception); 122 pw.println("Parser warning: " + exception.getMessage()); 200 PrintWriter pw = getErrorWriter(); local 202 printLocation(pw, exception); 203 pw.println(exception.getMessage()) 236 PrintWriter pw = getErrorWriter(); local 271 PrintWriter pw = getErrorWriter(); local [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
InvocationTargetExceptionTest.java | 262 PrintWriter pw; local 266 pw = new PrintWriter(caw); 269 ite.printStackTrace(pw); 274 pw.close(); 277 pw = new PrintWriter(bao); 280 ite.printStackTrace(pw); 282 pw.flush(); // Test will fail if this line removed.
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
InvocationTargetExceptionTest.java | 217 PrintWriter pw; local 221 pw = new PrintWriter(caw); 224 ite.printStackTrace(pw); 229 pw.close(); 232 pw = new PrintWriter(bao); 235 ite.printStackTrace(pw); 237 pw.flush(); // Test will fail if this line removed.
|
/external/dropbear/ |
auth.h | 95 struct passwd * pw; member in struct:AuthState
|
cli-kex.c | 158 struct passwd * pw = NULL; local 159 pw = getpwuid(getuid()); 160 if (pw) { 161 homedir = pw->pw_dir;
|
cli-runopts.c | 325 struct passwd *pw = NULL; local 345 pw = getpwuid(uid); 346 if (pw == NULL || pw->pw_name == NULL) { 350 cli_opts.username = m_strdup(pw->pw_name);
|
dropbearkey.c | 302 struct passwd * pw = NULL; local 325 pw = getpwuid(getuid()); 326 if (pw) { 327 username = pw->pw_name;
|
/external/javasqlite/src/main/java/SQLite/ |
Shell.java | 29 PrintWriter pw; field in class:Shell 40 public Shell(PrintWriter pw, PrintWriter err) { 41 this.pw = pw; 46 pw = new PrintWriter(ps); 51 Shell s = new Shell(this.pw, this.err); 183 pw.println(""); 186 pw.println(cols[i] + " = " + 202 pw.print(csep + cols[i]); 207 pw.println("") [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
fft_rx4_long.cpp | 229 const Int32 *pw = W_256rx4; local 288 exp_jw1 = (*pw++); 289 exp_jw2 = (*pw++); 290 exp_jw3 = (*pw++);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ThrowableTest.java | 166 PrintWriter pw = new PrintWriter(bao); local 168 x.printStackTrace(pw); 169 pw.close();
|
/frameworks/base/keystore/java/android/security/ |
Credentials.java | 83 PEMWriter pw = new PEMWriter(writer); local 85 pw.writeObject(o); 87 pw.close();
|
/external/dbus/bus/ |
activation-helper.c | 188 struct passwd *pw; local 190 pw = NULL; 196 pw = getpwnam(dbus_user); 197 if (!pw) 204 if (pw->pw_uid != uid) 313 struct passwd *pw; local 316 pw = getpwnam (user); 317 if (!pw) 325 if (initgroups (user, pw->pw_gid)) 333 if (setgid (pw->pw_gid) [all...] |
/external/e2fsprogs/lib/e2p/ |
ls.c | 26 struct passwd *pw; local 29 pw = getpwuid (uid); 30 if (pw == NULL) 33 fprintf(f, "(user %s)\n", pw->pw_name);
|
/external/iproute2/ip/ |
iptuntap.c | 142 struct passwd *pw = getpwnam(*argv); local 143 if (!pw) { 147 *uid = pw->pw_uid;
|