/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/ |
H A D | cloud_ext_types.rs | 158 if src.is_null() || typ.is_null() || content.is_null() || len.is_null() { in OhCloudExtValueGetContent() 259 if src.is_null() || id.is_null() || len.is_null() { in OhCloudExtCloudAssetGetId() 279 if src.is_null() || name.is_null() || len.is_null() { in OhCloudExtCloudAssetGetName() 299 if src.is_null() || uri.is_null() || len.is_null() { in OhCloudExtCloudAssetGetUri() 379 if src.is_null() || size.is_null() || len.is_null() { in OhCloudExtCloudAssetGetSize() 399 if src.is_null() || hash.is_null() || len.is_null() { in OhCloudExtCloudAssetGetHash() 460 if db.is_null() || name.is_null() || len.is_null() { in OhCloudExtDatabaseGetName() 480 if db.is_null() || alias.is_null() || len.is_null() { in OhCloudExtDatabaseGetAlias() 560 if tb.is_null() || name.is_null() || len.is_null() { in OhCloudExtTableGetName() 661 if fd.is_null() || name.is_null() || len.is_null() { in OhCloudExtFieldGetColName() [all …]
|
H A D | cloud_extension.rs | 95 if bundle_name.is_null() || db.is_null() { in OhCloudExtCloudAssetLoaderNew() 136 if loader.is_null() || info.is_null() || assets.is_null() { in OhCloudExtCloudAssetLoaderUpload() 179 if loader.is_null() || info.is_null() || assets.is_null() { in OhCloudExtCloudAssetLoaderDownload() 283 if cdb.is_null() || sql.is_null() || extend.is_null() { in OhCloudExtCloudDbExecuteSql() 323 if cdb.is_null() || table.is_null() || value.is_null() || extend.is_null() { in OhCloudExtCloudDbBatchInsert() 368 if cdb.is_null() || table.is_null() || value.is_null() || extend.is_null() { in OhCloudExtCloudDbBatchUpdate() 411 if cdb.is_null() || table.is_null() || extend.is_null() { in OhCloudExtCloudDbBatchDelete() 453 if cdb.is_null() || info.is_null() || out.is_null() { in OhCloudExtCloudDbBatchQuery() 578 if server.is_null() || bundle_name.is_null() || schema.is_null() { in OhCloudExtCloudSyncGetAppSchema() 611 if server.is_null() || dbs.is_null() || relations.is_null() || err.is_null() { in OhCloudExtCloudSyncSubscribe() [all …]
|
H A D | basic_rust_types.rs | 160 if vector.is_null() || value.is_null() { in OhCloudExtVectorPush() 325 if vector.is_null() || value.is_null() || value_len.is_null() { in OhCloudExtVectorGet() 419 if vector.is_null() || len.is_null() { in OhCloudExtVectorGetLength() 493 if hash_map.is_null() { in OhCloudExtHashMapGetKeyTyp() 509 if hash_map.is_null() { in OhCloudExtHashMapGetValueTyp() 539 if hash_map.is_null() || len.is_null() { in OhCloudExtHashMapGetLength() 576 if hash_map.is_null() || key.is_null() || value.is_null() { in OhCloudExtHashMapInsert() 670 if hash_map.is_null() || key.is_null() || value.is_null() { in OhCloudExtHashMapIterGetKeyValuePair() 791 if hash_map.is_null() || key.is_null() || value.is_null() || value_len.is_null() { in OhCloudExtHashMapGet() 886 assert!(!new_vec.is_null()); [all …]
|
H A D | mod.rs | 102 if ptr.is_null() { in type_safety_check() 177 if ptr.is_null() { in char_ptr_to_string() 223 assert!(!vec.is_null()); in ut_wrapper()
|
/ohos5.0/commonlibrary/rust/ylong_json/src/ |
H A D | adapter.rs | 409 if string.is_null() || value.is_null() { in ylong_json_set_value_to_string() 449 if array.is_null() || size.is_null() { in ylong_json_get_array_size() 494 if array.is_null() || item.is_null() { in ylong_json_add_item_to_array() 626 if array.is_null() || item.is_null() { in ylong_json_add_item_to_array_then_get_node() 713 if object.is_null() || size.is_null() { in ylong_json_get_object_size() 797 if object.is_null() || string.is_null() || item.is_null() { in ylong_json_add_item_to_object() 829 if object.is_null() || index.is_null() || new_item.is_null() { in ylong_json_replace_object_item_by_index() 864 if object.is_null() || index.is_null() { in ylong_json_remove_object_item_by_index() 890 if object.is_null() || index.is_null() { in ylong_json_delete_object_item_by_index() 915 if object.is_null() || key.is_null() || value.is_null() || len.is_null() { in ylong_json_get_all_object_items() [all …]
|
H A D | linked_list.rs | 61 if self.tail.is_null() { in push_back() 74 if self.tail.is_null() { in pop_back() 161 if self.tail.is_null() { in back() 171 if self.tail.is_null() { in back_mut() 182 if self.tail.is_null() { in back_node() 193 if self.tail.is_null() { in back_node_mut() 209 if node.prev.is_null() { in unlink_node() 215 if node.next.is_null() { in unlink_node() 434 if self.current.is_null() { in index() 443 if self.current.is_null() { in move_next() [all …]
|
/ohos5.0/base/update/updater/services/rust/hash_signed_data/src/ |
H A D | lib.rs | 38 if signed_data.is_null() { in LoadHashSignedData() 71 if out.is_null() || file_name.is_null() || signed_data.is_null() { in GetSigFromHashData() 73 out.is_null(), file_name.is_null(), signed_data.is_null()); in GetSigFromHashData() 111 if signed_data.is_null() { in ReleaseHashSignedData() 128 if hash_data.is_null() { in LoadImgHashData() 157 if hash_data.is_null() { in LoadImgHashDataNew() 187 if img_hash_data.is_null() || img_name.is_null() || hash_value.is_null() { in check_data_hash_template() 189 img_hash_data.is_null(), img_name.is_null(), hash_value.is_null()); in check_data_hash_template() 242 if hash_data.is_null() { in ReleaseImgHashData() 258 if hash_data.is_null() { in ReleaseImgHashDataNew()
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/ |
H A D | rust_utils_ashmem_test.rs | 28 assert!(!ashmem.is_null()); in test_ashmem_ffi_write_read_001() 42 assert!(!ashmem.is_null()); in test_ashmem_ffi_write_read_002() 77 assert!(!ashmem.is_null()); in test_ashmem_ffi_write_read_003() 117 assert!(!ashmem.is_null()); in test_ashmem_ffi_write_read_004() 151 assert!(!ashmem.is_null()); in test_ashmem_ffi_write_read_005() 183 assert!(ashmem.is_null()); in test_ashmem_ffi_invalid_001() 186 assert!(!ashmem.is_null()); in test_ashmem_ffi_invalid_001() 198 assert!(!ashmem.is_null()); in test_ashmem_ffi_invalid_002() 209 assert!(!ashmem.is_null()); in test_ashmem_ffi_invalid_003() 232 assert!(!ashmem.is_null()); in test_ashmem_ffi_invalid_004() [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/ |
H A D | serializable.cpp | 68 if (subNode.is_null() || !subNode.is_string()) { in GetValue() 78 if (subNode.is_null() || !subNode.is_number_unsigned()) { in GetValue() 88 if (subNode.is_null() || !subNode.is_number_integer()) { in GetValue() 98 if (subNode.is_null() || !subNode.is_number_integer()) { in GetValue() 108 if (subNode.is_null() || !subNode.is_number_integer()) { in GetValue() 118 if (subNode.is_null() || !subNode.is_boolean()) { in GetValue() 128 if (subNode.is_null() || !subNode.is_array()) { in GetValue() 138 if (subNode.is_null() || !subNode.is_object()) { in GetValue() 194 if (node.is_discarded() || node.is_null()) { in GetSubNode()
|
/ohos5.0/foundation/multimedia/av_session/services/session/server/remote/ |
H A D | json_utils.cpp | 45 CHECK_AND_RETURN_RET_LOG(!object.is_null(), AVSESSION_ERROR, "json object is null"); in JsonToVector() 107 …CHECK_AND_RETURN_RET_LOG(!jsonObj.is_discarded() && !jsonObj.is_null(), AVSESSION_ERROR, "json obj… in GetVectorCapability() 121 …CHECK_AND_RETURN_RET_LOG(!jsonSessionInfo.is_discarded() && !jsonSessionInfo.is_null(), AVSESSION_… in GetAllCapability() 126 CHECK_AND_RETURN_RET_LOG(!compatibility.is_null(), AVSESSION_ERROR, "Getcompatibility error"); in GetAllCapability() 130 CHECK_AND_RETURN_RET_LOG(!capabilitySet.is_null(), AVSESSION_ERROR, "GetCapabilitySet error"); in GetAllCapability() 140 …CHECK_AND_RETURN_RET_LOG(!jsonObj.is_discarded() && !jsonObj.is_null(), AVSESSION_ERROR, "json obj… in SetSessionBasicInfo() 167 …CHECK_AND_RETURN_RET_LOG(!jsonObj.is_discarded() && !jsonObj.is_null(), AVSESSION_ERROR, "json obj… in GetSessionBasicInfo() 233 …CHECK_AND_RETURN_RET_LOG(!jsonObj.is_discarded() && !jsonObj.is_null(), AVSESSION_ERROR, "json obj… in GetSessionDescriptors() 238 …CHECK_AND_RETURN_RET_LOG(!sessionDescriptors.is_null(), AVSESSION_ERROR, "sessionDescriptors is nu… in GetSessionDescriptors() 282 …CHECK_AND_RETURN_RET_LOG(!jsonObj.is_discarded() && !jsonObj.is_null(), AVSESSION_ERROR, "json obj… in GetSessionDescriptor() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/serializable/ |
H A D | serializable.cpp | 69 if (subNode.is_null() || !subNode.is_string()) { in GetValue() 79 if (subNode.is_null() || !subNode.is_number_unsigned()) { in GetValue() 89 if (subNode.is_null() || !subNode.is_number_integer()) { in GetValue() 99 if (subNode.is_null() || !subNode.is_number_integer()) { in GetValue() 109 if (subNode.is_null() || !subNode.is_number_unsigned()) { in GetValue() 119 if (subNode.is_null() || !subNode.is_number_unsigned()) { in GetValue() 147 if (subNode.is_null() || !subNode.is_array()) { in GetValue() 157 if (subNode.is_null() || !subNode.is_object()) { in GetValue() 219 if (node.is_discarded() || node.is_null()) { in GetSubNode()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/ |
H A D | reminder_affected.cpp | 25 if (root.is_null() || !root.is_object()) { in FromJson() 33 !root[NotificationConfigParse::CFG_KEY_REMINDER_FLAGS].is_null() && in FromJson() 45 if (root.is_null() || root.find(AFFECTED_BY) == root.end()) { in ValidAndGetAffectedBy() 54 if (affectedByJson.is_null() || !affectedByJson.is_object()) { in ValidAndGetAffectedBy() 59 affectedByJson[DEVICE_TYPE].is_null() || in ValidAndGetAffectedBy() 78 if (root.is_null() || root.find(STATUS) == root.end()) { in ValidStatus()
|
H A D | smart_reminder_center.cpp | 58 …if (multiDeviceRemindJson.is_null() || !multiDeviceRemindJson.is_array() || multiDeviceRemindJson.… in GetMultiDeviceReminder() 65 if (singleDeviceRemindJson.is_null() || !singleDeviceRemindJson.is_object()) { in GetMultiDeviceReminder() 70 singleDeviceRemindJson[ReminderAffected::DEVICE_TYPE].is_null() || in GetMultiDeviceReminder() 76 singleDeviceRemindJson[REMINDER_FILTER_DEVICE].is_null() || in GetMultiDeviceReminder() 96 reminderFilterDeviceJson[SLOT_TYPE].is_null() || in ParseReminderFilterDevice() 102 reminderFilterDeviceJson[REMINDER_FILTER_SLOT].is_null() || in ParseReminderFilterDevice() 139 reminderFilterSlotJson[CONTENT_TYPE].is_null() || in ParseReminderFilterSlot() 147 reminderFilterSlotJson[REMINDER_FILTER_CONTENT].is_null() || in ParseReminderFilterSlot() 180 reminderFilterContentJson[TYPE_CODE].is_null() || in ParseReminderFilterContent() 186 reminderFilterContentJson[REMINDER_FILTER_CODE].is_null() || in ParseReminderFilterContent()
|
/ohos5.0/commonlibrary/rust/ylong_json/src/value/ |
H A D | index.rs | 332 assert!(1usize.index_into(&value).is_null()); in ut_usize_index_into() 348 assert!(1usize.index_into_mut(&mut value).is_null()); in ut_usize_index_into_mut() 351 assert!(0usize.index_into_mut(&mut value).is_null()); in ut_usize_index_into_mut() 386 assert!("key".index_into(&value).is_null()); in ut_str_index_into() 402 assert!("key2".index_into_mut(&mut value).is_null()); in ut_str_index_into_mut() 405 assert!("key1".index_into_mut(&mut value).is_null()); in ut_str_index_into_mut() 442 assert!(String::from("key").index_into(&value).is_null()); in ut_string_index_into() 458 assert!(String::from("key2").index_into_mut(&mut value).is_null()); in ut_string_index_into_mut() 461 assert!(String::from("key1").index_into_mut(&mut value).is_null()); in ut_string_index_into_mut()
|
/ohos5.0/base/security/asset/interfaces/inner_kits/c/src/ |
H A D | lib.rs | 31 if attributes.is_null() && attr_cnt != 0 { in into_map() 56 if (*attr).value.blob.data.is_null() || (*attr).value.blob.size == 0 { in into_map() 152 if challenge.is_null() { in pre_query_asset() 188 if result_set.is_null() { in query_asset() 254 if blob.data.is_null() { in try_from() 300 if result.attrs.is_null() { in try_from() 332 if result_set.results.is_null() { in try_from()
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/remote/ |
H A D | obj.rs | 52 if wrap.is_null() { in try_new() 64 if remote.is_null() { in from_ciremote() 69 if inner.is_null() { in from_ciremote() 139 inner.is_null().then_some(RecipientRemoveHandler { inner }) in add_death_recipient()
|
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | shell_command_config_loader.cpp | 67 if (aaJson.is_null() || aaJson.empty()) { in ReadConfig() 77 if (aaJson[AA_TOOL_COMMAND_LIST].is_null() || !aaJson[AA_TOOL_COMMAND_LIST].is_array() || in ReadConfig() 90 … if (aaJson[AA_TOOL_COMMAND_LIST][i].is_null() || !aaJson[AA_TOOL_COMMAND_LIST][i].is_string()) { in ReadConfig()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/ |
H A D | notification_config_parse.cpp | 88 …if (currentDeviceRemindJson.is_null() || !currentDeviceRemindJson.is_array() || currentDeviceRemin… in GetCurrentSlotReminder() 95 reminderFilterSlot[CFG_KEY_NAME].is_null() || in GetCurrentSlotReminder() 103 reminderFilterSlot[CFG_KEY_REMINDER_FLAGS].is_null() || in GetCurrentSlotReminder() 162 if (affects.is_null() || affects.empty()) { in GetFlowCtrlConfigFromCCM()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_swing_decision_center.cpp | 84 if (affects.is_null() || !affects.is_array() || affects.empty()) { in GetCcmSwingRemind() 90 if (affect.is_null() || !affect.is_object()) { in GetCcmSwingRemind() 93 if (affect[ReminderAffected::DEVICE_TYPE].is_null() || in GetCcmSwingRemind() 95 affect[ReminderAffected::STATUS].is_null() || in GetCcmSwingRemind()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/rust/src/ |
H A D | adapter.rs | 79 if path.is_null() { in reader_iterator() 95 if iter.is_null() { in drop_reader_iterator() 103 if iter.is_null() { in next_line() 136 if path.is_null() { in create_dir()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/rust/rustc_demangle/ |
H A D | lib.rs | 33 if mangled.is_null() { in rustc_demangle() 45 if out.is_null() { in rustc_demangle()
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_json_convert.h | 88 if (jsonObject.is_null() or !jsonObject.is_object()) { in ConvertFromJson() 111 if (jsonObject.is_null() or !jsonObject.is_object()) { in ConvertFromJsonString()
|
/ohos5.0/base/msdp/device_status/rust/frameworks/client/src/ |
H A D | lib.rs | 42 if program_name.is_null() { in fusion_alloc_socket_fd() 112 if remote_network_id.is_null() { in fusion_start_coordination() 140 if device_id.is_null() { in fusion_get_coordination_state()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | bgtask_config.cpp | 59 if (jsonObj.is_null() || jsonObj.empty()) { in ParseTransientTaskExemptedQuatoList() 85 if (jsonObj.is_null() || jsonObj.empty()) { in AddExemptedQuatoData() 161 if (jsonObj.is_null() || jsonObj.empty()) { in ParseTransientTaskExemptedQuato()
|
/ohos5.0/base/notification/common_event_service/services/src/ |
H A D | static_subscriber_manager.cpp | 283 if (jsonObj.is_null() || jsonObj.empty() || !jsonObj.is_object()) { in ParseEvents() 288 if (commonEventsObj.is_null() || !commonEventsObj.is_array() || commonEventsObj.empty()) { in ParseEvents() 293 if (commonEventObj.is_null() || !commonEventObj.is_object()) { in ParseEvents() 297 if (commonEventObj[JSON_KEY_NAME].is_null() || !commonEventObj[JSON_KEY_NAME].is_string()) { in ParseEvents() 305 …if (commonEventObj[JSON_KEY_PERMISSION].is_null() || !commonEventObj[JSON_KEY_PERMISSION].is_strin… in ParseEvents() 309 … if (commonEventObj[JSON_KEY_EVENTS].is_null() || !commonEventObj[JSON_KEY_EVENTS].is_array() || in ParseEvents() 316 if (e.is_null() || !e.is_string() || in ParseEvents()
|