Home
last modified time | relevance | path

Searched refs:child (Results 201 - 225 of 993) sorted by relevance

12345678910>>...40

/third_party/typescript/tests/baselines/reference/
H A DarrayDestructuringInSwitch1.js10 return operands.every((child) => evaluate(child));
33 return operands.every(function (child) { return evaluate(child); });
/third_party/node/test/parallel/
H A Dtest-child-process-fork-getconnections.js29 if (process.argv[2] === 'child') {
58 const child = fork(process.argv[1], ['child']);
60 child.on('exit', common.mustCall((code, signal) => {
71 child.send({ cmd: 'new' }, socket);
94 child.kill();
98 child.once('message', common.mustCall((m) => {
105 child.send({ id: i, cmd: 'close' });
H A Dtest-runner-import-no-scheme.js42 const child = spawnSync(process.execPath, argv, { cwd: tmpdir.path });
44 assert.strictEqual(child.status, 1);
45 assert.strictEqual(child.stdout.toString().trim(), '');
47 assert.strictEqual(child.status, 0);
48 assert.strictEqual(child.stdout.toString().trim(), '{ marker: 1 }');
/third_party/ltp/testcases/kernel/syscalls/clone/
H A Dclone08.c92 pid_t child; in test_clone_parent() local
94 child = SAFE_FORK(); in test_clone_parent()
95 if (!child) { in test_clone_parent()
106 tst_res(TPASS, "clone and forked child has the same parent"); in child_clone_parent()
143 pid_t child; in test_clone_thread() local
145 child = SAFE_FORK(); in test_clone_thread()
146 if (!child) { in test_clone_thread()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D2-1.c28 * -> a malloc'ed memory block is copied and can be freed in child.
66 pid_t child, ctl; in main() local
114 /* Create the child */ in main()
115 child = fork(); in main()
117 if (child == -1) { in main()
122 /* child */ in main()
123 if (child == 0) { in main()
150 perror("sigaction() failed in child"); in main()
188 /* Parent joins the child */ in main()
189 ctl = waitpid(child, in main()
[all...]
H A D19-1.c20 * The opened message queue descriptors are copied to the child process and
27 * -> Check if that the child's message count for this descriptor is 1.
30 * The test fails if the child reports 0 message count
56 pid_t child, ctl; in main() local
102 /* Create the child */ in main()
103 child = fork(); in main()
105 if (child == -1) { in main()
112 /* child */ in main()
113 if (child == 0) { in main()
118 ("Failed to get message queue attributes in child"); in main()
[all...]
H A D12-1.c19 * The child process is created with no pending signal
55 pid_t child, ctl; in main() local
131 /* Create the child */ in main()
132 child = fork(); in main()
134 if (child == -1) { in main()
138 /* child */ in main()
139 if (child == 0) { in main()
144 UNRESOLVED(errno, "Sigprocmask failed in child"); in main()
171 output("SIGUSR1 and SIGUSR2 are blocked in child\n"); in main()
180 "failed to examine pending signal set in child"); in main()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
H A D5-1.c28 * * Parent process waits for the child.
80 pid_t child; in main() local
100 child = fork(); in main()
102 if (child == (pid_t) - 1) { in main()
106 if (child != 0) { /* We are the father */ in main()
107 if (child != waitpid(child, &status, 0)) { in main()
113 "The child process was killed."); in main()
122 /* Only the child goes further */ in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
H A D2-2.c141 pid_t child, ctl; in threaded() local
157 child = fork(); in threaded()
159 if (child == -1) { in threaded()
163 /* child */ in threaded()
164 if (child == 0) { in threaded()
185 /* Parent joins the child */ in threaded()
186 ctl = waitpid(child, &status, 0); in threaded()
188 if (ctl != child) { in threaded()
271 /* Let the child go on */ in main()
H A D4-1.c20 * in reversed order as they were registered, and child and parent handlers are
161 pid_t child, ctl; in threaded() local
177 child = fork(); in threaded()
179 if (child == -1) { in threaded()
183 /* child */ in threaded()
184 if (child == 0) { in threaded()
186 FAILED("Errors occured in the child"); in threaded()
193 /* Parent joins the child */ in threaded()
194 ctl = waitpid(child, &status, 0); in threaded()
196 if (ctl != child) { in threaded()
[all...]
/third_party/skia/src/xml/
H A DSkDOMParser.cpp73 SkDOM::Node* child = parent->fFirstChild; in onEndElement() local
75 while (child) { in onEndElement()
76 SkDOM::Node* next = child->fNextSibling; in onEndElement()
77 child->fNextSibling = prev; in onEndElement()
78 prev = child; in onEndElement()
79 child = next; in onEndElement()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DResultTests.cpp184 TChild child; in TEST() local
185 T* childAsT = &child; in TEST()
187 Result<T*, int> result(&child); in TEST()
191 Result<TChild*, int> resultChild(&child); in TEST()
196 Result<TChild*, int> resultChild(&child); in TEST()
312 Child child; in TEST() local
313 Ref<Child> refChild(&child); in TEST()
316 TestSuccess<Base>(&result, &child); in TEST()
321 Child child; in TEST() local
322 Ref<Child> refChild(&child); in TEST()
331 Child child; TEST() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dxml-utils.c314 xml_node_t *child; in get_first_child_node() local
316 xml_node_for_each_child(ctx, child, node) { in get_first_child_node()
317 xml_node_for_each_check(ctx, child); in get_first_child_node()
318 lname = xml_node_get_localname(ctx, child); in get_first_child_node()
320 return child; in get_first_child_node()
387 xml_node_t *child; in tnds_to_mo_iter() local
409 child = get_first_child_node(ctx, node, "Node"); in tnds_to_mo_iter()
410 if (child) { in tnds_to_mo_iter()
412 tnds_to_mo_iter(ctx, root, child, nodename); in tnds_to_mo_iter()
416 tnds_to_mo_iter(ctx, root, child, new_ur in tnds_to_mo_iter()
461 xml_node_t *body, *child; soap_get_body() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dxml-utils.c314 xml_node_t *child; in get_first_child_node() local
316 xml_node_for_each_child(ctx, child, node) { in get_first_child_node()
317 xml_node_for_each_check(ctx, child); in get_first_child_node()
318 lname = xml_node_get_localname(ctx, child); in get_first_child_node()
320 return child; in get_first_child_node()
387 xml_node_t *child; in tnds_to_mo_iter() local
409 child = get_first_child_node(ctx, node, "Node"); in tnds_to_mo_iter()
410 if (child) { in tnds_to_mo_iter()
412 tnds_to_mo_iter(ctx, root, child, nodename); in tnds_to_mo_iter()
416 tnds_to_mo_iter(ctx, root, child, new_ur in tnds_to_mo_iter()
461 xml_node_t *body, *child; soap_get_body() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/ptrace/
H A Dptrace05.c62 pid_t child; in main() local
78 switch (child = fork()) { in main()
84 tst_resm(TINFO, "[child] Sending kill(.., %d)", in main()
88 "[child] kill(.., %d) failed.", in main()
109 waitpid(child, &status, 0); in main()
153 if (kill(child, 0)) { in main()
173 /* Make sure the child dies a quick and painless death ... */ in main()
174 kill(child, 9); in main()
/third_party/ltp/tools/sparse/sparse-src/
H A Dast-model.h75 AstNode *child = ast_new(parent, parent->childnodes->len, in ast_append_child() local
77 g_array_append_val(parent->childnodes, child); in ast_append_child()
78 return child; in ast_append_child()
86 AstNode *child = ast_new(parent, parent->childnodes->len, text, NULL, NULL); in ast_append_attribute() local
87 g_array_append_val(parent->childnodes, child); in ast_append_attribute()
H A Dc2xml.c172 xmlNodePtr child = NULL; in examine_symbol() local
184 child = new_sym_node(sym, get_type_name(sym->type), node); in examine_symbol()
185 examine_modifiers(sym, child); in examine_symbol()
186 examine_layout(sym, child); in examine_symbol()
193 xmlNewProp(child, BAD_CAST "base-type", in examine_symbol()
196 newProp(child, "base-type-builtin", base); in examine_symbol()
202 newNumProp(child, "array-size", array_size); in examine_symbol()
209 examine_members(sym->symbol_list, child); in examine_symbol()
212 examine_members(sym->arguments, child); in examine_symbol()
215 newProp(child, "bas in examine_symbol()
[all...]
/third_party/skia/src/gpu/effects/
H A DGrMatrixEffect.cpp17 const SkMatrix& matrix, std::unique_ptr<GrFragmentProcessor> child) { in Make()
18 if (child->classID() == kGrMatrixEffect_ClassID) { in Make()
19 auto me = static_cast<GrMatrixEffect*>(child.get()); in Make()
24 return child; in Make()
27 return std::unique_ptr<GrFragmentProcessor>(new GrMatrixEffect(matrix, std::move(child))); in Make()
16 Make( const SkMatrix& matrix, std::unique_ptr<GrFragmentProcessor> child) Make() argument
/third_party/skia/modules/skottie/src/animator/
H A DAnimator.cpp33 sk_sp<AnimatablePropertyContainer> child) { in attachDiscardableAdapter()
34 if (!child) { in attachDiscardableAdapter()
38 if (child->isStatic()) { in attachDiscardableAdapter()
39 child->seek(0); in attachDiscardableAdapter()
43 fAnimators.push_back(child); in attachDiscardableAdapter()
32 attachDiscardableAdapter( sk_sp<AnimatablePropertyContainer> child) attachDiscardableAdapter() argument
/third_party/ffmpeg/libavcodec/
H A Dhuffman.c49 int child = root * 2 + 1; in heap_sift() local
50 if (child < size - 1 && h[child].val > h[child+1].val) in heap_sift()
51 child++; in heap_sift()
52 if (h[root].val > h[child].val) { in heap_sift()
53 FFSWAP(HeapElem, h[root], h[child]); in heap_sift()
54 root = child; in heap_sift()
/third_party/node/deps/icu-small/source/tools/genrb/
H A Dfilterrb.cpp112 auto child = node->fChildren.find(key); in match() local
114 if (child == node->fChildren.end()) { in match()
123 node = &child->second; in match()
189 for (auto& child : fChildren) { in applyRule()
190 child.second.applyRule(path, it, inclusionRule, status); in applyRule()
214 for (auto& child : fChildren) { in print()
216 out << child.first << ": {" << std::endl; in print()
217 child.second.print(out, indent + 1); in print()
/third_party/icu/icu4c/source/tools/genrb/
H A Dfilterrb.cpp112 auto child = node->fChildren.find(key); in match() local
114 if (child == node->fChildren.end()) { in match()
123 node = &child->second; in match()
189 for (auto& child : fChildren) { in applyRule()
190 child.second.applyRule(path, it, inclusionRule, status); in applyRule()
214 for (auto& child : fChildren) { in print()
216 out << child.first << ": {" << std::endl; in print()
217 child.second.print(out, indent + 1); in print()
/third_party/skia/third_party/externals/icu/source/tools/genrb/
H A Dfilterrb.cpp112 auto child = node->fChildren.find(key); in match() local
114 if (child == node->fChildren.end()) { in match()
123 node = &child->second; in match()
189 for (auto& child : fChildren) { in applyRule()
190 child.second.applyRule(path, it, inclusionRule, status); in applyRule()
214 for (auto& child : fChildren) { in print()
216 out << child.first << ": {" << std::endl; in print()
217 child.second.print(out, indent + 1); in print()
/third_party/mesa3d/src/mapi/glapi/gen/
H A Dgl_XML.py724 for child in element:
725 if child.tag == "return":
726 return_type = child.get( "type", "void" )
727 elif child.tag == "param":
728 param = self.context.factory.create_parameter(child, self.context)
884 for child in element:
885 if child.tag == "category":
886 self.process_category( child )
887 elif child.tag == "OpenGLAPI":
888 self.process_OpenGLAPI( file_name, child )
[all...]
/third_party/ltp/testcases/kernel/mem/lib/
H A Dmem.c112 * desired outcome (e.g. child killed, operation failed with ENOMEM)
113 * @testcase: selects how child allocates memory
115 * @lite: if non-zero, child makes only single TESTMEM+MB allocation
116 * if zero, child keeps allocating memory until it gets killed
118 * @retcode: expected return code of child process
119 * if matches child ret code, this function reports PASS,
121 * @allow_sigkill: if zero and child is killed, this function reports FAIL
122 * if non-zero, then if child is killed by SIGKILL
313 tst_res(TINFO, "child %d verifies memory content.", proc); in verify()
320 tst_res(TFAIL, "child in verify()
418 stop_ksm_children(int *child, int num) stop_ksm_children() argument
430 resume_ksm_children(int *child, int num) resume_ksm_children() argument
443 int i, j, status, *child; create_same_memory() local
[all...]

Completed in 12 milliseconds

12345678910>>...40