Home
last modified time | relevance | path

Searched refs:is_empty (Results 1 – 6 of 6) sorted by relevance

/base/hiviewdfx/faultloggerd/test/unittest/stacktrace_rust/
Dmain.rs27 assert!(!trace.is_empty()); in test_get_trace()
39 assert!(!trace.is_empty()); in test_get_trace_in_multithread()
61 assert!(!trace.is_empty()); in test_print_trace()
/base/update/updater/services/rust/hash_signed_data/src/
Dhsd.rs36 let res: Vec<&str> = value.split('\n').filter(|&s| !s.is_empty()).collect(); in try_from()
48 if value.is_empty() { in try_from()
51 let all_hash_data: Vec<&str> = value.split("\n\n").filter(|&s| !s.is_empty()).collect(); in try_from()
/base/msdp/device_status/rust/subsystem/input/sys/src/interaction/
Dextra_data.rs80 if buffer.is_empty() { in appended_extra_data()
/base/request/request/services/service/rust/src/
Dutils.rs50 if str.is_empty() { in string_to_hashmap()
Drequest_service.rs308 if on_type.is_empty() { in on()
337 if off_type.is_empty() { in off()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
Dstream_buffer.rs140 fn is_empty(&self) -> bool { in is_empty() method
333 if self.is_empty() { in read_client_packets()