Home
last modified time | relevance | path

Searched refs:values_ (Results 1 – 25 of 102) sorted by relevance

12345

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dvalues_bucket.cpp30 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 ValuesBucket()
46 values_ = std::move(values.values_); in operator =()
96 values_.erase(columnName); in Delete()
101 values_.clear(); in Clear()
106 return values_.size(); in Size()
111 return values_.empty(); in IsEmpty()
117 if (iter == values_.end()) { in HasColumn()
135 return values_; in GetAll()
[all …]
H A Dcache_result_set.cpp33 … 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_[name].GetAssets(value); in GetAssets()
325 value = valueBuckets_[row_].values_[name]; in Get()
H A Dvalues_buckets.cpp23 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()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_query.cpp129 if (operation.values_.empty()) { in EqualTo()
138 if (operation.values_.empty()) { in NotEqualTo()
159 if (operation.values_.empty()) { in OrderBy()
208 if (operation.values_.empty()) { in Contain()
217 if (operation.values_.empty()) { in BeginWith()
226 if (operation.values_.empty()) { in EndWith()
247 if (operation.values_.empty()) { in Like()
256 if (operation.values_.empty()) { in Glob()
267 predicates_->Between(operation.field_, operation.values_[0], operation.values_[1]); in Between()
275 predicates_->NotBetween(operation.field_, operation.values_[0], operation.values_[1]); in NotBetween()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/test/
H A Dconcurrent_map_test.cpp37 values_.Clear(); in SetUp()
42 values_.Clear(); in TearDown()
45 ConcurrentMap<std::string, TestValue> values_; member in OHOS::Test::ConcurrentMapTest
57 values_.Emplace();
58 auto it = values_.Find("");
74 auto success = values_.Emplace(
80 success = values_.Emplace(
86 success = values_.Emplace(
114 auto it = values_.Find("test");
119 values_.Clear();
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/property/
H A Dstack_property.cpp48 for (auto&& v : values_) { in CleanUp()
53 values_.clear(); in CleanUp()
71 values_.pop_back(); in SetValueInValueStack()
211 values_.push_back(value); in PushValue()
228 if (!values_.empty()) { in PopValue()
232 values_.pop_back(); in PopValue()
240 return !values_.empty() ? values_.back() : nullptr; in TopValue()
245 for (auto m = values_.rbegin(); m != values_.rend(); ++m, ++index) { in RemoveValue()
350 values_.clear(); in SetInternalAny()
389 values_.clear(); in RemoveAll()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Drelational_predicates_objects.cpp31 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_.reserve(count); in PutTexts()
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dcloud_cursor_impl.cpp39 OhCloudExtCloudDbDataGetValues(cloudData_, &values_); in CloudCursorImpl()
40 if (values_ == nullptr) { 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_ == nullptr) { in MoveToNext()
294 if (values_ != nullptr) { in Close()
295 OhCloudExtVectorFree(values_); in Close()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_vendor.cpp609 values_.clear(); in ~AvrcTgLpasvPacket()
648 values_.erase(values_.begin(), values_.begin() + numOfValues_); in AssembleParameters()
817 values_.erase(values_.begin(), values_.begin() + numOfValues_); in AssembleParameters()
1338 values_.erase(values_.begin(), values_.begin() + number_); in AssembleParameters()
1431 if (any_of(values_.begin(), values_.end(), in IsValidAttributeAndValue()
1437 if (any_of(values_.begin(), values_.end(), in IsValidAttributeAndValue()
1443 if (any_of(values_.begin(), values_.end(), in IsValidAttributeAndValue()
1449 if (any_of(values_.begin(), values_.end(), in IsValidAttributeAndValue()
1547 values_.at(i).erase(values_.at(i).begin()); in AssembleParameters()
1554 values_.erase(values_.begin(), values_.begin() + number_); in AssembleParameters()
[all …]
H A Davrcp_tg_vendor_player_application_settings.h240 …std::deque<uint8_t> values_ {}; // A set of values of the "PlayerApplication…
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 Davrcp_tg_notification.cpp54 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_.size()); in AssemblePlayerApplicationSettingChanged()
442 double paramSize = attributes_.size() + values_.size(); in GetNumberOfPackets()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/engine/
H A Dengine_value_manager.cpp79 if (it != values_.end()) { in AddValue()
85 values_.erase(it); in AddValue()
205 auto it = values_.find(name); in RemoveValue()
208 values_.erase(it); in RemoveValue()
215 values_.clear(); in RemoveAll()
239 if (it != values_.end()) { in ConstructProperty()
250 for (auto&& v : values_) { in ConstructAllProperties()
259 auto it = values_.find(name); in GetEngineValue()
267 for (auto&& v : values_) { in GetAllEngineValues()
278 for (auto&& v : values_) { in NotifySyncs()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dscreen_system_manager.h124 std::fill(values_.begin(), values_.end(), defValue); in ArrayByScreenType()
131 return values_[static_cast<size_t>(idx)];
136 return values_[static_cast<size_t>(idx)];
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_;
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_vendor_player_application_settings.h219 return values_; in GetValues()
234 …std::vector<uint8_t> values_ {}; // A set of values of the "PlayerApplication…
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 Davrcp_ct_vendor.cpp365 values_.clear(); in ~AvrcCtLpasvPacket()
423 numOfValues_ = values_.size(); in DisassembleParameters()
487 values_.clear(); in ~AvrcCtGcpasvPacket()
604 values_ = values; in AvrcCtSpasvPacket()
622 values_.clear(); in ~AvrcCtSpasvPacket()
838 values_ = values; in AvrcCtGpasvtPacket()
857 values_.clear(); in ~AvrcCtGpasvtPacket()
885 for (auto value : values_) { in AssembleParameters()
980 values_.clear(); in ~AvrcCtGeaPacket()
1027 values_.push_back(name); in DisassemblePacketAttributes()
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/
H A Dwifi_direct_test_context.h62 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_;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/data_panel/
H A Ddata_panel_content_modifier_test_ng.cpp148 EXPECT_EQ(VALUES, config.values_); in __anon8e9b1f6f0202()
181 EXPECT_EQ(LONG_VALUES, config.values_); in __anon8e9b1f6f0302()
214 EXPECT_EQ(FULL_VALUES, config.values_); in __anon8e9b1f6f0402()
281 EXPECT_EQ(VALUES, config.values_); in __anon8e9b1f6f0602()
413 EXPECT_EQ(VALUES, config.values_); in __anon8e9b1f6f0a02()
545 EXPECT_EQ(VALUES, config.values_); in __anon8e9b1f6f0e02()
809 EXPECT_EQ(VALUES, config.values_); in __anon8e9b1f6f1602()
974 EXPECT_EQ(VALUES, config.values_); in __anon8e9b1f6f1b02()
1139 EXPECT_EQ(VALUES_20, config.values_); in __anon8e9b1f6f2002()
1337 EXPECT_EQ(VALUES, config.values_); in __anon8e9b1f6f2602()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_trans_db_test.cpp169 ASSERT_TRUE(row.values_ == rowEntity.Get());
196 ASSERT_TRUE(row.values_ == rowEntity.Get());
223 ASSERT_TRUE(row.values_ == rowEntity.Get());
524 updateRow.values_.erase("id");
542 ASSERT_TRUE(updateRow.values_ == row);
568 updateRow.values_.erase("id");
587 ASSERT_TRUE(updateRow.values_ == row);
641 updateRow.values_.erase("id");
663 ASSERT_TRUE(updateRow.values_ == row);
689 updateRow.values_.erase("id");
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinfo_container.h29 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_; variable
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_avrcp_ct.h110 : 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 … variable
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 applicati… variable
175 : attributes_(attributes), values_(values) in ElementAttributes()
180 values_.clear(); in ~ElementAttributes()
229 std::vector<std::string> values_; member
352 : attributes_(attributes), values_(values) in Notification()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/v2/
H A Dv2_monitor.ts80 private values_: Array<MonitorValueV2<unknown>> = new Array<MonitorValueV2<unknown>>();
92 paths.forEach(path => this.values_.push(new MonitorValueV2<unknown>(path)));
112 this.values_.forEach(monitorValue => {
125 for (let monitorValue of this.values_) {
156 this.values_.forEach(item => item.reset());
163 this.values_.forEach((item) => {
/ohos5.0/base/telephony/core_service/utils/vcard/src/
H A Dvcard_raw_data.cpp40 values_ = values; in SetValues()
45 values_.insert(values_.end(), values.begin(), values.end()); in AppendValues()
90 return values_; in GetValue()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_interpolator.cpp156 : RSInterpolator(id), times_(times), values_(values) in RSCustomInterpolator()
175 if (!parcel.WriteFloatVector(times_) || !parcel.WriteFloatVector(values_)) { in Marshalling()
213 values_.push_back(value); in Convert()
237 float ret = fraction * (values_[endLocation] - values_[startLocation]) + values_[startLocation]; in InterpolateImpl()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dresource_manager_impl.cpp146 for (size_t i = 0; i < idItem->values_.size(); ++i) { in GetStringArray()
148 RState rrRet = ResolveReference(idItem->values_[i], resolvedValue); in GetStringArray()
241 size_t loop = idItem->values_.size() / 2; in GetPluralString()
244 std::string key(idItem->values_[startIdx + i * 2]); in GetPluralString()
245 std::string value(idItem->values_[startIdx + i * 2 + 1]); in GetPluralString()
333 size_t loop = currItem->values_.size() / 2; in ResolveParentReference()
336 std::string key(currItem->values_[startIdx + i * 2]); in ResolveParentReference()
337 std::string value(currItem->values_[startIdx + i * 2 + 1]); in ResolveParentReference()
354 bool isRef = IdItem::IsRef(currItem->values_[0], resType, id); in ResolveParentReference()
505 for (size_t i = 0; i < idItem->values_.size(); ++i) { in GetIntArray()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drender_svg_fe_colormatrix.cpp34 values_ = declaration->GetValues(); in Update()
39 StringUtils::StringSplitter(values_, ' ', matrix); in Update()
41 StringUtils::StringSplitter(values_, ',', matrix); in Update()

12345