/external/rust/crates/intrusive-collections/src/ |
D | pointer_ops.rs | 42 fn into_raw(&self, ptr: Self::Pointer) -> *const Self::Value; in into_raw() method 82 fn into_raw(&self, ptr: &'a T) -> *const T { in into_raw() method 97 fn into_raw(&self, ptr: UnsafeRef<T>) -> *const T { in into_raw() method 98 UnsafeRef::into_raw(ptr) as *const T in into_raw() 113 fn into_raw(&self, ptr: Box<T>) -> *const T { in into_raw() method 114 Box::into_raw(ptr) as *const T in into_raw() 129 fn into_raw(&self, ptr: Rc<T>) -> *const T { in into_raw() method 130 Rc::into_raw(ptr) in into_raw() 145 fn into_raw(&self, ptr: Arc<T>) -> *const T { in into_raw() method 146 Arc::into_raw(ptr) in into_raw() [all …]
|
D | unsafe_ref.rs | 43 pub fn into_raw(ptr: Self) -> *mut T { in into_raw() method 53 unsafe { UnsafeRef::from_raw(Box::into_raw(val)) } in from_box() 66 Box::from_raw(UnsafeRef::into_raw(ptr)) in into_box()
|
/external/rust/crates/futures-task/src/ |
D | future_obj.rs | 47 future: unsafe { remove_future_lifetime(f.into_raw()) }, in new() 158 fn into_raw(self) -> *mut (dyn Future<Output = T> + 'a); in into_raw() method 185 fn into_raw(self) -> *mut (dyn Future<Output = T> + 'a) { in into_raw() function 194 fn into_raw(self) -> *mut (dyn Future<Output = T> + 'a) { in into_raw() function 205 fn into_raw(self) -> *mut (dyn Future<Output = T> + 'a) { in into_raw() function 214 fn into_raw(self) -> *mut (dyn Future<Output = T> + 'a) { in into_raw() method 229 fn into_raw(self) -> *mut (dyn Future<Output = T> + 'a) { in into_raw() function 230 Box::into_raw(self) in into_raw() 239 fn into_raw(self) -> *mut (dyn Future<Output = T> + 'a) { in into_raw() method 240 Box::into_raw(self) in into_raw() [all …]
|
D | waker.rs | 23 let ptr = Arc::into_raw(wake) as *const (); in waker()
|
/external/rust/crates/grpcio/src/security/ |
D | credentials.rs | 162 private_key: CString::new(private_key).unwrap().into_raw(), in add_cert() 163 cert_chain: CString::new(cert).unwrap().into_raw(), in add_cert() 174 .map_or_else(ptr::null_mut, CString::into_raw); in build_config() 280 .map_or_else(ptr::null_mut, CString::into_raw); in build() 283 |(cert, key)| (cert.into_raw(), key.into_raw()), in build()
|
/external/rust/crates/crossbeam-utils/src/sync/ |
D | parker.rs | 179 pub fn into_raw(this: Parker) -> *const () { in into_raw() method 180 Unparker::into_raw(this.unparker) in into_raw() 262 pub fn into_raw(this: Unparker) -> *const () { in into_raw() method 263 Arc::into_raw(this.inner) as *const () in into_raw()
|
/external/rust/crates/rusqlite/src/util/ |
D | sqlite_string.rs | 69 pub(crate) fn into_raw(self) -> *mut c_char { in into_raw() method 200 let p = SqliteMallocString::from_str("abcd").into_raw(); in test_lossy() 214 v.push(SqliteMallocString::from_str(&i.to_string()).into_raw()); in test_into_raw() 215 v.push(SqliteMallocString::from_str(&format!("abc {} ", i)).into_raw()); in test_into_raw()
|
/external/rust/crates/bstr/src/ |
D | bstr.rs | 61 unsafe { Box::from_raw(Box::into_raw(slice) as _) } in from_boxed_bytes() 67 unsafe { Box::from_raw(Box::into_raw(slice) as _) } in into_boxed_bytes()
|
/external/rust/crates/tokio/src/runtime/task/ |
D | mod.rs | 147 pub(crate) fn into_raw(self) -> NonNull<Header> { 155 pub(crate) fn into_raw(self) -> NonNull<Header> { 156 self.0.into_raw()
|
D | stack.rs | 24 let task = task.into_raw(); in push()
|
/external/rust/crates/tokio/src/park/ |
D | thread.rs | 306 fn into_raw(this: Arc<Inner>) -> *const () { in into_raw() method 307 Arc::into_raw(this) as *const () in into_raw() 317 Inner::into_raw(unparker), in unparker_to_raw_waker()
|
/external/rust/crates/rusqlite/src/ |
D | hooks.rs | 116 let boxed_hook: *mut F = Box::into_raw(Box::new(hook)); in commit_hook() 157 let boxed_hook: *mut F = Box::into_raw(Box::new(hook)); in rollback_hook() 221 let boxed_hook: *mut F = Box::into_raw(Box::new(hook)); in update_hook()
|
D | functions.rs | 195 let raw: *mut AuxInner = Box::into_raw(outer); in set_aux() 458 let boxed_f: *mut F = Box::into_raw(Box::new(x_func)); in create_scalar_function() 488 let boxed_aggr: *mut D = Box::into_raw(Box::new(aggr)); in create_aggregate_function() 519 let boxed_aggr: *mut W = Box::into_raw(Box::new(aggr)); in create_window_function() 589 *pac = Box::into_raw(Box::new((*boxed_aggr).init())); in call_boxed_step()
|
/external/rust/crates/quiche/src/h3/ |
D | ffi.rs | 45 Ok(c) => Box::into_raw(Box::new(c)), in quiche_h3_config_new() 82 Ok(c) => Box::into_raw(Box::new(c)), in quiche_h3_conn_new_with_transport() 96 *ev = Box::into_raw(Box::new(v)); in quiche_h3_conn_poll()
|
/external/crosvm/tempfile/src/ |
D | lib.rs | 71 let ptr = template.into_raw(); in tempdir() 95 let ptr = template.into_raw(); in tempfile()
|
/external/rust/crates/quiche/src/ |
D | ffi.rs | 89 Ok(c) => Box::into_raw(Box::new(c)), in quiche_config_new() 339 Ok(c) => Box::into_raw(Pin::into_inner(c)), in quiche_accept() 359 Ok(c) => Box::into_raw(Pin::into_inner(c)), in quiche_connect() 421 Ok(c) => Box::into_raw(Pin::into_inner(c)), in quiche_conn_new_with_tls() 613 Box::into_raw(Box::new(conn.readable())) in quiche_conn_readable() 618 Box::into_raw(Box::new(conn.writable())) in quiche_conn_writable()
|
/external/rust/crates/plotters/src/element/ |
D | image.rs | 171 let rgb_image = image.to_rgb().into_raw(); in from() 185 let rgb_image = image.to_bgra().into_raw(); in from()
|
/external/rust/cxx/book/src/binding/ |
D | box.md | 39 // Important: requires that `raw` came from an into_raw call. Do not 43 T *into_raw() noexcept;
|
/external/rust/crates/once_cell/src/ |
D | race.rs | 213 let ptr = Box::into_raw(value); in set() 259 ptr = Box::into_raw(val); in get_or_try_init()
|
/external/rust/crates/rusqlite/src/vtab/ |
D | mod.rs | 563 array::Array::into_raw(rc); // don't consume it in get_array() 630 let boxed_aux: *mut T::Aux = Box::into_raw(Box::new(aux)); in create_module() 731 let boxed_vtab: *mut T = Box::into_raw(Box::new(vtab)); in rust_create() 783 let boxed_vtab: *mut T = Box::into_raw(Box::new(vtab)); in rust_connect() 882 let boxed_cursor: *mut T::Cursor = Box::into_raw(Box::new(cursor)); in rust_open() 1040 crate::util::SqliteMallocString::from_str(s).into_raw() in alloc()
|
/external/rust/crates/tokio/src/runtime/thread_pool/ |
D | atomic_cell.rs | 35 data.map(Box::into_raw).unwrap_or(ptr::null_mut()) in to_raw()
|
/external/crosvm/cros_async/src/ |
D | waker.rs | 64 w.into_raw() as *const (), in new_waker()
|
/external/rust/crates/tokio/src/runtime/ |
D | queue.rs | 521 let task = task.into_raw(); in push() 543 let batch_head = batch_head.into_raw(); in push_batch() 544 let batch_tail = batch_tail.into_raw(); in push_batch()
|
/external/adhd/cras/src/server/rust/src/ |
D | rate_estimator_bindings.rs | 29 Ok(re) => Box::into_raw(Box::new(re)), in rate_estimator_create()
|
/external/rust/crates/protobuf/src/ |
D | lazy_v2.rs | 28 *self.ptr.get() = Box::into_raw(Box::new(init())); in get()
|