| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
| H A D | cloud_db_impl.cpp | 46 if (data.first == nullptr) { in Execute() 49 auto status = OhCloudExtCloudDbExecuteSql(database_, &sqlInfo, data.first); in Execute() 50 OhCloudExtHashMapFree(data.first); in Execute() 59 if (valIn.first == nullptr || exdIn.first == nullptr) { in BatchInsert() 60 OhCloudExtVectorFree(valIn.first); in BatchInsert() 61 OhCloudExtVectorFree(exdIn.first); in BatchInsert() 65 table.size(), valIn.first, exdIn.first); in BatchInsert() 67 extends = ExtensionUtil::ConvertBuckets(exdIn.first); in BatchInsert() [all...] |
| /foundation/ability/ability_runtime/services/abilitymgr/src/utils/ |
| H A D | dump_utils.cpp | 25 result.first = true; in DumpMapOne() 28 result.first = true; in DumpMapOne() 31 result.first = true; in DumpMapOne() 34 result.first = true; in DumpMapOne() 37 result.first = true; in DumpMapOne() 40 result.first = true; in DumpMapOne() 43 result.first = true; in DumpMapOne() 46 result.first = true; in DumpMapOne() 49 result.first = true; in DumpMapOne() 60 result.first in DumpMapTwo() [all...] |
| /device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
| H A D | Rockchip_OSAL_Queue.c | 51 queue->first = (ROCKCHIP_QElem *)Rockchip_OSAL_Malloc(sizeof(ROCKCHIP_QElem)); in Rockchip_OSAL_QueueCreate() 52 if (queue->first == NULL) in Rockchip_OSAL_QueueCreate() 55 Rockchip_OSAL_Memset(queue->first, 0, sizeof(ROCKCHIP_QElem)); in Rockchip_OSAL_QueueCreate() 56 currentqelem = queue->last = queue->first; in Rockchip_OSAL_QueueCreate() 62 while (queue->first != NULL) { in Rockchip_OSAL_QueueCreate() 63 currentqelem = queue->first->qNext; in Rockchip_OSAL_QueueCreate() 64 Rockchip_OSAL_Free((OMX_PTR)queue->first); in Rockchip_OSAL_QueueCreate() 65 queue->first = currentqelem; in Rockchip_OSAL_QueueCreate() 75 currentqelem->qNext = queue->first; in Rockchip_OSAL_QueueCreate() 91 currentqelem = queue->first in Rockchip_OSAL_QueueTerminate() [all...] |
| /foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
| H A D | vector.h | 84 // first element 225 vector(InputIt first, InputIt last) : allocator_(default_allocator()) in vector() argument 227 const auto size = static_cast<size_type>(last - first); in vector() 229 init_copy(data_, first, last); in vector() 233 vector(const_pointer first, const_pointer last) : allocator_(default_allocator()) in vector() argument 235 const auto size = static_cast<size_type>(last - first); in vector() 237 init_copy(data_, first, size); in vector() 298 // first copy to the initialized objects.. in operator =() 648 iterator insert(const_iterator pos, const_iterator first, const_iterator last) in insert() argument 650 return insert_impl(pos, first, las in insert() 653 insert(const_iterator pos, iterator first, iterator last) insert() argument 659 insert(const_iterator pos, InputIt first, InputIt last) insert() argument 685 append(InputIt first, InputIt last) append() argument 705 append(const_pointer first, const_pointer last) append() argument 736 erase(const_iterator first, const_iterator last) erase() argument 846 uninitialized_default_construct(pointer first, pointer last) uninitialized_default_construct() argument 857 uninitialized_value_construct(pointer first, pointer last) uninitialized_value_construct() argument 868 uninitialized_copy(const_pointer first, const_pointer last, pointer d_first) uninitialized_copy() argument 880 uninitialized_fill(pointer first, const_pointer last, const_reference value) uninitialized_fill() argument 892 uninitialized_move(pointer first, const_pointer last, pointer d_first) uninitialized_move() argument 907 copy(pointer pos, InputIt first, InputIt last) copy() argument 943 move(pointer first, const_pointer last, pointer d_first) move() argument 955 reverse_move(pointer first, pointer last, pointer dst) reverse_move() argument 986 destroy(iterator first, iterator last) destroy() argument 1095 init_copy(pointer pos, InputIt first, InputIt last) init_copy() argument 1172 insert_impl(const_iterator pos, InputIt first, InputIt last) insert_impl() argument [all...] |
| /foundation/communication/dhcp/services/dhcp_server/src/ |
| H A D | dhcp_option.cpp | 54 if (pOptions->first != nullptr) { in HasInitialized() 66 if (pOptions->first != nullptr && pOptions->first == pOptions->last) { in InitOptionList() 78 pOptions->first = pOptions->last = pNode; in InitOptionList() 79 pOptions->first->previous = nullptr; in InitOptionList() 95 if (pOptions->first == nullptr) { in PushBackOption() 127 if (pOptions->first == pOptions->last) { in PushFrontOption() 128 pNode->previous = pOptions->first; in PushFrontOption() 129 pOptions->first->next = pNode; in PushFrontOption() 132 pNode->next = pOptions->first in PushFrontOption() [all...] |
| /foundation/ability/ability_runtime/test/unittest/dump_utils_test/ |
| H A D | dump_utils_test.cpp | 52 EXPECT_TRUE(result.first); in HWTEST_F() 69 EXPECT_TRUE(result.first); in HWTEST_F() 86 EXPECT_TRUE(result.first); in HWTEST_F() 103 EXPECT_TRUE(result.first); in HWTEST_F() 120 EXPECT_TRUE(result.first); in HWTEST_F() 137 EXPECT_TRUE(result.first); in HWTEST_F() 154 EXPECT_TRUE(result.first); in HWTEST_F() 171 EXPECT_TRUE(result.first); in HWTEST_F() 188 EXPECT_TRUE(result.first); in HWTEST_F() 205 EXPECT_TRUE(result.first); in HWTEST_F() [all...] |
| /foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
| H A D | dom_option.cpp | 59 if (attr.first != DOM_OPTION_CONTENT) { in SetSpecializedAttr() 63 if (attr.first == DOM_OPTION_SELECTED) { in SetSpecializedAttr() 68 if (attr.first == DOM_OPTION_VALUE) { in SetSpecializedAttr() 73 if (attr.first == DOM_OPTION_ICON) { in SetSpecializedAttr() 83 if (attr.first == DOM_OPTION_ACTION) { in SetSpecializedAttr() 92 if (attr.first == DOM_OPTION_CONTENT) { in SetSpecializedAttr() 102 if (attr.first == DOM_DISABLED) { in SetSpecializedAttr() 107 if (attr.first == DOM_SHOW) { in SetSpecializedAttr() 112 if (attr.first == DOM_FOCUSABLE) { in SetSpecializedAttr() 125 if (style.first in SetSpecializedStyle() [all...] |
| H A D | dom_rating.cpp | 34 if (attr.first == DOM_RATING_INDICATOR) { in SetSpecializedAttr() 42 rating.starNum_.first = StringToInt(val); in SetSpecializedAttr() 47 rating.ratingScore_.first = StringToDouble(val); in SetSpecializedAttr() 52 rating.stepSize_.first = StringToDouble(val); in SetSpecializedAttr() 56 auto operatorIter = ratingAttrOperators.find(attr.first); in SetSpecializedAttr() 67 if (style.first == DOM_RTL_FLIP) { in SetSpecializedStyle() 75 rating.backgroundSrc_.first = val; in SetSpecializedStyle() 80 rating.foregroundSrc_.first = val; in SetSpecializedStyle() 85 rating.secondarySrc_.first = val; in SetSpecializedStyle() 89 auto operatorIter = ratingStyleOperators.find(style.first); in SetSpecializedStyle() [all...] |
| H A D | dom_progress.cpp | 120 BinarySearchFindIndex(progressAttrsOperators, ArraySize(progressAttrsOperators), attr.first.c_str()); in SetSpecializedAttr() 134 progress.backgroundColor_.first = progress.ParseColor(val); in SetSpecializedStyle() 143 progress.centerX_.first = StringToDouble(val); in SetSpecializedStyle() 148 progress.centerY_.first = StringToDouble(val); in SetSpecializedStyle() 156 progress.color_.first = progress.ParseColor(val); in SetSpecializedStyle() 168 progress.radius_.first = StringToDouble(val); in SetSpecializedStyle() 173 progress.scaleNumber_.first = StringUtils::StringToInt(val); in SetSpecializedStyle() 178 progress.scaleWidth_.first = progress.ParseDimension(val); in SetSpecializedStyle() 183 progress.cachedColor_.first = progress.ParseColor(val); in SetSpecializedStyle() 190 progress.strokeWidth_.first in SetSpecializedStyle() [all...] |
| H A D | dom_popup.cpp | 94 if (attr.first == DOM_PLACEMENT) { in SetSpecializedAttr() 100 } else if (attr.first == DOM_ARROW_OFFSET) { in SetSpecializedAttr() 103 } else if (attr.first == DOM_CLICKABLE) { in SetSpecializedAttr() 106 } else if (attr.first == DOM_KEEP_ALIVE) { in SetSpecializedAttr() 115 if (style.first == DOM_BACKGROUND_COLOR || style.first == DOM_BACKGROUND || style.first == DOM_BACKGROUND_IMAGE) { in SetSpecializedStyle() 120 if (style.first == DOM_POSITION || style.first == DOM_POSITION_LEFT || style.first in SetSpecializedStyle() [all...] |
| /foundation/graphic/graphic_3d/lume/metaobject/src/ |
| H A D | container_observer.cpp | 56 return other.added_.first == added_.first && other.removed_.first == removed_.first && 57 other.moved_.first == moved_.first; 68 return added_.first && removed_.first && moved_.first; in Subscribe() 76 if (added_.first) { in Unsubscribe() [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/ |
| H A D | frame_retainer.cpp | 71 LogRetainInfo("[Retainer][Final] DISCARD", eachLabel.first, eachTarget.first, eachFrame.first, in Finalize() 108 LogRetainInfo("[Retainer][Retain] DISCARD", inFrame.commLabel, inFrame.srcTarget, iter->first, iter->second); in RetainFrame() 137 fetchOrder[eachFrame.first] = eachTarget.first; in FetchFramesForSpecificCommunicator() 141 RetainWork &work = perLabel[entry.second][entry.first]; in FetchFramesForSpecificCommunicator() 142 LogRetainInfo("[Retainer][Fetch] FETCH-OUT", inCommLabel, entry.second, entry.first, work); in FetchFramesForSpecificCommunicator() 161 LogRetainInfo("[Retainer][Surveil] DISCARD", label, eachTarget.first, eachFrame.first, in DecreaseRemainTimeAndDiscard() [all...] |
| /foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
| H A D | hcodec_utils.cpp | 25 switch (meta->GetValueType(iter->first)) { in StringifyMeta() 27 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<int32_t>(iter->second)) << " | "; in StringifyMeta() 30 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<uint32_t>(iter->second)) << " | "; in StringifyMeta() 33 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<bool>(iter->second)) << " | "; in StringifyMeta() 36 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<double>(iter->second)) << " | "; in StringifyMeta() 39 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<int64_t>(iter->second)) << " | "; in StringifyMeta() 42 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<float>(iter->second)) << " | "; in StringifyMeta() 45 dumpStream << iter->first << " = " << "unknown type | "; in StringifyMeta()
|
| /foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
| H A D | clip_path.cpp | 112 std::string::size_type first = 0; in GetBasicShapeInfo() local 114 if (tmp != std::string::npos && tmp >= first) { in GetBasicShapeInfo() 115 first = tmp + std::strlen("inset("); in GetBasicShapeInfo() 116 data = value.substr(first, (value.find_first_of(')', first) - first)); in GetBasicShapeInfo() 120 if (tmp != std::string::npos && tmp >= first) { in GetBasicShapeInfo() 121 first = tmp + std::strlen("circle("); in GetBasicShapeInfo() 122 data = value.substr(first, (value.find_first_of(')', first) in GetBasicShapeInfo() [all...] |
| /foundation/arkui/ace_engine/test/unittest/core/property/ |
| H A D | templates_parser_test_ng.cpp | 192 EXPECT_EQ(result.first.size(), rt.size()); in HWTEST_F() 193 for (int i = 0; i < rt.size() && i < result.first.size(); i++) { in HWTEST_F() 194 EXPECT_EQ(rt[i], result.first[i]); in HWTEST_F() 208 * @tc.expected: retVal.first is empty. in HWTEST_F() 216 EXPECT_EQ(retVal.first.size(), 4); in HWTEST_F() 220 * @tc.expected: retVal.first.size() is 100. in HWTEST_F() 229 EXPECT_EQ(retVal.first.size(), 4); in HWTEST_F() 230 for (int i = 0; i < retVal.first.size(); i++) { in HWTEST_F() 231 EXPECT_EQ(retVal.first[i], gt[i]); in HWTEST_F() 236 * @tc.expected: retVal.first in HWTEST_F() [all...] |
| /foundation/multimedia/av_session/frameworks/native/ohavsession/src/ |
| H A D | OHAVSessionCallbackImpl.cpp | 27 it->first(avsession_, CONTROL_CMD_PLAY, it->second); in OnPlay() 34 it->first(avsession_, CONTROL_CMD_PAUSE, it->second); in OnPause() 41 it->first(avsession_, CONTROL_CMD_STOP, it->second); in OnStop() 48 it->first(avsession_, CONTROL_CMD_PLAY_NEXT, it->second); in OnPlayNext() 55 it->first(avsession_, CONTROL_CMD_PLAY_PREVIOUS, it->second); in OnPlayPrevious() 62 it->first(avsession_, time, it->second); in OnFastForward() 69 it->first(avsession_, time, it->second); in OnRewind() 76 it->first(avsession_, time, it->second); in OnSeek() 83 it->first(avsession_, static_cast<AVSession_LoopMode>(loopMode), it->second); in OnSetLoopMode() 90 it->first(avsession in OnToggleFavorite() [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
| H A D | lazy_for_each_builder.cpp | 28 auto keyIter = expiringItem_.find(iter->second.first); in GetChildByIndex() 35 return { keyIter->first, keyIter->second.second }; in GetChildByIndex() 50 expiringItem_.emplace(itemInfo.first, LazyForEachCacheChild(index, itemInfo.second)); in GetChildByIndex() 51 cachedItems_[index] = LazyForEachChild(itemInfo.first, nullptr); in GetChildByIndex() 63 node.first = -1; in OnDataReloaded() 67 expiringItem_.try_emplace(node.first, LazyForEachCacheChild(-1, std::move(node.second))); in OnDataReloaded() 77 if (!cachedItems_.empty() && index <= static_cast<size_t>(cachedItems_.rbegin()->first)) { in OnDataAdded() 86 if (static_cast<size_t>(node.first) >= index && node.first != -1) { in OnDataAdded() 87 node.first in OnDataAdded() [all...] |
| /foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
| H A D | power_state_machine.cpp | 119 if (powerLevel.first != PowerSsrLevel::NO_ACTION && powerLevel.first != controlPowerLevel.first) { in Entry() 120 int ssrRet = pd_.BtmSetSniffSubrating(PowerSpec::GetPowerSsrParam(powerLevel.first)); in Entry() 156 if (powerLevel.first != PowerSsrLevel::NO_ACTION && powerLevel.first != controlPowerLevel.first) { in Dispatch() 157 int ssrRet = pd_.BtmSetSniffSubrating(PowerSpec::GetPowerSsrParam(powerLevel.first)); in Dispatch() 214 pd_.GetRequestPowerLevel().first, in Dispatch() 215 pd_.GetControlPowerLevel().first); in Dispatch() [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
| H A D | layout_constraint.h | 37 static bool CompareWithInfinityCheck(const OptionalSize<float>& first, const OptionalSize<float>& second) in CompareWithInfinityCheck() 39 if (first.Width().has_value() ^ second.Width().has_value()) { in CompareWithInfinityCheck() 42 auto widthBothInf = GreaterOrEqualToInfinity(first.Width().value_or(0.0f)) && in CompareWithInfinityCheck() 44 if (!widthBothInf && !NearEqual(first.Width().value_or(0), second.Width().value_or(0))) { in CompareWithInfinityCheck() 47 if (first.Height().has_value() ^ second.Height().has_value()) { in CompareWithInfinityCheck() 50 auto heightBothInf = GreaterOrEqualToInfinity(first.Height().value_or(0.0f)) && in CompareWithInfinityCheck() 52 if (!heightBothInf && !NearEqual(first.Height().value_or(0), second.Height().value_or(0))) { in CompareWithInfinityCheck() 58 static bool CompareWithInfinityCheck(const SizeT<float>& first, const SizeT<float>& second) in CompareWithInfinityCheck() 60 auto widthBothInf = GreaterOrEqualToInfinity(first.Width()) && GreaterOrEqualToInfinity(second.Width()); in CompareWithInfinityCheck() 61 auto heightBothInf = GreaterOrEqualToInfinity(first in CompareWithInfinityCheck() [all...] |
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
| H A D | osal_list.h | 228 struct osal_list_head *first = OSAL_NULL; in osal_list_rotate_left() local 231 first = head->next; in osal_list_rotate_left() 232 osal_list_move_tail(first, head); in osal_list_rotate_left() 292 struct osal_list_head *first = list->next; in osal___list_splice() local 295 first->prev = prev; in osal___list_splice() 296 prev->next = first; in osal___list_splice() 305 * @head: the place to add it in the first list. 318 * @head: the place to add it in the first list. 331 * @head: the place to add it in the first list. 347 * @head: the place to add it in the first lis 598 struct osal_hlist_node *first; global() member 650 struct osal_hlist_node *first = h->first; osal_hlist_add_head() local [all...] |
| /device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
| H A D | osal_list.h | 225 struct osal_list_head *first = OSAL_NULL; in osal_list_rotate_left() local 228 first = head->next; in osal_list_rotate_left() 229 osal_list_move_tail(first, head); in osal_list_rotate_left() 289 struct osal_list_head *first = list->next; in osal___list_splice() local 292 first->prev = prev; in osal___list_splice() 293 prev->next = first; in osal___list_splice() 302 * @head: the place to add it in the first list. 315 * @head: the place to add it in the first list. 328 * @head: the place to add it in the first list. 344 * @head: the place to add it in the first lis 595 struct osal_hlist_node *first; global() member 647 struct osal_hlist_node *first = h->first; osal_hlist_add_head() local [all...] |
| /device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
| H A D | osal_list.h | 224 struct osal_list_head *first = OSAL_NULL; in osal_list_rotate_left() local 227 first = head->next; in osal_list_rotate_left() 228 osal_list_move_tail(first, head); in osal_list_rotate_left() 288 struct osal_list_head *first = list->next; in osal___list_splice() local 291 first->prev = prev; in osal___list_splice() 292 prev->next = first; in osal___list_splice() 301 * @head: the place to add it in the first list. 314 * @head: the place to add it in the first list. 327 * @head: the place to add it in the first list. 343 * @head: the place to add it in the first lis 594 struct osal_hlist_node *first; global() member 646 struct osal_hlist_node *first = h->first; osal_hlist_add_head() local [all...] |
| /device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
| H A D | osal_list.h | 227 struct osal_list_head *first = OSAL_NULL; in osal_list_rotate_left() local 230 first = head->next; in osal_list_rotate_left() 231 osal_list_move_tail(first, head); in osal_list_rotate_left() 287 struct osal_list_head *first = list->next; in osal___list_splice() local 290 first->prev = prev; in osal___list_splice() 291 prev->next = first; in osal___list_splice() 300 * @head: the place to add it in the first list. 313 * @head: the place to add it in the first list. 326 * @head: the place to add it in the first list. 342 * @head: the place to add it in the first lis 593 struct osal_hlist_node *first; global() member 645 struct osal_hlist_node *first = h->first; osal_hlist_add_head() local [all...] |
| /foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui_effect/ |
| H A D | utils.h | 35 return std::clamp(para, limits.first, limits.second); 40 return Vector3f(std::clamp(para.x_, limits.first, limits.second), std::clamp(para.y_, limits.first, limits.second), 41 std::clamp(para.z_, limits.first, limits.second)); 46 return Vector4f(std::clamp(para.x_, limits.first, limits.second), std::clamp(para.y_, limits.first, limits.second), 47 std::clamp(para.z_, limits.first, limits.second), std::clamp(para.w_, limits.first, limits.second));
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
| H A D | mutable_span_string.cpp | 48 auto spanKey = it.first; in RemoveSpans() 108 auto startIndex = pair.first; in ReplaceSpan() 137 auto spanItemStart = (*it)->interval.first; in HandleSpanOperation() 146 newSpan->interval.first = spanItemStart; in HandleSpanOperation() 158 if (spanItemStart == intersection.first && spanItemEnd == intersection.second) { in HandleSpanOperation() 162 if (spanItemStart < intersection.first && intersection.second < spanItemEnd && op == SpanStringOperation::REMOVE) { in HandleSpanOperation() 173 if (intersection.first > spanItemStart) { in HandleSpanOperation() 184 (*it)->interval.first = end; in HandleSpanOperation() 194 if (spansMap_.find(iter.first) == spansMap_.end()) { in ApplyReplaceStringToSpanBase() 195 spansMap_[iter.first] in ApplyReplaceStringToSpanBase() [all...] |