Lines Matching defs:id
9 // Origin id utils.
26 // 1xxx xxxx xxxx xxxx heap origin id
27 // 0000 xxxx xxxx xxxx stack origin id
28 // 0zzz xxxx xxxx xxxx chained origin id
30 // Heap origin id describes a heap memory allocation and contains (in the xxx
33 // Stack origin id describes a stack memory allocation and contains (in the xxx
37 // Chained origin id describes an event of storing an uninitialized value to
39 // (stack_id, prev_id) -> id, where
42 // * prev_id is another origin id that describes the earlier part of the
51 // The "zzz" bits of chained origin id are used to store the length (or depth)
56 static bool isValidId(u32 id) { return id != 0 && id != (u32)-1; }
97 static Origin CreateStackOrigin(u32 id) {
98 CHECK((id & kStackIdMask) == id);
99 return Origin((1 << kHeapShift) | id);
131 bool inserted = ChainedOriginDepotPut(h.id(), prev.raw_id(), &chained_id);
140 static Origin FromRawId(u32 id) {
141 return Origin(id);