Home
last modified time | relevance | path

Searched refs:childp (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/usr.bin/gprof/
Darcs.c47 addarc(nltype *parentp, nltype *childp, long count) in addarc() argument
54 count , parentp -> name , childp -> name ); in addarc()
57 arcp = arclookup( parentp , childp ); in addarc()
73 arcp -> arc_childp = childp; in addarc()
83 arcp -> arc_parentlist = childp -> parents; in addarc()
84 childp -> parents = arcp; in addarc()
264 nltype *childp; in timepropagate() local
275 childp = arcp -> arc_childp; in timepropagate()
282 if ( childp == parentp ) { in timepropagate()
285 if ( childp -> propfraction == 0.0 ) { in timepropagate()
[all …]
Ddfn.c128 dfn_numbered(nltype *childp) in dfn_numbered() argument
131 return ( childp -> toporder != DFN_NAN && childp -> toporder != DFN_BUSY ); in dfn_numbered()
138 dfn_busy(nltype *childp) in dfn_busy() argument
141 if ( childp -> toporder == DFN_NAN ) { in dfn_busy()
151 dfn_findcycle(nltype *childp) in dfn_findcycle() argument
160 if ( childp == cycleheadp ) { in dfn_findcycle()
163 if ( childp -> cyclehead != childp && in dfn_findcycle()
164 childp -> cyclehead == cycleheadp ) { in dfn_findcycle()
183 dfn_self_cycle( childp ); in dfn_findcycle()
217 childp = dfn_stack[ index ].nlentryp; in dfn_findcycle()
[all …]
Di386.c38 nltype *childp; in findcall() local
66 childp = nllookup(destpc); in findcall()
69 printf( " childp->name %s" , childp -> name ); in findcall()
71 childp -> value ); in findcall()
74 if (childp != NULL && childp->value == destpc) { in findcall()
75 addarc(parentp, childp, 0L); in findcall()
Dprintgprof.c277 printparents(nltype *childp) in printparents() argument
283 if ( childp -> cyclehead != 0 ) { in printparents()
284 cycleheadp = childp -> cyclehead; in printparents()
286 cycleheadp = childp; in printparents()
288 if ( childp -> parents == 0 ) { in printparents()
293 sortparents( childp ); in printparents()
294 for ( arcp = childp -> parents ; arcp ; arcp = arcp -> arc_parentlist ) { in printparents()
296 if ( childp == parentp || ( arcp -> arc_flags & DEADARC ) || in printparents()
297 ( childp->cycleno != 0 && parentp->cycleno == childp->cycleno ) ) { in printparents()
323 nltype *childp; in printchildren() local
[all …]
Dmips64.c72 nltype *childp; in findcall() local
95 childp = nllookup(destpc); in findcall()
96 if (childp != 0 && childp->value == destpc) in findcall()
97 addarc(parentp, childp, 0L); in findcall()
Dlookup.c78 arclookup(nltype *parentp, nltype *childp) in arclookup() argument
82 if ( parentp == 0 || childp == 0 ) { in arclookup()
89 parentp -> name , childp -> name ); in arclookup()
100 if ( arcp -> arc_childp == childp ) { in arclookup()
Dgprof.c328 nltype *childp; in tally() local
331 childp = nllookup( rawp -> raw_selfpc ); in tally()
332 if ( parentp == 0 || childp == 0 ) in tally()
336 && onlist( ktolist , childp -> name ) ) { in tally()
339 childp -> ncall += rawp -> raw_count; in tally()
343 parentp -> name , childp -> name , rawp -> raw_count ); in tally()
346 addarc( parentp , childp , rawp -> raw_count ); in tally()
/openbsd/src/gnu/usr.bin/binutils/gdb/gdbserver/
Dlinux-low.c372 linux_wait_for_process (struct process_info **childp, int *wstatp) in linux_wait_for_process() argument
377 if (*childp != NULL) in linux_wait_for_process()
378 to_wait_for = (*childp)->lwpid; in linux_wait_for_process()
412 *childp = (struct process_info *) find_inferior_id (&all_processes, ret); in linux_wait_for_process()
414 (*childp)->stopped = 1; in linux_wait_for_process()
415 (*childp)->pending_is_breakpoint = 0; in linux_wait_for_process()
421 find_inferior_id (&all_threads, (*childp)->tid); in linux_wait_for_process()