Lines Matching defs:childp

37 addarc(nltype *parentp, nltype *childp, actype count)
44 count, parentp->name, childp->name);
47 arcp = arclookup(parentp, childp);
77 arcp->arc_childp = childp;
87 arcp->arc_parentlist = childp->parents;
88 childp->parents = arcp;
114 nltype *childp;
125 childp = arcp->arc_childp;
129 if (childp == parentp) {
132 if (childp->propfraction == 0.0) {
135 if (childp->cyclehead != childp) {
136 if (parentp->cycleno == childp->cycleno) {
139 if (parentp->toporder <= childp->toporder) {
143 childp = childp->cyclehead;
145 if (parentp->toporder <= childp->toporder) {
151 if (childp->ncall == 0) {
157 arcp->arc_time = childp->time
159 ((double)childp->ncall));
160 arcp->arc_childtime = childp->childtime
162 ((double)childp->ncall));
185 printname(childp);
187 childp->time, childp->childtime,
188 arcp->arc_count, childp->ncall);
203 nltype *childp;
207 for (childp = cyclenlp->cnext; childp; childp = childp->cnext) {
208 if (childp->propfraction == 0.0) {
215 cyclenlp->time += childp->time;
357 inheritflags(nltype *childp)
364 headp = childp->cyclehead;
365 if (childp == headp) {
369 childp->printflag = FALSE;
370 childp->propfraction = 0.0;
371 for (arcp = childp->parents; arcp;
374 if (childp == parentp) {
377 childp->printflag |= parentp->printflag;
383 if (childp->ncall) {
384 childp->propfraction += parentp->propfraction
386 / ((double)childp->ncall));
475 nltype *childp;
480 childp = topsortnlp[index];
489 if (childp->cyclehead != oldhead) {
490 oldhead = childp->cyclehead;
491 inheritflags(childp);
496 printname(childp);
499 childp->printflag, childp->propfraction);
502 if (!childp->printflag) {
511 if (((on_flist = onlist(flist, childp->name)) != 0) ||
512 (!fflag && !onlist(elist, childp->name))) {
513 if (on_flist || check_ancestors(childp))
514 childp->printflag = TRUE;
523 if ((!onlist(flist, childp->name)) &&
524 onlist(elist, childp->name)) {
525 childp->printflag = FALSE;
528 if (childp->propfraction == 0.0) {
536 if (onlist(Flist, childp->name) ||
537 (!Fflag && !onlist(Elist, childp->name))) {
538 childp->propfraction = 1.0;
547 if (!onlist(Flist, childp->name) &&
548 onlist(Elist, childp->name)) {
549 if (check_parents(childp))
550 childp->propfraction = 0.0;
553 childp->propself = childp->time * childp->propfraction;
554 printtime += childp->propself;
558 printname(childp);
561 childp->printflag, childp->propfraction);
563 childp->time, childp->propself, printtime);