Home
last modified time | relevance | path

Searched refs:cursor_ (Results 1 – 20 of 20) sorted by relevance

/external/protobuf/js/binary/
Ddecoder.js78 this.cursor_ = 0;
104 this.cursor_ = 0;
160 this.cursor_ = 0;
200 if (this.cursor_ == this.elements_.length) {
204 this.nextValue_ = this.elements_[this.cursor_++];
246 this.cursor_ = 0;
331 this.cursor_ = 0;
358 this.cursor_ = this.start_;
382 this.cursor_ = this.start_;
391 return this.cursor_;
[all …]
/external/vixl/src/
Dcode-buffer-vixl.cc46 cursor_(NULL), in CodeBuffer()
69 cursor_ = buffer_; in CodeBuffer()
76 cursor_(reinterpret_cast<byte*>(buffer)), in CodeBuffer()
115 char* dst = reinterpret_cast<char*>(cursor_); in EmitString()
118 cursor_ = reinterpret_cast<byte*>(null_char) + 1; in EmitString()
125 memcpy(cursor_, data, size); in EmitData()
126 cursor_ = cursor_ + size; in EmitData()
133 VIXL_ASSERT(dst + size <= cursor_); in UpdateData()
139 byte* end = AlignUp(cursor_, 4); in Align()
140 const size_t padding_size = end - cursor_; in Align()
[all …]
Dcode-buffer-vixl.h58 ptrdiff_t cursor_offset = cursor_ - buffer_; in GetOffsetFrom()
74 VIXL_ASSERT((buffer_ <= rewound_cursor) && (rewound_cursor <= cursor_)); in Rewind()
75 cursor_ = rewound_cursor; in Rewind()
81 VIXL_ASSERT((offset >= 0) && (offset <= (cursor_ - buffer_))); in GetOffsetAddress()
98 VIXL_ASSERT((cursor_ >= buffer_) && (cursor_ <= (buffer_ + capacity_))); in GetRemainingBytes()
99 return (buffer_ + capacity_) - cursor_; in GetRemainingBytes()
106 VIXL_ASSERT((cursor_ >= buffer_) && (cursor_ <= (buffer_ + capacity_))); in GetSizeInBytes()
107 return cursor_ - buffer_; in GetSizeInBytes()
130 memcpy(cursor_, &value, sizeof(value)); in Emit()
131 cursor_ += sizeof(value); in Emit()
[all …]
/external/libchrome/mojo/public/cpp/bindings/lib/
Dbuffer.cc18 : data_(data), size_(size), cursor_(cursor) { in Buffer()
30 cursor_(0) { in Buffer()
45 cursor_ = other.cursor_; in operator =()
52 const size_t new_cursor = cursor_ + aligned_num_bytes; in Allocate()
53 if (new_cursor < cursor_ || (new_cursor > size_ && !message_.is_valid())) { in Allocate()
75 size_t block_start = cursor_; in Allocate()
76 cursor_ = new_cursor; in Allocate()
109 DCHECK_LE(message_payload_size_, cursor_); in Seal()
110 size_t additional_bytes = cursor_ - message_payload_size_; in Seal()
123 message_payload_size_ = cursor_; in Seal()
[all …]
Dbuffer.h61 size_t cursor() const { return cursor_; } in COMPONENT_EXPORT()
77 DCHECK_LT(index, cursor_); in COMPONENT_EXPORT()
123 size_t cursor_ = 0; in COMPONENT_EXPORT() local
/external/grpc-grpc/src/core/lib/transport/
Dbyte_stream.cc58 GPR_ASSERT(cursor_ < backing_buffer_.count); in Next()
66 GPR_ASSERT(cursor_ < backing_buffer_.count); in Pull()
67 *slice = grpc_slice_ref_internal(backing_buffer_.slices[cursor_]); in Pull()
68 ++cursor_; in Pull()
117 if (cursor_ < cache_->cache_buffer_.count) return true; in Next()
126 if (cursor_ < cache_->cache_buffer_.count) { in Pull()
127 *slice = grpc_slice_ref_internal(cache_->cache_buffer_.slices[cursor_]); in Pull()
128 ++cursor_; in Pull()
137 ++cursor_; in Pull()
156 cursor_ = 0; in Reset()
Dbyte_stream.h103 size_t cursor_ = 0; variable
141 size_t cursor_ = 0; variable
/external/flatbuffers/src/
Didl_parser.cpp225 if (!is_xdigit(cursor_[i])) in ParseHexNum()
228 std::string target(cursor_, cursor_ + nibbles); in ParseHexNum()
230 cursor_ += nibbles; in ParseHexNum()
235 if (static_cast<unsigned char>(*cursor_) != 0xef) return NoError(); in SkipByteOrderMark()
236 cursor_++; in SkipByteOrderMark()
237 if (static_cast<unsigned char>(*cursor_) != 0xbb) in SkipByteOrderMark()
239 cursor_++; in SkipByteOrderMark()
240 if (static_cast<unsigned char>(*cursor_) != 0xbf) in SkipByteOrderMark()
242 cursor_++; in SkipByteOrderMark()
252 bool seen_newline = cursor_ == source_; in Next()
[all …]
/external/google-breakpad/src/common/linux/
Delf_symbols_to_module.cc74 : value_size_(value_size), cursor_(buffer, big_endian) { in ELFSymbolIterator()
99 cursor_ in Fetch()
108 cursor_ in Fetch()
116 symbol_.at_end = !cursor_; in Fetch()
123 ByteCursor cursor_; member in google_breakpad::ELFSymbolIterator
/external/v8/src/
Dunicode-decoder.cc35 offset_ = cursor_; in operator ++()
38 Utf8::ValueOf(reinterpret_cast<const uint8_t*>(stream_.begin()) + cursor_, in operator ++()
39 stream_.length() - cursor_, &cursor_); in operator ++()
Dstring-builder-inl.h194 cursor_ = start_; in NoExtend()
197 V8_INLINE void Append(DestChar c) { *(cursor_++) = c; } in Append()
203 int written() { return static_cast<int>(cursor_ - start_); } in written()
207 DestChar* cursor_; variable
Dunicode-decoder.h24 cursor_(offset), in Utf8Iterator()
49 size_t cursor_; variable
Dconversions.cc240 int cursor() { return cursor_; } in cursor()
257 int cursor_ = 0; member in v8::internal::__anonf04617f20111::StringToIntHelper
372 cursor_ = static_cast<int>(current - start); in DetectRadixInternal()
377 Char current = start + cursor_; in ParseInternal()
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader.cc1209 address_(address), entry_(NULL), cursor_(NULL) { } in State()
1290 uint64 CursorOffset() { return entry_->offset + (cursor_ - entry_->start); } in CursorOffset()
1315 const char *cursor_; member in dwarf2reader::CallFrameInfo::State
1332 cursor_ = entry_->instructions; in InterpretCIE()
1333 while (cursor_ < entry_->end) in InterpretCIE()
1344 cursor_ = entry_->instructions; in InterpretFDE()
1345 while (cursor_ < entry_->end) in InterpretFDE()
1357 size_t bytes_left = entry_->end - cursor_; in ParseOperands()
1360 operands->register_number = reader_->ReadUnsignedLEB128(cursor_, &len); in ParseOperands()
1362 cursor_ += len; in ParseOperands()
[all …]
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_and_cursor_composer.cc154 if (frame && cursor_.get() && cursor_state_ == MouseCursorMonitor::INSIDE) { in OnCaptureCompleted()
156 new DesktopFrameWithCursor(frame, *cursor_, cursor_position_); in OnCaptureCompleted()
164 cursor_.reset(cursor); in OnMouseCursor()
Ddesktop_and_cursor_composer.h54 rtc::scoped_ptr<MouseCursor> cursor_; variable
/external/google-breakpad/src/common/
Dstabs_reader.cc50 : value_size_(value_size), cursor_(buffer, big_endian) { in EntryIterator()
59 cursor_ in Fetch()
65 entry_.at_end = !cursor_; in Fetch()
Dstabs_reader.h173 ByteCursor cursor_; variable
/external/flatbuffers/include/flatbuffers/
Didl.h513 : cursor_(nullptr), in ParserState()
521 cursor_ = source; in ResetState()
527 line_start_ = cursor_; in MarkNewLine()
532 FLATBUFFERS_ASSERT(cursor_ && line_start_ && cursor_ >= line_start_); in CursorPosition()
533 return static_cast<int64_t>(cursor_ - line_start_); in CursorPosition()
536 const char *cursor_; member
/external/boringssl/src/crypto/test/
Dabi_test.cc335 int ret = InitAtSignalFrame(&cursor_); in UnwindCursor()
345 int ret = unw_step(&cursor_); in Step()
448 int ret = unw_get_reg(&cursor_, reg, &val); in GetReg()
458 unw_cursor_t cursor_; member in abi_test::internal::UnwindCursor