/external/v8/src/snapshot/ |
H A D | 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_ [all...] |
H A D | 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/ |
H A D | 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_ [all...] |
H A D | 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_ [all...] |
H A D | file_input_stream.h | 51 size_t position_; member in class:sfntly::FileInputStream
|
H A D | memory_input_stream.h | 51 size_t position_; member in class:sfntly::MemoryInputStream
|
/external/ceres-solver/internal/ceres/ |
H A D | block_structure.h | 52 Block(int size_, int position_) : size(size_), position(position_) {} argument 60 Cell(int block_id_, int position_) argument 61 : block_id(block_id_), position(position_) {}
|
/external/protobuf/src/google/protobuf/io/ |
H A D | 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...] |
H A D | 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/ |
H A D | 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;
|
H A D | font_output_stream.cc | 25 position_(0) { 35 position_++; 42 position_ += b->size(); 59 position_ += len; 74 position_ += len; 126 position_ = 0;
|
H A D | font_input_stream.h | 75 virtual int64_t position() { return position_; } 90 int64_t position_; member in class:sfntly::FontInputStream
|
H A D | 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/ |
H A D | 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
|
H A D | 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());
|
H A D | 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_);
|
/external/v8/src/ |
H A D | 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_ [all...] |
H A D | 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_ > [all...] |
/external/v8/src/parsing/ |
H A D | 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...] |
H A D | 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...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateTestCaseUtil.hpp | 44 PositionColorVertex(const tcu::Vec4& position_, const tcu::Vec4& color_) argument 45 : position(position_)
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawBaseClass.hpp | 53 PositionColorVertex(tcu::Vec4 position_, tcu::Vec4 color_) argument 54 : position(position_)
|
/external/webrtc/webrtc/base/ |
H A D | multipart.cc | 28 position_(0) { 91 ASSERT(0 == position_); 150 position_ += *read; 174 position_ = 0; 196 position_ = position; 206 *position = position_;
|
/external/webrtc/webrtc/modules/desktop_capture/ |
H A D | mouse_cursor_monitor_unittest.cc | 38 position_ = position; 45 DesktopVector position_; member in class:webrtc::MouseCursorMonitorTest
|
/external/v8/src/profiler/ |
H A D | profile-generator-inl.h | 25 position_(0),
|