/external/rust/crates/crossbeam-epoch/src/ |
D | atomic.rs | 321 Self::from(Owned::init(init)) in init() 796 pub unsafe fn into_owned(self) -> Owned<T> { in into_owned() 802 Owned::from_usize(self.data.unsync_load()) in into_owned() 806 Owned::from_usize(self.data.into_inner()) in into_owned() 848 impl<T: ?Sized + Pointable> From<Owned<T>> for Atomic<T> { 858 fn from(owned: Owned<T>) -> Self { in from() 867 Self::from(Owned::from(b)) in from() 928 pub struct Owned<T: ?Sized + Pointable> { struct 933 impl<T: ?Sized + Pointable> Pointer<T> for Owned<T> { implementation 949 Owned { in from_usize() [all …]
|
D | collector.rs | 119 use crate::{Collector, Owned}; 151 let a = Owned::new(7).into_shared(guard); in flush_local_bag() 172 let a = Owned::new(7).into_shared(guard); in garbage_buffering() 214 let a = Owned::new(7i32).into_shared(guard); in incremental() 247 let a = Owned::new(7i32).into_shared(guard); in buffering() 289 let a = Owned::new(Elem(7i32)).into_shared(guard); in count_drops() 314 let a = Owned::new(7i32).into_shared(guard); in count_destroy() 354 let a = Owned::new(v).into_shared(&guard); in drop_array() 425 let a = Owned::new(Elem(7i32)).into_shared(guard); in stress()
|
/external/llvm-project/compiler-rt/lib/xray/ |
D | xray_allocator.h | 177 bool Owned; member 230 Owned(true), in Allocator() 238 Owned(false), in Allocator() 255 Owned = O.Owned; in Allocator() 256 O.Owned = false; in Allocator() 272 Owned = O.Owned; 273 O.Owned = false; 280 if (Owned && BackingStore != nullptr) { in ~Allocator()
|
/external/rust/crates/same-file/src/ |
D | win.rs | 59 Owned(winutil::Handle), enumerator 88 HandleKind::Owned(ref h) => h.as_raw_handle(), in as_raw_handle() 97 HandleKind::Owned(h) => h.into_raw_handle(), in into_raw_handle() 113 Ok(Handle::from_info(HandleKind::Owned(h), info)) in from_path() 119 Ok(Handle::from_info(HandleKind::Owned(h), info)) in from_file() 161 HandleKind::Owned(ref h) => h.as_file(), in as_file() 168 HandleKind::Owned(ref mut h) => h.as_file_mut(), in as_file_mut()
|
/external/rust/crates/managed/src/ |
D | slice.rs | 34 Owned(Vec<T>) enumerator 43 &ManagedSlice::Owned(ref x) => write!(f, "Owned({:?})", x) in fmt() 59 ManagedSlice::Owned((Box::new(value) as Box<[T]>).into_vec()) 76 ManagedSlice::Owned(value) in from() 87 &ManagedSlice::Owned(ref value) => value in deref() 97 &mut ManagedSlice::Owned(ref mut value) => value in deref_mut()
|
D | object.rs | 36 Owned(Box<T>) enumerator 45 &Managed::Owned(ref x) => write!(f, "Owned({:?})", x) in fmt() 59 Managed::Owned(value) in from() 66 Managed::Owned(value.into_boxed_slice()) in from() 77 &Managed::Owned(ref value) => value in deref() 87 &mut Managed::Owned(ref mut value) => value in deref_mut()
|
D | map.rs | 44 Owned(BTreeMap<K, V>) enumerator 53 &ManagedMap::Owned(ref x) => write!(f, "Owned({:?})", x) in fmt() 67 ManagedMap::Owned(value) in from() 102 Owned(BTreeRange<'a, K, V>), enumerator 125 RangeInner::Owned(ref mut range) => range.next(), in next() 145 RangeInner::Owned(ref mut range) => range.next_back(), in next_back() 264 &mut ManagedMap::Owned(ref mut map) => map.clear() in clear() 279 &ManagedMap::Owned(ref map) => map.get(key) in get() 294 &mut ManagedMap::Owned(ref mut map) => map.get_mut(key) in get_mut() 311 &ManagedMap::Owned(ref map) => { in range() [all …]
|
/external/rust/crates/heck/src/ |
D | shouty_snake.rs | 18 fn to_shouty_snake_case(&self) -> Self::Owned; in to_shouty_snake_case() argument 26 fn TO_SHOUTY_SNEK_CASE(&self) -> Self::Owned; in TO_SHOUTY_SNEK_CASE() argument 30 fn TO_SHOUTY_SNEK_CASE(&self) -> Self::Owned { in TO_SHOUTY_SNEK_CASE() argument 37 fn to_shouty_snake_case(&self) -> Self::Owned { in to_shouty_snake_case() argument
|
D | snake.rs | 17 fn to_snake_case(&self) -> Self::Owned; in to_snake_case() argument 24 fn to_snek_case(&self) -> Self::Owned; in to_snek_case() argument 28 fn to_snek_case(&self) -> Self::Owned { in to_snek_case() argument
|
D | kebab.rs | 17 fn to_kebab_case(&self) -> Self::Owned; in to_kebab_case() argument 21 fn to_kebab_case(&self) -> Self::Owned { in to_kebab_case() argument
|
D | shouty_kebab.rs | 18 fn to_shouty_kebab_case(&self) -> Self::Owned; in to_shouty_kebab_case() argument 22 fn to_shouty_kebab_case(&self) -> Self::Owned { in to_shouty_kebab_case() argument
|
/external/rust/crates/plotters/src/element/ |
D | image.rs | 18 Owned(Vec<u8>), enumerator 32 Buffer::Owned(owned) => owned.as_ref(), in as_ref() 42 Buffer::Owned(owned) => return &mut owned[..], in to_mut() 51 *self = Buffer::Owned(owned); in to_mut() 72 image: Buffer::Owned(vec![0; (size.0 * size.1) as usize * P::PIXEL_SIZE]), in new() 93 image: Buffer::Owned(buf), in with_owned_buffer() 174 image: Buffer::Owned(rgb_image), in from() 188 image: Buffer::Owned(rgb_image), in from()
|
/external/llvm-project/lldb/bindings/python/ |
D | python-wrapper.swig | 67 PythonObject frame_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_frame)); 68 PythonObject bp_loc_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_bp_loc)); 76 PythonObject args_arg(PyRefType::Owned, SBTypeToSWIGWrapper(args_value)); 113 PythonObject frame_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_frame)); 114 PythonObject wp_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_wp)); 184 PythonObject value_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_value)); 185 PythonObject options_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_options)); 221 PythonObject val_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_value)); 252 PythonObject debugger_arg(PyRefType::Owned, SBTypeToSWIGWrapper(debugger_sb)); 289 …PythonObject tp_arg(PyRefType::Owned, SBTypeToSWIGWrapper(new lldb::SBThreadPlan(thread_plan_sp))); [all …]
|
/external/libchrome/base/files/ |
D | file_proxy.cc | 251 BindOnce(&CreateOrOpenHelper::Reply, Owned(helper), std::move(callback))); in CreateOrOpen() 262 BindOnce(&CreateTemporaryHelper::Reply, Owned(helper), in CreateTemporary() 292 BindOnce(&GenericFileHelper::Reply, Owned(helper), std::move(callback))); in Close() 300 BindOnce(&GetInfoHelper::Reply, Owned(helper), std::move(callback))); in GetInfo() 311 BindOnce(&ReadHelper::Reply, Owned(helper), std::move(callback))); in Read() 326 BindOnce(&WriteHelper::Reply, Owned(helper), std::move(callback))); in Write() 338 BindOnce(&GenericFileHelper::Reply, Owned(helper), std::move(callback))); in SetTimes() 347 BindOnce(&GenericFileHelper::Reply, Owned(helper), std::move(callback))); in SetLength() 355 BindOnce(&GenericFileHelper::Reply, Owned(helper), std::move(callback))); in Flush()
|
/external/rust/crates/crossbeam-epoch/src/sync/ |
D | list.rs | 301 use crate::{Collector, Owned}; 329 let e1 = Owned::new(Entry::default()).into_shared(&guard); in insert() 330 let e2 = Owned::new(Entry::default()).into_shared(&guard); in insert() 331 let e3 = Owned::new(Entry::default()).into_shared(&guard); in insert() 368 let e1 = Owned::new(Entry::default()).into_shared(&guard); in delete() 369 let e2 = Owned::new(Entry::default()).into_shared(&guard); in delete() 370 let e3 = Owned::new(Entry::default()).into_shared(&guard); in delete() 417 let e = Owned::new(Entry::default()).into_shared(&guard); in insert_delete_multi() 459 let e = Owned::new(Entry::default()).into_shared(&guard); in iter_multi()
|
/external/rust/crates/crossbeam-epoch/benches/ |
D | defer.rs | 5 use crossbeam_epoch::{self as epoch, Owned}; 13 let p = Owned::new(1).into_shared(guard); in single_alloc_defer_free() 39 let p = Owned::new(1).into_shared(guard); in multi_alloc_defer_free()
|
/external/rust/crates/regex/tests/ |
D | replace.rs | 171 t!(std::borrow::Cow::<'_, str>::Owned("Z".to_string())), 179 t!(&std::borrow::Cow::<'_, str>::Owned("Z".to_string())), 220 bytes!(std::borrow::Cow::<'_, [u8]>::Owned(vec![b'Z'])), 228 bytes!(&std::borrow::Cow::<'_, [u8]>::Owned(vec![b'Z'])),
|
/external/rust/crates/form_urlencoded/src/ |
D | lib.rs | 65 Cow::Owned(vec) => Cow::Owned(vec), in decode() 82 Cow::Owned(replaced) in replace_plus() 395 Cow::Owned(bytes) => { in decode_utf8_lossy() 412 Cow::Owned(unsafe { String::from_utf8_unchecked(bytes) }) in decode_utf8_lossy() 414 Cow::Owned(s) => Cow::Owned(s), in decode_utf8_lossy()
|
/external/skia/src/sksl/ir/ |
D | SkSLProgram.h | 154 using Owned = std::vector<std::unique_ptr<ProgramElement>>::const_iterator; 158 iterator(Owned owned, Owned ownedEnd, Shared shared, Shared sharedEnd) in iterator() 161 Owned fOwned; 162 Owned fOwnedEnd;
|
/external/rust/crates/bstr/src/ |
D | cow.rs | 39 CowBytes(Imp(Cow::Owned(bytes))) in new_owned() 56 Cow::Owned(b) => CowBytes::new_owned(b), in into_owned() 75 Cow::Owned(ref x) => x, in as_slice()
|
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/ |
D | PythonDataObjectsTests.cpp | 58 PythonObject owned_long(PyRefType::Owned, obj); in TEST_F() 84 PythonInteger long_value(PyRefType::Owned, PyLong_FromLong(3)); in TEST_F() 111 PythonObject version_info_type(PyRefType::Owned, in TEST_F() 172 PythonInteger python_int(PyRefType::Owned, py_int); in TEST_F() 182 PythonInteger python_long(PyRefType::Owned, py_long); in TEST_F() 200 PythonBoolean python_true(PyRefType::Owned, Py_True); in TEST_F() 205 PythonBoolean python_false(PyRefType::Owned, Py_False); in TEST_F() 211 PythonBoolean python_boolean(PyRefType::Owned, py_bool); in TEST_F() 226 PythonBytes python_bytes(PyRefType::Owned, py_bytes); in TEST_F() 247 PythonByteArray python_bytes(PyRefType::Owned, py_bytes); in TEST_F() [all …]
|
/external/rust/crates/gdbstub/src/util/ |
D | managed_vec.rs | 24 ManagedSlice::Owned(buf) => buf.clear(), in clear() 40 ManagedSlice::Owned(buf) => { in push()
|
/external/rust/crates/crossbeam-epoch/tests/ |
D | loom.rs | 7 use epoch::{Atomic, Owned}; 18 let item: Atomic<String> = Atomic::from(Owned::new(String::from("boom"))); in it_works() 74 let mut n = Owned::new(Node { in treiber_stack()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | JSON.h | 495 ObjectKey(std::string S) : Owned(new std::string(std::move(S))) { in ObjectKey() 496 if (LLVM_UNLIKELY(!isUTF8(*Owned))) { in ObjectKey() 498 *Owned = fixUTF8(std::move(*Owned)); in ObjectKey() 500 Data = *Owned; in ObjectKey() 515 if (C.Owned) { 516 Owned.reset(new std::string(*C.Owned)); 517 Data = *Owned; 531 std::unique_ptr<std::string> Owned;
|
/external/rust/crates/rayon/src/iter/ |
D | from_par_iter.rs | 195 C::Owned: FromParallelIterator<T>, 202 Cow::Owned(C::Owned::from_par_iter(par_iter)) in from_par_iter()
|