Home
last modified time | relevance | path

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

1234

/third_party/flatbuffers/tests/
Doptional_scalars_generated.lobster15 return buf_.flatbuffers_field_int8(pos_, 4, 0)
17 return buf_.flatbuffers_field_int8(pos_, 6, 0), buf_.flatbuffers_field_present(pos_, 6)
19 return buf_.flatbuffers_field_int8(pos_, 8, 42)
21 return buf_.flatbuffers_field_int8(pos_, 10, 0)
23 return buf_.flatbuffers_field_int8(pos_, 12, 0), buf_.flatbuffers_field_present(pos_, 12)
25 return buf_.flatbuffers_field_int8(pos_, 14, 42)
27 return buf_.flatbuffers_field_int16(pos_, 16, 0)
29 return buf_.flatbuffers_field_int16(pos_, 18, 0), buf_.flatbuffers_field_present(pos_, 18)
31 return buf_.flatbuffers_field_int16(pos_, 20, 42)
33 return buf_.flatbuffers_field_int16(pos_, 22, 0)
[all …]
Dmonster_test_generated.lobster99 return buf_.read_int16_le(pos_ + 0)
101 return buf_.read_int8_le(pos_ + 2)
112 return Color(buf_.flatbuffers_field_int8(pos_, 4, 2))
129 return buf_.read_float32_le(pos_ + 0)
131 return buf_.read_float32_le(pos_ + 4)
133 return buf_.read_float32_le(pos_ + 8)
135 return buf_.read_float64_le(pos_ + 16)
137 return Color(buf_.read_int8_le(pos_ + 24))
139 return MyGame_Example_Test{ buf_, pos_ + 26 }
159 return buf_.read_int32_le(pos_ + 0)
[all …]
/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/flatbuffers/samples/
Dmonster_generated.lobster23 return buf_.read_float32_le(pos_ + 0)
25 return buf_.read_float32_le(pos_ + 4)
27 return buf_.read_float32_le(pos_ + 8)
38 let o = buf_.flatbuffers_field_struct(pos_, 4)
41 return buf_.flatbuffers_field_int16(pos_, 6, 150)
43 return buf_.flatbuffers_field_int16(pos_, 8, 100)
45 return buf_.flatbuffers_field_string(pos_, 10)
47 return buf_.read_int8_le(buf_.flatbuffers_field_vector(pos_, 14) + i * 1)
49 return buf_.flatbuffers_field_vector_len(pos_, 14)
51 return Color(buf_.flatbuffers_field_int8(pos_, 16, 2))
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCharsTrie.java50 pos_=root_=offset; in CharsTrie()
65 pos_ = other.pos_; in CharsTrie()
86 pos_=root_; in reset()
100 return ((long)remainingMatchLength_ << 32) | pos_; in getState64()
119 pos_ = (int)state; in resetToState64()
150 state.pos=pos_; in saveState()
169 pos_=state.pos; in resetToState()
184 int pos=pos_; in current()
229 int pos=pos_; in next()
238 pos_=pos; in next()
[all …]
DBytesTrie.java47 pos_=root_=offset; in BytesTrie()
62 pos_ = other.pos_; in BytesTrie()
83 pos_=root_; in reset()
97 return ((long)remainingMatchLength_ << 32) | pos_; in getState64()
116 pos_ = (int)state; in resetToState64()
147 state.pos=pos_; in saveState()
166 pos_=state.pos; in resetToState()
245 int pos=pos_; in current()
279 int pos=pos_; in next()
291 pos_=pos; in next()
[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/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/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/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/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/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/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 …]
/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 …]
/third_party/icu/icu4c/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 …]
/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/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/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()

1234