Lines Matching refs:Position
58 intptr_t getEncodedPosition() const { return Position; } in getEncodedPosition()
64 return -Position - kWordSize; in getPosition()
74 return Position - kWordSize; in getLinkPosition()
77 void setPosition(intptr_t NewValue) { Position = NewValue; } in setPosition()
79 bool isBound() const { return Position < 0; } in isBound()
80 bool isLinked() const { return Position > 0; } in isLinked()
82 virtual bool isUnused() const { return Position == 0; } in isUnused()
86 Position = -position - kWordSize; in bindTo()
93 intptr_t Position = 0;
119 template <typename T> T load(intptr_t Position) const { in load() argument
120 assert(Position >= 0 && in load()
121 Position <= (size() - static_cast<intptr_t>(sizeof(T)))); in load()
123 memcpy(&Value, reinterpret_cast<void *>(Contents + Position), sizeof(T)); in load()
127 template <typename T> void store(intptr_t Position, T Value) { in store() argument
128 assert(Position >= 0 && in store()
129 Position <= (size() - static_cast<intptr_t>(sizeof(T)))); in store()
130 memcpy(reinterpret_cast<void *>(Contents + Position), &Value, sizeof(T)); in store()
295 template <typename T> T load(intptr_t Position) const { in load() argument
296 return Buffer.load<T>(Position); in load()
299 template <typename T> void store(intptr_t Position, T Value) { in store() argument
300 Buffer.store(Position, Value); in store()