/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucharstrie.cpp | 33 const UChar *pos=pos_; in current() 107 pos_=pos; in branchNext() 114 pos_=pos; in branchNext() 134 pos_=pos; in nextImpl() 156 const UChar *pos=pos_; in next() 165 pos_=pos; in next() 184 const UChar *pos=pos_; in next() 197 pos_=pos; in next() 217 pos_=pos; in next() 260 pos=pos_; // branchNex in next() [all...] |
/third_party/gn/src/gn/ |
H A D | string_output_buffer.cc | 35 pos_ = 0; in Append() 38 memcpy(pages_.back()->data() + pos_, str.data(), size); in Append() 39 pos_ += size; in Append() 48 pos_ = 0; in Append() 50 pages_.back()->data()[pos_] = c; in Append() 51 pos_ += 1; in Append()
|
H A D | string_output_buffer.h | 51 size_t size() const { return (pages_.size() - 1u) * kPageSize + pos_; } in size() 90 size_t page_free_size() const { return kPageSize - pos_; } in page_free_size() 95 size_t pos_ = kPageSize;
|
/third_party/node/deps/v8/src/ic/ |
H A D | ic-stats.cc | 19 ICStats::ICStats() : ic_infos_(MAX_IC_INFO), pos_(0) { in ICStats() 30 ++pos_; in End() 31 if (pos_ == MAX_IC_INFO) { in End() 41 pos_ = 0; in Reset() 47 for (int i = 0; i < pos_; ++i) { in Dump() 82 ic_infos_[pos_].is_optimized = function.HasAttachedOptimizedCode(); in GetOrCacheFunctionName()
|
H A D | ic-stats.h | 60 DCHECK(pos_ >= 0 && pos_ < MAX_IC_INFO); in Current() 61 return ic_infos_[pos_]; in Current() 75 int pos_; member in v8::internal::ICStats
|
/foundation/ai/ai_engine/services/common/utils/encdec/source/ |
H A D | data_decoder.cpp | 35 val.assign(buffer_ + pos_, buffer_ + pos_ + len); in DecodeOneParameter() 37 pos_ += len; in DecodeOneParameter()
|
/third_party/node/deps/v8/src/debug/wasm/gdb-server/ |
H A D | transport.cc | 109 pos_(0), in Transport() 121 int32_t copy_bytes = std::min(*len, size_ - pos_); in CopyFromBuffer() 122 memcpy(*dst, buf_.get() + pos_, copy_bytes); in CopyFromBuffer() 123 pos_ += copy_bytes; in CopyFromBuffer() 129 if (pos_ < size_) { in Read() 133 pos_ = 0; in Read() 163 if (pos_ < size_) { in IsDataAvailable() 293 bool wait = !(pos_ < size_); in WaitForDebugStubEvent() 400 bool wait = !(pos_ < size_);
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | bit_reader_utils.c | 160 br->pos_ = length; in VP8LInitBitReader() 171 // pos_ > len_ should be considered a param error. in VP8LBitReaderSetBuffer() 172 br->eos_ = (br->pos_ > br->len_) || VP8LIsEndOfStream(br); in VP8LBitReaderSetBuffer() 182 while (br->bit_pos_ >= 8 && br->pos_ < br->len_) { in ShiftBytes() 184 br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (VP8L_LBITS - 8); in ShiftBytes() 185 ++br->pos_; in ShiftBytes() 196 if (br->pos_ + sizeof(br->val_) < br->len_) { in VP8LDoFillBitWindow() 199 br->val_ |= (vp8l_val_t)HToLE32(WebPMemToUint32(br->buf_ + br->pos_)) << in VP8LDoFillBitWindow() 201 br->pos_ += VP8L_LOG8_WBITS; in VP8LDoFillBitWindow()
|
H A D | bit_writer_utils.c | 29 const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; in BitWriterResize() 45 if (bw->pos_ > 0) { in BitWriterResize() 47 memcpy(new_buf, bw->buf_, bw->pos_); in BitWriterResize() 62 size_t pos = bw->pos_; in Flush() 74 bw->pos_ = pos; in Flush() 167 bw->pos_ = 0; in VP8BitWriterInit() 186 memcpy(bw->buf_ + bw->pos_, data, size); in VP8BitWriterAppend() 187 bw->pos_ += size; in VP8BitWriterAppend()
|
H A D | bit_reader_utils.h | 144 size_t pos_; // byte position in buf_ member 171 assert(br->pos_ <= br->len_); in VP8LIsEndOfStream() 172 return br->eos_ || ((br->pos_ == br->len_) && (br->bit_pos_ > VP8L_LBITS)); in VP8LIsEndOfStream()
|
H A D | bit_writer_utils.h | 33 size_t pos_; member 58 return (bw->pos_ + bw->run_) * 8 + nb_bits; in VP8BitWriterPos() 67 return bw->pos_; in VP8BitWriterSize()
|
/foundation/ai/ai_engine/services/common/utils/encdec/include/ |
H A D | data_encoder.h | 133 if (memcpy_s(buffer_->data + pos_, len, &val, sizeof(val)) != EOK) { in EncodeOneParameter() 137 pos_ += len; in EncodeOneParameter() 157 size_t pos_ {0};
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | str_split_internal.h | 94 : pos_(0), in SplitIterator() 110 pos_ = splitter_->text().size(); in SplitIterator() 115 pos_ = splitter_->text().size(); in SplitIterator() 133 const absl::string_view d = delimiter_.Find(text, pos_); in operator ++() 135 curr_ = text.substr(pos_, d.data() - (text.data() + pos_)); in operator ++() 136 pos_ += curr_.size() + d.size(); in operator ++() 148 return a.state_ == b.state_ && a.pos_ == b.pos_; in operator ==() 156 size_t pos_; member in absl::strings_internal::SplitIterator [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/ |
H A D | heif_stream.cpp | 30 : length_(size), pos_(0), copied_(needCopy) in HeifBufferInputStream() 50 return pos_; in Tell() 61 auto end_pos = static_cast<size_t>(pos_) + size; in Read() 66 if (memcpy_s(data, size, &data_[pos_], size) != EOK) { in Read() 69 pos_ = pos_ + static_cast<int64_t>(size); in Read() 79 pos_ = position; in Seek()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | extension.h | 73 raw_.Write(string_view(buf_, pos_ - buf_)); in Flush() 74 pos_ = buf_; in Flush() 81 memset(pos_, c, count); in Append() 82 pos_ += count; in Append() 103 memcpy(pos_, v.data(), n); in Append() 104 pos_ += n; in Append() 123 size_t Avail() const { return buf_ + sizeof(buf_) - pos_; } in Avail() 127 char* pos_ = buf_; member in absl::FormatConversionChar::FormatSinkImpl
|
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/src/data_source/ |
H A D | media_data_source_test_noseek.cpp | 72 pos_ = 0;
in Reset() 93 realLen = static_cast<int32_t>(fixedSize_ - pos_);
in ReadAt() 99 pos_ += realLen;
in ReadAt()
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-serialization.cc | 42 : start_(buffer.begin()), end_(buffer.end()), pos_(buffer.begin()) {} in Writer() 44 size_t bytes_written() const { return pos_ - start_; } in bytes_written() 45 byte* current_location() const { return pos_; } in current_location() 46 size_t current_size() const { return end_ - pos_; } in current_size() 55 pos_ += sizeof(T); in Write() 66 pos_ += v.size(); in WriteVector() 74 void Skip(size_t size) { pos_ += size; } in Skip() 79 byte* pos_; member in v8::internal::wasm::__anon15246::Writer 85 : start_(buffer.begin()), end_(buffer.end()), pos_(buffer.begin()) {} in Reader() 87 size_t bytes_read() const { return pos_ 125 const byte* pos_; global() member in v8::internal::wasm::__anon15246::Reader [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | item_property_hvcc_box.cpp | 175 for (int i = 0; i < length && pos_ < boxBitLength_; ++i, ++pos_) { in GetWord() 176 int32_t bit = ((nalu[pos_ / BIT_DEPTH_DIFF] >> in GetWord() 177 (BIT_DEPTH_DIFF - BIT_SHIFT - (pos_ % BIT_DEPTH_DIFF))) in GetWord() 188 while (pos_ < boxBitLength_ && ((nalu[pos_ / ONE_BYTE_SHIFT] >> in GetGolombCode() 189 (ONE_BYTE_SHIFT - BIT_SHIFT - (pos_ % ONE_BYTE_SHIFT))) & in GetGolombCode() 192 pos_++; in GetGolombCode() 194 pos_++; in GetGolombCode()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/muxer/ |
H A D | ffmpeg_muxer_plugin.cpp | 380 ioContext.pos_ = 0; in ResetIoCtx() 530 auto res = ioCtx->dataSink_->WriteAt(ioCtx->pos_, buffer); in IoWrite() 532 ioCtx->pos_ += bufferMem->GetSize(); in IoWrite() 533 if (ioCtx->pos_ > ioCtx->end_) { in IoWrite() 534 ioCtx->end_ = ioCtx->pos_; in IoWrite() 550 ioContext->pos_ = newPos; in IoSeek() 555 newPos = ioContext->pos_ + offset; in IoSeek() 569 ioContext->pos_ = newPos; in IoSeek() 571 MEDIA_LOG_DD("current offset: " PUBLIC_LOG_D64 ", new pos: " PUBLIC_LOG_U64, ioContext->pos_, newPos); in IoSeek()
|
/base/msdp/device_status/tools/vdev/src/ |
H A D | virtual_mouse.cpp | 65 return pos_.x; in GetX() 70 return pos_.y; in GetY() 75 mutable Coordinate pos_ {}; 90 pos_.x = pointerItem.GetDisplayX(); in OnInputEvent() 91 pos_.y = pointerItem.GetDisplayY(); in OnInputEvent()
|
/third_party/node/deps/v8/src/torque/ |
H A D | earley-parser.h | 284 : rule_(rule), mark_(mark), start_(start), pos_(pos) { in Item() 329 const MatchedInput& end = start_ == pos_ ? tokens.token_contents[start_] in GetMatchedInput() 330 : tokens.token_contents[pos_ - 1]; in GetMatchedInput() 341 start_ == other.start_ && pos_ == other.pos_; in operator ==() 345 return base::hash_combine(i.rule_, i.mark_, i.start_, i.pos_); in hash_value() 351 size_t pos() const { return pos_; } in pos() 358 size_t pos_; member in v8::internal::Item
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | heif_parser_test.cpp | 43 heifBuffer.pos_ = 1; in HWTEST_F() 45 ASSERT_TRUE((heifBuffer.pos_ + size) > heifBuffer.length_); in HWTEST_F() 75 inputStream->pos_ = 1; in HWTEST_F() 88 inputStream->pos_ = 16; in HWTEST_F() 119 inputStream->pos_ = 1; in HWTEST_F() 139 inputStream->pos_ = 1; in HWTEST_F()
|
/third_party/node/deps/v8/src/codegen/ |
H A D | reloc-info.h | 387 RelocInfoWriter() : pos_(nullptr), last_pc_(nullptr) {} in RelocInfoWriter() 392 byte* pos() const { return pos_; } in pos() 400 pos_ = pos; in Reposition() 419 byte* pos_; member in v8::internal::RelocInfoWriter 468 void Advance(int bytes = 1) { pos_ -= bytes; } in Advance() 487 const byte* pos_; member in v8::internal::RelocIterator
|
/third_party/node/deps/v8/src/third_party/vtune/ |
H A D | vtune-jit.cc | 93 : pc_(pc), pos_(pos) { } in LineNumInfo() 96 int pos_; member 231 script->GetLineNumber(Iter->pos_) + 1; in event_handler()
|
/base/sensors/sensor/vibration_convert/core/algorithm/conversion/include/ |
H A D | conversion_fft.h | 197 int32_t pos_ { 0 }; 260 int32_t pos_ { 0 };
|