| /system/ulib/fit/include/lib/fit/ |
| A D | optional.h | 21 new (dest) T(source); in assign() 36 new (dest) T(std::move(source)); 42 new (&a) T(std::move(b)); 44 new (&b) T(std::move(temp)); 94 new (&value_) T(other.value_); 101 new (&value_) T(std::move(other.value_)); 160 new (&value_) T(other.value_); 179 new (&value_) T(std::move(other.value_)); 197 new (&value_) T(std::move(value)); 224 new (&value_) T(std::move(other.value_)); [all …]
|
| A D | function_internal.h | 54 new (bits) Callable(std::move(target)); 62 new (to_bits) Callable(std::move(from_target)); 88 *ptr = new Callable(std::move(target));
|
| /system/ulib/fbl/include/fbl/ |
| A D | alloc_checker.h | 35 void* operator new(size_t size, fbl::AllocChecker* ac) noexcept; 36 void* operator new[](size_t size, fbl::AllocChecker* ac) noexcept;
|
| A D | macros.h | 26 static void* operator new(size_t) = delete; \ 27 static void* operator new[](size_t) = delete
|
| A D | vector.h | 35 void* object = new (&ac) char[size]; in Allocate() 85 new (out) T(*in); in Vector() 236 new (&ptr_[size_++]) T(std::forward<U>(value)); in push_back_internal() 243 new (&ptr_[size_++]) T(std::forward<U>(value)); in push_back_internal() 276 new (&ptr_[index]) T(std::forward<U>(value)); in insert_complete() 304 new (&ptr_[size_ - 1]) T(std::move(ptr_[size_ - 2])); 340 new (&newPtr[i]) T(std::move(ptr_[i]));
|
| A D | function.h | 81 new (ptr) NullFunctionTarget(); 105 new (ptr) InlineFunctionTarget(std::move(*this)); 132 new (ptr) HeapFunctionTarget(std::move(*this)); 152 new (&bits_) NullFunctionTarget(); 166 new (&bits_) typename TargetHelper<Callable>::Type(std::move(target)); 171 new (&bits_) typename TargetHelper<Callable>::Type(std::move(target), ac);
|
| A D | unique_ptr.h | 230 return unique_ptr<T>(new T(std::forward<Args>(args)...)); 237 return unique_ptr<single_type[]>(new single_type[size]()); 243 return unique_ptr<T>(new (ac) T(std::forward<Args>(args)...));
|
| A D | slab_allocator.h | 491 Slab* slab = new (slab_mem) Slab(initial_slab_used_); 505 FreeListEntry* free_obj = new (ptr) FreeListEntry; 628 FreeListEntry* free_obj = new (ptr) FreeListEntry; 733 return new (mem) ObjType(std::forward<ConstructorSignature>(args)...); 873 return new (mem) ObjType(std::forward<ConstructorSignature>(args)...);
|
| /system/fidl/zircon-usb-test-fwloader/ |
| A D | usb-test-fwloader.fidl | 13 /// Flash programmer used for loading a new bootloader onto the USB test device I2C EEPROM. 21 /// Loads the prebuilt firmware onto the USB test device, and renumerates as the new device. 24 /// Loads the firmware onto the USB test device, and renumerates as the new device.
|
| /system/core/devmgr/devmgr/ |
| A D | metadata.h | 36 uint8_t* buf = new uint8_t[sizeof(Metadata) + data_len]; in Create() 40 new (buf) Metadata(); in Create()
|
| /system/ulib/fidl/include/lib/fidl/cpp/ |
| A D | builder.h | 53 return new (ptr) T; in New() 70 return new (ptr) T[count]; in NewArray()
|
| /system/banjo/ddk-protocol-usb-bus/ |
| A D | usb-bus.banjo | 18 /// Configures a new hub based on its USB hub descriptor. 21 /// Informs the USB bus that a new device has been added. 33 /// Notifies the USB bus driver that a new device has been added.
|
| /system/utest/fbl/include/fbl/tests/intrusive_containers/ |
| A D | objects.h | 187 auto r = new (&ac) ObjType(value); in CreateObject() 214 auto r = new (&ac) ObjType(value); in CreateObject() 240 auto r = new (&ac) ObjType(value); in CreateObject() 266 auto r = new (&ac) ObjType(value); in CreateObject() 299 auto r = new (&ac) ObjType(value); in CreateObject()
|
| /system/ulib/zxcpp/ |
| A D | rules.mk | 10 $(LOCAL_DIR)/new.cpp \
|
| /system/ulib/trace-reader/include/trace-reader/ |
| A D | records.h | 181 new (&string_) fbl::String(std::move(string)); in ArgumentValue() 568 new (&string_) String(std::move(record)); in Record() 573 new (&thread_) Thread(std::move(record)); in Record() 578 new (&event_) Event(std::move(record)); in Record() 583 new (&blob_) Blob(std::move(record)); in Record() 588 new (&kernel_object_) KernelObject(std::move(record)); in Record() 593 new (&context_switch_) ContextSwitch(std::move(record)); in Record() 598 new (&log_) Log(std::move(record)); in Record()
|
| /system/ulib/fdio/ |
| A D | stubs.c | 105 int symlink(const char* existing, const char* new) { in symlink() argument 207 int linkat(int fd1, const char* existing, int fd2, const char* new, int flag) { in linkat() argument 212 int symlinkat(const char* existing, int fd, const char* new) { in symlinkat() argument
|
| /system/ulib/trace-provider/include/trace-provider/ |
| A D | provider.h | 165 new TraceProviderEtc(provider)); in CreateSynchronously() 211 new TraceProviderWithFdio(provider)); in CreateSynchronously()
|
| /system/fidl/fuchsia-hardware-power/ |
| A D | power.fidl | 33 // nominal capacity of a new battery 37 // nominal voltage of a new battery
|
| /system/fidl/fuchsia-hardware-display/ |
| A D | display-controller.fidl | 129 // into a new, single primary layer at the CLIENT_MERGE_BASE layer's z-order. The 137 // The client should provide a new image produced by scaling the source image 138 // such that the dimensions of the new image's src_frame and dest_frame are 141 // The client should provide a new image produced by clipping the source image 144 // The client should provide a new image produced by applying the desired 185 // requirement that each layer has an active image. Whenever a new active 197 // client receives this event, they must either apply a new configuration 228 // Creates a new layer. 342 // no wait event or whose wait event has been signaled. Whenever a new image 349 // By default, the driver retains an active image until a new image becomes [all …]
|
| /system/fidl/fuchsia-device-manager/ |
| A D | dmctl.fidl | 19 /// Opens a new virtual console and transfers a handle to it over |vc_receiver|.
|
| /system/ulib/lockdep/include/lockdep/ |
| A D | guard_multiple.h | 86 new (&guard_storage_) Storage{ in GuardMultiple()
|
| /system/ulib/fidl/ |
| A D | README.md | 15 placement new operators. These implementations are typically provided by the
|
| /system/banjo/ddk-driver/ |
| A D | driver.banjo | 51 /// the proxy device in the new devhost
|
| /system/ulib/dispatcher-pool/include/dispatcher-pool/ |
| A D | dispatcher-channel.h | 121 auto ptr = fbl::AdoptRef(new (&ac) T(std::forward<ConstructorSignature>(args)...)); in Create()
|
| /system/utest/int-types/ |
| A D | README.md | 19 instance, sufficiently new GCCs define `__WCHAR_MIN__` as a builtin,
|