Home
last modified time | relevance | path

Searched refs:pos_ (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dlexer.cc116 return pos_ >= len_; in is_eof()
143 auto pos = pos_; in skip_whitespace_and_comments()
144 while (!is_eof() && is_whitespace(content_->data[pos_])) { in skip_whitespace_and_comments()
145 if (matches(pos_, "\n")) { in skip_whitespace_and_comments()
146 pos_++; in skip_whitespace_and_comments()
152 pos_++; in skip_whitespace_and_comments()
163 if (pos == pos_) in skip_whitespace_and_comments()
174 if (matches(pos_, "//")) { in skip_comment()
177 while (!is_eof() && !matches(pos_, "\n")) { in skip_comment()
178 pos_++; in skip_comment()
[all …]
/third_party/boost/libs/iostreams/example/
Dcontainer_device.hpp32 : container_(container), pos_(0) in container_source()
38 static_cast<std::streamsize>(container_.size() - pos_); in read()
41 std::copy( container_.begin() + pos_, in read()
42 container_.begin() + pos_ + result, in read()
44 pos_ += result; in read()
55 size_type pos_; member in boost::iostreams::example::container_source
88 : container_(container), pos_(0) in container_device()
95 static_cast<std::streamsize>(container_.size() - pos_); in read()
98 std::copy( container_.begin() + pos_, in read()
99 container_.begin() + pos_ + result, in read()
[all …]
/third_party/boost/libs/wave/samples/real_positions/
Dreal_position_token.hpp42 position_type const &pos_) in token_data() argument
43 : id(id_), value(value_), pos(pos_), corrected_pos(pos_), refcnt(1) in token_data()
71 void set_position (position_type const &pos_) { pos = pos_; } in set_position() argument
72 void set_corrected_position (position_type const &pos_) in set_corrected_position() argument
73 { corrected_pos = pos_; } in set_corrected_position()
128 PositionT const &pos_) in lex_token() argument
129 : data(new impl::token_data<string_type, position_type>(id_, value_, pos_)) in lex_token()
170 void set_position (position_type const &pos_) in set_position() argument
171 { make_unique(); data->set_position(pos_); } in set_position()
172 void set_corrected_position (position_type const &pos_) in set_corrected_position() argument
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCharsTrie.java50 pos_=root_=offset; in CharsTrie()
63 pos_ = other.pos_; in CharsTrie()
82 pos_=root_; in reset()
95 return ((long)remainingMatchLength_ << 32) | pos_; in getState64()
113 pos_ = (int)state; in resetToState64()
142 state.pos=pos_; in saveState()
160 pos_=state.pos; in resetToState()
174 int pos=pos_; in current()
216 int pos=pos_; in next()
225 pos_=pos; in next()
[all …]
DBytesTrie.java47 pos_=root_=offset; in BytesTrie()
60 pos_ = other.pos_; in BytesTrie()
79 pos_=root_; in reset()
92 return ((long)remainingMatchLength_ << 32) | pos_; in getState64()
110 pos_ = (int)state; in resetToState64()
139 state.pos=pos_; in saveState()
157 pos_=state.pos; in resetToState()
228 int pos=pos_; in current()
260 int pos=pos_; in next()
272 pos_=pos; in next()
[all …]
/third_party/boost/boost/iostreams/detail/
Drestrict_impl.hpp85 stream_offset beg_, pos_, end_; member in boost::iostreams::detail::restricted_indirect_device
149 (std::min) (n, static_cast<std::streamsize>(end_ - pos_)) : in read()
154 pos_ += result; in read()
163 if (end_ != -1 && pos_ + n >= end_) { in write()
164 if(pos_ < end_) in write()
165 pos_ += iostreams::write(this->component(), in write()
166 snk, s, end_ - pos_); in write()
171 pos_ += result; in write()
182 next = pos_ + off; in seek()
187 pos_ = this->component().seek(dev, off, BOOST_IOS::end); in seek()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dbytestrieiterator.cpp28 pos_(bytes_), initialPos_(bytes_), in Iterator()
49 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
72 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); in Iterator()
73 pos_+=length; in Iterator()
85 pos_=initialPos_; in reset()
92 pos_+=length; in reset()
99 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
106 const uint8_t *pos=pos_; in next()
140 pos_=NULL; in next()
142 pos_=skipValue(pos, node); in next()
[all …]
Ducharstrieiterator.cpp27 pos_(uchars_), initialPos_(uchars_), in Iterator()
48 : uchars_(trie.uchars_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
71 str_.append(pos_, length); in Iterator()
72 pos_+=length; in Iterator()
83 pos_=initialPos_; in reset()
91 pos_+=length; in reset()
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
105 const UChar *pos=pos_; in next()
148 pos_=NULL; in next()
154 pos_=pos-1; in next()
[all …]
/third_party/node/deps/icu-small/source/common/
Dbytestrieiterator.cpp28 pos_(bytes_), initialPos_(bytes_), in Iterator()
49 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
72 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); in Iterator()
73 pos_+=length; in Iterator()
85 pos_=initialPos_; in reset()
92 pos_+=length; in reset()
99 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
106 const uint8_t *pos=pos_; in next()
140 pos_=NULL; in next()
142 pos_=skipValue(pos, node); in next()
[all …]
Ducharstrieiterator.cpp27 pos_(uchars_), initialPos_(uchars_), in Iterator()
48 : uchars_(trie.uchars_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
71 str_.append(pos_, length); in Iterator()
72 pos_+=length; in Iterator()
83 pos_=initialPos_; in reset()
91 pos_+=length; in reset()
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
105 const UChar *pos=pos_; in next()
148 pos_=NULL; in next()
154 pos_=pos-1; in next()
[all …]
/third_party/icu/icu4c/source/common/
Dbytestrieiterator.cpp28 pos_(bytes_), initialPos_(bytes_), in Iterator()
49 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
72 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); in Iterator()
73 pos_+=length; in Iterator()
85 pos_=initialPos_; in reset()
92 pos_+=length; in reset()
99 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
106 const uint8_t *pos=pos_; in next()
140 pos_=NULL; in next()
142 pos_=skipValue(pos, node); in next()
[all …]
Ducharstrieiterator.cpp27 pos_(uchars_), initialPos_(uchars_), in Iterator()
48 : uchars_(trie.uchars_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
71 str_.append(pos_, length); in Iterator()
72 pos_+=length; in Iterator()
83 pos_=initialPos_; in reset()
91 pos_+=length; in reset()
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
105 const UChar *pos=pos_; in next()
148 pos_=NULL; in next()
154 pos_=pos-1; in next()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dbytestrieiterator.cpp28 pos_(bytes_), initialPos_(bytes_), in Iterator()
49 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
72 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); in Iterator()
73 pos_+=length; in Iterator()
85 pos_=initialPos_; in reset()
92 pos_+=length; in reset()
99 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
106 const uint8_t *pos=pos_; in next()
140 pos_=NULL; in next()
142 pos_=skipValue(pos, node); in next()
[all …]
Ducharstrieiterator.cpp27 pos_(uchars_), initialPos_(uchars_), in Iterator()
48 : uchars_(trie.uchars_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
71 str_.append(pos_, length); in Iterator()
72 pos_+=length; in Iterator()
83 pos_=initialPos_; in reset()
91 pos_+=length; in reset()
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
105 const UChar *pos=pos_; in next()
148 pos_=NULL; in next()
154 pos_=pos-1; in next()
[all …]
/third_party/boost/boost/gil/io/
Dscanline_read_iterator.hpp41 : reader_(reader), pos_(pos) in scanline_read_iterator()
54 reader_.skip(buffer_start_, pos_); in increment()
57 ++pos_; in increment()
65 return pos_ == rhs.pos_; in equal()
72 reader_.read(buffer_start_, pos_); in dereference()
83 mutable int pos_ = 0; member in boost::gil::scanline_read_iterator
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dbytestrie.h73 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
89 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {} in BytesTrie()
97 pos_=bytes_; in reset()
112 (uint64_t)(pos_ - bytes_); in getState64()
131 pos_ = bytes_ + (state & kState64PosMask); in resetToState64()
164 state.pos=pos_; in saveState()
181 pos_=state.pos; in resetToState()
247 const uint8_t *pos=pos_; in getValue()
263 const uint8_t *pos=pos_; in hasUniqueValue()
362 const uint8_t *pos_; variable
[all …]
Ducharstrie.h71 pos_(uchars_), remainingMatchLength_(-1) {} in UCharsTrie()
87 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {} in UCharsTrie()
95 pos_=uchars_; in reset()
110 (uint64_t)(pos_ - uchars_); in getState64()
129 pos_ = uchars_ + (state & kState64PosMask); in resetToState64()
162 state.pos=pos_; in saveState()
179 pos_=state.pos; in resetToState()
259 const char16_t *pos=pos_; in getValue()
276 const char16_t *pos=pos_; in hasUniqueValue()
370 pos_=NULL; in truncateAndStop()
[all …]
/third_party/icu/icu4c/source/common/unicode/
Dbytestrie.h71 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
87 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {} in BytesTrie()
95 pos_=bytes_; in reset()
111 (uint64_t)(pos_ - bytes_); in getState64()
130 pos_ = bytes_ + (state & kState64PosMask); in resetToState64()
164 state.pos=pos_; in saveState()
181 pos_=state.pos; in resetToState()
247 const uint8_t *pos=pos_; in getValue()
263 const uint8_t *pos=pos_; in hasUniqueValue()
362 const uint8_t *pos_; variable
[all …]
Ducharstrie.h71 pos_(uchars_), remainingMatchLength_(-1) {} in UCharsTrie()
87 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {} in UCharsTrie()
95 pos_=uchars_; in reset()
111 (uint64_t)(pos_ - uchars_); in getState64()
130 pos_ = uchars_ + (state & kState64PosMask); in resetToState64()
164 state.pos=pos_; in saveState()
181 pos_=state.pos; in resetToState()
261 const char16_t *pos=pos_; in getValue()
278 const char16_t *pos=pos_; in hasUniqueValue()
372 pos_=NULL; in truncateAndStop()
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Dbytestrie.h73 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
89 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {} in BytesTrie()
97 pos_=bytes_; in reset()
112 (uint64_t)(pos_ - bytes_); in getState64()
131 pos_ = bytes_ + (state & kState64PosMask); in resetToState64()
164 state.pos=pos_; in saveState()
181 pos_=state.pos; in resetToState()
247 const uint8_t *pos=pos_; in getValue()
263 const uint8_t *pos=pos_; in hasUniqueValue()
362 const uint8_t *pos_; variable
[all …]
Ducharstrie.h71 pos_(uchars_), remainingMatchLength_(-1) {} in UCharsTrie()
87 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {} in UCharsTrie()
95 pos_=uchars_; in reset()
110 (uint64_t)(pos_ - uchars_); in getState64()
129 pos_ = uchars_ + (state & kState64PosMask); in resetToState64()
162 state.pos=pos_; in saveState()
179 pos_=state.pos; in resetToState()
259 const char16_t *pos=pos_; in getValue()
276 const char16_t *pos=pos_; in hasUniqueValue()
370 pos_=NULL; in truncateAndStop()
[all …]
/third_party/node/deps/brotli/c/enc/
Dringbuffer.h41 uint32_t pos_; member
51 rb->pos_ = 0; in RingBufferInit()
95 const size_t masked_pos = rb->pos_ & rb->mask_; in RingBufferWriteTail()
107 if (rb->pos_ == 0 && n < rb->tail_size_) { in RingBufferWrite()
114 rb->pos_ = (uint32_t)n; in RingBufferWrite()
115 RingBufferInitBuffer(m, rb->pos_, rb); in RingBufferWrite()
133 const size_t masked_pos = rb->pos_ & rb->mask_; in RingBufferWrite()
151 BROTLI_BOOL not_first_lap = (rb->pos_ & (1u << 31)) != 0; in RingBufferWrite()
155 rb->pos_ = (rb->pos_ & rb_pos_mask) + (uint32_t)(n & rb_pos_mask); in RingBufferWrite()
158 rb->pos_ |= 1u << 31; in RingBufferWrite()
/third_party/skia/third_party/externals/brotli/c/enc/
Dringbuffer.h41 uint32_t pos_; member
51 rb->pos_ = 0; in RingBufferInit()
95 const size_t masked_pos = rb->pos_ & rb->mask_; in RingBufferWriteTail()
107 if (rb->pos_ == 0 && n < rb->tail_size_) { in RingBufferWrite()
114 rb->pos_ = (uint32_t)n; in RingBufferWrite()
115 RingBufferInitBuffer(m, rb->pos_, rb); in RingBufferWrite()
133 const size_t masked_pos = rb->pos_ & rb->mask_; in RingBufferWrite()
151 BROTLI_BOOL not_first_lap = (rb->pos_ & (1u << 31)) != 0; in RingBufferWrite()
155 rb->pos_ = (rb->pos_ & rb_pos_mask) + (uint32_t)(n & rb_pos_mask); in RingBufferWrite()
158 rb->pos_ |= 1u << 31; in RingBufferWrite()
/third_party/boost/tools/quickbook/src/
Dvalues.hpp371 : list_(x), pos_(x.begin()), end_(x.end()) in value_consumer()
375 value_consumer(reference x) : list_(x), pos_(x.begin()), end_(x.end()) in value_consumer()
382 return *pos_++; in consume()
388 return *pos_++; in consume()
394 return *pos_++; in optional_consume()
404 return *pos_++; in optional_consume()
411 bool check() const { return pos_ != end_; } in check()
415 return pos_ != end_ && t == pos_->get_tag(); in check()
420 if (pos_ != end_) throw value_error("Not all values handled."); in finish()
423 iterator begin() { return iterator(&pos_); } in begin()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dbytestrie.h68 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
84 pos_(other.pos_), remainingMatchLength_(other.remainingMatchLength_) {} in BytesTrie()
92 pos_=bytes_; in reset()
126 state.pos=pos_; in saveState()
143 pos_=state.pos; in resetToState()
209 const uint8_t *pos=pos_; in getValue()
225 const uint8_t *pos=pos_; in hasUniqueValue()
324 const uint8_t *pos_; variable
355 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
361 pos_=NULL; in stop()
[all …]

1234