HomeSort by relevance Sort by last modified time
    Searched defs:pw (Results 1 - 25 of 296) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
7-1.c 26 struct passwd *pw; local
29 while ((pw = getpwent()) != NULL)
30 if (strcmp(pw->pw_name, "root"))
33 if (pw == NULL) {
38 if (seteuid(pw->pw_uid) != 0) {
49 pw->pw_name, (int)geteuid());
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
3-1.c 33 struct passwd *pw; local
36 while ((pw = getpwent()) != NULL)
37 if (strcmp(pw->pw_name, "root"))
40 if (pw == NULL) {
45 if (setuid(pw->pw_uid) != 0) {
56 pw->pw_name, (int)getuid(), (int)geteuid());
12-1.c 30 struct passwd *pw; local
33 while ((pw = getpwent()) != NULL)
34 if (strcmp(pw->pw_name, "root"))
37 if (pw == NULL) {
42 if (setuid(pw->pw_uid) != 0) {
53 pw->pw_name, (int)geteuid(), (int)getuid());
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
6-1.c 34 struct passwd *pw; local
37 while ((pw = getpwent()) != NULL)
38 if (pw->pw_uid != 0)
41 if (pw == NULL) {
46 if (setgid(pw->pw_gid) != 0) {
55 if (setuid(pw->pw_uid) != 0) {
66 pw->pw_name, geteuid(), getuid());
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
26-1.c 26 struct passwd *pw; local
29 while ((pw = getpwent()) != NULL)
30 if (strcmp(pw->pw_name, "root"))
33 if (pw == NULL) {
38 if (seteuid(pw->pw_uid) != 0) {
49 pw->pw_name, (int)geteuid());
23-6.c 27 struct passwd *pw; local
30 while ((pw = getpwent()) != NULL)
31 if (strcmp(pw->pw_name, "root"))
34 if (pw == NULL) {
39 if (setuid(pw->pw_uid) != 0) {
50 pw->pw_name, (int)geteuid(), (int)getuid());
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
20-1.c 32 struct passwd *pw; local
35 while ((pw = getpwent()) != NULL)
36 if (strcmp(pw->pw_name, "root"))
39 if (pw == NULL) {
44 if (setuid(pw->pw_uid) != 0) {
55 pw->pw_name, (int)geteuid(), (int)getuid());
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
32-1.c 33 struct passwd *pw; local
36 while ((pw = getpwent()) != NULL)
37 if (strcmp(pw->pw_name, "root"))
40 if (pw == NULL) {
45 if (seteuid(pw->pw_uid) != 0) {
56 pw->pw_name, (int)geteuid());
34-1.c 33 struct passwd *pw; local
36 while ((pw = getpwent()) != NULL)
37 if (strcmp(pw->pw_name, "root"))
40 if (pw == NULL) {
45 if (seteuid(pw->pw_uid) != 0) {
56 pw->pw_name, (int)geteuid());
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
9-1.c 38 struct passwd *pw; local
48 while ((pw = getpwent()) != NULL)
49 if (strcmp(pw->pw_name, "root") && pw->pw_uid != getuid())
52 if (pw == NULL) {
57 if (seteuid(pw->pw_uid) != 0) {
67 printf("Testing with user '%s' (uid: %i)\n", pw->pw_name, pw->pw_uid);
  /external/ltp/testcases/kernel/syscalls/chdir/
chdir03.c 67 struct passwd *pw; local
69 pw = SAFE_GETPWNAM("nobody");
70 nobody_uid = pw->pw_uid;
  /external/ltp/testcases/kernel/syscalls/fchdir/
fchdir03.c 60 struct passwd *pw; local
62 pw = SAFE_GETPWNAM("nobody");
63 SAFE_SETEUID(pw->pw_uid);
  /external/ltp/testcases/kernel/syscalls/mkdir/
mkdir05.c 64 struct passwd *pw; local
66 pw = SAFE_GETPWNAM("nobody");
68 SAFE_SETUID(pw->pw_uid);
  /external/ltp/testcases/kernel/syscalls/setuid/
setuid03.c 48 struct passwd *pw; local
51 pw = SAFE_GETPWNAM("nobody");
52 uid = pw->pw_uid;
  /external/ltp/testcases/kernel/syscalls/umount/
umount03.c 53 struct passwd *pw; local
59 pw = SAFE_GETPWNAM("nobody");
60 SAFE_SETEUID(pw->pw_uid);
  /external/ltp/testcases/kernel/syscalls/vhangup/
vhangup01.c 44 struct passwd *pw; local
46 pw = SAFE_GETPWNAM("nobody");
47 nobody_uid = pw->pw_uid;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/
15-1.c 29 struct passwd *pw; local
35 while ((pw = getpwent()) != NULL)
36 if (strcmp(pw->pw_name, "root"))
39 if (pw == NULL) {
49 if (seteuid(pw->pw_uid) != 0) {
60 pw->pw_name, (int)geteuid());
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/speculative/
15-1.c 29 struct passwd *pw; local
35 while ((pw = getpwent()) != NULL)
36 if (strcmp(pw->pw_name, "root"))
39 if (pw == NULL) {
49 if (seteuid(pw->pw_uid) != 0) {
60 pw->pw_name, (int)geteuid());
  /dalvik/dx/tests/131-perf/
ClassGen.java 28 PrintWriter pw = new PrintWriter(f); local
29 pw.println("class Clazz" + file + " {");
31 pw.println(" public static int f" + field + ";");
34 pw.println(" boolean m" + method + "_" + (file%(end/2)) + "() {"
36 pw.println(" int max = Thread.MAX_PRIORITY;");
37 pw.println(" for (int i = 0; i < max; i++) {");
38 pw.println(" System.out.println(\"Hello from: \" + Clazz"
41 pw.println(" Thread.dumpStack();");
42 pw.println(" }");
43 pw.println(" return Thread.holdsLock(this);")
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
PrintWriterPrinterTest.java 66 PrintWriter pw = new PrintWriter(mFile); local
67 new PrintWriterPrinter(pw);
73 PrintWriter pw = new PrintWriter(mFile); local
74 PrintWriterPrinter printWriterPrinter = new PrintWriterPrinter(pw);
76 pw.flush();
77 pw.close();
  /external/jarjar/src/main/com/tonicsystems/jarjar/
StringDumper.java 28 public void run(String classPath, PrintWriter pw) throws IOException {
29 StringReader stringReader = new DumpStringReader(pw);
42 pw.flush();
53 private final PrintWriter pw; field in class:StringDumper.DumpStringReader
56 public DumpStringReader(PrintWriter pw) {
57 this.pw = pw;
64 pw.println(className.replace('/', '.'));
66 pw.print("\t");
68 pw.print(line + ": ")
    [all...]
  /external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/exc/
Utility.java 36 final PrintWriter pw = new PrintWriter(sw); local
37 t.printStackTrace(pw);
  /external/curl/src/
tool_homedir.c 77 struct passwd *pw = getpwuid(geteuid()); local
79 if(pw) {
80 home = pw->pw_dir;
  /external/libcxx/test/std/depr/depr.c.headers/
stdlib_h.pass.cpp 112 wchar_t* pw = 0; local
116 static_assert((std::is_same<decltype(mbtowc(pw,"",0)), int>::value), "");
118 static_assert((std::is_same<decltype(mbstowcs(pw,"",0)), size_t>::value), "");
  /external/libcxx/test/std/language.support/support.runtime/
cstdlib.pass.cpp 104 wchar_t* pw = 0; local
108 static_assert((std::is_same<decltype(std::mbtowc(pw,"",0)), int>::value), "");
110 static_assert((std::is_same<decltype(std::mbstowcs(pw,"",0)), std::size_t>::value), "");

Completed in 958 milliseconds

1 2 3 4 5 6 7 8 91011>>