Lines Matching refs:Origin
55 class Origin {
86 Origin getNextChainedOrigin(StackTrace *stack) const { in getNextChainedOrigin()
91 return Origin(prev_id); in getNextChainedOrigin()
98 static Origin CreateStackOrigin(u32 id) { in CreateStackOrigin()
100 return Origin((1 << kHeapShift) | id); in CreateStackOrigin()
103 static Origin CreateHeapOrigin(StackTrace *stack) { in CreateHeapOrigin()
107 return Origin(stack_id); in CreateHeapOrigin()
110 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) { in CreateChainedOrigin()
138 return Origin((1 << kHeapShift) | (depth << kDepthShift) | chained_id); in CreateChainedOrigin()
141 static Origin FromRawId(u32 id) { in FromRawId()
142 return Origin(id); in FromRawId()
156 explicit Origin(u32 raw_id) : raw_id_(raw_id) {} in Origin() function