/external/mesa3d/src/vulkan/wsi/ |
wsi_common_x11.c | 515 VkDeviceMemory memory; member in struct:x11_image 857 &image->memory, 906 image->image, image->memory); 926 image->image, image->memory); [all...] |
/external/protobuf/ruby/ext/google/protobuf_c/ |
encode_decode.c | 34 // rb_str_cat(), it doesn't leak memory in some versions of Ruby. 614 // Constructs the handlers for filling a message's data into an in-memory 910 void* memory = RepeatedField_index_native(ary, i); local [all...] |
/external/skia/src/core/ |
SkColorSpace_ICC.cpp | 541 * Finish loading the gammas, now that we have allocated memory for the SkGammas struct. 544 * read the table into heap memory. And for parametric gammas, we need to copy over the 547 * @param memory Pointer to start of the SkGammas memory block 548 * @param offset Bytes of memory (after the SkGammas struct) that are already in use. 555 * @return Additional bytes of memory that are being used by this gamma curve. 557 static size_t load_gammas(void* memory, size_t offset, SkGammas::Type type, 560 void* storage = SkTAddOffset<void>(memory, offset + sizeof(SkGammas)); 630 void* memory = sk_malloc_throw(sizeof(SkColorLookUpTable) + sizeof(float) * numEntries); local 631 *colorLUT = sk_sp<SkColorLookUpTable>(new (memory) SkColorLookUpTable(inputChannels 782 void* memory = sk_malloc_throw(allocSize); local 808 void* memory = sk_malloc_throw(allocSize); local 890 void* memory = sk_malloc_throw(allocSize); local 1359 void* memory = sk_malloc_throw(allocSize); local 1393 void* memory = sk_malloc_throw(allocSize); local 1461 void* memory = sk_malloc_throw(allocSize); local 1498 void* memory = sk_malloc_throw(len); local [all...] |
/external/skqp/src/core/ |
SkColorSpace_ICC.cpp | 541 * Finish loading the gammas, now that we have allocated memory for the SkGammas struct. 544 * read the table into heap memory. And for parametric gammas, we need to copy over the 547 * @param memory Pointer to start of the SkGammas memory block 548 * @param offset Bytes of memory (after the SkGammas struct) that are already in use. 555 * @return Additional bytes of memory that are being used by this gamma curve. 557 static size_t load_gammas(void* memory, size_t offset, SkGammas::Type type, 560 void* storage = SkTAddOffset<void>(memory, offset + sizeof(SkGammas)); 630 void* memory = sk_malloc_throw(sizeof(SkColorLookUpTable) + sizeof(float) * numEntries); local 631 *colorLUT = sk_sp<SkColorLookUpTable>(new (memory) SkColorLookUpTable(inputChannels 782 void* memory = sk_malloc_throw(allocSize); local 808 void* memory = sk_malloc_throw(allocSize); local 890 void* memory = sk_malloc_throw(allocSize); local 1359 void* memory = sk_malloc_throw(allocSize); local 1393 void* memory = sk_malloc_throw(allocSize); local 1461 void* memory = sk_malloc_throw(allocSize); local 1498 void* memory = sk_malloc_throw(len); local [all...] |
/external/swiftshader/src/OpenGL/compiler/ |
Types.h | 67 void *memory = GetGlobalPoolAllocator()->allocate(sizeof(TFieldList)); local 68 return new(memory)TFieldList; 557 // could be used, but also trying to avoid lots of memory management overhead.
|
/external/vulkan-validation-layers/tests/ |
vkrenderframework.h | 260 VkDeviceMemory memory() const { return Image::memory().handle(); } function in class:VkImageObj 262 void *MapMemory() { return Image::memory().map(); } 264 void UnmapMemory() { Image::memory().unmap(); }
|
/external/webp/src/enc/ |
histogram_enc.c | 102 uint8_t* const memory = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*memory)); local 103 if (memory == NULL) return NULL; 104 histo = (VP8LHistogram*)memory; 106 histo->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); 118 uint8_t* memory = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*memory)); local 119 if (memory == NULL) return NULL; 121 set = (VP8LHistogramSet*)memory; 122 memory += sizeof(*set) [all...] |
/external/webrtc/webrtc/modules/audio_device/android/ |
audio_device_unittest.cc | 100 // Reads audio samples from a PCM file where the file is stored in memory at 127 // Read samples from file stored in memory (at construction) and copy 175 // Allocate new memory, copy |num_frames| samples from |source| into memory 176 // and add pointer to the memory location to end of the list. 184 int16_t* memory = new int16_t[frames_per_buffer_]; variable 185 memcpy(static_cast<int16_t*> (&memory[0]), 189 fifo_->push_back(memory); 199 // data into |destination| and delete the utilized memory allocation. 208 int16_t* memory = fifo_->front() variable [all...] |
/frameworks/ml/nn/runtime/test/ |
TestPartitioningRandom.cpp | 58 // data, randomly assign inputs and outputs to CPU memory or to shared 59 // memory. 101 using MemoryBuilder = nn::Memory; 107 using WrapperMemory = nn::wrapper::Memory; 240 // This class is used to manage a collection of memory regions, 241 // disjoint windows onto a set of Memory instances, each of which is 242 // associated with a single shared memory region. Each region and 243 // Memory instance is assigned a number. The usage pattern is as 246 // declare (but not define) Memory instances and declare region 248 // - Call layout() to define the Memory instances 835 const WrapperMemory* memory; local [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/ |
vkrenderframework.h | 263 VkDeviceMemory memory() const { return Image::memory().handle(); } function in class:VkImageObj 265 void *MapMemory() { return Image::memory().map(); } 267 void UnmapMemory() { Image::memory().unmap(); }
|
/system/core/libbacktrace/ |
backtrace_test.cpp | 39 #include <memory> 982 static void InitMemory(uint8_t* memory, size_t bytes) { 984 memory[i] = i; 985 if (memory[i] == '\0') { 988 memory[i] = 23; 1001 uint8_t* memory; local 1100 uint8_t* memory; local [all...] |
/system/tools/hidl/test/hidl_test/ |
hidl_test_client.cpp | 12 #include <android/hidl/memory/1.0/IMemory.h> 13 #include <android/hidl/memory/token/1.0/IMemoryToken.h> 31 #include <android/hardware/tests/memory/1.0/IMemoryTest.h> 108 using ::android::hardware::tests::memory::V1_0::IMemoryTest; 124 using ::android::hidl::memory::V1_0::IMemory; 125 using ::android::hidl::memory::token::V1_0::IMemoryToken; 126 using ::android::hidl::memory::block::V1_0::MemoryBlock; 343 memoryTest = IMemoryTest::getService("memory", mode == PASSTHROUGH /* getStub */); 802 sp<IMemory> memory = mapMemory(mem); 804 EXPECT_NE(memory, nullptr) 826 sp<IMemory> memory = mapMemory(mem_copy); local 889 sp<IMemory> memory = mapMemory(batchCopy[i]); local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsHelper.java | 752 BatterySipper memory = new BatterySipper(DrainType.MEMORY, null, 0); local 753 mMemoryPowerCalculator.calculateRemaining(memory, mStats, mRawRealtimeUs, mRawUptimeUs, 755 memory.sumPower(); 756 if (memory.totalPowerMah > 0) { 757 mUsageList.add(memory); [all...] |
/art/runtime/jit/ |
jit_code_cache.cc | 201 // means more windows for the code memory to be RWX. 277 histogram_stack_map_memory_use_("Memory used for stack maps", 16), 278 histogram_code_memory_use_("Memory used for compiled code", 16), 279 histogram_profiling_info_memory_use_("Memory used for profiling info", 16), 594 // first since once we do FreeCode() below, the memory can be reused 750 uint8_t* memory = nullptr; local 757 memory = AllocateCode(total_size); 758 if (memory == nullptr) { 761 code_ptr = memory + header_size; [all...] |
/device/google/marlin/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 112 LOGE("No memory for retro AEC event"); 134 LOGE("No memory for prepare signal event detect" 146 LOGE("Error allocating memory to save received_frame structure."); 220 LOGE("No memory for face_detection_result qcamera_sm_internal_evt_payload_t"); 340 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)preview_frame->mem_info; local 343 rc = sendPreviewCallback(pStream, memory, idx); 403 LOGE("Error allocating memory to save received_frame structure."); 609 QCameraMemory *memory = (QCameraMemory *)pFrame->mem_info; local 610 memory->cleanCache(pFrame->buf_idx); 653 LOGE("Error allocating memory to save received_frame structure.") 696 QCameraGrallocMemory *memory = NULL; local 788 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; local 1335 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; local [all...] |
/external/cmockery/cmockery_0_1_2/src/ |
cmockery.c | 38 // Pattern used to initialize memory allocated with test_malloc(). 109 /* Used to check whether a parameter matches the area of memory referenced by 113 const void *memory; member in struct:CheckMemoryData 367 /* Frees memory kept by a linked list 427 // Releases memory associated to a symbol_map_value. 795 /* Determine whether the specified areas of memory are equal. If they're equal 818 /* Determine whether the specified areas of memory are not equal. If they're [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkNullDriver.cpp | 49 // Memory management 1137 DeviceMemory* const memory = reinterpret_cast<DeviceMemory*>(memHandle.getInternal()); local 1149 DeviceMemory* const memory = reinterpret_cast<DeviceMemory*>(memHandle.getInternal()); local 1161 DeviceMemory* const memory = reinterpret_cast<ExternalDeviceMemoryAndroid*>(pInfo->memory.getInternal()); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationSmokeTests.cpp | 144 const void* memory; member in struct:vkt::synchronization::__anon17965::BufferParameters 179 // If caller provides a host memory buffer for the allocation, then go 182 if (bufferParameters.memory != DE_NULL) 190 range.memory = buffer.allocation->getMemory(); 194 deMemcpy(buffer.allocation->getHostPtr(), bufferParameters.memory, (size_t)bufferParameters.size); 692 bufferParameters.memory = testContext.vertices; 703 bufferParameters.memory = DE_NULL; [all...] |
vktSynchronizationWin32KeyedMutexTests.cpp | 121 const vk::VkDeviceMemory memory); 131 const vk::VkDeviceMemory memory) 132 : Allocation (memory, 0, DE_NULL) 158 TCU_THROW(NotSupportedError, "Required external memory extensions not supported by the instance"); 248 DE_FATAL("No supported memory types"); 285 vk::Move<vk::VkDeviceMemory> memory (vk::allocateMemory(vkd, device, &info)); 289 return memory; 319 vk::Move<vk::VkDeviceMemory> memory = importMemory(vkd, device, requirements.memoryRequirements, externalType, nativeHandle, !!dedicatedRequirements.requiresDedicatedAllocation, buffer, DE_NULL); local 320 VK_CHECK(vkd.bindBufferMemory(device, buffer, *memory, 0u)); 322 return de::MovePtr<vk::Allocation>(new SimpleAllocation(vkd, device, memory.disown())) 352 vk::Move<vk::VkDeviceMemory> memory = importMemory(vkd, device, requirements.memoryRequirements, externalType, nativeHandle, !!dedicatedRequirements.requiresDedicatedAllocation, DE_NULL, image); local 1593 vk::VkDeviceMemory memory = resourceWrite->getMemory(); local 1634 vk::VkDeviceMemory memory = resourceRead->getMemory(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
vktUniformBlockCase.cpp | 1458 de::MovePtr<vk::Allocation> memory = context.getDefaultAllocator().allocate(bufReqs, memReqs); local 1469 de::MovePtr<vk::Allocation> memory = context.getDefaultAllocator().allocate(imgReqs, memReqs); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
vktShaderLibrary.cpp | 1277 MovePtr<vk::Allocation> memory = context.getDefaultAllocator().allocate(bufReqs, memReqs); local 1288 MovePtr<vk::Allocation> memory = context.getDefaultAllocator().allocate(imgReqs, memReqs); local [all...] |
/external/freetype/include/freetype/ |
freetype.h | 402 /* It also embeds a memory manager (see @FT_Memory), as well as a */ 1112 FT_Memory memory; member in struct:FT_FaceRec_ [all...] |
/external/freetype/include/freetype/internal/ |
cfftypes.h | 62 /* bytes :: If the index is loaded in memory, its bytes. */ 337 FT_Memory memory; /* TODO: take this from stream->memory? */ member in struct:CFF_FontRec_
|
ftobjs.h | 531 /* memory :: A handle to the memory manager. */ 537 FT_Memory memory; member in struct:FT_ModuleRec_ 547 #define FT_MODULE_MEMORY( x ) FT_MODULE( x )->memory 636 #define FT_FACE_MEMORY( x ) FT_FACE( x )->memory 918 FT_Memory memory; \/* library's memory manager *\/ member in struct:FT_LibraryRec_ 1000 FT_Done_Memory( FT_Memory memory ); variable [all...] |
/external/freetype/src/autofit/ |
aflatin.c | 74 af_glyph_hints_init( hints, face->memory ); 1483 FT_Memory memory = hints->memory; local 2049 FT_Memory memory = hints->memory; local [all...] |