/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open07.c | 164 sprintf(file1, "open03.1.%d", getpid()); in setupfunc_test1() 165 sprintf(file2, "open03.2.%d", getpid()); in setupfunc_test1() 177 sprintf(file1, "open03.3.%d", getpid()); in setupfunc_test2() 178 sprintf(file2, "open03.4.%d", getpid()); in setupfunc_test2() 190 sprintf(file1, "open03.5.%d", getpid()); in setupfunc_test3() 191 sprintf(file2, "open03.6.%d", getpid()); in setupfunc_test3() 192 sprintf(file3, "open03.7.%d", getpid()); in setupfunc_test3() 206 sprintf(file1, "open03.8.%d", getpid()); in setupfunc_test4() 207 sprintf(file2, "open03.9.%d", getpid()); in setupfunc_test4() 208 sprintf(file3, "open03.10.%d", getpid()); in setupfunc_test4() [all …]
|
/third_party/ltp/testcases/kernel/mem/mtest07/ |
D | shm_test.c | 72 dprt("pid[%d]: exiting with %d\n", getpid(),exit_val); \ 141 getpid(), shm_id, shm_addr, cmd); in rm_shared_mem() 143 dprt("pid[%d]: rm_shared_mem(): shmctl unable to remove shm_id[%d]\n", getpid(), shm_id); in rm_shared_mem() 150 dprt("pid[%d]:rm_shared_mem(): shmdt unable to detach addr = %#x\n", getpid(), shm_addr); in rm_shared_mem() 191 getpid(), args->shmkey); in shmat_rd_wr() 198 getpid()); in shmat_rd_wr() 204 "success got segment id %d\n", getpid(), shm_id); in shmat_rd_wr() 211 getpid(), (long)shmat_addr); in shmat_rd_wr() 215 dprt("pid[%d]: do_shmat_shmadt(): content of memory shmat_addr = %s\n", getpid(), shmat_addr); in shmat_rd_wr() 219 getpid(), (long)shmat_addr); in shmat_rd_wr() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/eventfd2/ |
D | eventfd2_03.c | 67 getpid(), fd, cntr); in xsem_wait() 82 fprintf(stdout, "[%u] posting 1 on %d\n", getpid(), fd1); in sem_player() 85 fprintf(stdout, "[%u] waiting on %d\n", getpid(), fd2); in sem_player() 88 fprintf(stdout, "[%u] posting 1 on %d\n", getpid(), fd1); in sem_player() 91 fprintf(stdout, "[%u] waiting on %d\n", getpid(), fd2); in sem_player() 94 fprintf(stdout, "[%u] posting 5 on %d\n", getpid(), fd1); in sem_player() 97 fprintf(stdout, "[%u] waiting 5 times on %d\n", getpid(), fd2); in sem_player()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | forker.c | 186 getpid(); in forker() 212 getpid(); in forker() 262 printf("Starting Pid = %d\n", getpid()); 264 printf("After background() ret:%d, pid = %d\n", ret, getpid()); 269 ncopies, mode, argv[0], ret, getpid()); 272 getpid(), Forker_npids); 275 printf("%d ind:%-2d pid:%d\n", getpid(), ind, Forker_pids[ind]);
|
/third_party/ltp/testcases/kernel/sched/tool/ |
D | trace_sched.c | 145 sprintf(filename, "/proc/%d/stat", getpid()); in get_proc_num() 210 dprt("pid[%d]: exiting with -1\n", getpid()); in thread_func() 230 if ((sched_setscheduler(getpid(), sched_policy, &ssp)) == -1) { in thread_func() 232 dprt("pid[%d]: exiting with -1\n", getpid()); in thread_func() 239 dprt("pid[%d]: exiting with -1\n", getpid()); in thread_func() 243 if ((get_priority = sched_getparam(getpid(), &gsp)) == -1) { in thread_func() 245 dprt("pid[%d]: exiting with -1\n", getpid()); in thread_func() 252 dprt("pid[%d]: exiting with -1\n", getpid()); in thread_func() 263 "Processor last execed on = %d\n\n", getpid(), in thread_func() 271 locargptr->procs_id = getpid(); in thread_func() [all …]
|
/third_party/ltp/lib/newlib_tests/ |
D | test05.c | 14 tst_res(TINFO, "setup() executed by pid %i", getpid()); in setup() 19 tst_res(TINFO, "cleanup() executed by pid %i", getpid()); in cleanup() 28 tst_res(TPASS, "Child (%i) reports", getpid()); in do_test() 31 tst_res(TPASS, "Parent (%i) reports", getpid()); in do_test()
|
D | test06.c | 14 tst_res(TINFO, "setup() executed by pid %i", getpid()); in setup() 19 tst_res(TINFO, "cleanup() executed by pid %i", getpid()); in cleanup() 28 tst_brk(TBROK, "Child pid %i", getpid()); in do_test() 31 tst_res(TPASS, "Parent pid %i", getpid()); in do_test()
|
D | test07.c | 14 tst_res(TINFO, "setup() executed by pid %i", getpid()); in setup() 19 tst_res(TINFO, "cleanup() executed by pid %i", getpid()); in cleanup() 28 tst_res(TPASS, "Child (%i)", getpid()); in do_test()
|
/third_party/gettext/gettext-tools/examples/hello-smalltalk/ |
D | hello.st.in | 32 …Transcript showCr: ((NLS ? 'This program is running as process number %1.') bindWith: self getpid). 36 "Unfortunately I cannot define getpid like this - it gives 37 'C function getpid not defined'. 39 SystemDictionary defineCFunc: 'getpid' 40 withSelectorArgs: 'getpid' 48 getpid
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
D | 17-2.c | 37 if (sched_getparam(getpid(), ¶m) != 0) { in main() 43 old_policy = sched_getscheduler(getpid()); in main() 61 if (sched_getparam(getpid(), ¶m) != 0) { in main() 66 new_policy = sched_getscheduler(getpid()); in main()
|
D | 17-4.c | 36 if (sched_getparam(getpid(), ¶m) == -1) { in main() 42 old_policy = sched_getscheduler(getpid()); in main() 57 if (sched_getparam(getpid(), ¶m) != 0) { in main() 62 new_policy = sched_getscheduler(getpid()); in main()
|
D | 17-3.c | 37 if (sched_getparam(getpid(), ¶m) != 0) { in main() 43 old_policy = sched_getscheduler(getpid()); in main() 60 if (sched_getparam(getpid(), ¶m) != 0) { in main() 65 new_policy = sched_getscheduler(getpid()); in main()
|
D | 17-7.c | 37 if (sched_getparam(getpid(), ¶m) == -1) { in main() 43 old_policy = sched_getscheduler(getpid()); in main() 75 if (sched_getparam(getpid(), ¶m) != 0) { in main() 80 new_policy = sched_getscheduler(getpid()); in main()
|
D | 4-1.c | 26 if (sched_getparam(getpid(), ¶m) != 0) { in main() 31 old_policy = sched_getscheduler(getpid()); in main() 49 if (sched_getparam(getpid(), ¶m) != 0) { in main() 54 test_policy = sched_getscheduler(getpid()); in main()
|
D | 17-6.c | 76 if (sched_getparam(getpid(), ¶m) == -1) { in main() 82 old_policy = sched_getscheduler(getpid()); in main() 98 if (sched_getparam(getpid(), ¶m) != 0) { in main() 103 new_policy = sched_getscheduler(getpid()); in main()
|
D | 17-1.c | 60 if (sched_getparam(getpid(), ¶m) != 0) { in main() 66 old_policy = sched_getscheduler(getpid()); in main() 86 if (sched_getparam(getpid(), ¶m) != 0) { in main() 91 new_policy = sched_getscheduler(getpid()); in main()
|
/third_party/ltp/testcases/kernel/connectors/pec/ |
D | event_generator.c | 89 printf("exec pid: %d\n", getpid()); in gen_exec() 105 printf("fork parent: %d, child: %d\n", getppid(), getpid()); in gen_fork() 124 printf("exit pid: %d exit_code: %d\n", getpid(), 0); in gen_exit() 138 printf("uid pid: %d euid: %d\n", getpid(), ltp_uid); in gen_uid() 147 printf("gid pid: %d egid: %d\n", getpid(), ltp_gid); in gen_gid()
|
/third_party/glib/gio/tests/ |
D | credentials.c | 60 getpid ()); in test_basic() 100 g_assert_cmpuint (native->pid, ==, getpid ()); in test_basic() 116 g_assert_cmpuint (native->cmcred_pid, ==, getpid ()); in test_basic() 124 g_assert_cmpuint (native->unp_pid, ==, getpid ()); in test_basic() 132 g_assert_cmpuint (native->pid, ==, getpid ()); in test_basic() 140 g_assert_cmpuint (ucred_getpid (native), ==, getpid ()); in test_basic()
|
/third_party/flutter/skia/third_party/externals/angle2/util/posix/ |
D | Posix_system_utils.cpp | 47 setpriority(PRIO_PROCESS, getpid(), 10); in SetLowPriorityProcess() 64 setpriority(PRIO_PROCESS, getpid(), -20); in StabilizeCPUForBenchmarking() 77 if (sched_setaffinity(getpid(), sizeof(affinity), &affinity)) in StabilizeCPUForBenchmarking()
|
/third_party/ltp/testcases/kernel/syscalls/futex/ |
D | futex_utils.h | 33 snprintf(name, sizeof(name), "/proc/%i/task/", getpid()); in wait_for_threads() 39 if (atoi(dent->d_name) == getpid() || atoi(dent->d_name) == 0) in wait_for_threads() 43 getpid(), dent->d_name); in wait_for_threads()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 5-1.c | 25 if (sched_getparam(getpid(), ¶m) != 0) { in main() 30 policy = sched_getscheduler(getpid()); in main() 45 if (sched_getparam(getpid(), ¶m) != 0) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/mknodat/ |
D | mknodat01.c | 133 sprintf(testfilepath, PATHNAME"/mknodattestfile%d", getpid()); in setup() 134 sprintf(testfile, "mknodattestfile%d", getpid()); in setup() 135 sprintf(testfile2, "mknodattestfile2%d", getpid()); in setup() 136 sprintf(testfile3, "%s/mknodattestfile3%d", tmpdir, getpid()); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
D | rename01.c | 186 sprintf(fname, "./tfile_%d", getpid()); in setup() 187 sprintf(mname, "./rnfile_%d", getpid()); in setup() 188 sprintf(fdir, "./tdir_%d", getpid()); in setup() 189 sprintf(mdir, "./rndir_%d", getpid()); in setup()
|
D | rename03.c | 187 sprintf(fname, "./tfile_%d", getpid()); in setup() 188 sprintf(mname, "./rnfile_%d", getpid()); in setup() 189 sprintf(fdir, "./tdir_%d", getpid()); in setup() 190 sprintf(mdir, "./rndir_%d", getpid()); in setup()
|
D | rename09.c | 244 sprintf(fdir, "tdir_%d", getpid()); in setup() 245 sprintf(mdir, "rndir_%d", getpid()); in setup() 246 sprintf(fname, "%s/tfile_%d", fdir, getpid()); in setup() 247 sprintf(mname, "%s/rnfile_%d", mdir, getpid()); in setup()
|