Home
last modified time | relevance | path

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

12

/third_party/node/deps/v8/src/regexp/
Dregexp-stack.cc50 if (owns_memory_) DeleteArray(memory_); in ResetToStaticStack()
52 memory_ = regexp_stack->static_stack_; in ResetToStaticStack()
62 if (owns_memory_) DeleteArray(memory_); in FreeAndInvalidate()
66 memory_ = nullptr; in FreeAndInvalidate()
81 thread_local_.memory_, thread_local_.memory_size_); in EnsureCapacity()
82 if (thread_local_.owns_memory_) DeleteArray(thread_local_.memory_); in EnsureCapacity()
85 thread_local_.memory_ = new_memory; in EnsureCapacity()
Dregexp-stack.h50 thread_local_.memory_ + thread_local_.memory_size_); in memory_top()
113 byte* memory_ = nullptr; member
150 bool IsValid() const { return thread_local_.memory_ != nullptr; } in IsValid()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dtransfer_buffer.cc36 if (memory_ != VK_NULL_HANDLE) { in ~TransferBuffer()
37 UnMapMemory(memory_); in ~TransferBuffer()
38 device_->GetPtrs()->vkFreeMemory(device_->GetVkDevice(), memory_, in ~TransferBuffer()
59 r = AllocateAndBindMemoryToVkBuffer(buffer_, &memory_, in Initialize()
90 return MapMemory(memory_); in Initialize()
Dtransfer_image.cc112 if (memory_ != VK_NULL_HANDLE) in ~TransferImage()
113 device_->GetPtrs()->vkFreeMemory(device_->GetVkDevice(), memory_, nullptr); in ~TransferImage()
137 Result r = AllocateAndBindMemoryToVkImage(image_, &memory_, in Initialize()
Dvertex_buffer_test.cc40 memory_.resize(64); in DummyDevice()
61 void* GetMemoryPtr() { return memory_.data(); } in GetMemoryPtr()
65 std::vector<uint8_t> memory_; member in amber::vulkan::__anon343785ca0111::DummyDevice
Dtransfer_buffer.h62 VkDeviceMemory memory_ = VK_NULL_HANDLE; variable
Dtransfer_image.h83 VkDeviceMemory memory_ = VK_NULL_HANDLE; variable
/third_party/icu/icu4c/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/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/mindspore/patches/
D0009-npu-zero-copy.patch330 + OH_NNExecutor_DestroyInputMemory(executor_, index_, &(membuf->memory_));
332 + OH_NNExecutor_DestroyOutputMemory(executor_, index_, &(membuf->memory_));
341 + OH_NNExecutor_DestroyInputMemory(executor_, index_, &(membuf->memory_));
343 + OH_NNExecutor_DestroyOutputMemory(executor_, index_, &(membuf->memory_));
357 + allocated_list_[membuf->memory_->data] = membuf;
358 + return membuf->memory_->data;
369 + membuf->memory_ = OH_NNExecutor_AllocateInputMemory(executor_, index_, size);
371 + membuf->memory_ = OH_NNExecutor_AllocateOutputMemory(executor_, index_, size);
374 + if (membuf->memory_ == nullptr) {
378 + if (membuf->memory_->data == nullptr) {
[all …]
/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/deps/v8/src/base/platform/
Dplatform-posix.cc656 : file_(file), memory_(memory), size_(size) {} in PosixMemoryMappedFile()
658 void* memory() const final { return memory_; } in memory()
663 void* const memory_; member in v8::base::PosixMemoryMappedFile
719 if (memory_) OS::Free(memory_, RoundUp(size_, OS::AllocatePageSize())); in ~PosixMemoryMappedFile()
Dplatform-win32.cc1142 memory_(memory), in Win32MemoryMappedFile()
1145 void* memory() const final { return memory_; } in memory()
1151 void* const memory_; member in v8::base::Win32MemoryMappedFile
1210 if (memory_) UnmapViewOfFile(memory_); in ~Win32MemoryMappedFile()
/third_party/node/src/
Dnode_wasi.h98 v8::Global<v8::WasmMemoryObject> memory_; variable
Dnode_wasi.cc24 if ((*(ptr))->memory_.IsEmpty()) { \
143 tracker->TrackField("memory", memory_); in MemoryInfo()
1681 wasi->memory_.Reset(wasi->env()->isolate(), args[0].As<WasmMemoryObject>()); in _SetMemory()
1686 Local<WasmMemoryObject> memory = PersistentToLocal::Strong(this->memory_); in backingStore()
/third_party/skia/third_party/externals/libwebp/src/webp/
Dencode.h361 void* memory_; // row chunk of memory for yuva planes member
/third_party/vixl/src/aarch64/
Dsimulator-aarch64.h1122 pc_ = memory_.AddressUntag(new_pc);
1792 return memory_.Read<T>(address);
1797 return memory_.Write(address, value);
1802 return memory_.ReadUint(size_in_bytes, address);
1807 return memory_.ReadInt(size_in_bytes, address);
1812 return memory_.Write(size_in_bytes, address, value);
4737 Memory memory_;
Dsimulator-aarch64.cc415 : memory_(std::move(stack)), in Simulator()
420 : memory_(std::move(stack)), in Simulator()
541 WriteSp(memory_.GetStack().GetBase()); in Simulator()
/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.hpp7023 … VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {},
7030 , memory( memory_ )
7046 … VULKAN_HPP_NAMESPACE::DeviceMemory memory_, in BindAccelerationStructureMemoryInfoNV()
7052 , memory( memory_ ) in BindAccelerationStructureMemoryInfoNV()
7083 …ionStructureMemoryInfoNV & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEX… in setMemory()
7085 memory = memory_; in setMemory()
7314 … VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {},
7319 , memory( memory_ )
7353 …_14 BindBufferMemoryInfo & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEX… in setMemory()
7355 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()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dmemory.txt8 Vulkan memory is broken up into two categories, _host memory_ and _device
9 memory_.
442 _Device memory_ is memory that is visible to the device -- for example the
3328 _Protected memory_ divides device memory into protected device memory and
3682 _Peer memory_ is memory that is allocated for a given physical device and
Dcapabilities.txt451 specifies a host pointer to _host mapped foreign memory_.

12