Lines Matching refs:Reference
55 struct Reference<T: type> {
60 type ConstReference<T: type> extends Reference<T>;
67 Reference<T>{object: object, offset: offset, unsafeMarker: Unsafe {}});
70 return %RawDownCast<&T>(Reference<T>{
87 struct Slice<T: type, Reference: type> {
88 macro TryAtIndex(index: intptr): Reference labels OutOfBounds {
95 macro UncheckedAtIndex(index: intptr): Reference {
100 macro AtIndex(index: intptr): Reference {
104 macro AtIndex(index: uintptr): Reference {
108 macro AtIndex(index: constexpr IntegerLiteral): Reference {
112 macro AtIndex(index: constexpr int31): Reference {
117 macro AtIndex(index: Smi): Reference {
122 macro Iterator(): SliceIterator<T, Reference> {
124 return SliceIterator<T, Reference>{
132 startIndex: intptr, endIndex: intptr): SliceIterator<T, Reference> {
138 return SliceIterator<T, Reference>{
194 struct SliceIterator<T: type, Reference: type> {
203 macro NextReference(): Reference labels NoMore {