/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/ |
H A D | radio_event_hub.h | 41 void UpdateChangeEvent(bool check) const in UpdateChangeEvent() 44 checkedChangeEvent_(check); in UpdateChangeEvent() 47 changeEvent_(check); in UpdateChangeEvent() 56 Recorder::NodeDataCache::Get().PutMultiple(host, id, value_, check); in UpdateChangeEvent() 59 builder.SetChecked(check).SetText(value_); in UpdateChangeEvent()
|
H A D | radio_pattern.cpp | 358 bool check = false; in OnClick() local 360 check = paintProperty->GetRadioCheckValue(); in OnClick() 364 if (!preCheck_ && !check) { in OnClick() 427 bool check = false; in CheckPageNode() local 429 check = paintProperty->GetRadioCheckValue(); in CheckPageNode() 431 UpdateGroupCheckStatus(host, groupManager, check); in CheckPageNode() 470 bool check = false; in UpdateState() local 472 check = paintProperty->GetRadioCheckValue(); in UpdateState() 478 if (check) { in UpdateState() 487 // If the radio check i in UpdateState() 683 UpdateGroupCheckStatus( const RefPtr<FrameNode>& frameNode, const RefPtr<GroupManager>& groupManager, bool check) UpdateGroupCheckStatus() argument 713 UpdateUIStatus(bool check) UpdateUIStatus() argument 853 SetRadioChecked(bool check) SetRadioChecked() argument [all...] |
H A D | radio_pattern.h | 172 void SetRadioChecked(bool check); 192 const RefPtr<FrameNode>& frameNode, const RefPtr<GroupManager>& groupManager, bool check); 198 void UpdateUIStatus(bool check);
|
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/hm_symbol/ |
H A D | hm_symbol_run_test.cpp | 123 bool check = false; in HWTEST_F() local 127 check = true; in HWTEST_F() 129 EXPECT_EQ(check, true); in HWTEST_F() 170 bool check = false; in HWTEST_F() local 175 check = true; in HWTEST_F() 177 EXPECT_EQ(check, true); in HWTEST_F() 192 bool check = false; in HWTEST_F() local 193 check = hmSymbolRun.SymbolAnimation(symbol, glyphid, offset, symbolTxt); in HWTEST_F() 194 EXPECT_TRUE(check == false); in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | div_strategy.h | 25 DivStrategy(std::shared_ptr<Strategy> check,
in DivStrategy() argument 27 : check_(check), trueAction_(trueAction), falseAction_(falseAction)
in DivStrategy()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_schema_unit_test.cpp | 57 void CheckSchemaAttribute(const SchemaAttribute &res, const SchemaAttribute &check) in CheckSchemaAttribute() argument 59 EXPECT_EQ(res.type, check.type); in CheckSchemaAttribute() 60 EXPECT_EQ(res.isIndexable, check.isIndexable); in CheckSchemaAttribute() 61 EXPECT_EQ(res.hasNotNullConstraint, check.hasNotNullConstraint); in CheckSchemaAttribute() 62 EXPECT_EQ(res.hasDefaultValue, check.hasDefaultValue); in CheckSchemaAttribute() 63 EXPECT_EQ(res.defaultValue.stringValue, check.defaultValue.stringValue); in CheckSchemaAttribute() 64 EXPECT_EQ(memcmp(&res.defaultValue, &check.defaultValue, 8), 0); // only check this unit 8 byte in CheckSchemaAttribute() 373 * @tc.steps: step1. Enter the preset correct string array into CheckFieldName and check. in HWTEST_F() 398 * @tc.steps: step1. Enter the preset incorrect string array into CheckFieldName and check in HWTEST_F() [all...] |
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_immersive_test.cpp | 144 bool check = false;
in SystemBarPropsEqualsTo() local 147 check = true;
in SystemBarPropsEqualsTo() 151 if (!check) {
in SystemBarPropsEqualsTo() 155 check = false;
in SystemBarPropsEqualsTo() 164 bool check = false;
in SystemBarEnableState() local 168 check = true;
in SystemBarEnableState() 170 check = false;
in SystemBarEnableState() 173 if (!check) {
in SystemBarEnableState() 176 return check;
in SystemBarEnableState()
|
H A D | window_immersive_test2.cpp | 149 bool check = false;
in SystemBarPropsEqualsTo() local 152 check = true;
in SystemBarPropsEqualsTo() 156 if (!check) {
in SystemBarPropsEqualsTo() 160 check = false;
in SystemBarPropsEqualsTo() 169 bool check = false;
in SystemBarEnableState() local 173 check = true;
in SystemBarEnableState() 175 check = false;
in SystemBarEnableState() 178 if (!check) {
in SystemBarEnableState() 181 return check;
in SystemBarEnableState()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | timer_module.cpp | 177 bool check = true; in Task() local 179 check = false; in Task() 189 check = false; in Task() 192 if (!check && (!arg->repeated)) { in Task() 228 // check the timer node is release or not in Task()
|
H A D | date_time_format_module.cpp | 257 bool check = true; in GetNumInDate() local 261 if (check) { in GetNumInDate() 263 check = false; in GetNumInDate() 265 index = numEnd; // check the number from the next character in GetNumInDate() 267 check = true; in GetNumInDate() 279 std::string result, timeZone, check; in FormatDate() local 294 dateFormat_->Format(time, timeZone, check, status); in FormatDate() 298 isMonthFirst = (GetNumberEnd(check.c_str(), 0) < 0); in FormatDate()
|
H A D | cjson_parser.cpp | 355 bool check = true; in GetWinFiles() local 356 check = AddNode(fileList, value); in GetWinFiles() 357 if (!check) { in GetWinFiles() 381 bool check = true; in GetFiles() local 382 check = AddNode(fileList, value); in GetFiles() 383 if (!check) { in GetFiles()
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | stat_impl.h | 119 bool check = (real_.st_mode & S_IFMT) == mode; in CheckStatMode() local 120 return check; in CheckStatMode()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | clatd_packet_converter.cpp | 192 ipHeader.check = CalChecksum(&ipHeader, sizeof(iphdr)); in ConvertV6Packet() 231 ipHeader->check = CalChecksum(ipHeader, sizeof(iphdr)); in ConvertV6TpPacket() 302 ipHeader->check = 0; in WriteIpv4Header() 611 tcpHeaderOut->check = AdjustChecksum(tcpHeader->check, oldChecksum, newChecksum); in ConvertTcpPacket() 662 if (udpHeaderOut.check == 0) { in ConvertUdpPacket() 664 udpHeaderOut.check = CalIovPacketChecksum(newChecksum, pos); in ConvertUdpPacket() 666 udpHeaderOut.check = AdjustChecksum(udpHeader->check, oldChecksum, newChecksum); in ConvertUdpPacket() 670 if (udpHeaderOut.check in ConvertUdpPacket() [all...] |
/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | ipc_process_skeleton.cpp | 1324 auto check = [&stub, &pid, &uid, &tokenId, &deviceId, this](const std::shared_ptr<CommAuthInfo> &auth) { in AttachCommAuthInfo() local 1328 auto it = std::find_if(commAuth_.begin(), commAuth_.end(), check); in AttachCommAuthInfo() 1347 auto check = [&stub, &pid, &uid, &tokenId, &deviceId, this](const std::shared_ptr<CommAuthInfo> &auth) { in DetachCommAuthInfo() local 1351 auto it = std::find_if(commAuth_.begin(), commAuth_.end(), check); in DetachCommAuthInfo() 1362 auto check = [&socketId](const std::shared_ptr<CommAuthInfo> &auth) { in DetachCommAuthInfoBySocketId() local 1368 commAuth_.erase(std::remove_if(commAuth_.begin(), commAuth_.end(), check), commAuth_.end()); in DetachCommAuthInfoBySocketId() 1374 auto check = [&pid, &uid, &deviceId, this](const std::shared_ptr<CommAuthInfo> &auth) { in QueryCommAuthInfo() local 1379 auto it = std::find_if(commAuth_.begin(), commAuth_.end(), check); in QueryCommAuthInfo() 1398 auto check = [&pid, &uid, &deviceId, this](const std::shared_ptr<CommAuthInfo> &auth) { in UpdateCommAuthSocketInfo() local 1402 auto it = std::find_if(commAuth_.begin(), commAuth_.end(), check); in UpdateCommAuthSocketInfo() 1438 auto check = [&appAuthInfo, this](const std::shared_ptr<CommAuthInfo> &auth) { AttachOrUpdateAppAuthInfo() local 1480 auto check = [&appAuthInfo, this](const std::shared_ptr<CommAuthInfo> &auth) { DetachAppAuthInfo() local 1500 auto check = [&stub](const std::shared_ptr<CommAuthInfo> &auth) { DetachAppAuthInfoByStub() local 1523 auto check = [&socketId](const std::shared_ptr<CommAuthInfo> &auth) { DetachAppAuthInfoBySocketId() local 1558 auto check = [&appAuthInfo, this](const std::shared_ptr<CommAuthInfo> &auth) { QueryCommAuthInfo() local 1601 auto check = [&stub](const std::shared_ptr<CommAuthInfo> &auth) { DetachCommAuthInfoByStub() local [all...] |
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_socket.cpp | 226 udpPackets.udp.check = GetCheckSum((uint16_t *)&udpPackets, sizeof(struct UdpDhcpPacket)); in SendToDhcpPacket() 231 udpPackets.ip.check = GetCheckSum((uint16_t *)&(udpPackets.ip), sizeof(udpPackets.ip)); in SendToDhcpPacket() 356 uint16_t uCheck = pPacket->ip.check; in CheckPacketIpSum() 357 pPacket->ip.check = 0; in CheckPacketIpSum() 360 DHCP_LOGE("CheckPacketIpSum() failed, ip.check:%{public}d, uCheckSum:%{public}d!", uCheck, uCheckSum); in CheckPacketIpSum() 375 uint16_t uCheck = pPacket->udp.check; in CheckPacketUdpSum() 376 pPacket->udp.check = 0; in CheckPacketUdpSum() 389 DHCP_LOGE("CheckPacketUdpSum() failed, udp.check:%{public}d, uCheckSum:%{public}d!", uCheck, uCheckSum); in CheckPacketUdpSum() 402 /* Get and check udp dhcp packet bytes. */ in GetDhcpRawPacket()
|
/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_socket_test.cpp | 220 packet.ip.check = 0; in HWTEST_F() 229 packet.udp.check = 1; in HWTEST_F() 231 packet.udp.check = 0; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_radio.cpp | 151 auto onChecked = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = targetNode](bool check) { in ParseCheckedObject() 155 auto newJSVal = JSRef<JSVal>::Make(ToJSValue(check)); in ParseCheckedObject() 350 auto onChange = [execCtx = args.GetExecutionContext(), func = std::move(jsFunc), node = targetNode](bool check) { in OnChange() 354 auto newJSVal = JSRef<JSVal>::Make(ToJSValue(check)); in OnChange()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | dev_manager.cpp | 61 auto check = Retry(); in RegisterDevCallback() local 62 check(); in RegisterDevCallback()
|
/foundation/arkui/ace_engine/frameworks/core/components/select_popup/ |
H A D | render_select_popup.cpp | 565 bool check = GreatNotEqual(pipeline->GetRootWidth(), pipeline->GetRootHeight()); in ScreenDirectionSwitched() local 566 bool switched = (!screenHorizontal_ && !screenVertical_) ? false : (check ? screenVertical_ : screenHorizontal_); in ScreenDirectionSwitched() 567 screenHorizontal_ = check; in ScreenDirectionSwitched() 568 screenVertical_ = !check; in ScreenDirectionSwitched()
|
/foundation/barrierfree/accessibility/frameworks/asacfwk/src/ |
H A D | accessibility_system_ability_client_impl.cpp | 381 bool check = false; in GetAbilityList() local 387 check = true; in GetAbilityList() 390 check = false; in GetAbilityList() 392 if (!check) { in GetAbilityList()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_file_utils.cpp | 518 // check whether dir empty in BackupPhotoDir() 810 MEDIA_ERR_LOG("Failed to check title regex: %{private}s", title.c_str()); in CheckTitle() 843 MEDIA_ERR_LOG("Failed to check displayName regex: %{private}s", displayName.c_str()); in CheckTitle() 971 MEDIA_ERR_LOG("Failed to check album name regex: %{private}s", albumName.c_str()); 986 MEDIA_ERR_LOG("Failed to check dentry regex: %{private}s", dentryName.c_str()); 1777 MEDIA_ERR_LOG("Failed to check path for %{private}s, errno: %{public}d", path.c_str(), errno); 1783 MEDIA_ERR_LOG("Failed to check extension (%{public}s) of moving photo video", extension.c_str()); 1827 MEDIA_ERR_LOG("Failed to check duration of moving photo video: %{public}d ms", duration);
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stat_v9/ |
H A D | stat_n_exporter_v9.cpp | 54 bool check = (statEntity->stat_.st_mode & S_IFMT) == mode; in CheckStatMode() local 55 return NVal::CreateBool(env, check).val_; in CheckStatMode()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkbox/ |
H A D | checkbox_pattern.cpp | 326 void CheckBoxPattern::UpdateUIStatus(bool check) in UpdateUIStatus() argument 328 TAG_LOGI(AceLogTag::ACE_SELECT_COMPONENT, "checkbox update status %{public}d", check); in UpdateUIStatus() 329 uiStatus_ = check ? UIStatus::OFF_TO_ON : UIStatus::ON_TO_OFF; in UpdateUIStatus() 335 paintProperty->UpdateCheckBoxSelect(check); in UpdateUIStatus() 465 TAG_LOGI(AceLogTag::ACE_SELECT_COMPONENT, "check enter animation"); in StartEnterAnimation() 482 TAG_LOGI(AceLogTag::ACE_SELECT_COMPONENT, "check exit animation"); in StartExitAnimation()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkboxgroup/ |
H A D | checkboxgroup_pattern.cpp | 258 void CheckBoxGroupPattern::UpdateUIStatus(bool check) in UpdateUIStatus() argument 265 TAG_LOGI(AceLogTag::ACE_SELECT_COMPONENT, "checkboxgroup update status %{public}d %{public}d", check, selectStatus); in UpdateUIStatus() 267 uiStatus_ = check ? UIStatus::PART_TO_ON : UIStatus::PART_TO_OFF; in UpdateUIStatus() 269 uiStatus_ = check ? UIStatus::OFF_TO_ON : UIStatus::ON_TO_OFF; in UpdateUIStatus()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_napi.cpp | 544 static inline bool IsEqual(const int32_t& check, ImageFormat format)
in IsEqual() argument 546 return (check == int32_t(format));
in IsEqual() 548 static inline bool IsEqual(const int32_t& check, ComponentType type)
in IsEqual() argument 550 return (check == int32_t(type));
in IsEqual()
|