Home
last modified time | relevance | path

Searched refs:drop (Results 1 - 25 of 54) sorted by relevance

123

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Dforeign.rs58 fn drop = $drop:expr; in drop() functions
87 fn drop(&mut self) { in drop() functions
88 unsafe { $drop(self.0) } in drop()
H A Dx509.rs39 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 Dbio.rs36 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 Dwatch.rs115 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 Drwlock.rs48 /// 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 Dmutex.rs155 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 Doneshot.rs126 /// 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 Djoin_set.rs132 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 Dwaker.rs54 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 Dblock_on.rs21 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 Dcurrent_thread.rs180 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 Dqueue.rs416 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 Dworker.rs99 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 Dchild.rs35 // 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 Dcommand.rs88 /// 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 Dmpsc_test.rs25 /// 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 Dsemaphore_test.rs54 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 Dprocess.rs173 /// 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 Dhandle.rs33 // This is super important so that drop is not called!
40 fn drop(&mut self) { in drop() functions
H A Dnet.rs26 drop(net::UdpSocket::bind("127.0.0.1:0"));
123 fn drop(&mut self) { in drop() functions
H A Dselector.rs260 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 Dsleep.rs115 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 Dspin_rwlock.rs125 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 Dzombie_manager.rs83 drop(vec)
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/
H A Dslab.rs82 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()

Completed in 15 milliseconds

123