Home | History | Annotate | Download | only in runtime

Lines Matching defs:Callers

165 // meaning of skip differs between Caller and Callers.) The return values report the
173 if callers(1+skip-1, rpc[:]) < 2 {
177 callers := stackExpander.init(rpc[:])
181 callers, _, ok = stackExpander.next(callers, true)
185 _, frame, _ := stackExpander.next(callers, true)
192 // Callers fills the slice pc with the return program counters of function invocations
194 // to skip before recording in pc, with 0 identifying the frame for Callers itself and
195 // 1 identifying the caller of Callers.
205 func Callers(skip int, pc []uintptr) int {
206 // runtime.callers uses pc.array==nil as a signal
212 return callers(skip, pc)