/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
D | dio_append.c | 22 static volatile int *run_child; variable 47 …run_child = SAFE_MMAP(NULL, sizeof(int), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0… in setup() 52 if (run_child) { in cleanup() 53 *run_child = 0; in cleanup() 54 SAFE_MUNMAP((void *)run_child, sizeof(int)); in cleanup() 64 *run_child = 1; in run() 68 io_read_eof(filename, run_child); in run() 85 *run_child = 0; in run()
|
D | dio_sparse.c | 29 static volatile int *run_child; variable 82 …run_child = SAFE_MMAP(NULL, sizeof(int), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0… in setup() 90 if (run_child) { in cleanup() 91 *run_child = 0; in cleanup() 92 SAFE_MUNMAP((void *)run_child, sizeof(int)); in cleanup() 105 *run_child = 1; in run() 109 io_read(filename, filesize, run_child); in run() 115 *run_child = 0; in run()
|
D | dio_truncate.c | 37 static volatile int *run_child; variable 62 while (*run_child) { in dio_read() 107 …run_child = SAFE_MMAP(NULL, sizeof(int), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0… in setup() 117 if (run_child) { in cleanup() 118 *run_child = 0; in cleanup() 119 SAFE_MUNMAP((void *)run_child, sizeof(int)); in cleanup() 131 *run_child = 1; in run() 164 *run_child = 0; in run()
|
D | aiodio_append.c | 27 static volatile int *run_child; variable 129 …run_child = SAFE_MMAP(NULL, sizeof(int), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0… in setup() 134 if (run_child) { in cleanup() 135 *run_child = 0; in cleanup() 136 SAFE_MUNMAP((void *)run_child, sizeof(int)); in cleanup() 146 *run_child = 1; in run() 150 io_read_eof(filename, run_child); in run() 182 *run_child = 0; in run()
|
D | aiodio_sparse.c | 31 static volatile int *run_child; variable 173 run_child = SAFE_MMAP(NULL, sizeof(int), PROT_READ | PROT_WRITE, in setup() 182 if (run_child) { in cleanup() 183 *run_child = 0; in cleanup() 184 SAFE_MUNMAP((void *)run_child, sizeof(int)); in cleanup() 193 *run_child = 1; in run() 197 io_read(filename, filesize, run_child); in run() 224 *run_child = 0; in run()
|
D | common.h | 58 static inline void io_read(const char *filename, int filesize, volatile int *run_child) in io_read() argument 90 if (!*run_child || !tst_remaining_runtime()) in io_read() 99 static inline void io_read_eof(const char *filename, volatile int *run_child) in io_read_eof() argument 110 while (*run_child) { in io_read_eof()
|
/third_party/rust/crates/env_logger/tests/ |
D | regexp_filter.rs | 22 fn run_child(rust_log: String) -> bool { in run_child() function 35 if !run_child(rust_log.to_string()) { in assert_message_printed() 41 if run_child(rust_log.to_string()) { in assert_message_not_printed()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise08.c | 153 static pid_t run_child(int advice) in run_child() function 190 pid = run_child(MADV_DONTDUMP); in run() 197 pid = run_child(MADV_DODUMP); in run()
|
D | madvise07.c | 38 static void run_child(void) in run_child() function 77 run_child(); in run()
|
/third_party/ltp/testcases/kernel/syscalls/setreuid/ |
D | setreuid05.c | 85 static void run_child(const struct test_data_t *tc) in run_child() function 108 run_child(test_data + i); in run()
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify03.c | 159 static void run_child(void) in run_child() function 240 run_child(); in test_fanotify()
|
/third_party/ltp/pan/ |
D | ltp-pan.c | 100 static pid_t run_child(struct coll_entry *colle, struct tag_pgrp *active, 548 run_child(coll->ary[c], running + i, quiet_mode, in main() 904 run_child(struct coll_entry *colle, struct tag_pgrp *active, int quiet_mode, in run_child() function
|
/third_party/python/PC/ |
D | launcher.c | 756 run_child(wchar_t * cmdline) in run_child() function 834 run_child(executable); in invoke_child() 857 run_child(child_command); in invoke_child()
|
/third_party/python/Lib/test/ |
D | test_builtin.py | 1991 def run_child(self, child, terminal_input): member in PtyTests 2076 lines = self.run_child(child, terminal_input + b"\r\n") 2109 lines = self.run_child(child, b"quux\r")
|