Searched defs:child_count (Results 1 - 19 of 19) sorted by relevance

/external/ltp/testcases/kernel/sched/pthreads/
H A Dpth_str01.h23 int child_count; /* Count of children created */ member in struct:child_info
29 pthread_mutex_t child_mutex; /* mutex for the child_count */
31 pthread_cond_t child_condvar; /* condition variable for child_count */
H A Dpth_str03.c49 int child_count; /* Count of children created */ member in struct:kid_info
53 pthread_mutex_t child_mutex; /* mutex for the child_count */
55 pthread_cond_t child_condvar; /* condition variable for child_count */
217 /* Register with parent bumping the parent's child_count variable.
227 printf("thread %d bumping child_count (currently %d)\n",
228 my_index, parent->child_count);
231 parent->child_ptrs[parent->child_count++] = info_p;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
H A D2-1.c85 int child_count, i; local
170 while (scanf("*%i*", &child_count) == 0)
180 if (child_count)
181 ratio = (float)count / (float)child_count;
183 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) {
H A D2-2.c86 int child_count, i; local
174 while (scanf("*%i*", &child_count) == 0)
184 if (child_count)
185 ratio = (float)count / (float)child_count;
187 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) {
/external/ltp/testcases/kernel/syscalls/sendmsg/
H A Dsendmsg02.c127 int child_count = 0; local
159 child_pids[child_count++] = child_pid;
171 if (child_count == child_pairs*2)
177 for (i = 0; i < child_count; i++)
182 for (i = 0; i < child_count; i++) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D14-1.c175 int child_count = 0; local
215 child_count++;
220 output("Test spawned %d child processes.\n", child_count);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
H A D4-3.c285 int child_count = 0; local
297 child_count++;
332 output("Test spawned %d child processes.\n", child_count);
/external/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl16.c446 int child_count; local
495 child_count = 0;
515 child_count++;
531 && (child_flag1 + child_flag2 != child_count)) {
540 if (child_flag1 + child_flag2 != child_count) {
582 while (nexited < child_count) {
601 child_sig(SIGUSR1, child_count);
605 for (i = 0; i < child_count; i++)
608 if (i == child_count) {
634 if (nexited != child_count) {
[all...]
/external/ltp/testcases/kernel/syscalls/mkdir/
H A Dmkdir09.c66 int *pidlist, child_count; variable
168 child_count = 0;
171 getchild(j, i, child_count);
172 child_count++;
235 if (count != child_count) {
436 for (j = 0; j < child_count; j++) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
H A D2-3.c257 int child_count; local
467 child_count = td->count;
468 while (child_count < NCHILDREN) {
477 child_count = td->count;
H A D1-2.c309 int child_count; local
509 child_count = 0;
528 child_count++;
537 && (child_count < max_thread_children));
540 child_count);
542 if (child_count == 0)
558 child_count++;
567 && (child_count < max_process_children));
570 child_count);
572 if (child_count
[all...]
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qir_schedule.c48 uint32_t child_count; member in struct:schedule_node
106 for (int i = 0; i < after->child_count; i++) {
111 if (after->child_array_size <= after->child_count) {
118 after->children[after->child_count] = before;
119 after->child_count++;
548 for (int i = 0; i < n->child_count; i++) {
601 if (!n->child_count) {
613 for (int i = 0; i < n->child_count; i++) {
664 for (int i = chosen->child_count - 1; i >= 0; i--) {
H A Dvc4_qpu_schedule.c49 uint32_t child_count; member in struct:schedule_node
120 for (int i = 0; i < before->child_count; i++) {
127 if (before->child_array_size <= before->child_count) {
134 before->children[before->child_count].node = after;
135 before->children[before->child_count].write_after_read =
137 before->child_count++;
713 for (int i = 0; i < n->child_count; i++) {
791 if (!n->child_count) {
794 for (int i = 0; i < n->child_count; i++) {
813 for (int i = node->child_count
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_schedule_instructions.cpp72 int child_count; member in class:schedule_node
797 this->child_count = 0;
833 if (!n->child_count) {
836 for (int i = 0; i < n->child_count; i++) {
852 for (int i = 0; i < n->child_count; i++) {
867 for (int i = 0; i < n->child_count; i++) {
889 for (int i = 0; i < before->child_count; i++) {
896 if (before->child_array_size <= before->child_count) {
909 before->children[before->child_count] = after;
910 before->child_latency[before->child_count]
[all...]
/external/toybox/kconfig/
H A Dmconf.c279 static int child_count; variable
444 child_count++;
459 child_count++;
475 child_count++;
524 child_count++;
596 if (!child_count)
/external/kmod/libkmod/
H A Dlibkmod-index.c240 int i, child_count = 0; local
259 child_count = last - first + 1;
262 sizeof(uint32_t) * child_count));
267 for (i = 0; i < child_count; i++)
673 int i, child_count, value_count, children_padding; local
691 child_count = last - first + 1;
692 for (i = 0; i < child_count; i++)
697 child_count = 0;
701 (sizeof(uint32_t) * child_count)) % sizeof(void *);
709 + sizeof(uint32_t) * child_count
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtree.rb137 if adaptor.child_count( look ) == 0
326 alias child_count length
694 def child_count( tree ) method in class:ANTLR3.CommonTree.TreeAdaptor
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
/external/clang/include/clang/AST/
H A DComment.h235 unsigned child_count() const { function in class:clang::comments::Comment
/external/kmod/tools/
H A Ddepmod.c341 int child_count = 0; local
352 child_count = node->last - node->first + 1;
353 child_offs = NOFAIL(malloc(child_count * sizeof(uint32_t)));
355 for (i = 0; i < child_count; i++) {
370 if (child_count) {
373 fwrite(child_offs, sizeof(uint32_t), child_count, out);

Completed in 834 milliseconds