Home
last modified time | relevance | path

Searched refs:memory_ (Results 1 – 17 of 17) sorted by relevance

/third_party/boost/libs/asio/example/cpp11/allocation/
Dserver.cpp78 : memory_(mem) in handler_allocator()
84 : memory_(other.memory_) in handler_allocator()
90 return &memory_ == &other.memory_; in operator ==()
95 return &memory_ != &other.memory_; in operator !=()
100 return static_cast<T*>(memory_.allocate(sizeof(T) * n)); in allocate()
105 return memory_.deallocate(p); in deallocate()
112 handler_memory& memory_; member in handler_allocator
126 : memory_(m), in custom_alloc_handler()
133 return allocator_type(memory_); in get_allocator()
143 handler_memory& memory_; member in custom_alloc_handler
/third_party/boost/doc/html/boost_asio/example/cpp11/allocation/
Dserver.cpp78 : memory_(mem) in handler_allocator()
84 : memory_(other.memory_) in handler_allocator()
90 return &memory_ == &other.memory_; in operator ==()
95 return &memory_ != &other.memory_; in operator !=()
100 return static_cast<T*>(memory_.allocate(sizeof(T) * n)); in allocate()
105 return memory_.deallocate(p); in deallocate()
112 handler_memory& memory_; member in handler_allocator
126 : memory_(m), in custom_alloc_handler()
133 return allocator_type(memory_); in get_allocator()
143 handler_memory& memory_; member in custom_alloc_handler
/third_party/boost/libs/asio/example/cpp03/allocation/
Dserver.cpp79 : memory_(mem) in handler_allocator()
85 : memory_(other.memory_) in handler_allocator()
97 return &memory_ == &other.memory_; in operator ==()
102 return &memory_ != &other.memory_; in operator !=()
107 return static_cast<T*>(memory_.allocate(sizeof(T) * n)); in allocate()
112 return memory_.deallocate(p); in deallocate()
117 handler_memory& memory_; member in handler_allocator
131 : memory_(m), in custom_alloc_handler()
138 return allocator_type(memory_); in get_allocator()
154 handler_memory& memory_; member in custom_alloc_handler
/third_party/boost/doc/html/boost_asio/example/cpp03/allocation/
Dserver.cpp79 : memory_(mem) in handler_allocator()
85 : memory_(other.memory_) in handler_allocator()
97 return &memory_ == &other.memory_; in operator ==()
102 return &memory_ != &other.memory_; in operator !=()
107 return static_cast<T*>(memory_.allocate(sizeof(T) * n)); in allocate()
112 return memory_.deallocate(p); in deallocate()
117 handler_memory& memory_; member in handler_allocator
131 : memory_(m), in custom_alloc_handler()
138 return allocator_type(memory_); in get_allocator()
154 handler_memory& memory_; member in custom_alloc_handler
/third_party/node/deps/icu-small/source/common/
Dlstmbe.cpp164 Array1D() : memory_(nullptr), data_(nullptr), d1_(0) {} in Array1D()
166 : memory_(uprv_malloc(d1 * sizeof(float))), in Array1D()
167 data_((float*)memory_), d1_(d1) { in Array1D()
169 if (memory_ == nullptr) { in Array1D()
182 : memory_(nullptr), data_(data), d1_(d1) {} in Array1D()
289 void* memory_; member in Array1D
296 uprv_free(memory_); in ~Array1D()
301 Array2D() : memory_(nullptr), data_(nullptr), d1_(0), d2_(0) {} in Array2D()
303 : memory_(uprv_malloc(d1 * d2 * sizeof(float))), in Array2D()
304 data_((float*)memory_), d1_(d1), d2_(d2) { in Array2D()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_enc.c55 picture->memory_ = NULL; in WebPPictureResetBufferYUVA()
103 WebPSafeFree(picture->memory_); in WebPPictureAllocYUVA()
131 picture->memory_ = (void*)mem; in WebPPictureAllocYUVA()
171 WebPSafeFree(picture->memory_); in WebPPictureFree()
Dpicture_rescale_enc.c90 return (picture->memory_ == NULL); in WebPPictureIsView()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_enc.c55 picture->memory_ = NULL; in WebPPictureResetBufferYUVA()
103 WebPSafeFree(picture->memory_); in WebPPictureAllocYUVA()
131 picture->memory_ = (void*)mem; in WebPPictureAllocYUVA()
171 WebPSafeFree(picture->memory_); in WebPPictureFree()
Dpicture_rescale_enc.c90 return (picture->memory_ == NULL); in WebPPictureIsView()
/third_party/ffmpeg/libavcodec/
Dlibwebpenc_common.c239 pic->memory_ = (void*)1; /* something non-null */ in ff_libwebp_get_frame()
248 pic->memory_ = NULL; /* restore pointer */ in ff_libwebp_get_frame()
/third_party/node/src/
Dnode_wasi.h97 v8::Global<v8::Object> memory_; variable
Dnode_wasi.cc24 if ((*(ptr))->memory_.IsEmpty()) { \
146 tracker->TrackField("memory", memory_); in MemoryInfo()
1650 wasi->memory_.Reset(wasi->env()->isolate(), args[0].As<Object>()); in _SetMemory()
1656 Local<Object> memory = PersistentToLocal::Strong(this->memory_); in backingStore()
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/
Dencode.h358 void* memory_; // row chunk of memory for yuva planes member
/third_party/skia/third_party/externals/libwebp/src/webp/
Dencode.h361 void* memory_; // row chunk of memory for yuva planes member
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_structs.hpp5557 … VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {},
5562 , memory( memory_ )
5579 VULKAN_HPP_NAMESPACE::DeviceMemory memory_, in BindAccelerationStructureMemoryInfoNV()
5583 , memory( memory_ ) in BindAccelerationStructureMemoryInfoNV()
5615 …BindAccelerationStructureMemoryInfoNV & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VU… in setMemory()
5617 memory = memory_; in setMemory()
5826 VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {},
5829 , memory( memory_ )
5861 … BindBufferMemoryInfo & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT in setMemory()
5863 memory = memory_; in setMemory()
[all …]
/third_party/vulkan-headers/include/vulkan/
Dvulkan_structs.hpp5714 … VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {},
5719 , memory( memory_ )
5736 VULKAN_HPP_NAMESPACE::DeviceMemory memory_, in BindAccelerationStructureMemoryInfoNV()
5740 , memory( memory_ ) in BindAccelerationStructureMemoryInfoNV()
5773 … setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT in setMemory()
5775 memory = memory_; in setMemory()
5988 VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {},
5991 , memory( memory_ )
6024 … setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT in setMemory()
6026 memory = memory_; in setMemory()
[all …]
/third_party/skia/third_party/externals/libwebp/examples/
Dcwebp.c1130 original_picture.memory_ = original_picture.memory_argb_ = NULL; in main()