/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | values_bucket.cpp | 26 ValuesBucket::ValuesBucket(std::map<std::string, ValueObject> values) : values_(std::move(values)) in ValuesBucket() 30 ValuesBucket::ValuesBucket(const ValuesBucket &values) : values_(values.values_) in ValuesBucket() 36 values_ = values.values_; in operator =() 40 ValuesBucket::ValuesBucket(ValuesBucket &&values) noexcept : values_(std::move(values.values_)) in move() 46 values_ = std::move(values.values_); 56 values_ in PutString() [all...] |
H A D | values_buckets.cpp | 23 values_ = std::make_shared<std::set<ValueObject>>(); in ValuesBuckets() 33 return { fields_, values_ }; in GetFieldsAndValues() 39 for (const auto &[field, value] : bucket.values_) { in Put() 41 auto valueResult = values_->insert(value); in Put()
|
H A D | cache_result_set.cpp | 33 for (auto it = valueBuckets_[0].values_.begin(); it != valueBuckets_[0].values_.end(); it++) { in CacheResultSet() 67 return valueBuckets_[row_].values_[name].GetBlob(blob); in GetBlob() 80 return valueBuckets_[row_].values_[name].GetString(value); in GetString() 93 return valueBuckets_[row_].values_[name].GetInt(value); in GetInt() 106 return valueBuckets_[row_].values_[name].GetLong(value); in GetLong() 119 return valueBuckets_[row_].values_[name].GetDouble(value); in GetDouble() 132 isNull = valueBuckets_[row_].values_[name].GetType() == ValueObject::TYPE_NULL; in IsColumnNull() 294 return valueBuckets_[row_].values_[name].GetAsset(value); in GetAsset() 307 return valueBuckets_[row_].values_[nam in GetAssets() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | concurrent_map_test.cpp | 37 values_.Clear(); in SetUp() 42 values_.Clear(); in TearDown() 45 ConcurrentMap<std::string, TestValue> values_; member in OHOS::Test::ConcurrentMapTest 57 values_.Emplace(); in HWTEST_F() 58 auto it = values_.Find(""); in HWTEST_F() 74 auto success = values_.Emplace( in HWTEST_F() 75 [](const decltype(values_)::map_type &entries) { in HWTEST_F() 80 success = values_.Emplace( in HWTEST_F() 81 [](const decltype(values_)::map_type &entries) { in HWTEST_F() 86 success = values_ in HWTEST_F() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_query.cpp | 130 if (operation.values_.empty()) { in EqualTo() 133 query_.EqualTo(operation.field_, operation.values_[0]); in EqualTo() 134 predicates_->EqualTo(operation.field_, operation.values_[0]); in EqualTo() 139 if (operation.values_.empty()) { in NotEqualTo() 142 query_.NotEqualTo(operation.field_, operation.values_[0]); in NotEqualTo() 143 predicates_->NotEqualTo(operation.field_, operation.values_[0]); in NotEqualTo() 160 if (operation.values_.empty()) { in OrderBy() 163 bool isAsc = operation.values_[0] == "true"; in OrderBy() 172 int offset = static_cast<int>(strtol(operation.values_[0].c_str(), &end, DECIMAL_BASE)); in Limit() 185 query_.In(operation.field_, operation.values_); in In() [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_predicates_objects.cpp | 31 self->values_.clear(); in PutInt64() 32 self->values_.reserve(count); in PutInt64() 34 self->values_.push_back(value[i]); in PutInt64() 45 self->values_.clear(); in PutDouble() 46 self->values_.reserve(count); in PutDouble() 48 self->values_.push_back(value[i]); in PutDouble() 60 self->values_.clear(); in PutText() 61 self->values_.push_back(value); in PutText() 72 self->values_.clear(); in PutTexts() 73 self->values_ in PutTexts() [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/src/property/ |
H A D | stack_property.cpp | 48 for (auto&& v : values_) { in CleanUp() 53 values_.clear(); in CleanUp() 60 for (int i = int(values_.size()) - 1; i >= 0; --i) { in SetValueInValueStack() 62 InterfaceUniqueLock lock { values_[i] }; in SetValueInValueStack() 63 res = values_[i]->SetValue(value); in SetValueInValueStack() 68 if (auto noti = interface_cast<INotifyOnChange>(values_[i])) { in SetValueInValueStack() 71 values_.pop_back(); in SetValueInValueStack() 79 values_.push_back(c); in SetValueInValueStack() 143 if (values_.empty()) { in GetValueFromStack() 146 auto& v = values_ in GetValueFromStack() [all...] |
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/ |
H A D | wifi_direct_test_context.h | 62 values_[key] = value; in Set() 68 const auto it = values_.find(key); in Get() 69 if (it != values_.end()) { in Get() 78 values_.clear(); in Reset() 82 std::map<Key, std::any> values_; member in OHOS::SoftBus::WifiDirectTestContext
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | info_container.h | 29 values_[key] = value; in Set() 35 const auto it = values_.find(key); in Get() 36 return it != values_.end() ? std::any_cast<T>(it->second) : defaultValue; in Get() 42 std::map<Key, std::any> values_; member in OHOS::SoftBus::InfoContainer
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | cloud_cursor_impl.cpp | 39 OhCloudExtCloudDbDataGetValues(cloudData_, &values_); in CloudCursorImpl() 40 if (values_ == nullptr) { in CloudCursorImpl() 43 OhCloudExtVectorGetLength(values_, reinterpret_cast<unsigned int *>(&valuesLen_)); in CloudCursorImpl() 47 auto status = OhCloudExtVectorGet(values_, 0, &values, reinterpret_cast<unsigned int *>(&valueLen)); in CloudCursorImpl() 75 if (values_ != nullptr) { in ~CloudCursorImpl() 76 OhCloudExtVectorFree(values_); in ~CloudCursorImpl() 77 values_ = nullptr; in ~CloudCursorImpl() 83 if (values_ == nullptr) { in GetColumnNames() 111 if (values_ == nullptr) { in MoveToFirst() 124 if (values_ in MoveToNext() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | screen_system_manager.h | 124 std::fill(values_.begin(), values_.end(), defValue);
in ArrayByScreenType() 131 return values_[static_cast<size_t>(idx)];
in operator []() 136 return values_[static_cast<size_t>(idx)];
in operator []() 142 return values_[static_cast<size_t>(idx)];
in GetCurrentValue() 148 return values_[static_cast<size_t>(idx)];
in GetCurrentValue() 151 std::array<T, SCREEN_SIZE_COUNT> values_;
member in OHOS::Ace::final
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/ |
H A D | avrcp_tg_vendor.cpp | 587 values_ = values; in AvrcTgLpasvPacket() 609 values_.clear(); in ~AvrcTgLpasvPacket() 617 numOfValues_ = values_.size(); in AssembleParameters() 644 offset += PushOctets1((bufferPtr + offset), values_.at(i)); in AssembleParameters() 645 HILOGI("value: %{public}x", values_.at(i)); in AssembleParameters() 647 HILOGI("before erase values_.size: %{public}zu", values_.size()); in AssembleParameters() 648 values_.erase(values_.begin(), values_ in AssembleParameters() [all...] |
H A D | avrcp_tg_vendor_player_application_settings.h | 240 std::deque<uint8_t> values_ {}; // A set of values of the "PlayerApplicationSettingValueID". 370 std::deque<uint8_t> values_ {}; // A set of values of the "PlayerApplicationSettingValueID". 490 return values_; in GetValues() 506 std::deque<uint8_t> values_ {}; // A set of values of the "PlayerApplicationSettingValueID". 784 return values_; in GetValues() 794 values_.clear(); in ClearValues() 827 std::vector<uint8_t> values_ {}; // Player application setting value ID.
|
H A D | avrcp_tg_notification.cpp | 54 values_.clear(); in ~AvrcTgNotifyPacket() 208 if (numOfAttributes > values_.size()) { in AssemblePlayerApplicationSettingChanged() 209 numOfAttributes = values_.size(); in AssemblePlayerApplicationSettingChanged() 242 offset += PushOctets1((bufferPtr + offset), values_.at(i)); in AssemblePlayerApplicationSettingChanged() 243 HILOGI("value: %{public}x", values_.at(i)); in AssemblePlayerApplicationSettingChanged() 246 values_.erase(values_.begin(), values_.begin() + numOfAttributes); in AssemblePlayerApplicationSettingChanged() 249 HILOGI("values_.size: %{public}zu", values_ in AssemblePlayerApplicationSettingChanged() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_vendor_player_application_settings.h | 219 return values_; in GetValues() 234 std::vector<uint8_t> values_ {}; // A set of values of the "PlayerApplicationSettingValueID". 362 return values_; in GetValues() 380 std::vector<uint8_t> values_ {}; // A set of values of the "PlayerApplicationSettingValueID". 493 return values_; in GetValues() 509 std::vector<uint8_t> values_ {}; // A set of values of the "PlayerApplicationSettingValueID". 759 return values_; in GetValues() 769 values_.clear(); in ClearValues() 805 std::vector<uint8_t> values_ {}; // Player application setting value ID.
|
H A D | avrcp_ct_vendor.cpp | 365 values_.clear(); in ~AvrcCtLpasvPacket() 419 values_.push_back(static_cast<uint8_t>(payload)); in DisassembleParameters() 420 HILOGI("value: %{public}x", values_.back()); in DisassembleParameters() 423 numOfValues_ = values_.size(); in DisassembleParameters() 425 HILOGI("values_.size: %{public}zu", values_.size()); in DisassembleParameters() 427 if (numOfValues_ == values_.size() && numOfValues_ > 0) { in DisassembleParameters() 487 values_.clear(); in ~AvrcCtGcpasvPacket() 553 values_.push_back(static_cast<uint8_t>(payload)); in DisassembleParameters() 554 HILOGI("value: %{public}x", values_ in DisassembleParameters() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | render_svg_fe_colormatrix.cpp | 34 values_ = declaration->GetValues(); in Update() 39 StringUtils::StringSplitter(values_, ' ', matrix); in Update() 41 StringUtils::StringSplitter(values_, ',', matrix); in Update()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/engine/ |
H A D | engine_value_manager.cpp | 78 auto it = values_.find(name); in AddValue() 79 if (it != values_.end()) { in AddValue() 85 values_.erase(it); in AddValue() 89 values_[name] = ValueInfo { v }; in AddValue() 205 auto it = values_.find(name); in RemoveValue() 206 bool ret = it != values_.end(); in RemoveValue() 208 values_.erase(it); in RemoveValue() 215 values_.clear(); in RemoveAll() 238 auto it = values_.find(name); in ConstructProperty() 239 if (it != values_ in ConstructProperty() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/data_panel/ |
H A D | data_panel_content_modifier_test_ng.cpp | 148 EXPECT_EQ(VALUES, config.values_); in HWTEST_F() 181 EXPECT_EQ(LONG_VALUES, config.values_); in HWTEST_F() 214 EXPECT_EQ(FULL_VALUES, config.values_); in HWTEST_F() 248 EXPECT_EQ(SINGLE_VALUES, config.values_); in HWTEST_F() 281 EXPECT_EQ(VALUES, config.values_); in HWTEST_F() 314 EXPECT_EQ(LONG_VALUES, config.values_); in HWTEST_F() 347 EXPECT_EQ(FULL_VALUES, config.values_); in HWTEST_F() 380 EXPECT_EQ(SINGLE_VALUES, config.values_); in HWTEST_F() 413 EXPECT_EQ(VALUES, config.values_); in HWTEST_F() 446 EXPECT_EQ(LONG_VALUES, config.values_); in HWTEST_F() [all...] |
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_avrcp_ct.h | 110 : attribute_(attribute), values_(values) in PlayerSettingValues() 114 values_.clear(); in ~PlayerSettingValues() 117 std::vector<uint8_t> values_; // The values of the specified attribute of the player application setting. member in OHOS::Bluetooth::AvrcpCtResponse::PlayerSettingValues 131 : attributes_(attributes), values_(values) in PlayerSettingCurrentValue() 136 values_.clear(); in ~PlayerSettingCurrentValue() 139 std::vector<uint8_t> values_; // The value of the specified attribute of the player application settings. member in OHOS::Bluetooth::AvrcpCtResponse::PlayerSettingCurrentValue 175 : attributes_(attributes), values_(values) in ElementAttributes() 180 values_.clear(); in ~ElementAttributes() 183 std::vector<std::string> values_; // The value of the specified attribute of the player application settings. member in OHOS::Bluetooth::AvrcpCtResponse::ElementAttributes 229 std::vector<std::string> values_; member 364 std::vector<uint8_t> values_; // The value of the "PlayerApplicationSettingValueID". global() member in OHOS::Bluetooth::AvrcpCtResponse::Notification [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_interpolator.cpp | 147 : RSInterpolator(id), times_(times), values_(values) in RSCustomInterpolator() 166 if (!parcel.WriteFloatVector(times_) || !parcel.WriteFloatVector(values_)) { in Marshalling() 204 values_.push_back(value); in Convert() 228 float ret = fraction * (values_[endLocation] - values_[startLocation]) + values_[startLocation]; in InterpolateImpl()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_avrcp_meItem.cpp | 46 if (!parcel.WriteUint32(values_.size())) { in Marshalling() 49 for (auto &value : values_) { in Marshalling() 108 values_.push_back(value); in ReadFromParcel()
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_trans_db_test.cpp | 169 ASSERT_TRUE(row.values_ == rowEntity.Get()); in HWTEST_F() 196 ASSERT_TRUE(row.values_ == rowEntity.Get()); in HWTEST_F() 221 SqliteSqlBuilder::UpdateAssetStatus(row.values_["attachment"], AssetValue::STATUS_INSERT); in HWTEST_F() 222 SqliteSqlBuilder::UpdateAssetStatus(row.values_["attachments"], AssetValue::STATUS_INSERT); in HWTEST_F() 223 ASSERT_TRUE(row.values_ == rowEntity.Get()); in HWTEST_F() 248 SqliteSqlBuilder::UpdateAssetStatus(row.values_["attachment"], AssetValue::STATUS_INSERT); in HWTEST_F() 249 SqliteSqlBuilder::UpdateAssetStatus(row.values_["attachments"], AssetValue::STATUS_INSERT); in HWTEST_F() 250 ASSERT_TRUE(row.values_ == rowEntity.Get()); in HWTEST_F() 275 SqliteSqlBuilder::UpdateAssetStatus(row.values_["attachment"], AssetValue::STATUS_INSERT); in HWTEST_F() 276 SqliteSqlBuilder::UpdateAssetStatus(row.values_["attachment in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/ |
H A D | data_panel_model_ng.h | 26 : CommonConfiguration(enabled), values_(values), maxValue_(maxValue) in DataPanelConfiguration() 28 std::vector<double>& values_; member in OHOS::Ace::NG::DataPanelConfiguration
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | result_set.h | 37 std::map<std::string, ValueObject> values_; member 38 std::vector<decltype(values_)::iterator> indexs_;
|