Home
last modified time | relevance | path

Searched refs:child_count (Results 1 – 25 of 27) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
D2-1.c85 int child_count, i; in main() local
170 while (scanf("*%i*", &child_count) == 0) in main()
180 if (child_count) in main()
181 ratio = (float)count / (float)child_count; in main()
183 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) { in main()
D2-2.c86 int child_count, i; in main() local
174 while (scanf("*%i*", &child_count) == 0) in main()
184 if (child_count) in main()
185 ratio = (float)count / (float)child_count; in main()
187 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) { in main()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl16.c445 int child_count; in run_test() local
497 child_count = 0; in run_test()
517 child_count++; in run_test()
533 && (child_flag1 + child_flag2 != child_count)) { in run_test()
542 if (child_flag1 + child_flag2 != child_count) { in run_test()
584 while (nexited < child_count) { in run_test()
603 child_sig(SIGUSR1, child_count); in run_test()
607 for (i = 0; i < child_count; i++) in run_test()
610 if (i == child_count) { in run_test()
636 if (nexited != child_count) { in run_test()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
D1-2.c309 int child_count; in main() local
509 child_count = 0; in main()
528 child_count++; in main()
537 && (child_count < max_thread_children)); in main()
540 child_count); in main()
542 if (child_count == 0) in main()
558 child_count++; in main()
567 && (child_count < max_process_children)); in main()
570 child_count); in main()
572 if (child_count == 0) in main()
[all …]
D2-3.c257 int child_count; in main() local
467 child_count = td->count; in main()
468 while (child_count < NCHILDREN) { in main()
477 child_count = td->count; in main()
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg02.c126 int child_count = 0; in reproduce() local
158 child_pids[child_count++] = child_pid; in reproduce()
170 if (child_count == child_pairs*2) in reproduce()
176 for (i = 0; i < child_count; i++) in reproduce()
181 for (i = 0; i < child_count; i++) { in reproduce()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir09.c66 int *pidlist, child_count; variable
168 child_count = 0; in runtest()
171 getchild(j, i, child_count); in runtest()
172 child_count++; in runtest()
235 if (count != child_count) { in runtest()
436 for (j = 0; j < child_count; j++) { in massmurder()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_schedule.c48 uint32_t child_count; member
106 for (int i = 0; i < after->child_count; i++) { in add_dep()
111 if (after->child_array_size <= after->child_count) { in add_dep()
118 after->children[after->child_count] = before; in add_dep()
119 after->child_count++; in add_dep()
548 for (int i = 0; i < n->child_count; i++) { in dump_state()
601 if (!n->child_count) { in compute_delay()
613 for (int i = 0; i < n->child_count; i++) { in compute_delay()
664 for (int i = chosen->child_count - 1; i >= 0; i--) { in schedule_instructions()
Dvc4_qpu_schedule.c49 uint32_t child_count; member
120 for (int i = 0; i < before->child_count; i++) { in add_dep()
127 if (before->child_array_size <= before->child_count) { in add_dep()
134 before->children[before->child_count].node = after; in add_dep()
135 before->children[before->child_count].write_after_read = in add_dep()
137 before->child_count++; in add_dep()
713 for (int i = 0; i < n->child_count; i++) { in dump_state()
791 if (!n->child_count) { in compute_delay()
794 for (int i = 0; i < n->child_count; i++) { in compute_delay()
813 for (int i = node->child_count - 1; i >= 0; i--) { in mark_instruction_scheduled()
/external/kmod/libkmod/
Dlibkmod-index.c240 int i, child_count = 0; in index_read() local
259 child_count = last - first + 1; in index_read()
262 sizeof(uint32_t) * child_count)); in index_read()
267 for (i = 0; i < child_count; i++) in index_read()
673 int i, child_count, value_count, children_padding; in index_mm_read_node() local
691 child_count = last - first + 1; in index_mm_read_node()
692 for (i = 0; i < child_count; i++) in index_mm_read_node()
697 child_count = 0; in index_mm_read_node()
701 (sizeof(uint32_t) * child_count)) % sizeof(void *); in index_mm_read_node()
709 + sizeof(uint32_t) * child_count + children_padding in index_mm_read_node()
[all …]
/external/toybox/kconfig/
Dmconf.c279 static int child_count; variable
444 child_count++; in build_conf()
459 child_count++; in build_conf()
475 child_count++; in build_conf()
524 child_count++; in build_conf()
596 if (!child_count) in conf()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtree.rb137 if adaptor.child_count( look ) == 0
326 alias child_count length alias in ANTLR3.BaseTree
694 def child_count( tree ) method
695 tree.child_count
729 for i in 0 ... child_count( tree )
749 child_count( tree ).zero?
762 case root.child_count
846 count = new_root.child_count
907 elsif root.child_count == 1 then root = root.first.detach
Ddot.rb120 n = adaptor.child_count( tree )
145 n = adaptor.child_count( tree )
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb431 number_of_children = @adaptor.child_count( tree )
432 return false unless number_of_children == pattern.child_count
450 child_count_a = adaptor.child_count( tree_a )
451 child_count_b = adaptor.child_count( tree_b )
Dvisitor.rb74 @adaptor.child_count( tree ).times do |index|
Ddebug.rb53 child_count( tree ).times do |i|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
D4-3.c287 int child_count = 0; in main_loop() local
299 child_count++; in main_loop()
334 output("Test spawned %d child processes.\n", child_count); in main_loop()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_schedule_instructions.cpp72 int child_count; member in schedule_node
797 this->child_count = 0; in schedule_node()
833 if (!n->child_count) { in compute_delays()
836 for (int i = 0; i < n->child_count; i++) { in compute_delays()
852 for (int i = 0; i < n->child_count; i++) { in compute_exits()
867 for (int i = 0; i < n->child_count; i++) { in compute_exits()
889 for (int i = 0; i < before->child_count; i++) { in add_dep()
896 if (before->child_array_size <= before->child_count) { in add_dep()
909 before->children[before->child_count] = after; in add_dep()
910 before->child_latency[before->child_count] = latency; in add_dep()
[all …]
/external/ltp/testcases/kernel/sched/pthreads/
Dpth_str01.h23 int child_count; /* Count of children created */ member
Dpth_str03.c49 int child_count; /* Count of children created */ member
228 my_index, parent->child_count); in synchronize_children()
231 parent->child_ptrs[parent->child_count++] = info_p; in synchronize_children()
Dpth_str01.c215 my_index, parent->child_count); in synchronize_children()
218 parent->child_ptrs[parent->child_count++] = info_p; in synchronize_children()
/external/mesa3d/src/mapi/glapi/gen/
DglX_server_table.py101 child_count = 1 << M;
122 … if (empty_children > 0) or (full_children == child_count) or (op_count <= self.min_op_count):
/external/clang/tools/libclang/
DCXComment.cpp98 return C->child_count(); in clang_Comment_getNumChildren()
103 if (!C || ChildIdx >= C->child_count()) in clang_Comment_getChild()
/external/clang/unittests/AST/
DCommentParser.cpp84 if (Count != C->child_count()) in HasChildCount()
87 << ", child_count = " << C->child_count(); in HasChildCount()
99 if (Idx >= C->child_count()) in GetChildAt()
102 << ", child_count = " << C->child_count(); in GetChildAt()
/external/kmod/tools/
Ddepmod.c341 int child_count = 0; in index_write__node() local
352 child_count = node->last - node->first + 1; in index_write__node()
353 child_offs = NOFAIL(malloc(child_count * sizeof(uint32_t))); in index_write__node()
355 for (i = 0; i < child_count; i++) { in index_write__node()
370 if (child_count) { in index_write__node()
373 fwrite(child_offs, sizeof(uint32_t), child_count, out); in index_write__node()

12