Home
last modified time | relevance | path

Searched refs:position_ (Results 1 - 25 of 130) sorted by relevance

123456

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_result_set.cpp37 position_ = INIT_POSITION; in ~RdSingleVerResultSet()
100 position_ = INIT_POSITION; in Close()
150 return position_; in GetPosition()
165 LOGE("[RdSingleVerStorageExecutor] move offset: %d, out of bounds, position: %d", offset, position_); in Move()
177 LOGE("[RdSingleVerStorageExecutor] move offset: %d, out of bounds, position: %d", offset, position_); in Move()
196 if (position_ == INIT_POSITION && isMovedBefore_) { in MoveToNext()
197 ++position_; in MoveToNext()
209 // nothing to do when position_ equal with endposition_ which isn't equal with INIT_POSITION in MoveToNext()
210 if (endPosition_ == INIT_POSITION || position_ != endPosition_) { in MoveToNext()
211 ++position_; in MoveToNext()
[all...]
/foundation/ability/idl_tool/util/
H A Dstring_builder.cpp36 if (position_ + 1 >= capacity_) { in Append()
42 buffer_[position_] = c; in Append()
43 position_ += 1; in Append()
54 if (position_ + len >= capacity_) { in Append()
60 if (memcpy_s(buffer_ + position_, capacity_ - position_, string, len) != EOK) { in Append()
63 position_ += len; in Append()
74 if (position_ + len >= capacity_) { in Append()
80 if (memcpy_s(buffer_ + position_, capacity_ - position_, strin in Append()
[all...]
H A Dfile.cpp93 if (position_ + 1 <= size_) { in GetChar()
94 position_++; in GetChar()
108 if (position_ + 1 > size_) { in PeekChar()
115 return buffer_[position_]; in PeekChar()
120 return isEof_ || buffer_[position_] == static_cast<char>(-1); in IsEof()
136 position_ = 0; in Read()
/foundation/ability/idl_tool/idl_tool_2/util/
H A Dstring_builder.cpp37 if (position_ + 1 >= capacity_) { in Append()
43 buffer_[position_] = c; in Append()
44 position_ += 1; in Append()
55 if (position_ + len >= capacity_) { in Append()
61 int ret = memcpy_s(buffer_ + position_, capacity_ - position_, string, len); in Append()
66 position_ += len; in Append()
77 if (position_ + len >= capacity_) { in Append()
83 int ret = memcpy_s(buffer_ + position_, capacity_ - position_, strin in Append()
[all...]
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Dmicrophone_descriptor.cpp26 position_ = {}; in MicrophoneDescriptor()
34 position_ = {}; in MicrophoneDescriptor()
48 position_ = micDescriptor.position_; in MicrophoneDescriptor()
58 position_ = micDescriptor->position_; in MicrophoneDescriptor()
71 parcel.WriteFloat(position_.x); in Marshalling()
72 parcel.WriteFloat(position_.y); in Marshalling()
73 parcel.WriteFloat(position_.z); in Marshalling()
89 microphoneDescriptor->position_ in Unmarshalling()
[all...]
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/
H A Dheif_stream.cpp206 size_t posAfterMove = position_ + size; in CheckSize()
214 if (position_ == data_.size()) { in Write8()
216 position_++; in Write8()
218 data_[position_++] = value; in Write8()
225 data_[position_++] = uint8_t((value >> ONE_BYTE_SHIFT) & 0xFF); in Write16()
226 data_[position_++] = uint8_t(value & 0xFF); in Write16()
232 data_[position_++] = uint8_t((value >> THREE_BYTES_SHIFT) & 0xFF); in Write32()
233 data_[position_++] = uint8_t((value >> TWO_BYTES_SHIFT) & 0xFF); in Write32()
234 data_[position_++] = uint8_t((value >> ONE_BYTE_SHIFT) & 0xFF); in Write32()
235 data_[position_ in Write32()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/
H A Dmodel_light.h40 position_(position), rotation_(rotation) {}; in ModelLight()
50 position_.SetContextAndCallbacks(context, std::forward<RenderNodeAnimationCallback>(callback)); in SetContextAndCallback()
75 position_.SetPosition(position.GetPosition()); in SetPosition()
76 position_.SetDistance(position.GetDistance()); in SetPosition()
77 position_.SetIsAngular(position.GetIsAngular()); in SetPosition()
107 return position_; in GetPosition()
122 ModelPosition position_; member in OHOS::Ace::NG::ModelLight
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_result_set.cpp42 position_ = INIT_POSITION; in ~SQLiteSingleVerResultSet()
143 return position_; in GetPosition()
166 position_ = (position >= 0) ? 0 : INIT_POSITION; in MoveTo()
171 position_ = INIT_POSITION; in MoveTo()
176 position_ = count_; in MoveTo()
180 if (position_ == position) { in MoveTo()
254 position_ = position; in MoveToForCacheFullEntryMode()
257 position_ = INIT_POSITION; in MoveToForCacheFullEntryMode()
269 position_ = position; in MoveToForCacheEntryIdMode()
301 position_ in MoveToForCacheEntryIdMode()
[all...]
/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/
H A Drs_graphic_test_text.cpp29 if (position_ == nullptr) { in SetPosition()
30 position_ = std::make_shared<RSProperty<Vector2f>>(position); in SetPosition()
31 AttachProperty(position_); in SetPosition()
33 position_->Set(position); in SetPosition()
76 if (!position_) in Draw()
77 position = position_->Get(); in Draw()
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/
H A Dlight.h29 : type_(type), color_(color), intensity_(intensity), shadow_(shadow), position_(position), rotation_(rotation) in Light()
55 position_.SetPosition(position.GetPosition()); in SetPosition()
56 position_.SetDistance(position.GetDistance()); in SetPosition()
57 position_.SetIsAngular(position.GetIsAngular()); in SetPosition()
87 return position_; in GetPosition()
100 OHOS::Render3D::Position position_; member in OHOS::Render3D::Light
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_lite_source/
H A Dhttp_lite_source_plugin.cpp71 position_(0),
203 httpHandle_->GetHttpBufferRange(&position_, &downloadPos); in SetSource()
204 MEDIA_LOG_D("position_ " PUBLIC_LOG_U32 "downloadPos " PUBLIC_LOG_U32, position_, downloadPos); in SetSource()
206 while (!needExit_ && position_ == downloadPos && retryTimes < 60) { // 60 in SetSource()
208 httpHandle_->GetHttpBufferRange(&position_, &downloadPos); in SetSource()
211 MEDIA_LOG_D("position_ " PUBLIC_LOG_U32 "downloadPos " PUBLIC_LOG_U32, position_, downloadPos); in SetSource()
212 if (position_ == downloadPos) { in SetSource()
213 MEDIA_LOG_D("position_ in SetSource()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_steps_interpolator.cpp26 : steps_(steps <= 0 ? 1 : steps), position_(position) in RSStepsInterpolator()
30 : RSInterpolator(id), steps_(steps <= 0 ? 1 : steps), position_(position) in RSStepsInterpolator()
43 if (!(parcel.WriteInt32(steps_) && parcel.WriteInt32(static_cast<int32_t>(position_)))) { in Marshalling()
69 if (position_ == StepsCurvePosition::START) { in InterpolateImpl()
H A Drs_render_particle_animation.cpp87 if (emitterUpdater->position_.has_value() && in UpdateEmitter()
88 emitterUpdater->position_.value() != particlesRenderParams_[index]->emitterConfig_.position_) { in UpdateEmitter()
89 particlesRenderParams_[index]->emitterConfig_.position_ = emitterUpdater->position_.value(); in UpdateEmitter()
/foundation/window/window_manager/utils/src/
H A Dscreen_group_info.cpp26 size_t size = position_.size(); in Marshalling()
34 if (!parcel.WriteInt32(position_[i].posX_) || !parcel.WriteInt32(position_[i].posY_)) { in Marshalling()
73 position_.push_back(point); in InnerUnmarshalling()
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/src/data_source/
H A Dmedia_data_source_test_seekable.cpp73 position_ = 0; in Reset()
81 if (pos != position_) { in ReadAt()
83 position_ = pos; in ReadAt()
87 if (position_ >= fixedLen_) { in ReadAt()
98 realLength = static_cast<int32_t>(fixedLen_ - position_); in ReadAt()
101 position_ += realLength; in ReadAt()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/
H A Dfile_source_plugin.cpp83 : SourcePlugin(std::move(name)), fp_(nullptr), fileSize_(0), seekable_(Seekable::SEEKABLE), position_(0) in FileSourcePlugin()
168 if (std::feof(fp_) || (fileSize_ == position_)) { in Read()
187 expectedLen = std::min(static_cast<size_t>(fileSize_ - position_), expectedLen); in Read()
190 MEDIA_LOG_DD("buffer position " PUBLIC_LOG_U64 ", expectedLen " PUBLIC_LOG_ZU, position_, expectedLen); in Read()
202 position_ += bufData->GetSize(); in Read()
203 MEDIA_LOG_DD("position_: " PUBLIC_LOG_U64 ", readSize: " PUBLIC_LOG_ZU, position_, bufData->GetSize()); in Read()
227 if (!fp_ || (offset > fileSize_) || (position_ == offset)) { in SeekTo()
234 (void)std::fseek(fp_, static_cast<long int>(position_), SEEK_SET); in SeekTo()
238 position_ in SeekTo()
[all...]
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/file_source/
H A Dfile_source_plugin.cpp73 : SourcePlugin(std::move(name)), fp_(nullptr), fileSize_(0), seekable_(Seekable::SEEKABLE), position_(0) in FileSourcePlugin()
151 if (std::feof(fp_) || (fileSize_ == position_)) { in Read()
167 expectedLen = std::min(static_cast<size_t>(fileSize_ - position_), expectedLen); in Read()
170 MEDIA_LOG_DD("buffer position " PUBLIC_LOG_U64 ", expectedLen " PUBLIC_LOG_ZU, position_, expectedLen); in Read()
173 position_ += bufData->GetSize(); in Read()
174 MEDIA_LOG_DD("position_: " PUBLIC_LOG_U64 ", readSize: " PUBLIC_LOG_ZU, position_, bufData->GetSize()); in Read()
198 if (!fp_ || (offset > fileSize_) || (position_ == offset)) { in SeekToPos()
205 (void)std::fseek(fp_, static_cast<long int>(position_), SEEK_SET); in SeekToPos()
209 position_ in SeekToPos()
[all...]
/foundation/multimedia/av_session/frameworks/common/src/
H A Davplayback_state.cpp29 parcel.WriteInt64(position_.elapsedTime_) && in Marshalling()
30 parcel.WriteInt64(position_.updateTime_) && in Marshalling()
55 !parcel.ReadInt64(result->position_.elapsedTime_) || in Unmarshalling()
56 !parcel.ReadInt64(result->position_.updateTime_) || in Unmarshalling()
84 position_.elapsedTime_ >= 0 && in IsValid()
85 position_.updateTime_ >= 0 && in IsValid()
108 position_ = position; in SetPosition()
189 return position_; in GetPosition()
293 to.position_ = from.position_; in ClonePosition()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_content_transition_proxy.h54 return position_; in GetPosition()
59 position_ = position; in SetPosition()
92 float position_ = 0.0f; member in OHOS::Ace::SwiperContentTransitionProxy
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/geometry/
H A Dgeometry.h26 position_(position), castShadows_(castShadows), receiveShadows_(receiveShadows) {}; in Geometry()
53 return position_; in GetPosition()
71 Vec3 position_; member in OHOS::Render3D::Geometry
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_chart.cpp54 position_ = 0; in SetChartAttrDatasets()
434 position_ = lineData_[seriesNum_].first; in CallSpecializedMethod()
449 lineData_[seriesNum_].first = position_; in CallSpecializedMethod()
498 position_ = position_ + 1; in UpdateChartData()
500 position_ = static_cast<int32_t>(data[seriesNum_].GetData().size()); in UpdateChartData()
502 if (position_ > chartOptions_.GetXAxis().max || position_ < chartOptions_.GetXAxis().min) { in UpdateChartData()
505 if (chartOptions_.GetLoop() && position_ > chartOptions_.GetXAxis().max - 1) { in UpdateChartData()
507 position_ in UpdateChartData()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
H A Drender_xcomponent.cpp259 position_ = GetGlobalOffset(); in Paint()
261 prePosition_ = position_; in Paint()
264 NativeXComponentOffset(position_.GetX(), position_.GetY()); in Paint()
280 if ((!NearEqual(prePosition_.GetX(), position_.GetX())) || in Paint()
281 (!NearEqual(prePosition_.GetY(), position_.GetY()))) { in Paint()
282 prePosition_ = position_; in Paint()
295 NativeXComponentOffset(position_.GetX(), position_.GetY()); in Paint()
311 position_ in OnGlobalPositionChanged()
[all...]
H A Drender_xcomponent.h77 position_ = GetGlobalOffset();
78 xcomponentPositionChangeEvent_(position_.GetX(), position_.GetY());
113 Offset position_; member in OHOS::Ace::RenderXComponent
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/src/
H A Dsbc_encoder.cpp92 position_ = (BUFFER_SIZE - frame.subbands_ * VALUE_9) & ~VALUE_7; in Init()
161 position_ = Get8SubbandSamplingPoint(in, x_, in SBCEncode()
165 samples = Analyze8Subbands(position_, x_, frame_, increment_); in SBCEncode()
167 position_ = Get4SubbandSamplingPoint(in, x_, in SBCEncode()
171 samples = Analyze4Subbands(position_, x_, frame_, increment_); in SBCEncode()
408 if (position_ < samples) { in Get4SubbandSamplingPoint()
410 (void)memcpy_s(&x[VALUE_0][BUFFER_SIZE - VALUE_40], VALUE_36 * sizeof(int16_t), &x[VALUE_0][position_], in Get4SubbandSamplingPoint()
414 (void)memcpy_s(&x[VALUE_1][BUFFER_SIZE - VALUE_40], VALUE_36 * sizeof(int16_t), &x[VALUE_1][position_], in Get4SubbandSamplingPoint()
417 position_ = BUFFER_SIZE - VALUE_40; in Get4SubbandSamplingPoint()
421 position_ in Get4SubbandSamplingPoint()
[all...]
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/
H A Dheif_stream.h140 size_t GetPos() const { return position_; } in GetPos()
142 void SetPos(size_t pos) { position_ = pos; } in SetPos()
144 void SetPositionToEnd() { position_ = data_.size(); } in SetPositionToEnd()
150 size_t position_ = 0; member in OHOS::ImagePlugin::HeifStreamWriter

Completed in 11 milliseconds

123456