Home
last modified time | relevance | path

Searched refs:child (Results 151 - 175 of 993) sorted by relevance

12345678910>>...40

/third_party/node/test/parallel/
H A Dtest-tls-enable-trace-cli.js20 const child = fork(__filename, ['test'], {
27 child.stdout.setEncoding('utf8');
28 child.stderr.setEncoding('utf8');
29 child.stdout.on('data', (data) => stdout += data);
30 child.stderr.on('data', (data) => stderr += data);
31 child.on('close', common.mustCall((code, signal) => {
H A Dtest-repl-options.js120 const child = cp.spawn(process.execPath, ['--interactive']);
123 child.stdout.setEncoding('utf8');
124 child.stdout.on('data', (data) => {
128 child.on('exit', common.mustCall(() => {
133 child.stdin.write(
136 child.stdin.write('.exit');
137 child.stdin.end();
/third_party/node/test/pummel/
H A Dtest-regress-GH-892.js27 // TLS server causes the child process to exit cleanly before having sent
58 const child = spawn(process.execPath, args);
60 child.on('exit', function(code) {
65 // The following two lines forward the stdio from the child
67 child.stderr.pipe(process.stderr);
68 child.stdout.pipe(process.stdout);
72 child.stderr.setEncoding('ascii');
73 child.stderr.on('data', function(d) {
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D16-1.c19 * Memory mappings created in the parent are retained in the child process.
28 * -> The child checks that the data is visible in the segments, then modifies it.
29 * -> child terminates
62 pid_t child, ctl; in main() local
117 /* Create the child */ in main()
118 child = fork(); in main()
120 if (child == -1) { in main()
124 if (child == 0) { in main()
131 ("The memory mappings were not inherited by the child process"); in main()
143 /* Parent joins the child */ in main()
[all...]
H A D18-1.c24 * -> check if the timer exists in child.
26 * The test fails if the timer expires in child (timer signal is delivered).
65 pid_t child, ctl; in main() local
101 /* Create the child */ in main()
102 child = fork(); in main()
104 if (child == -1) { in main()
108 /* child */ in main()
109 if (child == 0) { in main()
116 ("Per-Process Timer was inherited in child"); in main()
119 ("Notification occured before the child forke in main()
[all...]
H A D22-1.c24 * -> check the child process process CPU time and thread CPU time clocks.
52 pid_t child, ctl; in main() local
114 /* Create the child */ in main()
115 child = fork(); in main()
117 if (child == -1) { in main()
121 /* child */ in main()
122 if (child == 0) { in main()
140 ("The process CPU-time clock was not reset in child\n"); in main()
161 ("The thread CPU-time clock was not reset in child\n"); in main()
168 /* Parent joins the child */ in main()
[all...]
H A D21-1.c26 * The test fails if the thread is executing in the child process.
60 UNRESOLVED(errno, "failed to wait for the semaphore in child"); in threaded()
63 FAILED("The thread is executing in the child process"); in threaded()
71 pid_t child, ctl; in main() local
92 /* Create the child */ in main()
93 child = fork(); in main()
95 if (child == -1) in main()
106 /* child */ in main()
107 if (child == 0) { in main()
115 /* Parent joins the child */ in main()
[all...]
H A D14-1.c19 * Opened semaphores are inherited in the child process..
24 * -> The child tries and posts both semaphores, then terminates.
25 * -> The parent waits for the child, then check the semaphores were posted
27 * The test fails if any semaphore has not been posted in the child.
55 pid_t child, ctl; in main() local
79 /* Create the child */ in main()
80 child = fork(); in main()
82 if (child == -1) { in main()
86 /* child */ in main()
87 if (child in main()
[all...]
H A D1-1.c23 * -> the parent and the child sleep 1 sec (check concurrent execution)
24 * -> the child posts a semaphore, the parents waits for thsi semaphore
25 * (check the child really executes)
56 pid_t child, ctl; in main() local
71 /* Create the child */ in main()
72 child = fork(); in main()
73 if (child == -1) in main()
85 /* child posts the semaphore and terminates */ in main()
86 if (child == 0) { in main()
98 /* The child stop in main()
[all...]
H A D13-1.c19 * Interval timers are reset in the child process.
24 * -> check the timer has been cleared in child.
26 * The test fails if the timer is running in the child.
54 pid_t child, ctl; in main() local
91 /* Create the child */ in main()
92 child = fork(); in main()
94 if (child == -1) { in main()
98 /* child */ in main()
99 if (child == 0) { in main()
105 "Failed to read ITIMER_REAL in child"); in main()
[all...]
H A D7-1.c19 * The child process gets a copy of the parent message catalog descriptor.
25 * -> Check that the child can read from the message catalog.
27 * The test fails if the message catalog is read in the parent and not in the child.
99 pid_t child, ctl; in main() local
128 child = fork(); in main()
130 if (child == -1) in main()
133 if (child == 0) { in main()
135 printf("FAILED: Unable to read message catalog in child\n"); in main()
141 ctl = waitpid(child, &status, 0); in main()
143 if (ctl != child) in main()
[all...]
H A D8-1.c19 * tms_{,c}{u,s}time values are set to 0 in the child process.
24 * -> Check that the child has tms values less than the saved tms.
25 * -> join the child process
56 pid_t child, ctl; in main() local
93 /* Create the child */ in main()
94 child = fork(); in main()
96 if (child == -1) in main()
99 /* child */ in main()
100 if (child == 0) { in main()
123 /* Parent joins the child */ in main()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
H A D3-3.c25 * -> child process post the semaphore then exit
26 * -> parent process waits for the child then check the semaphore has been increased
90 pid_t child, ctl; in main() local
130 /* Create the child */ in main()
131 child = fork(); in main()
133 if (child == -1) { in main()
137 /* child */ in main()
138 if (child == 0) { in main()
150 /* Parent joins the child */ in main()
151 ctl = waitpid(child, in main()
[all...]
H A D3-2.c25 * -> child process post the semaphore then exit
90 pid_t child, ctl; in main() local
130 /* Create the child */ in main()
131 child = fork(); in main()
133 if (child == -1) { in main()
137 /* child */ in main()
138 if (child == 0) { in main()
159 /* Parent joins the child */ in main()
160 ctl = waitpid(child, &status, 0); in main()
162 if (ctl != child) { in main()
[all...]
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
H A DMetadataFilter.java203 * b and c are children of a, e is a child of d, and f is either a parent field, a child field, or
255 for (String child : group.substring(leftParenIndex + 1, rightParenIndex).split(",", -1)) { in parseFieldMapFromString()
256 if (!excludableChildFields.contains(child)) { in parseFieldMapFromString()
257 throw new RuntimeException(child + " is not a valid child token"); in parseFieldMapFromString()
259 if (!children.add(child)) { in parseFieldMapFromString()
260 throw new RuntimeException(child + " given more than once in " + group); in parseFieldMapFromString()
278 // So wildcardChild was given explicitly as a child of parent, which is a duplication in parseFieldMapFromString()
279 // since it's also given as a wildcard child in parseFieldMapFromString()
322 shouldDrop(String parent, String child) shouldDrop() argument
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
H A D1-3.c118 pthread_t child; in main() local
159 ret = pthread_create(&child, &ta, threaded, &bar); in main()
165 check_param(child, SCHED_RR, sp.sched_priority); in main()
179 ret = pthread_setschedparam(child, SCHED_FIFO, &sp); in main()
191 check_param(child, SCHED_FIFO, sp.sched_priority); in main()
205 ret = pthread_setschedprio(child, sp.sched_priority); in main()
217 check_param(child, SCHED_FIFO, sched_get_priority_max(SCHED_FIFO)); in main()
225 pthread_join(child, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D14-1.c120 pthread_t child; in test() local
138 ret = pthread_create(&child, &scenarii[sc].ta, threaded, NULL); in test()
169 SAFE_PFUNC(pthread_join(child, NULL)); in test()
179 pid_t child; in main_loop() local
187 child = SAFE_FUNC(fork()); in main_loop()
188 if (child == 0) { in main_loop()
203 ret = waitpid(child, &status, 0); in main_loop()
204 if (ret != child) in main_loop()
212 FAILED("An error occurred in child"); in main_loop()
220 output("Test spawned %d child processe in main_loop()
[all...]
H A D1-5.c184 pid_t child, ctrl; in threaded() local
187 child = fork(); /* We'll test the feature in another process as this test may segfault */ in threaded()
189 if (child == -1) { in threaded()
193 if (child != 0) { /* father */ in threaded()
194 /* Just wait for the child and check its return value */ in threaded()
195 ctrl = waitpid(child, &status, 0); in threaded()
196 if (ctrl != child) { in threaded()
208 "The child process returned unresolved status"); in threaded()
213 ("The child process returned: %i\n", in threaded()
217 output("The child proces in threaded()
[all...]
/third_party/skia/src/sksl/lex/
H A DRegexNode.cpp20 for (const RegexNode& child : fChildren) { in createStates()
21 if (child.fKind == kChar_Kind) { in createStates()
22 while (chars.size() <= (size_t) child.fPayload.fChar) { in createStates()
25 chars[child.fPayload.fChar] = true; in createStates()
27 SkASSERT(child.fKind == kRange_Kind); in createStates()
28 while (chars.size() <= (size_t) child.fChildren[1].fPayload.fChar) { in createStates()
31 for (char c = child.fChildren[0].fPayload.fChar; in createStates()
32 c <= child.fChildren[1].fPayload.fChar; in createStates()
/third_party/skia/modules/skottie/src/effects/
H A DBuldgeEffect.cpp75 explicit BulgeNode(sk_sp<RenderNode> child, const SkSize& child_size) in BulgeNode() argument
76 : INHERITED({std::move(child)}) in BulgeNode()
86 const auto& child = this->children()[0]; in contentShader() local
87 child->revalidate(nullptr, SkMatrix::I()); in contentShader()
90 child->render(recorder.beginRecording(SkRect::MakeSize(fChildSize))); in contentShader()
118 builder.child("u_layer") = this->contentShader(); in buildEffectShader()
126 const auto& child = this->children()[0]; variable
128 return child->revalidate(ic, ctm);
/third_party/skia/infra/bots/gen_tasks_logic/
H A Dcompile_cas.go20 // If a parent path contains more than this many immediate child paths (ie.
136 // Add a child node.
139 child, ok := n.children[name]
141 child = newNode(name)
142 n.children[name] = child
144 child.add(entry)
149 for _, child := range n.children {
150 if child.isLeaf {
173 for _, child := range n.children {
174 for _, entry := range child
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dxml-utils.h30 xml_node_t *child);
62 #define xml_node_for_each_child(ctx, child, parent) \
63 for (child = xml_node_first_child(ctx, parent); \
64 child; \
65 child = xml_node_next_sibling(ctx, child))
72 #define xml_node_for_each_check(ctx, child) \
73 if (!xml_node_is_element(ctx, child)) \
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dxml-utils.h30 xml_node_t *child);
62 #define xml_node_for_each_child(ctx, child, parent) \
63 for (child = xml_node_first_child(ctx, parent); \
64 child; \
65 child = xml_node_next_sibling(ctx, child))
72 #define xml_node_for_each_check(ctx, child) \
73 if (!xml_node_is_element(ctx, child)) \
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-repacker.hh133 unsigned child; member
514 auto& child = vertices_[node_idx]; in duplicate() local
519 clone->obj.head = child.obj.head; in duplicate()
520 clone->obj.tail = child.obj.tail; in duplicate()
521 clone->distance = child.distance; in duplicate()
522 clone->space = child.space; in duplicate()
526 for (const auto& l : child.obj.links) in duplicate()
549 * Creates a copy of child and re-assigns the link from
551 * linked from child are not duplicated.
566 // to child ar in duplicate()
661 const auto& child = vertices_[o.child]; print_overflows() local
830 const auto& child = vertices_[link.objidx].obj; update_distances() local
859 const auto& child = vertices_[link.objidx]; compute_offset() local
1080 const auto& child = sorted_graph.vertices_[r.child]; _process_overflows() local
[all...]
/third_party/alsa-lib/src/control/
H A Dcontrol_remap.c85 snd_ctl_t *child; member
141 debug("new numid: child %u app %u\n", numid->numid_child, numid->numid_app); in remap_numid_new()
315 int err = snd_ctl_close(priv->child); in snd_ctl_remap_close()
323 return snd_ctl_nonblock(priv->child, nonblock); in snd_ctl_remap_nonblock()
329 return snd_ctl_async(priv->child, sig, pid); in snd_ctl_remap_async()
335 return snd_ctl_subscribe_events(priv->child, subscribe); in snd_ctl_remap_subscribe_events()
341 return snd_ctl_card_info(priv->child, info); in snd_ctl_remap_card_info()
355 err = snd_ctl_elem_list(priv->child, list); in snd_ctl_remap_elem_list()
409 err = snd_ctl_elem_info(priv->child, &info2); in remap_map_elem_info()
426 err = snd_ctl_elem_info(priv->child, in remap_map_elem_info()
911 add_to_remap(snd_ctl_remap_t *priv, snd_ctl_elem_id_t *child, snd_ctl_elem_id_t *app) add_to_remap() argument
936 snd_ctl_elem_id_t child, app; parse_remap() local
1156 snd_ctl_remap_open(snd_ctl_t **handlep, const char *name, snd_config_t *remap, snd_config_t *map, snd_ctl_t *child, int mode) snd_ctl_remap_open() argument
1295 snd_config_t *child = NULL; _snd_ctl_remap_open() local
[all...]

Completed in 15 milliseconds

12345678910>>...40