Searched refs:position_ (Results 1 - 25 of 45) sorted by relevance

12

/external/v8/src/snapshot/
H A Dsnapshot-source-sink.h25 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 Dsnapshot-source-sink.cc17 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 Dmemory_input_stream.cc30 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 Dfile_input_stream.cc28 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 Dfile_input_stream.h51 size_t position_; member in class:sfntly::FileInputStream
H A Dmemory_input_stream.h51 size_t position_; member in class:sfntly::MemoryInputStream
/external/ceres-solver/internal/ceres/
H A Dblock_structure.h52 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 Dzero_copy_stream_impl_lite.cc61 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 Dzero_copy_stream_impl_lite.h85 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 Dfont_input_stream.cc24 : 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 Dfont_output_stream.cc25 position_(0) {
35 position_++;
42 position_ += b->size();
59 position_ += len;
74 position_ += len;
126 position_ = 0;
H A Dfont_input_stream.h75 virtual int64_t position() { return position_; }
90 int64_t position_; member in class:sfntly::FontInputStream
H A Dfont_output_stream.h51 virtual size_t position() { return position_; }
74 size_t position_; member in class:sfntly::FontOutputStream
/external/google-breakpad/src/client/
H A Dminidump_file_writer.h117 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 Dminidump_file_writer-inl.h75 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 Dminidump_file_writer.cc54 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 Dzone.cc79 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 Dutils.cc20 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 Dscanner.h156 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 Djson-parser.h42 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 DvktDynamicStateTestCaseUtil.hpp44 PositionColorVertex(const tcu::Vec4& position_, const tcu::Vec4& color_) argument
45 : position(position_)
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawBaseClass.hpp53 PositionColorVertex(tcu::Vec4 position_, tcu::Vec4 color_) argument
54 : position(position_)
/external/webrtc/webrtc/base/
H A Dmultipart.cc28 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 Dmouse_cursor_monitor_unittest.cc38 position_ = position;
45 DesktopVector position_; member in class:webrtc::MouseCursorMonitorTest
/external/v8/src/profiler/
H A Dprofile-generator-inl.h25 position_(0),

Completed in 787 milliseconds

12