Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 49) sorted by relevance

12

/system/ulib/fit/include/lib/fit/
A Doptional.h21 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 Dfunction_internal.h54 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 Dalloc_checker.h35 void* operator new(size_t size, fbl::AllocChecker* ac) noexcept;
36 void* operator new[](size_t size, fbl::AllocChecker* ac) noexcept;
A Dmacros.h26 static void* operator new(size_t) = delete; \
27 static void* operator new[](size_t) = delete
A Dvector.h35 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 Dfunction.h81 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 Dunique_ptr.h230 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 Dslab_allocator.h491 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 Dusb-test-fwloader.fidl13 /// 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 Dmetadata.h36 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 Dbuilder.h53 return new (ptr) T; in New()
70 return new (ptr) T[count]; in NewArray()
/system/banjo/ddk-protocol-usb-bus/
A Dusb-bus.banjo18 /// 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 Dobjects.h187 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 Drules.mk10 $(LOCAL_DIR)/new.cpp \
/system/ulib/trace-reader/include/trace-reader/
A Drecords.h181 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 Dstubs.c105 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 Dprovider.h165 new TraceProviderEtc(provider)); in CreateSynchronously()
211 new TraceProviderWithFdio(provider)); in CreateSynchronously()
/system/fidl/fuchsia-hardware-power/
A Dpower.fidl33 // nominal capacity of a new battery
37 // nominal voltage of a new battery
/system/fidl/fuchsia-hardware-display/
A Ddisplay-controller.fidl129 // 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 Ddmctl.fidl19 /// Opens a new virtual console and transfers a handle to it over |vc_receiver|.
/system/ulib/lockdep/include/lockdep/
A Dguard_multiple.h86 new (&guard_storage_) Storage{ in GuardMultiple()
/system/ulib/fidl/
A DREADME.md15 placement new operators. These implementations are typically provided by the
/system/banjo/ddk-driver/
A Ddriver.banjo51 /// the proxy device in the new devhost
/system/ulib/dispatcher-pool/include/dispatcher-pool/
A Ddispatcher-channel.h121 auto ptr = fbl::AdoptRef(new (&ac) T(std::forward<ConstructorSignature>(args)...)); in Create()
/system/utest/int-types/
A DREADME.md19 instance, sufficiently new GCCs define `__WCHAR_MIN__` as a builtin,

Completed in 46 milliseconds

12