/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
H A D | foreign.rs | 58 fn drop = $drop:expr; in drop() functions 87 fn drop(&mut self) { in drop() functions 88 unsafe { $drop(self.0) } in drop()
|
H A D | x509.rs | 39 fn drop = X509_free; in drop() functions 46 fn drop = X509_NAME_free; in drop() functions 53 fn drop = EVP_PKEY_free; in drop() functions 202 fn drop = X509_STORE_free; in drop() functions 245 fn drop = X509_VERIFY_PARAM_free; in drop() functions 287 fn drop = X509_STORE_CTX_free; in drop() functions 304 fn drop = X509_PUBKEY_free; in drop() functions 325 drop(x509.clone()); in ut_x509_clone()
|
H A D | bio.rs | 36 fn drop(&mut self) { in drop() functions 64 fn drop(&mut self) { in drop() functions 109 fn drop(&mut self) { in drop() functions 226 drop(Box::<StreamState<S>>::from_raw(data as *mut _));
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/ |
H A D | watch.rs | 115 drop(lock); in send() 171 fn drop(&mut self) { in drop() functions 194 /// drop(v1); 200 /// drop(v2); 229 /// drop(v1); 235 /// drop(v2); 300 /// drop(tx); 508 fn drop(&mut self) { in drop() functions 598 drop(tx); in send_try_notified() 615 drop(t in send_notified_await() [all...] |
H A D | rwlock.rs | 48 /// drop((r1, r2)); 269 fn drop(&mut self) { in drop() functions 303 fn drop(&mut self) { in drop() functions 431 drop(a); in ut_rwlock_try_read_02() 516 drop(a); in ut_rwlock_try_write_02()
|
H A D | mutex.rs | 155 fn drop(&mut self) { in drop() functions 276 /// 3. Call the drop() method to release the lock 285 drop(lock); in ut_mutex_unlock_01()
|
H A D | oneshot.rs | 126 /// drop(tx); 204 /// drop(rx); 216 fn drop(&mut self) { in drop() functions 260 /// drop(tx); 318 /// drop(tx); 384 fn drop(&mut self) { in drop() functions 449 fn drop(&mut self) { in drop() functions
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/ |
H A D | join_set.rs | 132 drop(list); in wake_by_ref() 182 drop(list); in spawn_inner() 304 drop(list); 317 drop(list); 318 // drop the JoinHandle and return it's result 319 drop(ManuallyDrop::take(&mut *entry.handle.get())); 327 drop(list); 424 fn drop(&mut self) { in drop() functions 430 drop(ManuallyDrop::take(&mut *item.handle.get())); in drop() 436 drop(ManuallyDro in drop() [all...] |
H A D | waker.rs | 54 unsafe fn drop(ptr: *const ()) { in drop() functions 65 let raw_waker_ref = &RawWakerVTable::new(clone::<T>, wake, wake_by_ref, drop); in raw_waker()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/ |
H A D | block_on.rs | 21 RawWakerVTable::new(clone, wake, wake_by_ref, drop); 44 fn drop(ptr: *const ()) { in drop() functions 45 unsafe { mem::drop(Arc::from_raw(ptr.cast::<Parker>())) }; in drop() 89 mem::drop(guard); in notify_one()
|
H A D | current_thread.rs | 180 mem::drop(lock); in unpark() 193 mem::drop(lock); in unpark() 209 RawWakerVTable::new(clone, wake, wake_by_ref, drop); 232 fn drop(ptr: *const ()) { in drop() functions 233 unsafe { mem::drop(Arc::from_raw(ptr.cast::<Parker>())) }; in drop() 277 mem::drop(parker_list); 349 drop(guard); in notify_one()
|
H A D | queue.rs | 416 fn drop(&mut self) { in drop() functions 435 fn drop(&mut self) { in drop() functions 502 drop(list); 526 drop(list); 535 drop(list);
|
H A D | worker.rs | 99 fn drop(&mut self) { in drop() functions 120 drop(cur_handle); 209 /// always hold the borrow_mut until drop. So we can only get Inner by ptr.
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/ |
H A D | child.rs | 35 // Weather kill the child when drop 221 drop(self.take_stdin()); 302 drop(child_stdout); 303 drop(child_stderr); 314 fn drop(&mut self) { in drop() functions 516 drop(child); in ut_process_stdio_test() 534 drop(child); in ut_process_stdio_test()
|
H A D | command.rs | 88 /// Sets whether kill the child process when `Child` drop. 414 drop(child.take_stdin()); in status() 415 drop(child.take_stdout()); in status() 416 drop(child.take_stderr()); in status() 720 /// UT test cases for drop. 725 /// 3. Use `drop()` to drop the child handle. 733 drop(child.unwrap()); in ut_process_drop_test() 739 drop(child.unwrap()); in ut_process_drop_test()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | mpsc_test.rs | 25 /// 2. Send two values to the receiver then drop. 37 drop(tx); in sdv_unbounded_send_recv_test() 45 /// 2. Send two values to the receiver then drop. 56 drop(tx); in sdv_unbounded_send_recv_drop_test() 72 drop(tx); in sdv_unbounded_send_try_recv_test() 154 drop(tx); in sdv_bounded_try_send_try_recv_test() 194 drop(rx); in sdv_mpsc_is_closed() 200 drop(rx); in sdv_mpsc_is_closed()
|
H A D | semaphore_test.rs | 54 drop(permit); in sdv_auto_release_sem_try_acquire_test() 129 /// `AutoRelSemaphore::drop()`. 166 drop(permit); in sdv_try_acquire_test() 170 drop(permit2); in sdv_try_acquire_test()
|
H A D | process.rs | 173 /// SDV test cases for drop. 178 /// 3. Use `drop()` to drop the child handle. 186 drop(child.unwrap()); in sdv_process_drop_test() 192 drop(child.unwrap()); in sdv_process_drop_test() 221 drop(child); in sdv_process_stdio_test() 239 drop(child); in sdv_process_stdio_test()
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
H A D | handle.rs | 33 // This is super important so that drop is not called! 40 fn drop(&mut self) { in drop() functions
|
H A D | net.rs | 26 drop(net::UdpSocket::bind("127.0.0.1:0")); 123 fn drop(&mut self) { in drop() functions
|
H A D | selector.rs | 260 fn drop(&mut self) { in drop() functions 384 drop(from_overlapped(overlapped_ptr.cast::<_>())); in update_while_idle() 499 /// Starts drop SockState 506 drop(self.cancel()); 542 fn drop(&mut self) { in drop() functions
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/ |
H A D | sleep.rs | 115 drop(Box::from_raw(waker)); 127 drop(Box::from_raw(waker)); in cancel() 149 unsafe { drop(Box::from_raw(waker)); } 267 fn drop(&mut self) { in drop() functions 273 // drop. in drop()
|
/commonlibrary/rust/ylong_runtime/ylong_signal/src/ |
H A D | spin_rwlock.rs | 125 fn drop(&mut self) { in drop() functions 159 // therefore the drop is safe 161 drop(Box::from_raw(old_data));
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/sys/unix/ |
H A D | zombie_manager.rs | 83 drop(vec)
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/ |
H A D | slab.rs | 82 fn drop(&mut self) { in drop() functions 280 drop(slots); in compact() 281 drop(vec); in compact() 599 drop(address.pop().unwrap().1); in ut_slab_compact() 637 drop(test_entry1); in ut_slab_insert_move() 650 drop(test_entry2); in ut_slab_insert_move() 651 drop(test_entry3); in ut_slab_insert_move() 823 drop(test_entry); in ut_slab_multi_allocate_drop()
|