/system/libhidl/transport/memory/1.0/default/ |
HidlFetch.h | 20 #include <android/hidl/memory/1.0/IMapper.h> 24 namespace memory { namespace in namespace:android::hidl 32 } // namespace memory
|
AshmemMapper.cpp | 28 namespace memory { namespace in namespace:android::hidl 32 // Methods from ::android::hidl::memory::V1_0::IMapper follow. 39 // client process requests a memory > 2^32 bytes, the size would be 41 // mapped memory's actual size would be smaller than the reported size. 43 ALOGE("Cannot map %" PRIu64 " bytes of memory because it is too large.", mem.size()); 61 } // namespace memory
|
AshmemMapper.h | 20 #include <android/hidl/memory/1.0/IMapper.h> 26 namespace memory { namespace in namespace:android::hidl 30 using ::android::hidl::memory::V1_0::IMapper; 31 using ::android::hidl::memory::V1_0::IMemory; 41 // Methods from ::android::hidl::memory::V1_0::IMapper follow. 48 } // namespace memory
|
AshmemMemory.h | 20 #include <android/hidl/memory/1.0/IMemory.h> 26 namespace memory { namespace in namespace:android::hidl 30 using ::android::hidl::memory::V1_0::IMemory; 41 AshmemMemory(const hidl_memory& memory, void* mappedMemory); 44 // Methods from ::android::hidl::memory::V1_0::IMemory follow. 59 // Mapped memory in process. 65 } // namespace memory
|
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
Chain.java | 17 package com.google.caliper.memory;
|
ObjectVisitor.java | 17 package com.google.caliper.memory;
|
/external/cmockery/cmockery_0_1_2/src/example/ |
allocate_module.c | 35 char * const memory = (char*)malloc(sizeof(int)); local 36 memory[sizeof(int)] = '!'; 37 free(memory); 41 char * const memory = (char*)malloc(sizeof(int)); local 42 memory[-1] = '!'; 43 free(memory);
|
/external/curl/docs/examples/ |
getinmemory.c | 24 * chunk of memory instead of storing it in a file. 35 char *memory; member in struct:MemoryStruct 45 mem->memory = realloc(mem->memory, mem->size + realsize + 1); 46 if(mem->memory == NULL) { 47 /* out of memory! */ 48 printf("not enough memory (realloc returned NULL)\n"); 52 memcpy(&(mem->memory[mem->size]), contents, realsize); 54 mem->memory[mem->size] = 0; 66 chunk.memory = malloc(1); /* will be grown as needed by the realloc above * [all...] |
postinmemory.c | 23 * Make a HTTP POST with data from memory and receive response in memory. 32 char *memory; member in struct:MemoryStruct 42 mem->memory = realloc(mem->memory, mem->size + realsize + 1); 43 if(mem->memory == NULL) { 44 /* out of memory! */ 45 printf("not enough memory (realloc returned NULL)\n"); 49 memcpy(&(mem->memory[mem->size]), contents, realsize); 51 mem->memory[mem->size] = 0 [all...] |
/external/freetype/src/autofit/ |
afpic.c | 57 FT_Memory memory = library->memory; local 83 FT_Memory memory = library->memory; local
|
/external/freetype/src/base/ |
ftmm.c | 154 FT_Memory memory; local 160 memory = library->memory;
|
ftsystem.c | 21 /* low-level, i.e. memory management, i/o access as well as thread */ 39 /* MEMORY MANAGEMENT INTERFACE */ 58 /* The memory allocation function. */ 61 /* memory :: A pointer to the memory object. */ 69 ft_alloc( FT_Memory memory, 72 FT_UNUSED( memory ); 84 /* The memory reallocation function. */ 87 /* memory :: A pointer to the memory object. * 289 FT_Memory memory; local [all...] |
/external/freetype/src/smooth/ |
ftspic.c | 37 FT_Memory memory = library->memory; local 60 FT_Memory memory = library->memory; local
|
/external/tensorflow/tensorflow/contrib/lite/ |
nnapi_delegate.h | 40 ANeuralNetworksMemory* memory() const { return handle_; } function in class:tflite::NNAPIAllocation
|
/hardware/interfaces/tests/memory/1.0/default/ |
MemoryTest.h | 20 #include <android/hardware/tests/memory/1.0/IMemoryTest.h> 28 namespace memory { namespace in namespace:android::hardware::tests 40 using ::android::hardware::tests::memory::V1_0::IMemoryTest; 41 using ::android::hidl::memory::block::V1_0::MemoryBlock; 42 using ::android::hidl::memory::token::V1_0::IMemoryToken; 44 struct Memory : public IMemoryTest { 45 // Methods from ::android::hardware::tests::memory::V1_0::IMemoryTest follow. 64 } // namespace memory
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
LruResourcePool.java | 17 package com.android.camera.processing.memory; 30 * @param key size of memory. 31 * @return T object representing a reusable n-bytes of memory.
|
/system/core/libunwindstack/tests/ |
MemoryOfflineTest.cpp | 23 #include <unwindstack/Memory.h> 37 memory = std::make_unique<MemoryOffline>(); 38 ASSERT_TRUE(memory != nullptr); 40 ASSERT_TRUE(memory->Init(temp_file.path, 0)); 46 std::unique_ptr<MemoryOffline> memory; member in class:unwindstack::MemoryOfflineTest 51 ASSERT_EQ(0U, memory->Read(offset - 1, &buf, 1)); 52 ASSERT_EQ(0U, memory->Read(offset + data.size(), &buf, 1)); 53 ASSERT_EQ(1U, memory->Read(offset, &buf, 1)); 55 ASSERT_EQ(1U, memory->Read(offset + data.size() - 1, &buf, 1)); 62 ASSERT_EQ(data.size(), memory->Read(offset, buf.data(), buf.size())) [all...] |
MemoryTest.cpp | 25 #include <unwindstack/Memory.h> 32 MemoryFakeAlwaysReadZero memory; local 35 ASSERT_TRUE(memory.Read32(0, &data)); 40 MemoryFakeAlwaysReadZero memory; local 43 ASSERT_TRUE(memory.Read64(0, &data)); 55 MemoryFakeAlwaysReadZero memory; local 59 ASSERT_TRUE(memory.ReadField(0, &data, &data.one, sizeof(data.one))); 63 ASSERT_TRUE(memory.ReadField(0, &data, &data.two, sizeof(data.two))); 67 ASSERT_TRUE(memory.ReadField(0, &data, &data.three, sizeof(data.three))); 71 ASSERT_TRUE(memory.ReadField(0, &data, &data.four, sizeof(data.four))) 76 MemoryFakeAlwaysReadZero memory; local 91 MemoryFake memory; local 112 MemoryFake memory; local [all...] |
/system/extras/memory_replay/tests/ |
ActionTest.cpp | 25 uint8_t memory[Action::MaxActionSize()]; local 27 Action* action = Action::CreateAction(0x1234, "malloc", line, memory); 40 uint8_t memory[128]; local 42 Action* action = Action::CreateAction(0x1234, "malloc", line, memory); 47 uint8_t memory[128]; local 49 Action* action = Action::CreateAction(0x1234, "free", line, memory); 60 uint8_t memory[128]; local 62 Action* action = Action::CreateAction(0x1234, "calloc", line, memory); 75 uint8_t memory[128]; local 77 Action* action = Action::CreateAction(0, "free", line, memory); 86 uint8_t memory[128]; local 97 uint8_t memory[128]; local 123 uint8_t memory[128]; local 134 uint8_t memory[128]; local 149 uint8_t memory[128]; local 160 uint8_t memory[128]; local [all...] |
/art/test/163-app-image-methods/src/ |
Main.java | 22 // Allocate memory for the "AAA.Derived" class name before eating memory. 24 System.out.println("Eating all memory."); 25 // Resolve VMClassLoader before eating all the memory since we can not fail 28 Object memory = eatAllMemory(); local 51 boolean memoryWasAllocated = (memory != null); 52 memory = null;
|
/art/test/669-moveable-string-class-equals/src/ |
Main.java | 48 // memory (with heap size limited to 16MiB), ensuring we run GC and stress the 60 memory[allocationIndex] = new Object[1024 / 4]; 62 if (allocationIndex == memory.length) { 78 // We shall retain some allocated memory and release old allocations 80 public static Object[] memory = new Object[4096]; field in class:Main
|
/external/ImageMagick/Magick++/lib/ |
ResourceLimits.cpp | 63 void Magick::ResourceLimits::memory(const MagickSizeType limit_) function in class:Magick::ResourceLimits 68 MagickCore::MagickSizeType Magick::ResourceLimits::memory(void) function in class:Magick::ResourceLimits
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryMappingTests.cpp | 21 * \brief Simple memory mapping tests. 65 namespace memory namespace in namespace:vkt 98 // memory is used. 285 // 1 B allocation from memory type 0 293 const Unique<VkDeviceMemory> memory (allocateMemory(vk, device, &allocInfo)); 564 log << TestLog::Message << "Remapping memory between flush and invalidation." << TestLog::EndMessage; 628 log << TestLog::Message << "Memory type does not support " << allocationKindName[static_cast<deUint32>(config.allocationKind)] << '.' << TestLog::EndMessage; 658 log << TestLog::Message << "Memory type doesn't support mapping." << TestLog::EndMessage; 662 log << TestLog::Message << "Memory type's heap is too small." << TestLog::EndMessage; 667 const Unique<VkDeviceMemory> memory (allocMemory(vkd, device, allocationSize, memoryTypeIndex, image, buffer)) [all...] |
/external/freetype/builds/unix/ |
ftsystem.c | 28 /* memory-mapping includes and definitions */ 75 /* MEMORY MANAGEMENT INTERFACE */ 86 /* The memory allocation function. */ 89 /* memory :: A pointer to the memory object. */ 97 ft_alloc( FT_Memory memory, 100 FT_UNUSED( memory ); 112 /* The memory reallocation function. */ 115 /* memory :: A pointer to the memory object. * 389 FT_Memory memory; local [all...] |
/external/freetype/builds/vms/ |
ftsystem.c | 28 /* memory-mapping includes and definitions */ 74 /* MEMORY MANAGEMENT INTERFACE */ 85 /* The memory allocation function. */ 88 /* memory :: A pointer to the memory object. */ 96 ft_alloc( FT_Memory memory, 99 FT_UNUSED( memory ); 111 /* The memory reallocation function. */ 114 /* memory :: A pointer to the memory object. * 297 FT_Memory memory; local [all...] |