Home
last modified time | relevance | path

Searched refs:check (Results 1 - 25 of 49) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/
H A Dradio_event_hub.h41 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 Dradio_pattern.cpp358 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 Dradio_pattern.h172 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 Dhm_symbol_run_test.cpp123 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 Ddiv_strategy.h25 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 Ddistributeddb_schema_unit_test.cpp57 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 Dwindow_immersive_test.cpp144 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 Dwindow_immersive_test2.cpp149 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 Dtimer_module.cpp177 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 Ddate_time_format_module.cpp257 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 Dcjson_parser.cpp355 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 Dstat_impl.h119 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 Dclatd_packet_converter.cpp192 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 Dipc_process_skeleton.cpp1324 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 Ddhcp_socket.cpp226 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 Ddhcp_socket_test.cpp220 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 Djs_radio.cpp151 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 Ddev_manager.cpp61 auto check = Retry(); in RegisterDevCallback() local
62 check(); in RegisterDevCallback()
/foundation/arkui/ace_engine/frameworks/core/components/select_popup/
H A Drender_select_popup.cpp565 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 Daccessibility_system_ability_client_impl.cpp381 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 Dmedia_file_utils.cpp518 // 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 Dstat_n_exporter_v9.cpp54 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 Dcheckbox_pattern.cpp326 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 Dcheckboxgroup_pattern.cpp258 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 Dsendable_image_napi.cpp544 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()

Completed in 25 milliseconds

12