Home | History | Annotate | Download | only in utils

Lines Matching defs:Position

57   // Returns the position for bound and linked labels. Cannot be used
59 int Position() const {
80 void BindTo(int position) {
82 position_ = -position - kPointerSize;
86 void LinkTo(int position) {
88 position_ = position + kPointerSize;
105 virtual void Process(const MemoryRegion& region, int position) = 0;
115 int position() const { return position_; }
116 void set_position(int position) { position_ = position; }
157 template<typename T> T Load(size_t position) {
158 CHECK_LE(position, Size() - static_cast<int>(sizeof(T)));
159 return *reinterpret_cast<T*>(contents_ + position);
162 template<typename T> void Store(size_t position, T value) {
163 CHECK_LE(position, Size() - static_cast<int>(sizeof(T)));
164 *reinterpret_cast<T*>(contents_ + position) = value;
272 // Returns the position in the instruction stream.