| /third_party/musl/libc-test/src/regression/ |
| H A D | malloc-double-free-check.c | 29 static int child(void) in child() function 49 ret = child(); in start_child() 50 t_error("child process normally out with %d\n", ret); in start_child() 94 t_error("%s child process out with %s\n", argv[0], strsignal(WTERMSIG(status))); in main() 98 t_error("%s child process finished normally\n", argv[0]); in main()
|
| /third_party/musl/src/thread/s390x/ |
| H A D | clone.s | 29 # save fn and arg to child stack 48 # we're the child. call fn(arg)
|
| /third_party/ltp/testcases/kernel/syscalls/setpgid/ |
| H A D | setpgid01.c | 94 static int wait4child(pid_t child) in wait4child() argument 98 if (waitpid(child, &status, 0) == -1) in wait4child() 123 "child process: %s\n", strerror(TEST_ERRNO)); in setpgid_test2()
|
| /third_party/ltp/testcases/kernel/syscalls/ioctl/ |
| H A D | ioctl_ns06.c | 13 * child is created in a new user namespace. That's checked by 48 static int child(void *arg LTP_ATTRIBUTE_UNUSED) in child() function 58 pid_t pid = ltp_clone(CLONE_NEWUSER | SIGCHLD, &child, 0, in run() 87 tst_res(TFAIL, "child and parent have same inode"); in run() 89 tst_res(TPASS, "child and parent are consistent"); in run()
|
| H A D | ioctl_ns05.c | 14 * one. Also child thinks its pid is 1. 47 static int child(void *arg LTP_ATTRIBUTE_UNUSED) in child() function 50 tst_res(TFAIL, "child should think its pid is 1"); in child() 52 tst_res(TPASS, "child thinks its pid is 1"); in child() 59 pid_t pid = ltp_clone(CLONE_NEWPID | SIGCHLD, &child, 0, in run() 91 tst_res(TFAIL, "child and parent have same inode"); in run() 93 tst_res(TPASS, "child and parent are consistent"); in run()
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/ |
| H A D | 4-1.c | 28 * * Parent process waits for the child. 51 /* Max memory for child is 1MB */ 55 * The child process - consume memory and exit with 58 static void child(void) in child() function 91 * Exit from this child process with the return code in child() 120 child(); in main() 122 /* Parent waits for child to complete */ in main() 129 printf("Failed: child received signal: %u\n", in main()
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
| H A D | 11-1.c | 15 * Tests that file locks are not inherited by the child process after a fork. 28 static int child(int fd) in child() function 95 exit(child(fd)); in main()
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/ |
| H A D | 1-1.c | 25 * -> check that the child process getpid() return value matchs the fork() return 54 /* This will be executed by the child process */ 55 static void child(void) in child() function 61 /* This will be executed by the child thread */ 113 /* We will place the child pid in a mmaped file */ in main() 154 /* Okay, let's create the child process */ in main() 162 child(); in main() 172 "The child process did not terminate as expected"); in main() 178 /* Check the child pid is the same as fork returned */ in main() 181 ("getpid() in the child returne in main() [all...] |
| /third_party/musl/libc-test/src/functionalext/supplement/thread/ |
| H A D | pthread_atfork.c | 50 static void child(void) in child() function 95 ret = pthread_atfork(prepare, parent, child); in pthread_atfork_0100()
|
| /third_party/rust/crates/bindgen/bindgen/ir/ |
| H A D | dot.rs | 73 for child in module.children() { in write_dot_file() 78 child.as_usize() in write_dot_file()
|
| /third_party/python/Tools/peg_generator/pegen/ |
| H A D | grammar_visualizer.py | 43 for child in children: 44 line += self.print_nodes_recursively(child, prefix + sufix, False)
|
| /third_party/python/Lib/lib2to3/fixes/ |
| H A D | fix_except.py | 83 for child in reversed(suite_stmts[:i]): 84 e_suite.insert_child(0, child)
|
| /third_party/typescript/tests/baselines/reference/ |
| H A D | moduleMemberWithoutTypeAnnotation1.js | 15 public childIndex(child: ISyntaxElement) { 70 PositionedElement.prototype.childIndex = function (child) {
|
| /third_party/skia/modules/sksg/src/ |
| H A D | SkSGMaskEffect.cpp | 23 MaskEffect::MaskEffect(sk_sp<RenderNode> child, sk_sp<RenderNode> mask, Mode mode) in MaskEffect() argument 24 : INHERITED(std::move(child)) in MaskEffect()
|
| /third_party/skia/modules/svg/src/ |
| H A D | SkSVGMask.cpp | 62 for (const auto& child : fChildren) { in renderMask() 63 child->render(lctx); in renderMask()
|
| /third_party/skia/gm/ |
| H A D | fpcoordinateoverride.cpp | 37 SampleCoordEffect(std::unique_ptr<GrFragmentProcessor> child) in SampleCoordEffect() argument 39 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in SampleCoordEffect()
|
| /third_party/cJSON/ |
| H A D | cJSON.h | 116 /* An array or object item will have a child pointer pointing to a chain of the items in the array/object. */ 117 struct cJSON *child; member 134 /* The item's name string, if this item is the child of, or is in the list of subitems of an object. */ 233 CJSON_PUBLIC(cJSON *) cJSON_CreateObjectReference(const cJSON *child); variable 234 CJSON_PUBLIC(cJSON *) cJSON_CreateArrayReference(const cJSON *child); variable 318 #define cJSON_ArrayForEach(element, array) for(element = (array != NULL) ? (array)->child : NULL; element != NULL; element = element->next)
|
| /third_party/googletest/googletest/test/ |
| H A D | googletest-filter-unittest.py | 54 # Checks if this platform can pass empty environment variables to child 57 # os.environ. We then use 'eval' to parse the child's output so that an 62 child = gtest_test_utils.Subprocess( variable 64 CAN_PASS_EMPTY_ENV = eval(child.output) 67 # Check if this platform can unset environment variables in child processes. 71 # We use 'eval' to parse the child's output so that an exception 77 child = gtest_test_utils.Subprocess( variable 80 CAN_UNSET_ENV = eval(child.output)
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
| H A D | CompoundTransliteratorTest.java | 120 //String child= ct1.getTransliterator(i).getID(); in TestGetTransliterator() 121 String child = elems[i].getID(); in TestGetTransliterator() 122 if(!child.equals(array[i])){ in TestGetTransliterator() 123 errln("Error getTransliterator() failed: Expected->" + array[i] + " Got->" + child); in TestGetTransliterator() 125 logln("OK: getTransliterator() passed: Expected->" + array[i] + " Got->" + child); in TestGetTransliterator()
|
| /third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
| H A D | CompoundTransliteratorTest.java | 117 //String child= ct1.getTransliterator(i).getID(); in TestGetTransliterator() 118 String child = elems[i].getID(); in TestGetTransliterator() 119 if(!child.equals(array[i])){ in TestGetTransliterator() 120 errln("Error getTransliterator() failed: Expected->" + array[i] + " Got->" + child); in TestGetTransliterator() 122 logln("OK: getTransliterator() passed: Expected->" + array[i] + " Got->" + child); in TestGetTransliterator()
|
| /third_party/mesa3d/src/freedreno/drm/ |
| H A D | freedreno_priv.h | 482 #define FD_DEFINE_CAST(parent, child) \ 483 static inline struct child *to_##child(struct parent *x) \ 485 return (struct child *)x; \
|
| /third_party/node/test/pummel/ |
| H A D | test-policy-integrity-worker-commonjs.js | 171 const child = spawn(...spawnArgs); 172 child.stdout.on('data', (d) => stdout.push(d)); 173 child.stderr.on('data', (d) => stderr.push(d)); 174 child.on('exit', (status, signal) => {
|
| H A D | test-policy-integrity-worker-module.js | 171 const child = spawn(...spawnArgs); 172 child.stdout.on('data', (d) => stdout.push(d)); 173 child.stderr.on('data', (d) => stderr.push(d)); 174 child.on('exit', (status, signal) => {
|
| H A D | test-policy-integrity-dep.js | 153 const child = spawn(...spawnArgs); 154 child.stdout.on('data', (d) => stdout.push(d)); 155 child.stderr.on('data', (d) => stderr.push(d)); 156 child.on('exit', (status, signal) => {
|
| H A D | test-policy-integrity-parent-commonjs.js | 154 const child = spawn(...spawnArgs); 155 child.stdout.on('data', (d) => stdout.push(d)); 156 child.stderr.on('data', (d) => stderr.push(d)); 157 child.on('exit', (status, signal) => {
|