/art/compiler/utils/ |
label.h | 71 Label() : position_(0) {} 74 : position_(src.position_) { 77 src.position_ = 0; 89 return IsBound() ? -position_ - sizeof(void*) : position_ - sizeof(void*); 94 return position_ - sizeof(void*); 97 bool IsBound() const { return position_ < 0; } 98 bool IsUnused() const { return position_ == 0; } 99 bool IsLinked() const { return position_ > 0; 102 int position_; member in class:art::Label [all...] |
/external/v8/src/snapshot/ |
snapshot-source-sink.h | 25 position_(0) {} 28 : data_(payload.start()), length_(payload.length()), position_(0) {} 32 bool HasMore() { return position_ < length_; } 35 DCHECK(position_ < length_); 36 return data_[position_++]; 39 void Advance(int by) { position_ += by; } 46 DCHECK(position_ + 3 < length_); 47 uint32_t answer = data_[position_]; 48 answer |= data_[position_ + 1] << 8; 49 answer |= data_[position_ + 2] << 16 [all...] |
snapshot-source-sink.cc | 16 memcpy(to, data_ + position_, number_of_bytes); 17 position_ += number_of_bytes; 44 CHECK(position_ + size <= length_); 45 *data = &data_[position_];
|
/external/sfntly/cpp/src/sfntly/port/ |
file_input_stream.cc | 28 position_(0), 37 return length_ - position_; 44 position_ = 0; 73 position_ += length; 95 size_t read_count = std::min<size_t>(length_ - position_, length); 100 position_ += actual_read; 117 skip_count = std::max<int64_t>(0 - (int64_t)position_, n); 118 position_ -= (size_t)(0 - skip_count); 119 fseek(file_, position_, SEEK_SET); 121 skip_count = std::min<size_t>(length_ - position_, (size_t)n) [all...] |
memory_input_stream.cc | 30 position_(0), 39 return length_ - position_; 61 if (position_ >= length_) { 67 byte_t value = buffer_[position_++]; 83 if (position_ >= length_) { 89 size_t read_count = std::min<size_t>(length_ - position_, length); 93 memcpy(&((*b)[offset]), buffer_ + position_, read_count); 94 position_ += read_count; 111 skip_count = std::max<int64_t>(0 - (int64_t)position_, n); 112 position_ -= (size_t)(0 - skip_count) [all...] |
file_input_stream.h | 51 size_t position_; member in class:sfntly::FileInputStream
|
memory_input_stream.h | 51 size_t position_; member in class:sfntly::MemoryInputStream
|
/external/chromium-trace/catapult/netlog_viewer/netlog_viewer/ |
horizontal_scrollbar_view.js | 33 this.position_ = 0; 60 * If |range| is less than the original position, |position_| is set to 66 if (range < this.position_) 67 this.position_ = range; 68 this.setPosition(this.position_); 76 this.position_ = position; 81 * Updates the visible position of the scrollbar to be |position_|. 94 this.getNode().scrollLeft = this.position_; 95 if (this.getNode().scrollLeft != this.position_) { 106 return this.position_; [all...] |
timeline_view_test.js | 209 this.position_ = position; 222 if (scrollbar().getNode().scrollLeft == this.position_) { 225 scrollbar().setPosition(this.position_); 252 assertEquals(this.position_, scrollbar().getNode().scrollLeft); 253 assertEquals(this.position_, scrollbar().getPosition()); 260 scrollbar().getNode().scrollLeft = this.position_;
|
/external/sfntly/cpp/src/sfntly/data/ |
font_input_stream.cc | 24 : stream_(is), position_(0), length_(0), bounded_(false) { 28 : stream_(is), position_(0), length_(length), bounded_(true) { 68 if (!stream_ || (bounded_ && position_ >= length_)) { 73 position_++; 80 (bounded_ && position_ >= length_)) { 84 bounded_ ? std::min<int32_t>(length, (int32_t)(length_ - position_)) : 87 position_ += bytes_read; 135 position_ += skipped;
|
font_output_stream.cc | 25 position_(0) { 35 position_++; 42 position_ += b->size(); 59 position_ += len; 74 position_ += len; 126 position_ = 0;
|
font_output_stream.h | 51 virtual size_t position() { return position_; } 74 size_t position_; member in class:sfntly::FontOutputStream
|
/external/v8/src/ |
zone.cc | 78 position_(0), 98 position_ += ((~size) & 4) & (reinterpret_cast<intptr_t>(position_) & 4); 104 Address result = position_; 108 const uintptr_t position = reinterpret_cast<uintptr_t>(position_); 109 // position_ > limit_ can be true after the alignment correction above. 113 position_ += size_with_redzone; 117 DCHECK(redzone_position + kASanRedzoneBytes == position_); 162 position_ = RoundUp(start, kAlignment); 171 position_ = limit_ = 0 [all...] |
utils.cc | 20 position_ = 0; 30 DCHECK(!is_finalized() && position_ + n <= buffer_.length()); 32 MemCopy(&buffer_[position_], s, n * kCharSize); 33 position_ += n; 54 position_ += digits; 56 buffer_[position_ - i] = '0' + static_cast<char>(number % 10); 63 DCHECK(!is_finalized() && position_ <= buffer_.length()); 65 if (position_ == buffer_.length()) { 66 position_--; 68 for (int i = 3; i > 0 && position_ > i; --i) buffer_[position_ - i] = '.' [all...] |
json-parser.cc | 110 position_(-1) { 132 Handle<Object> arg1 = Handle<Smi>(Smi::FromInt(position_), isolate()); 166 MessageLocation location(script, position_, position_ + 1); 178 position_++; 179 if (position_ >= source_length_) { 182 c0_ = seq_source_->SeqOneByteStringGet(position_); 184 c0_ = source_->Get(position_); 220 if (source_->length() - position_ - 1 > length) { 225 const uint8_t* input_chars = seq_source_->GetChars() + position_ + 1 [all...] |
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl_lite.cc | 61 position_(0), 69 if (position_ < size_) { 70 last_returned_size_ = min(block_size_, size_ - position_); 71 *data = data_ + position_; 73 position_ += last_returned_size_; 87 position_ -= count; 94 if (count > size_ - position_) { 95 position_ = size_; 98 position_ += count; 104 return position_; [all...] |
/external/v8/src/parsing/ |
scanner.h | 158 LiteralBuffer() : is_one_byte_(true), position_(0), backing_store_() { } 163 if (position_ >= backing_store_.length()) ExpandBuffer(); 166 backing_store_[position_] = static_cast<byte>(code_unit); 167 position_ += kOneByteSize; 172 if (position_ >= backing_store_.length()) ExpandBuffer(); 175 backing_store_[position_] = static_cast<byte>(code_unit); 176 position_ += kOneByteSize; 182 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = code_unit; 183 position_ += kUC16Size; 185 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) 292 int position_; member in class:v8::internal::LiteralBuffer [all...] |
/external/ceres-solver/internal/ceres/ |
block_structure.h | 52 Block(int size_, int position_) : size(size_), position(position_) {} 60 Cell(int block_id_, int position_) 61 : block_id(block_id_), position(position_) {}
|
/external/chromium-trace/catapult/tracing/tracing/extras/importer/etw/ |
etw_importer.html | 76 this.position_ = 0; 80 this.position_ += length; 84 var result = this.payload_.getUint8(this.position_, true); 85 this.position_ += 1; 90 var result = this.payload_.getUint16(this.position_, true); 91 this.position_ += 2; 96 var result = this.payload_.getUint32(this.position_, true); 97 this.position_ += 4; 112 var result = this.payload_.getInt8(this.position_, true); 113 this.position_ += 1 [all...] |
/external/google-breakpad/src/client/ |
minidump_file_writer.cc | 54 position_(0), 84 if (-1 == ftruncate(file_, position_)) { 225 if (position_ + aligned_size > size_) { 240 MDRVA current_position = position_; 241 position_ += static_cast<MDRVA>(aligned_size); 273 position_ = writer_->Allocate(size_); 274 return position_ != MinidumpFileWriter::kInvalidMDRVA; 280 assert(pos + size <= position_ + size_);
|
minidump_file_writer.h | 117 inline MDRVA position() const { return position_; } 134 MDRVA position_; member in class:google_breakpad::MinidumpFileWriter 160 position_(writer->position()), 168 inline MDRVA position() const { return position_; } 176 position_ }; 186 return Copy(position_, src, size); 194 MDRVA position_; member in class:google_breakpad::UntypedMDRVA
|
minidump_file_writer-inl.h | 75 static_cast<MDRVA>(position_ + index * minidump_size<MDType>::size()), 85 static_cast<MDRVA>(position_ + minidump_size<MDType>::size() 92 return writer_->Copy(position_, &data_, minidump_size<MDType>::size());
|
/external/webrtc/webrtc/base/ |
multipart.cc | 28 position_(0) { 91 ASSERT(0 == position_); 150 position_ += *read; 174 position_ = 0; 196 position_ = position; 206 *position = position_;
|
/external/chromium-trace/catapult/tracing/tracing/extras/importer/ |
ddms_importer.html | 39 this.position_ = 0; 47 var result = this.data_[this.position_]; 48 this.position_ += 1; 79 this.position_ = position; 83 return this.position_ < this.data_.length;
|
/external/v8/src/profiler/ |
profile-generator-inl.h | 25 position_(0),
|