Home
last modified time | relevance | path

Searched refs:child (Results 76 - 100 of 993) sorted by relevance

12345678910>>...40

/third_party/skia/experimental/skrive/src/
H A DNode.cpp49 void Node::addChild(sk_sp<Component> child) { in addChild() argument
50 child->fParent = this; in addChild()
51 fChildren.push_back(std::move(child)); in addChild()
58 for (const auto& child : fChildren) { in onRevalidate()
59 if (child) { in onRevalidate()
60 child->revalidate(); in onRevalidate()
71 for (const auto& child : this->children()) { in onRender()
72 child->render(canvas); in onRender()
/third_party/python/Lib/lib2to3/
H A Dbtm_utils.py98 for child in self.children:
99 yield from child.leaves()
126 for child in node.children:
127 if node.children.index(child)%2:
129 reduced = reduce_tree(child, new_node)
136 for child in node.children:
137 reduced = reduce_tree(child, new_node)
168 for child in node.children:
169 if child.type == syms.Details:
171 details_node = child
[all...]
/third_party/node/test/parallel/
H A Dtest-repl-import-referrer.js9 const child = cp.spawn(process.execPath, args, opts);
12 child.stdout.setEncoding('utf8');
13 child.stdout.on('data', (data) => {
17 child.on('exit', common.mustCall(() => {
25 child.stdin.write('await import(\'./message.mjs\');\n');
26 child.stdin.write('.exit');
27 child.stdin.end();
H A Dtest-process-raw-debug.js29 case 'child':
30 return child();
39 const child = spawn(process.execPath, [__filename, 'child']);
43 child.stderr.on('data', function(c) {
47 child.stderr.setEncoding('utf8');
49 child.stderr.on('end', function() {
54 child.on('exit', common.mustCall(function(c) {
56 console.log('ok - child exited nicely');
60 function child() { function
[all...]
H A Dtest-listen-fd-detached-inherit.js33 case 'child': return child();
38 // Spawn the parent, and listen for it to tell us the pid of the child.
43 // a more low-level approach, use child process IPC manually.
55 const child = JSON.parse(json);
59 port: child.port,
69 process.kill(child.pid, 'SIGKILL');
76 assert.strictEqual(s, 'hello from child\n');
83 // Listen on port, and then pass the handle to the detached child.
84 // Then output the child'
109 function child() { global() function
[all...]
H A Dtest-listen-fd-detached.js33 case 'child': return child();
38 // Spawn the parent, and listen for it to tell us the pid of the child.
43 // a more low-level approach, use child process IPC manually.
55 const child = JSON.parse(json);
59 port: child.port,
69 process.kill(child.pid, 'SIGKILL');
76 assert.strictEqual(s, 'hello from child\n');
90 const child = spawn(process.execPath, [__filename, 'child'], {
106 function child() { global() function
[all...]
H A Dtest-child-process-windows-hide.js27 const child = cp.spawnSync(cmd, args, options);
29 assert.strictEqual(child.status, 0);
30 assert.strictEqual(child.signal, null);
31 assert.strictEqual(child.stdout.toString().trim(), '42');
32 assert.strictEqual(child.stderr.toString().trim(), '');
36 const child = cp.spawn(cmd, args, options);
38 child.on('exit', common.mustCall((code, signal) => {
H A Dtest-tls-enable-trace.js20 const child = fork(__filename, ['test'], { silent: true });
23 child.stderr.setEncoding('utf8');
24 child.stderr.on('data', (data) => stderr += data);
25 child.on('close', common.mustCall(() => {
31 child.stderr.pipe(process.stderr);
32 child.stdout.pipe(process.stdout);
34 child.on('exit', common.mustCall((code) => {
H A Dtest-child-process-stdio-inherit.js33 const child = spawn(process.execPath, [__filename, 'parent']);
34 child.stderr.pipe(process.stderr);
38 child.stdout.on('data', function(chunk) {
41 child.stdout.setEncoding('utf8');
43 child.stdin.end(input);
45 child.on('close', function(code, signal) {
/third_party/elfutils/tests/
H A Dfuncscopes.c57 Dwarf_Die child; in print_vars() local
58 if (dwarf_child (die, &child) == 0) in print_vars()
60 switch (dwarf_tag (&child)) in print_vars()
65 dwarf_diename (&child), in print_vars()
66 (uint64_t) dwarf_dieoffset (&child)); in print_vars()
71 while (dwarf_siblingof (&child, &child) == 0); in print_vars()
78 && dwarf_child (&origin, &child) == 0) in print_vars()
80 switch (dwarf_tag (&child)) in print_vars()
85 dwarf_diename (&child)); in print_vars()
[all...]
H A Daddrscopes.c55 Dwarf_Die child; in print_vars() local
56 if (dwarf_child (die, &child) == 0) in print_vars()
58 switch (dwarf_tag (&child)) in print_vars()
63 dwarf_diename (&child), in print_vars()
64 (uint64_t) dwarf_dieoffset (&child)); in print_vars()
69 while (dwarf_siblingof (&child, &child) == 0); in print_vars()
76 && dwarf_child (&origin, &child) == 0) in print_vars()
78 switch (dwarf_tag (&child)) in print_vars()
83 dwarf_diename (&child)); in print_vars()
[all...]
H A Dbacktrace-data.c75 pid_t child = dwfl_pid (dwfl); in memory_read() local
78 long l = ptrace (PTRACE_PEEKDATA, child, (void *) (uintptr_t) addr, NULL); in memory_read()
148 report_module (Dwfl *dwfl, pid_t child, Dwarf_Addr addr) in report_module() argument
151 char *long_name = maps_lookup (child, addr, &base); in report_module()
178 pid_t child = dwfl_pid (dwfl_thread_dwfl (thread)); in set_initial_registers() local
181 long l = ptrace (PTRACE_GETREGS, child, NULL, &user_regs); in set_initial_registers()
278 pid_t child = fork (); in main() local
279 switch (child) in main()
294 pid_t pid = waitpid (child, &status, 0); in main()
295 assert (pid == child); in main()
[all...]
/third_party/node/test/sequential/
H A Dtest-util-debug.js29 if (modeArgv === 'child')
30 child(sectionArgv);
63 const child = spawn(process.execPath, [__filename, 'child', section], {
77 const start = `${section.toUpperCase()} ${num[0]}${child.pid}${num[1]}`;
83 const start = `${section.toUpperCase()} ${child.pid}`;
91 child.stderr.setEncoding('utf8');
92 child.stderr.on('data', (c) => {
97 child.stdout.setEncoding('utf8');
98 child
114 function child(section) { global() function
[all...]
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/
H A Dnode.js666 * all fsParent/child relationships when moving? */
692 for (const child of root.tops) {
693 const isChild = child.location === nmloc + child.name
695 dirname(child.path).startsWith(this.path) &&
696 child !== this &&
697 !child.parent &&
699 !child.fsParent ||
700 child.fsParent === this ||
701 dirname(this.path).startsWith(child
[all...]
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_hub.c252 uhub_tt_buffer_reset_async_locked(struct usb_device *child, struct usb_endpoint *ep) in uhub_tt_buffer_reset_async_locked() argument
261 if ((child == NULL) || (ep == NULL)) in uhub_tt_buffer_reset_async_locked()
264 udev = child->parent_hs_hub; in uhub_tt_buffer_reset_async_locked()
265 port = child->hs_port_no; in uhub_tt_buffer_reset_async_locked()
273 ((child->speed != USB_SPEED_LOW) && in uhub_tt_buffer_reset_async_locked()
274 (child->speed != USB_SPEED_FULL)) || in uhub_tt_buffer_reset_async_locked()
275 (child->flags.usb_mode != USB_MODE_HOST) || in uhub_tt_buffer_reset_async_locked()
299 ((child->address & 0x7F) << 4) | in uhub_tt_buffer_reset_async_locked()
379 struct usb_device *child; in uhub_count_active_host_ports() local
396 child in uhub_count_active_host_ports()
407 uhub_explore_handle_re_enumerate(struct usb_device *child) uhub_explore_handle_re_enumerate() argument
502 struct usb_device *child; uhub_explore_sub() local
656 struct usb_device *child; uhub_reattach_port() local
937 struct usb_device *child; uhub_suspend_resume_port() local
1617 struct usb_device *child; uhub_detach() local
1704 uhub_find_iface_index(struct usb_hub *hub, device_t child, struct hub_result *res) uhub_find_iface_index() argument
1737 uhub_child_location_string(device_t parent, device_t child, char *buf, size_t buflen) uhub_child_location_string() argument
1777 uhub_child_pnpinfo_string(device_t parent, device_t child, char *buf, size_t buflen) uhub_child_pnpinfo_string() argument
2833 struct usb_device *child; usb_dev_suspend_peer() local
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
H A D1-2.c25 * pthread_atfork registers the 'child' handler to be called after fork()
26 * processing in the context of the fork() calling thread in the child process.
104 static void child(void) in child() function
113 pid_t child, ctl; in threaded() local
129 child = fork(); in threaded()
131 if (child == -1) { in threaded()
135 /* child */ in threaded()
136 if (child == 0) { in threaded()
144 ("child handler was not called in the thread s context"); in threaded()
160 /* Parent joins the child */ in threaded()
[all...]
H A D3-2.c93 static void child(void) in child() function
102 pid_t child, ctl; in threaded() local
118 child = fork(); in threaded()
120 if (child == -1) { in threaded()
124 /* child */ in threaded()
125 if (child == 0) { in threaded()
131 FAILED("child handler skipped some rounds"); in threaded()
146 /* Parent joins the child */ in threaded()
147 ctl = waitpid(child, &status, 0); in threaded()
149 if (ctl != child) { in threaded()
[all...]
/third_party/skia/third_party/externals/tint/tools/src/cmd/check-spec-examples/
H A Dmain.go257 for child := node.FirstChild; child != nil; child = child.NextSibling {
258 if err := gatherExamples(child, examples); err != nil {
269 for child := node.FirstChild; child != nil; child = child.NextSibling {
270 if child
[all...]
/third_party/ltp/testcases/kernel/sched/pthreads/
H A Dpth_str03.c148 fprintf(stderr, "\t-b <num>\tbreadth of child nodes\n"); in parse_args()
149 fprintf(stderr, "\t-d <num>\tdepth of child nodes\n"); in parse_args()
151 "\t-t <num>\ttimeout for child communication (in minutes)\n"); in parse_args()
161 * Caculate the number of child nodes for a given breadth and depth tree.
185 * Register the child with the parent and then wait for all of the children
325 int rc, child, my_index; in doit() local
335 printf("non-root child calling synchronize_children\n"); in doit()
340 printf("non-root child has been assigned index %d\n", in doit()
348 printf("root child\n"); in doit()
374 for (child in doit()
[all...]
H A Dpth_str01.c129 fprintf(stderr, "\t-b <num>\tbreadth of child nodes\n"); in parse_args()
130 fprintf(stderr, "\t-d <num>\tdepth of child nodes\n"); in parse_args()
132 "\t-t <num>\ttimeout for child communication (in minutes)\n"); in parse_args()
142 * Caculate the number of child nodes for a given breadth and depth tree.
166 * Register the child with the parent and then wait for all of the children
323 int rc, child, my_index; in doit() local
335 printf("non-root child calling synchronize_children\n"); in doit()
340 printf("non-root child has been assigned index %d\n", in doit()
350 printf("root child\n"); in doit()
383 for (child in doit()
[all...]
/third_party/ltp/testcases/misc/math/float/iperb/
H A Dgeniperb.c73 pid_t child; in main() local
82 child = create_file(funct, 0); in main()
83 waitpid(child, NULL, 0); in main()
86 child = create_file(funct, 0); in main()
87 waitpid(child, NULL, 0); in main()
90 child = create_file(funct, 0); in main()
91 waitpid(child, NULL, 0); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D9-1.c25 * -> Check the alarm is not running in the child process.
26 * -> join the child
28 * The test fails if the child has a pending alarm.
53 pid_t child, ctl; in main() local
65 /* Create the child */ in main()
66 child = fork(); in main()
68 if (child == -1) { in main()
72 /* child */ in main()
73 if (child == 0) { in main()
78 FAILED("The child alar in main()
[all...]
H A D4-1.c19 * The parent process ID of the child is the process ID of the parent (caller of fork())
22 * -> create a child
50 pid_t child, ctl; in main() local
56 /* Create the child */ in main()
57 child = fork(); in main()
58 if (child == -1) { in main()
62 /* child */ in main()
63 if (child == 0) { in main()
74 /* Parent joins the child */ in main()
75 ctl = waitpid(child, in main()
[all...]
/third_party/python/Lib/lib2to3/fixes/
H A Dfix_ws_comma.py27 for child in new.children:
28 if child in self.SEPS:
29 prefix = child.prefix
31 child.prefix = ""
35 prefix = child.prefix
37 child.prefix = " "
/third_party/curl/docs/examples/
H A Dhtmltidy.c49 TidyNode child; in dumpNode() local
50 for(child = tidyGetChild(tnod); child; child = tidyGetNext(child) ) { in dumpNode()
51 ctmbstr name = tidyNodeGetName(child); in dumpNode()
57 for(attr = tidyAttrFirst(child); attr; attr = tidyAttrNext(attr) ) { in dumpNode()
68 tidyNodeGetText(doc, child, &buf); in dumpNode()
72 dumpNode(doc, child, indent + 4); /* recursive */ in dumpNode()

Completed in 9 milliseconds

12345678910>>...40