Home
last modified time | relevance | path

Searched refs:num_children (Results 1 – 19 of 19) sorted by relevance

/external/ltp/testcases/kernel/ipc/ipc_stress/
Dshmem_test_02.c130 int num_children = DEFAULT_NUM_CHILDREN; variable
168 for (i = 0; i < num_children; i++) in main()
174 shmem_size = sizeof(unsigned long) * num_children; in main()
180 for (i = 0; i < num_children; i++) in main()
207 printf("\n\tSpawning %d child processes ... \n", num_children); in main()
208 for (i = 0; i < num_children; i++) { in main()
220 for (i = 0; i < num_children; i++) { in main()
339 for (i = 0; i < num_children; i++) { in cleanup()
385 num_children = atoi(optarg); in parse_args()
Dshmem_test_03.c142 int num_children = DEFAULT_NUM_CHILDREN; variable
187 for (i = 0; i < num_children; i++) in main()
211 shmem_size = sizeof(unsigned long) * num_children; in main()
218 for (i = 0; i < num_children; i++) in main()
247 printf("\n\tSpawning %d child processes ... \n", num_children); in main()
248 for (i = 0; i < num_children; i++) { in main()
279 for (i = 0; i < num_children; i++) { in main()
457 num_children = atoi(optarg); in parse_args()
467 if (num_children >= MAX_CHILDREN) { in parse_args()
544 for (i = 0; i < num_children; i++) { in cleanup()
Dpipe_test_02.c149 int num_children = DEFAULT_NUM_CHILDREN; variable
213 for (i = 0; i < num_children; i++) { in main()
237 printf("\n\tSpawning %d child processes ... \n", num_children); in main()
240 for (i = 0; i < num_children; i++) { in main()
280 for (i = 0; i < num_children; i++) { in main()
316 for (i = 0; i < num_children; i++) { in main()
354 for (i = 0; i < num_children; i++) { in main()
537 num_children = atoi(optarg); in setup()
550 if (num_packets == 0 || num_children == 0 || num_children > MAXCHILD) in setup()
566 for (i = 0; i < num_children; i++) { in setup()
[all …]
/external/ltp/testcases/kernel/io/ltp-aiodio/
Ddio_sparse.c105 int num_children = 1; in main() local
133 num_children = atoi(optarg); in main()
134 if (num_children > NUM_CHILDREN) { in main()
138 num_children = NUM_CHILDREN; in main()
153 for (i = 0; i < num_children; i++) { in main()
173 for (i = 0; i < num_children; i++) in main()
176 for (i = 0; i < num_children; i++) { in main()
Daiodio_sparse.c224 int num_children = 1; in main() local
259 num_children = atoi(optarg); in main()
260 if (num_children > NUM_CHILDREN) { in main()
264 num_children = NUM_CHILDREN; in main()
279 for (i = 0; i < num_children; i++) { in main()
299 for (i = 0; i < num_children; i++) in main()
302 for (i = 0; i < num_children; i++) { in main()
Ddio_append.c127 int num_children = 1; in main() local
135 for (i = 0; i < num_children; i++) { in main()
155 for (i = 0; i < num_children; i++) { in main()
Ddio_truncate.c134 int num_children = 1; in main() local
140 for (i = 0; i < num_children; i++) { in main()
166 for (i = 0; i < num_children; i++) { in main()
Daiodio_append.c162 int num_children = 1; in main() local
168 for (i = 0; i < num_children; i++) { in main()
188 for (i = 0; i < num_children; i++) { in main()
/external/webrtc/webrtc/modules/desktop_capture/
Dwindow_capturer_x11.cc173 unsigned int num_children; in GetWindowList() local
175 &children, &num_children); in GetWindowList()
182 for (unsigned int i = 0; i < num_children; ++i) { in GetWindowList()
185 GetApplicationWindow(children[num_children - 1 - i]); in GetWindowList()
228 unsigned int num_children; in BringSelectedWindowToFront() local
234 display(), selected_window_, &root, &parent, &children, &num_children); in BringSelectedWindowToFront()
344 unsigned int num_children; in GetApplicationWindow() local
346 &num_children)) { in GetApplicationWindow()
352 for (unsigned int i = 0; i < num_children; ++i) { in GetApplicationWindow()
Dmouse_cursor_monitor_x11.cc37 unsigned int num_children; in GetTopLevelWindow() local
39 &num_children)) { in GetTopLevelWindow()
/external/llvm/utils/
DlldbDataFormatters.py28 def num_children(self): member in SmallVectorSynthProvider
43 if index >= self.num_children():
69 def num_children(self): member in ArrayRefSynthProvider
79 if index < 0 or index >= self.num_children():
/external/vboot_reference/futility/
Dcmd_dump_fmap.c164 int num_children; member
219 sort_nodes(p->num_children, p->child); in show()
220 for (i = 0; i < p->num_children; i++) { in show()
224 if (i < p->num_children - 1 in show()
228 if (i == p->num_children - 1 && p->child[i]->start != p->start) in show()
274 if (p->num_children && !p->child) { in add_child()
276 (struct node_s **)calloc(p->num_children, in add_child()
283 for (i = 0; i < p->num_children; i++) in add_child()
378 all_nodes[i].parent->num_children++; in human_fmap()
/external/webrtc/webrtc/base/
Dx11windowpicker.cc229 unsigned int num_children; in MoveToFront() local
236 &num_children); in MoveToFront()
606 unsigned int num_children; in EnumerateScreenWindows() local
609 &num_children); in EnumerateScreenWindows()
614 for (unsigned int i = 0; i < num_children; ++i) { in EnumerateScreenWindows()
619 Window app_window = children[num_children - 1 - i]; in EnumerateScreenWindows()
621 Window app_window = GetApplicationWindow(children[num_children - 1 - i]); in EnumerateScreenWindows()
674 unsigned int num_children; in GetApplicationWindow() local
696 &num_children)) { in GetApplicationWindow()
701 for (unsigned int i = 0; i < num_children; ++i) { in GetApplicationWindow()
/external/ltp/testcases/kernel/controllers/freezer/
Dvfork.c230 int do_trace(pid_t child, int num_children) in do_trace() argument
236 while (num_children > 0) { in do_trace()
246 num_children--; in do_trace()
257 num_children += trace_grandchild(process); in do_trace()
/external/libusb-compat/examples/
Dtestlibusb.c122 for (i = 0; i < dev->num_children; i++) in print_device()
/external/libusb-compat/
DREADME17 3. usb_device's "num_children" attribute is hardcoded to 0, and "children"
/external/libusb-compat/libusb/
Dusb.h259 unsigned char num_children; member
Dcore.c552 dev->num_children = 0; in initialize_device()
/external/syslinux/gpxe/src/interface/efi/
Defi_snp.c1038 UINTN num_children, in efi_snp_driver_stop() argument
1044 driver, device, ( ( unsigned long ) num_children ), children ); in efi_snp_driver_stop()