Home
last modified time | relevance | path

Searched refs:is_null (Results 1 - 19 of 19) sorted by relevance

/commonlibrary/rust/ylong_json/src/
H A Dadapter.rs64 if string.is_null() {
75 if item.is_null() {
96 if item.is_null() {
110 if item.is_null() {
138 if item.is_null() {
144 item.is_null() as c_int
157 if item.is_null() {
173 if boolean.is_null() {
194 if boolean.is_null() {
226 if item.is_null() {
[all...]
H A Dlinked_list.rs61 if self.tail.is_null() {
74 if self.tail.is_null() {
81 if self.tail.is_null() {
161 if self.tail.is_null() {
171 if self.tail.is_null() {
182 if self.tail.is_null() {
193 if self.tail.is_null() {
209 if node.prev.is_null() {
215 if node.next.is_null() {
335 if self.len == 0 || self.head.is_null() { in next()
[all...]
H A Dvalue.rs212 /// assert_eq!(null_value.is_null(), true); in fmt()
215 /// assert_eq!(other_value.is_null(), false); in fmt()
217 pub fn is_null(&self) -> bool { in fmt() functions
1055 /// UT test for `JsonValue::is_null`.
1062 /// 2. Calls `JsonValue::is_null`.
1066 assert!(JsonValue::new_null().is_null()); in ut_json_value_is_null()
1067 assert!(!JsonValue::new_boolean(true).is_null()); in ut_json_value_is_null()
1068 assert!(!JsonValue::new_boolean(false).is_null()); in ut_json_value_is_null()
1069 assert!(!JsonValue::new_number(12.34.into()).is_null()); in ut_json_value_is_null()
1070 assert!(!JsonValue::new_string("hello").is_null()); in ut_json_value_is_null()
[all...]
/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_ashmem_test.rs28 assert!(!ashmem.is_null()); in test_ashmem_ffi_write_read_001()
42 assert!(!ashmem.is_null()); in test_ashmem_ffi_write_read_002()
58 assert!(!readout_ptr.is_null()); in test_ashmem_ffi_write_read_002()
77 assert!(!ashmem.is_null()); in test_ashmem_ffi_write_read_003()
100 assert!(!readout_ptr.is_null()); in test_ashmem_ffi_write_read_003()
117 assert!(!ashmem.is_null()); in test_ashmem_ffi_write_read_004()
135 assert!(!readout_ptr.is_null()); in test_ashmem_ffi_write_read_004()
151 assert!(!ashmem.is_null()); in test_ashmem_ffi_write_read_005()
167 assert!(!readout_ptr.is_null()); in test_ashmem_ffi_write_read_005()
183 assert!(ashmem.is_null()); in test_ashmem_ffi_invalid_001()
[all...]
/commonlibrary/rust/ylong_json/src/value/
H A Dindex.rs332 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()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Derror.rs122 let func = if func.is_null() { in get()
150 if !lib_error.is_null() {
161 if !func_error.is_null() {
180 if !reason_error.is_null() {
H A Dmod.rs51 if ptr.is_null() {
H A Dx509.rs91 if r.is_null() {
H A Dbio.rs222 if bio.is_null() {
/commonlibrary/c_utils/base/src/rust/
H A Dashmem.rs198 if c_ashmem_ptr.is_null() { in create_ashmem_instance()
/commonlibrary/rust/ylong_runtime/ylong_signal/src/
H A Dspin_rwlock.rs83 if data.is_null() {
H A Dunix.rs64 if sig_info.is_null() {
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/verify/
H A Dpinning.rs178 if md_ctx.is_null() {
/commonlibrary/rust/ylong_json/src/value/object/
H A Dlinked_list.rs258 if ptr.is_null() {
/commonlibrary/rust/ylong_json/tests/
H A Dsdv_adapter_test.rs230 assert!(msg.is_null()); in sdv_adapter_parse_memory_check()
H A Dylong_json_sdv_test.rs292 assert!(json["null"].is_null()); in sdv_json_modify()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dselector.rs153 if iocp_event.overlapped().is_null() { in feed_events()
291 if iocp_event.overlapped().is_null() { in release_events()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dmod.rs290 if !ctx.get().is_null() { in block_on_inner()
H A Dworker.rs69 if val.is_null() {
82 if val.is_null() {

Completed in 10 milliseconds