/dports/devel/py-grpcio-tools/grpcio-tools-1.43.0/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_impl_lite.cc | 62 position_(0), in ArrayInputStream() 66 if (position_ < size_) { in Next() 84 position_ -= count; in BackUp() 92 position_ = size_; in Skip() 95 position_ += count; in Skip() 109 position_(0), in ArrayOutputStream() 131 position_ -= count; in BackUp() 202 position_(0), in CopyingInputStreamAdaptor() 277 position_ += skipped; in Skip() 304 position_(0), in CopyingOutputStreamAdaptor() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/parsing/ |
H A D | literal-buffer.cc | 36 if (position_ > 0) { in ExpandBuffer() 46 int new_content_size = position_ * kUC16Size; in ConvertToTwoByte() 56 for (int i = position_ - 1; i >= 0; i--) { in ConvertToTwoByte() 63 position_ = new_content_size; in ConvertToTwoByte() 69 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddTwoByteChar() 73 position_ += kUC16Size; in AddTwoByteChar() 75 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddTwoByteChar() 77 position_ += kUC16Size; in AddTwoByteChar() 78 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddTwoByteChar() 79 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddTwoByteChar() [all …]
|
H A D | literal-buffer.h | 17 LiteralBuffer() : backing_store_(), position_(0), is_one_byte_(true) {} in LiteralBuffer() 40 return is_one_byte() && keyword.length() == position_ && in Equals() 41 (memcmp(keyword.begin(), backing_store_.begin(), position_) == 0); in Equals() 53 DCHECK_EQ(position_ & (sizeof(Char) - 1), 0); in literal() 56 position_ >> (sizeof(Char) - 1)); in literal() 59 int length() const { return is_one_byte() ? position_ : (position_ >> 1); } in length() 62 position_ = 0; in Start() 84 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddOneByteChar() 85 backing_store_[position_] = one_byte_char; in AddOneByteChar() 86 position_ += kOneByteSize; in AddOneByteChar() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/parsing/ |
H A D | literal-buffer.cc | 35 if (position_ > 0) { in ExpandBuffer() 45 int new_content_size = position_ * kUC16Size; in ConvertToTwoByte() 55 for (int i = position_ - 1; i >= 0; i--) { in ConvertToTwoByte() 62 position_ = new_content_size; in ConvertToTwoByte() 68 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddTwoByteChar() 72 position_ += kUC16Size; in AddTwoByteChar() 74 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddTwoByteChar() 76 position_ += kUC16Size; in AddTwoByteChar() 77 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddTwoByteChar() 78 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddTwoByteChar() [all …]
|
H A D | literal-buffer.h | 17 LiteralBuffer() : backing_store_(), position_(0), is_one_byte_(true) {} in LiteralBuffer() 40 return is_one_byte() && keyword.length() == position_ && in Equals() 41 (memcmp(keyword.begin(), backing_store_.begin(), position_) == 0); in Equals() 53 DCHECK_EQ(position_ & (sizeof(Char) - 1), 0); in literal() 56 position_ >> (sizeof(Char) - 1)); in literal() 59 int length() const { return is_one_byte() ? position_ : (position_ >> 1); } in length() 62 position_ = 0; in Start() 84 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddOneByteChar() 85 backing_store_[position_] = one_byte_char; in AddOneByteChar() 86 position_ += kOneByteSize; in AddOneByteChar() [all …]
|
/dports/games/bstone/bstone-1.1.9/src/ |
H A D | bstone_memory_stream.cpp | 39 position_(), in MemoryStream() 56 position_(), in MemoryStream() 168 position_ = 0; in close() 242 position_ = offset; in seek() 246 position_ += offset; in seek() 257 if (position_ < 0) { in seek() 258 position_ = 0; in seek() 261 return position_; in seek() 267 return position_; in get_position() 302 &buffer_[position_], in read() [all …]
|
/dports/math/dune-spgrid/dune-spgrid-3977013bee93d1b113b155cc5b881d28d3ee37f5/dune/grid/spgrid/ |
H A D | messagebuffer.hh | 32 position_( other.position_ ), capacity_( other.capacity_ ) in SPBasicPackedMessageWriteBuffer() 44 position_ = other.position_; in operator =() 53 reserve( position_ + sizeof( T ) ); in write() 55 position_ += sizeof( T ); in write() 58 std::size_t position () const { return position_; } in position() 82 std::size_t position_, capacity_; member in Dune::SPBasicPackedMessageWriteBuffer 147 position_( other.position_ ), size_( other.size_ ) in SPBasicPackedMessageReadBuffer() 159 position_ = other.position_; in operator =() 168 if( position_ + sizeof( T ) <= size_ ) in read() 171 position_ += sizeof( T ); in read() [all …]
|
/dports/math/dune-common/dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31/dune/common/ |
H A D | arraylist.hh | 589 return position_==other.position_ ; in equals() 598 return position_==other.position_ ; in equals() 607 return position_==other.position_ ; in equals() 613 ++position_; in increment() 619 ++position_; in increment() 625 --position_; in decrement() 663 return other.position_ - position_; in distanceTo() 671 return other.position_ - position_; in distanceTo() 677 position_=other.position_; in operator =() 685 position_=other.position_; in operator =() [all …]
|
/dports/lang/v8/v8-9.6.180.12/src/parsing/ |
H A D | literal-buffer.cc | 37 if (position_ > 0) { in ExpandBuffer() 47 int new_content_size = position_ * base::kUC16Size; in ConvertToTwoByte() 57 for (int i = position_ - 1; i >= 0; i--) { in ConvertToTwoByte() 64 position_ = new_content_size; in ConvertToTwoByte() 70 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddTwoByteChar() 74 position_ += base::kUC16Size; in AddTwoByteChar() 76 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddTwoByteChar() 78 position_ += base::kUC16Size; in AddTwoByteChar() 79 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddTwoByteChar() 80 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddTwoByteChar() [all …]
|
H A D | literal-buffer.h | 18 LiteralBuffer() : backing_store_(), position_(0), is_one_byte_(true) {} in LiteralBuffer() 44 return is_one_byte() && keyword.length() == position_ && in Equals() 45 (memcmp(keyword.begin(), backing_store_.begin(), position_) == 0); in Equals() 59 DCHECK_EQ(position_ & (sizeof(Char) - 1), 0); in literal() 62 position_ >> (sizeof(Char) - 1)); in literal() 65 int length() const { return is_one_byte() ? position_ : (position_ >> 1); } in length() 68 position_ = 0; in Start() 90 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddOneByteChar() 91 backing_store_[position_] = one_byte_char; in AddOneByteChar() 92 position_ += kOneByteSize; in AddOneByteChar() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/arrow/io/ |
H A D | memory.cc | 51 position_(0), in BufferOutputStream() 66 position_ = 0; in Reset() 108 position_ += nbytes; in Write() 168 position_ = 0; in FixedSizeBufferWriterImpl() 182 position_ = position; in Seek() 197 position_ += nbytes; in Write() 219 int64_t position_; member in arrow::io::FixedSizeBufferWriter::FixedSizeBufferWriterImpl 268 position_(0), in BufferReader() 290 return position_; in DoTell() 360 position_ += bytes_read; in DoRead() [all …]
|
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/arrow/io/ |
H A D | memory.cc | 51 position_(0), in BufferOutputStream() 66 position_ = 0; in Reset() 108 position_ += nbytes; in Write() 168 position_ = 0; in FixedSizeBufferWriterImpl() 182 position_ = position; in Seek() 197 position_ += nbytes; in Write() 219 int64_t position_; member in arrow::io::FixedSizeBufferWriter::FixedSizeBufferWriterImpl 268 position_(0), in BufferReader() 290 return position_; in DoTell() 360 position_ += bytes_read; in DoRead() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/arrow/io/ |
H A D | memory.cc | 51 position_(0), in BufferOutputStream() 66 position_ = 0; in Reset() 108 position_ += nbytes; in Write() 168 position_ = 0; in FixedSizeBufferWriterImpl() 182 position_ = position; in Seek() 197 position_ += nbytes; in Write() 219 int64_t position_; member in arrow::io::FixedSizeBufferWriter::FixedSizeBufferWriterImpl 268 position_(0), in BufferReader() 290 return position_; in DoTell() 360 position_ += bytes_read; in DoRead() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/IO/ |
H A D | File.cpp | 269 position_ += size; in Read() 290 position_ = 0; in Seek() 305 return position_; in Seek() 309 position_ = position; in Seek() 312 return position_; in Seek() 348 position_ += size; in Write() 349 if (position_ > size_) in Write() 350 size_ = position_; in Write() 401 position_ = 0; in Close() 468 position_ = 0; in OpenInternal() [all …]
|
H A D | MemoryBuffer.cpp | 64 if (size + position_ > size_) in Read() 65 size = size_ - position_; in Read() 69 unsigned char* srcPtr = &buffer_[position_]; in Read() 71 position_ += size; in Read() 98 position_ = position; in Seek() 99 return position_; in Seek() 104 if (size + position_ > size_) in Write() 105 size = size_ - position_; in Write() 110 unsigned char* destPtr = &buffer_[position_]; in Write() 111 position_ += size; in Write()
|
/dports/biology/sigviewer/sigviewer-0.6.4-13-gf62f8d9/src/base/ |
H A D | signal_event.cpp | 14 position_(0xFFFFFFFF), in SignalEvent() 29 position_(position), in SignalEvent() 42 position_(src.position_), in SignalEvent() 55 position_(src.position_), in SignalEvent() 68 position_ = src.position_; in operator =() 87 return position_; in getPosition() 93 return static_cast<float64>(position_) / sample_rate_; in getPositionInSec() 124 return (static_cast<float64>(duration_ + position_)) / sample_rate_; in getEndInSec() 147 position_ = position; in setPosition() 175 if (position_ != event.position_) in equals()
|
/dports/graphics/mahotas/mahotas-1.4.11/mahotas/numpypp/ |
H A D | array.hpp | 42 …(const position& other) { return !std::memcmp(this->position_,other.position_,sizeof(this->positio… in operator ==() 48 res.position_[0] = p0; in from1() 54 res.position_[0] = p0; in from2() 71 for (int i = 0; i != a.nd_; ++i) a.position_[i] += b.position_[i]; in operator +=() 86 for (int i = 0; i != a.nd_; ++i) a.position_[i] -= b.position_[i]; in operator -=() 218 std::fill(position_.position_, position_.position_ + nd, 0); in iterator_base() 232 ++position_.position_[i]; in operator ++() 233 if (position_.position_[i] != dimensions_[i]) { in operator ++() 236 position_.position_[i] = 0; in operator ++() 242 int index_rev(unsigned i) const { return position_.position_[i]; } in index_rev() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Graphics/ |
H A D | RibbonTrail.cpp | 137 Vector3 center = (points_[i].position_ + points_[i+1].position_) * 0.5f; in ProcessRayQuery() 234 endTail_.position_ = points_[0].position_; in UpdateTail() 254 points_[0].position_ = Lerp(endTail_.position_, points_[1].position_, step); in UpdateTail() 283 endTail_.position_ = startPoint.position_; in UpdateTail() 562 float length = i == 0 ? 0.0f : (points_[i].position_ - points_[i-1].position_).Length(); in UpdateVertexBuffer() 597 dest[0] = point.position_.x_; in UpdateVertexBuffer() 598 dest[1] = point.position_.y_; in UpdateVertexBuffer() 599 dest[2] = point.position_.z_; in UpdateVertexBuffer() 654 dest[0] = point.position_.x_; in UpdateVertexBuffer() 655 dest[1] = point.position_.y_; in UpdateVertexBuffer() [all …]
|
/dports/games/maxr/maxr-0.2.9/src/game/logic/ |
H A D | fxeffects.cpp | 37 position (position_), in cFx() 102 cFx (false, position_), in cFxMuzzle() 166 cFx (false, position_), in cFxExplo() 191 cFxExplo (position_, 14) in cFxExploSmall() 226 cFxExplo (position_, 14) in cFxExploAir() 239 cFxExplo (position_, 14) in cFxExploWater() 252 cFxExplo (position_, 5), in cFxHit() 277 cFxExplo (position_, 10) in cFxAbsorb() 290 cFx (bottom, position_), in cFxFade() 327 cFx (true, position_), in cFxTracks() [all …]
|
/dports/games/scorched3d/scorched/src/common/actions/ |
H A D | Explosion.cpp | 57 position_(position), velocity_(velocity) in Explosion() 78 position_[0], position_[1]).asFloat(); in init() 140 position_.asVector(), in init() 153 position_[0].asFloat() + posXY, in init() 154 position_[1].asFloat() + posYZ, in init() 155 position_[2].asFloat() + 2.0f); in init() 236 position_.asVector(), in init() 273 position_.asQuickString(), in getActionDetails() 293 expSound, position_.asVector()); in simulate() 300 getInterpHeight(position_[0], position_[1]); in simulate() [all …]
|
H A D | Teleport.cpp | 46 position_(position), in Teleport() 75 vPoint->setValues(position_); in init() 113 position_[0], position_[1]); in simulate() 114 if (weapon_->getGroundOnly() || height >= position_[2]) in simulate() 117 position_[2] = height; in simulate() 124 position_.asQuickString())); in simulate() 128 tank->getLife().setTargetPosition(position_); in simulate() 129 DeformLandscape::flattenArea(*context_, position_); in simulate() 138 position_.asQuickString())); in simulate() 142 tank->getLife().setTargetPosition(position_); in simulate() [all …]
|
/dports/lang/mosh/mosh-0.2.7/src/ |
H A D | FileBinaryInputPort.cpp | 101 position_++; in getU8() 109 position_++; in getU8() 112 position_++; in getU8() 145 position_ += ret; in readBytes() 151 const int64_t restSize = file_->size() - position_; in readAll() 162 position_++; in readAll() 170 position_ += ret; in readAll() 182 position_++; in readSome() 187 position_ += ret; in readSome() 225 return Bignum::makeIntegerFromS64(position_); in position() [all …]
|
/dports/games/scorched3d/scorched/src/client/graph/ |
H A D | ParticleRenderer.cpp | 60 glVertex3fv(particle.position_); in renderParticle() 97 float posX = particle.position_[0]; in renderParticle() 98 float posY = particle.position_[1]; in renderParticle() 99 float posZ = particle.position_[2]; in renderParticle() 126 renderer->draw(particle.position_); in renderParticle() 187 particle.position_[0] = oldPosition[0]; in renderParticle() 195 particle.position_[0] = oldPosition[0]; in renderParticle() 203 particle.position_[0] = oldPosition[0]; in renderParticle() 210 particle.position_ = oldPosition; in renderParticle() 234 if (particle.position_[2] < 0.0f) in simulateParticle() [all …]
|
/dports/graphics/charls/charls-2.2.0/src/ |
H A D | decoder_strategy.h | 42 position_ = source.data; in initialize() 43 end_position_ = position_ + source.size; in initialize() 66 if (*position_ != jpeg_marker_start_byte) in end_scan() 85 position_ += bytes_to_read; in optimized_read() 102 if (position_ >= end_position_) in make_valid() 110 const bufType value_new{position_[0]}; in make_valid() 115 if (position_ == end_position_ - 1 || (position_[1] & 0x80) != 0) in make_valid() 125 position_ += 1; in make_valid() 139 auto* position_next_ff{position_}; in find_next_ff() 155 uint8_t* compressed_bytes{position_}; in get_cur_byte_pos() [all …]
|
/dports/lang/v8/v8-9.6.180.12/src/zone/ |
H A D | zone.cc | 53 Address result = position_; in AsanNew() 56 DCHECK_LE(position_, limit_); in AsanNew() 57 if (size_with_redzone > limit_ - position_) { in AsanNew() 60 position_ += size_with_redzone; in AsanNew() 97 position_ = limit_ = 0; in DeleteAll() 115 DCHECK_LT(limit_ - position_, size); in NewExpand() 162 position_ = result + size; in NewExpand() 166 DCHECK(position_ >= result); in NewExpand() 168 DCHECK(position_ <= limit_); in NewExpand() 180 position_(zone->position_), in ZoneScope() [all …]
|