Lines Matching defs:Position
83 // Returns the position for bound and linked labels. Cannot be used
85 int Position() const {
106 void BindTo(int position) {
108 position_ = -position - kPointerSize;
112 void LinkTo(int position) {
114 position_ = position + kPointerSize;
134 virtual void Process(const MemoryRegion& region, int position) = 0;
144 int position() const { return position_; }
145 void set_position(int position) { position_ = position; }
186 template<typename T> T Load(size_t position) {
187 CHECK_LE(position, Size() - static_cast<int>(sizeof(T)));
188 return *reinterpret_cast<T*>(contents_ + position);
191 template<typename T> void Store(size_t position, T value) {
192 CHECK_LE(position, Size() - static_cast<int>(sizeof(T)));
193 *reinterpret_cast<T*>(contents_ + position) = value;
310 // Returns the position in the instruction stream.