/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 | 17 memcpy(to, data_ + position_, number_of_bytes); 18 position_ += number_of_bytes; 45 CHECK(position_ + size <= length_); 46 *data = &data_[position_];
|
/external/sfntly/cpp/src/sfntly/port/ |
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.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...] |
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/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/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...] |
zero_copy_stream_impl_lite.h | 85 int position_; member in class:google::protobuf::io::ArrayInputStream 117 int position_; member in class:google::protobuf::io::ArrayOutputStream 231 int64 position_; member in class:google::protobuf::io::CopyingInputStreamAdaptor 320 int64 position_; member in class:google::protobuf::io::CopyingOutputStreamAdaptor
|
/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_input_stream.h | 75 virtual int64_t position() { return position_; } 90 int64_t position_; member in class:sfntly::FontInputStream
|
font_output_stream.h | 51 virtual size_t position() { return position_; } 74 size_t position_; member in class:sfntly::FontOutputStream
|
/external/google-breakpad/src/client/ |
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/v8/src/parsing/ |
json-parser.h | 42 position_(-1) { 56 position_++; 57 if (position_ >= source_length_) { 60 c0_ = seq_source_->SeqOneByteStringGet(position_); 62 c0_ = source_->Get(position_); 107 if (source_->length() - position_ - 1 > length) { 112 const uint8_t* input_chars = seq_source_->GetChars() + position_ + 1; 121 position_ = position_ + length + 1; 205 int position_; member in class:v8::internal::BASE_EMBEDDED [all...] |
scanner.h | 156 LiteralBuffer() : is_one_byte_(true), position_(0), backing_store_() { } 161 if (position_ >= backing_store_.length()) ExpandBuffer(); 164 backing_store_[position_] = static_cast<byte>(code_unit); 165 position_ += kOneByteSize; 171 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = code_unit; 172 position_ += kUC16Size; 174 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = 176 position_ += kUC16Size; 177 if (position_ >= backing_store_.length()) ExpandBuffer(); 178 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) 275 int position_; member in class:v8::internal::LiteralBuffer [all...] |
/external/v8/src/ |
zone.cc | 79 position_(0), 99 position_ += ((~size) & 4) & (reinterpret_cast<intptr_t>(position_) & 4); 105 Address result = position_; 108 if (limit_ < position_ + size_with_redzone) { 111 position_ += size_with_redzone; 115 DCHECK(redzone_position + kASanRedzoneBytes == position_); 160 position_ = RoundUp(start, kAlignment); 169 position_ = limit_ = 0; 225 DCHECK_LT(limit_, position_ + size) [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...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/io/ |
zero_copy_stream_impl_lite.h | 84 int position_; member in class:google::protobuf::io::ArrayInputStream 116 int position_; member in class:google::protobuf::io::ArrayOutputStream 230 int64 position_; member in class:google::protobuf::io::CopyingInputStreamAdaptor 319 int64 position_; member in class:google::protobuf::io::CopyingOutputStreamAdaptor
|
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/io/ |
zero_copy_stream_impl_lite.h | 84 int position_; member in class:google::protobuf::io::ArrayInputStream 116 int position_; member in class:google::protobuf::io::ArrayOutputStream 230 int64 position_; member in class:google::protobuf::io::CopyingInputStreamAdaptor 319 int64 position_; member in class:google::protobuf::io::CopyingOutputStreamAdaptor
|
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/io/ |
zero_copy_stream_impl_lite.h | 84 int position_; member in class:google::protobuf::io::ArrayInputStream 116 int position_; member in class:google::protobuf::io::ArrayOutputStream 230 int64 position_; member in class:google::protobuf::io::CopyingInputStreamAdaptor 319 int64 position_; member in class:google::protobuf::io::CopyingOutputStreamAdaptor
|
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/io/ |
zero_copy_stream_impl_lite.h | 84 int position_; member in class:google::protobuf::io::ArrayInputStream 116 int position_; member in class:google::protobuf::io::ArrayOutputStream 230 int64 position_; member in class:google::protobuf::io::CopyingInputStreamAdaptor 319 int64 position_; member in class:google::protobuf::io::CopyingOutputStreamAdaptor
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateTestCaseUtil.hpp | 44 PositionColorVertex(const tcu::Vec4& position_, const tcu::Vec4& color_) 45 : position(position_)
|