HomeSort by relevance Sort by last modified time
    Searched refs:pos_ (Results 1 - 25 of 74) sorted by null

1 2 3

  /external/v8/src/
label.h 33 INLINE(void Unuse()) { pos_ = 0; }
36 INLINE(bool is_bound() const) { return pos_ < 0; }
37 INLINE(bool is_unused() const) { return pos_ == 0 && near_link_pos_ == 0; }
38 INLINE(bool is_linked() const) { return pos_ > 0; }
44 if (pos_ < 0) return -pos_ - 1;
45 if (pos_ > 0) return pos_ - 1;
53 // pos_ encodes both the binding state (via its sign)
56 // pos_ < 0 bound label, pos() returns the jump target positio
59 int pos_; member in class:v8::internal::Label
    [all...]
log-utils.cc 107 pos_(0) {
113 Vector<char> buf(log_->message_buffer_ + pos_,
114 Log::kMessageBufferSize - pos_);
119 DCHECK(pos_ <= Log::kMessageBufferSize);
124 Vector<char> buf(log_->message_buffer_ + pos_,
125 Log::kMessageBufferSize - pos_);
130 pos_ += result;
132 pos_ = Log::kMessageBufferSize;
134 DCHECK(pos_ <= Log::kMessageBufferSize);
139 if (pos_ < Log::kMessageBufferSize)
    [all...]
  /system/nvram/messages/
io.cpp 78 : pos_(static_cast<const uint8_t*>(start)),
80 NVRAM_CHECK(pos_ <= end_);
84 return pos_ >= end_ && !Advance();
89 NVRAM_CHECK(pos_ <= end_);
90 while (size > static_cast<size_t>(end_ - pos_)) {
91 memcpy(buffer, pos_, end_ - pos_);
92 buffer += end_ - pos_;
93 size -= end_ - pos_;
94 pos_ = end_
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_flag_parser.cc 76 while (is_space(buf_[pos_])) ++pos_;
80 uptr name_start = pos_;
81 while (buf_[pos_] != 0 && buf_[pos_] != '=' && !is_space(buf_[pos_])) ++pos_;
82 if (buf_[pos_] != '=') fatal_error("expected '='");
83 char *name = ll_strndup(buf_ + name_start, pos_ - name_start);
85 uptr value_start = ++pos_;
    [all...]
  /system/core/init/parser/
tokenizer.cpp 20 : data_(data), eof_(false), pos_(0), tok_start_(0) {
89 pos_++;
90 if (pos_ < data_.size()) {
91 cur_char_ = data_[pos_];
119 tok_start_ = pos_;
124 if (pos_ != tok_start_) {
125 current_.text.append(data_, tok_start_, pos_ - tok_start_);
tokenizer.h 67 size_t pos_; member in class:init::Tokenizer
  /external/brotli/enc/
ringbuffer.h 41 uint32_t pos_; member in struct:RingBuffer
51 rb->pos_ = 0;
95 const size_t masked_pos = rb->pos_ & rb->mask_;
107 if (rb->pos_ == 0 && n < rb->tail_size_) {
114 rb->pos_ = (uint32_t)n;
115 RingBufferInitBuffer(m, rb->pos_, rb);
130 const size_t masked_pos = rb->pos_ & rb->mask_;
149 rb->pos_ += (uint32_t)n;
150 if (rb->pos_ > (1u << 30)) {
152 rb->pos_ = (rb->pos_ & ((1u << 30) - 1)) | (1u << 30)
    [all...]
  /external/v8/src/wasm/
wasm-module-builder.h 26 pos_ = buffer_;
32 *(pos_++) = x;
37 WriteLittleEndianValue<uint16_t>(pos_, x);
38 pos_ += 2;
43 WriteLittleEndianValue<uint32_t>(pos_, x);
44 pos_ += 4;
49 LEBHelper::write_u32v(&pos_, val);
54 LEBHelper::write_i32v(&pos_, val);
60 LEBHelper::write_u32v(&pos_, static_cast<uint32_t>(val));
65 memcpy(pos_, data, size)
113 byte* pos_; member in class:v8::internal::wasm::ZoneBuffer
    [all...]
  /external/libchrome/base/json/
json_parser.cc 196 pos_(nullptr),
221 pos_ = start_pos_;
235 if (CanConsume(3) && static_cast<uint8_t>(*pos_) == 0xEF &&
236 static_cast<uint8_t>(*(pos_ + 1)) == 0xBB &&
237 static_cast<uint8_t>(*(pos_ + 2)) == 0xBF) {
299 : pos_(pos),
306 std::swap(other->pos_, pos_);
332 string_ = new std::string(pos_, length_);
342 return StringPiece(pos_, length_)
    [all...]
json_parser_unittest.cc 23 parser->pos_ = parser->start_pos_;
32 EXPECT_EQ(parser->end_pos_, parser->pos_);
40 EXPECT_EQ('H', *parser->pos_);
51 EXPECT_EQ('"', *parser->pos_);
65 EXPECT_EQ(']', *parser->pos_);
79 EXPECT_EQ('}', *parser->pos_);
96 EXPECT_EQ('e', *parser->pos_);
109 EXPECT_EQ('e', *parser->pos_);
121 EXPECT_EQ('l', *parser->pos_);
134 EXPECT_EQ('4', *parser->pos_);
    [all...]
  /external/v8/src/ic/
ic-stats.h 58 DCHECK(pos_ >= 0 && pos_ < MAX_IC_INFO);
59 return ic_infos_[pos_];
71 int pos_; member in class:v8::internal::ICStats
ic-stats.cc 19 ICStats::ICStats() : ic_infos_(MAX_IC_INFO), pos_(0) {
30 ++pos_;
31 if (pos_ == MAX_IC_INFO) {
41 pos_ = 0;
47 for (int i = 0; i < pos_; ++i) {
83 ic_infos_[pos_].is_optimized = function->IsOptimized();
  /external/icu/icu4c/source/common/
bytestrieiterator.cpp 28 pos_(bytes_), initialPos_(bytes_),
49 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_),
72 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode);
73 pos_+=length;
85 pos_=initialPos_;
92 pos_+=length;
99 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); }
106 const uint8_t *pos=pos_;
    [all...]
ucharstrieiterator.cpp 27 pos_(uchars_), initialPos_(uchars_),
48 : uchars_(trie.uchars_), pos_(trie.pos_), initialPos_(trie.pos_),
71 str_.append(pos_, length);
72 pos_+=length;
83 pos_=initialPos_;
91 pos_+=length;
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); }
105 const UChar *pos=pos_;
    [all...]
bytestrie.cpp 70 const uint8_t *pos=pos_;
134 pos_=pos;
141 pos_=pos;
161 pos_=pos;
184 const uint8_t *pos=pos_;
196 pos_=pos;
214 const uint8_t *pos=pos_;
227 pos_=pos;
247 pos_=pos;
290 pos=pos_; // branchNext() advanced pos and wrote it to pos_
    [all...]
ucharstrie.cpp 33 const UChar *pos=pos_;
107 pos_=pos;
114 pos_=pos;
134 pos_=pos;
156 const UChar *pos=pos_;
165 pos_=pos;
183 const UChar *pos=pos_;
196 pos_=pos;
216 pos_=pos;
259 pos=pos_; // branchNext() advanced pos and wrote it to pos_
    [all...]
  /external/icu/icu4c/source/common/unicode/
ucharstrie.h 68 pos_(uchars_), remainingMatchLength_(-1) {}
84 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {}
92 pos_=uchars_;
126 state.pos=pos_;
143 pos_=state.pos;
223 const UChar *pos=pos_;
240 const UChar *pos=pos_;
334 pos_=NULL;
342 const UChar *pos_; member in class:UCharsTrie::Iterator
571 const UChar *pos_; member in class:UCharsTrie
    [all...]
bytestrie.h 68 pos_(bytes_), remainingMatchLength_(-1) {}
84 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {}
92 pos_=bytes_;
126 state.pos=pos_;
143 pos_=state.pos;
209 const uint8_t *pos=pos_;
225 const uint8_t *pos=pos_;
324 const uint8_t *pos_; member in class:BytesTrie::Iterator
355 pos_(bytes_), remainingMatchLength_(-1) {
513 const uint8_t *pos_; member in class:BytesTrie
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
CharsTrie.java 50 pos_=root_=offset;
69 pos_=root_;
98 state.pos=pos_;
114 pos_=state.pos;
128 int pos=pos_;
170 int pos=pos_;
179 pos_=pos;
225 int pos=pos_;
237 pos_=pos;
271 pos=pos_; // branchNext() advanced pos and wrote it to pos_
601 private int pos_; field in class:CharsTrie.Iterator
995 private int pos_; field in class:CharsTrie
    [all...]
BytesTrie.java 47 pos_=root_=offset;
66 pos_=root_;
95 state.pos=pos_;
111 pos_=state.pos;
181 int pos=pos_;
213 int pos=pos_;
225 pos_=pos;
257 int pos=pos_;
269 pos_=pos;
303 pos=pos_; // branchNext() advanced pos and wrote it to pos_
656 private int pos_; local
1038 private int pos_; field in class:BytesTrie
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
CharsTrie.java 50 pos_=root_=offset;
71 pos_=root_;
103 state.pos=pos_;
120 pos_=state.pos;
135 int pos=pos_;
180 int pos=pos_;
189 pos_=pos;
237 int pos=pos_;
249 pos_=pos;
283 pos=pos_; // branchNext() advanced pos and wrote it to pos_
627 private int pos_; field in class:CharsTrie.Iterator
1021 private int pos_; field in class:CharsTrie
    [all...]
BytesTrie.java 47 pos_=root_=offset;
68 pos_=root_;
100 state.pos=pos_;
117 pos_=state.pos;
196 int pos=pos_;
230 int pos=pos_;
242 pos_=pos;
275 int pos=pos_;
287 pos_=pos;
321 pos=pos_; // branchNext() advanced pos and wrote it to pos_
691 private int pos_; local
1073 private int pos_; field in class:BytesTrie
    [all...]
  /frameworks/base/cmds/idmap/
inspect.cpp 24 size_t pos_; member in class:__anon40582::IdmapBuffer
26 IdmapBuffer() : buf_((const char *)MAP_FAILED), len_(0), pos_(0) {}
62 if (pos_ + sizeof(uint32_t) > len_) {
64 pos_);
68 if ((reinterpret_cast<uintptr_t>(buf_ + pos_) & 0x3) != 0) {
73 *i = dtohl(*reinterpret_cast<const uint32_t*>(buf_ + pos_));
74 pos_ += sizeof(uint32_t);
84 if (pos_ + sizeof(uint16_t) > len_) {
86 pos_);
90 if ((reinterpret_cast<uintptr_t>(buf_ + pos_) & 0x1) != 0)
    [all...]
  /system/nvram/messages/include/nvram/messages/
io.h 60 // Update the |pos_| and |end_| pointers for the next buffer window. Returns
68 // |pos_| until reaching |end_|. At this point, |Advance| is called for the
70 const uint8_t* pos_ = nullptr; member in class:nvram::InputStreamBuffer
73 // Allow |NestedInputStreamBuffer| to mess with |pos_| and |end_|, also in its
130 // Set up the next data buffer window in |pos_| and |end_|. Returns true on
138 // The |pos_| and |end_| pointers define a window of writable buffer space for
139 // |OutputStreamBuffer| to place data in. |pos_| grows towards |end_| as
140 // writes occur. Once |pos_| hits |end_|, |OutputStreamBuffer| will call
142 // |pos_| and |end_|.
143 uint8_t* pos_ = nullptr member in class:nvram::OutputStreamBuffer
    [all...]
  /system/update_engine/payload_generator/
xz_android.cc 40 *size = std::min(*size, self->data_.size() - self->pos_);
41 memcpy(buf, self->data_.data() + self->pos_, *size);
42 self->pos_ += *size;
49 size_t pos_ = 0; member in struct:__anon115336::BlobReaderStream

Completed in 537 milliseconds

1 2 3