HomeSort by relevance Sort by last modified time
    Searched refs:Memory (Results 1 - 25 of 290) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
EfiLibAllocate.c 18 Support routines for memory allocation routines for use with drivers.
45 VOID *Memory;
47 Memory = NULL;
48 gBS->AllocatePool (EfiBootServicesData, AllocationSize, &Memory);
49 return Memory;
72 VOID *Memory;
74 Memory = NULL;
75 gBS->AllocatePool (EfiRuntimeServicesData, AllocationSize, &Memory);
76 return Memory;
99 VOID *Memory;
    [all...]
  /art/cmdline/
memory_representation.h 28 // An integral representation of bytes of memory.
31 struct Memory {
34 static Memory<kDivisor> FromBytes(size_t bytes) {
36 return Memory<kDivisor>(bytes);
39 Memory() : Value(0u) {}
40 Memory(size_t value) : Value(value) { // NOLINT [runtime/explicit] [5]
52 str = "Memory<" + std::to_string(kDivisor) + '>';
62 std::ostream& operator<<(std::ostream& stream, Memory<kDivisor> memory) {
63 return stream << memory.Value << '*' << kDivisor
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/
MemoryAllocationLib.c 19 Support routines for memory allocation routines for use with drivers.
26 Allocates one or more 4KB pages of a certain memory type.
28 Allocates the number of 4KB pages of a certain memory type and returns a pointer to the allocated
30 If there is not enough memory remaining to satisfy the request, then NULL is returned.
32 @param MemoryType The type of memory to allocate.
45 EFI_PHYSICAL_ADDRESS Memory;
51 Status = PeiServicesAllocatePages (MemoryType, Pages, &Memory);
53 Memory = 0;
55 return (VOID *) (UINTN) Memory;
63 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
    [all...]
  /system/core/libunwindstack/
Elf.h 22 #include <memory>
26 #include "Memory.h"
37 Elf(Memory* memory) : memory_(memory) {}
52 bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory) {
56 ElfInterface* CreateInterfaceFromMemory(Memory* memory);
64 Memory* memory() { return memory_.get(); function in class:Elf
    [all...]
MapInfo.h 26 class Memory;
37 // entire file is represented by the Memory object returned by CreateMemory,
41 Memory* CreateMemory(pid_t pid);
Memory.h 27 class Memory {
29 Memory() = default;
30 virtual ~Memory() = default;
50 class MemoryBuffer : public Memory {
67 class MemoryFileAtOffset : public Memory {
97 class MemoryRemote : public Memory {
110 class MemoryLocal : public Memory {
118 class MemoryRange : public Memory {
120 MemoryRange(Memory* memory, uint64_t begin, uint64_t end
    [all...]
ElfInterface.h 23 #include <memory>
29 class Memory;
46 ElfInterface(Memory* memory) : memory_(memory) {}
57 virtual bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory);
59 Memory* CreateGnuDebugdataMemory();
61 Memory* memory() { return memory_; } function in class:ElfInterface
89 Memory* memory_
    [all...]
  /external/llvm/unittests/Support/
MemoryTest.cpp 10 #include "llvm/Support/Memory.h"
28 // Adds RW flags to permit testing of the resulting memory
31 case Memory::MF_READ:
32 case Memory::MF_WRITE:
33 case Memory::MF_READ|Memory::MF_WRITE:
34 return Memory::MF_READ|Memory::MF_WRITE;
35 case Memory::MF_READ|Memory::MF_EXEC
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/PeiMemoryAllocationLib/
MemoryAllocationLib.c 2 Support routines for memory allocation routines
28 Allocates one or more 4KB pages of a certain memory type.
30 Allocates the number of 4KB pages of a certain memory type and returns a pointer to the allocated
32 If there is not enough memory remaining to satisfy the request, then NULL is returned.
34 @param MemoryType The type of memory to allocate.
47 EFI_PHYSICAL_ADDRESS Memory;
53 Status = PeiServicesAllocatePages (MemoryType, Pages, &Memory);
58 return (VOID *) (UINTN) Memory;
66 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
88 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
    [all...]
  /external/v8/src/arm/
assembler-arm-inl.h 79 Assembler::IsMovW(Memory::int32_at(pc_))) {
85 DCHECK(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_)));
140 return Memory::Address_at(pc_);
167 Address address = Memory::Address_at(pc_);
174 return Cell::FromValueAddress(Memory::Address_at(pc_));
183 Memory::Address_at(pc_) = address;
203 Memory::Address_at(pc_ +
211 Memory::Address_at(pc_ +
221 return Memory::Address_at(pc_ + Assembler::kPatchDebugBreakSlotAddressOffset);
227 Memory::Address_at(pc_ + Assembler::kPatchDebugBreakSlotAddressOffset)
    [all...]
  /device/linaro/bootloader/edk2/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/
MemoryAllocationLib.c 2 Support routines for memory allocation routines based
9 can detect if the memory rang is for EFI so the right free can be
35 Allocates one or more 4KB pages of a certain memory type.
37 Allocates the number of 4KB pages of a certain memory type and returns a pointer to the allocated
39 If there is not enough memory remaining to satisfy the request, then NULL is returned.
41 @param MemoryType The type of memory to allocate.
54 EFI_PHYSICAL_ADDRESS Memory;
68 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
90 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
112 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/
MemoryAllocationLib.c 19 Support routines for memory allocation routines for use with drivers.
27 Allocates one or more 4KB pages of a certain memory type.
29 Allocates the number of 4KB pages of a certain memory type and returns a pointer to the allocated
31 If there is not enough memory remaining to satisfy the request, then NULL is returned.
33 @param MemoryType The type of memory to allocate.
46 EFI_PHYSICAL_ADDRESS Memory;
52 Status = (gBS->AllocatePages) (AllocateAnyPages, MemoryType, Pages, &Memory);
54 Memory = 0;
56 return (VOID *) (UINTN) Memory;
64 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/
MemoryAllocationLib.c 2 Support routines for memory allocation routines based
26 Allocates one or more 4KB pages of a certain memory type.
28 Allocates the number of 4KB pages of a certain memory type and returns a pointer to the allocated
30 If there is not enough memory remaining to satisfy the request, then NULL is returned.
32 @param MemoryType The type of memory to allocate.
45 EFI_PHYSICAL_ADDRESS Memory;
51 Status = CoreAllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
55 return (VOID *) (UINTN) Memory;
63 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
85 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
    [all...]
DxeCoreMemoryAllocationServices.h 2 Contains function prototypes for Memory Services in DxeCore.
4 This header file borrows the DxeCore Memory Allocation services as the primitive
5 for memory allocation.
23 Allocates pages from the memory map.
26 @param MemoryType The type of memory to turn the allocated pages
29 @param Memory A pointer to receive the base allocated memory
32 @return Status. On success, Memory is filled in with the base address allocated
46 IN OUT EFI_PHYSICAL_ADDRESS *Memory
54 @param Memory Base address of memory being freed
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/
MemoryAllocationLib.c 2 Support routines for memory allocation routines based on SMM Core internal functions.
5 of EfiRuntimeServicesCode and EfiRuntimeServicesData memory types for memory
7 in the Memory Allocation Library use EfiBootServicesData as the default memory
8 allocation type. For this SMM specific instance of the Memory Allocation Library,
9 EfiRuntimeServicesData is used as the default memory type for all allocations.
10 In addition, allocation for the Reserved memory types are not supported and will
63 Allocates one or more 4KB pages of a certain memory type.
65 Allocates the number of 4KB pages of a certain memory type and returns a pointer to the allocated
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/SmmMemoryAllocationLib/
MemoryAllocationLib.c 2 Support routines for memory allocation routines based
6 of EfiRuntimeServicesCode and EfiRuntimeServicesData memory types for memory
8 reserved after BDS phase. The functions in the Memory Allocation Library use
9 EfiBootServicesData as the default memory allocation type. For this SMM
10 specific instance of the Memory Allocation Library, EfiRuntimeServicesData
11 is used as the default memory type for all allocations. In addition,
12 allocation for the Reserved memory types are not supported and will always
139 Allocates one or more 4KB pages of a certain memory type.
141 Allocates the number of 4KB pages of a certain memory type and returns a pointer
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/UefiMemoryAllocationLib/
MemoryAllocationLib.c 2 Support routines for memory allocation routines based
26 Allocates one or more 4KB pages of a certain memory type.
28 Allocates the number of 4KB pages of a certain memory type and returns a pointer to the allocated
30 If there is not enough memory remaining to satisfy the request, then NULL is returned.
32 @param MemoryType The type of memory to allocate.
45 EFI_PHYSICAL_ADDRESS Memory;
51 Status = gBS->AllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
55 return (VOID *) (UINTN) Memory;
63 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
85 is returned. If there is not enough memory remaining to satisfy the request, then NULL is
    [all...]
  /device/linaro/bootloader/edk2/ArmPkg/Library/DebugUncachedMemoryAllocationLib/
DebugUncachedMemoryAllocationLib.c 3 protocol, produced by the DXE CPU driver, to produce debuggable uncached memory buffers.
5 The DMA rules for EFI contain the concept of a PCI (DMA master) address for memory and
6 a CPU (C code) address for the memory buffer that don't have to be the same. There seem to
8 the PCI (DMA master) address to not be mapped into system memory so if the CPU (C code)
57 // Assume all of memory has the same cache attributes, unless we do our magic
211 EFI_PHYSICAL_ADDRESS Memory;
236 Status = gBS->AllocatePages (AllocateAnyPages, MemoryType, RealPages, &Memory);
240 AlignedMemory = ((UINTN) Memory + AlignmentMask) & ~AlignmentMask;
241 UnalignedPages = EFI_SIZE_TO_PAGES (AlignedMemory - (UINTN) Memory);
246 Status = gBS->FreePages (Memory, UnalignedPages);
    [all...]
  /device/linaro/bootloader/edk2/ArmPkg/Library/UncachedMemoryAllocationLib/
UncachedMemoryAllocationLib.c 46 // Assume all of memory has the same cache attributes, unless we do our magic
69 * @param MemoryType Type of memory requested for the new allocation
91 EFI_PHYSICAL_ADDRESS Memory;
150 Status = gBS->AllocatePages (AllocateAnyPages, MemoryType, Pages, &Memory);
155 Status = gDS->GetMemorySpaceDescriptor (Memory, &Descriptor);
157 // We are making an assumption that all of memory has the same default attributes
160 gBS->FreePages (Memory, Pages);
164 Status = gDS->SetMemorySpaceAttributes (Memory, EFI_PAGES_TO_SIZE (Pages), EFI_MEMORY_WC);
166 gBS->FreePages (Memory, Pages);
170 InvalidateDataCacheRange ((VOID *)(UINTN)Memory, EFI_PAGES_TO_SIZE (Pages));
    [all...]
  /external/llvm/include/llvm/IR/
PredIteratorCache.h 33 /// Memory - This is the space that holds cached preds.
34 BumpPtrAllocator Memory;
53 Entry = Memory.Allocate<BasicBlock *>(PredCache.size());
73 Memory.Reset();
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
PredIteratorCache.h 32 /// Memory - This is the space that holds cached preds.
33 BumpPtrAllocator Memory;
51 Entry = Memory.Allocate<BasicBlock*>(PredCache.size());
65 Memory.Reset();
  /hardware/interfaces/tests/memory/1.0/default/
MemoryTest.cpp 17 #define LOG_TAG "android.hardware.tests.memory@1.0"
25 #include <android/hidl/memory/1.0/IMemory.h>
27 using android::hidl::memory::V1_0::IMemory;
32 namespace memory { namespace in namespace:android::hardware::tests
36 // Methods from ::android::hardware::tests::memory::V1_0::IMemoryTest follow.
37 Return<void> Memory::haveSomeMemory(const hidl_memory& mem, haveSomeMemory_cb _hidl_cb) {
42 Return<void> Memory::fillMemory(const hidl_memory& memory_in, uint8_t filler) {
43 sp<IMemory> memory = mapMemory(memory_in); local
45 if (memory == nullptr) {
50 uint8_t* data = static_cast<uint8_t*>(static_cast<void*>(memory->getPointer()))
    [all...]
  /libcore/luni/src/test/java/libcore/io/
MemoryTest.java 42 Memory.pokeIntArray(ptr, values, 0, values.length, false);
47 Memory.pokeIntArray(ptr, values, 0, values.length, true);
53 Memory.pokeIntArray(ptr + i * scale, values, i, 1, true);
62 assertEquals(expectedValues[i], Memory.peekInt(ptr + SizeOf.INT * i, swap));
83 Memory.pokeLongArray(ptr, values, 0, values.length, false);
88 Memory.pokeLongArray(ptr, values, 0, values.length, true);
94 Memory.pokeLongArray(ptr + i * scale, values, i, 1, true);
103 assertEquals(expectedValues[i], Memory.peekLong(ptr + SizeOf.LONG * i, swap));
121 Memory.pokeShortArray(ptr, values, 0, values.length, false);
126 Memory.pokeShortArray(ptr, values, 0, values.length, true)
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
Page.c 2 SMM Memory page management functions.
26 @param MaxAddress Request to allocate memory below this address.
28 @return Memory address of allocated pages.
68 @param MaxAddress Request to allocate memory below this address.
70 @return Memory address of allocated pages.
98 @param MaxAddress Request to allocate memory below this address.
100 @return Memory address of allocated pages.
132 Allocates pages from the memory map.
135 @param MemoryType The type of memory to turn the allocated pages
138 @param Memory A pointer to receive the base allocated memory
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
DebugImageInfo.c 43 EFI_PHYSICAL_ADDRESS Memory;
59 // Attempt to allocate memory below PcdMaxEfiSystemTablePointerAddress
60 // If PcdMaxEfiSystemTablePointerAddress is 0, then allocate memory below
63 Memory = PcdGet64 (PcdMaxEfiSystemTablePointerAddress);
64 if (Memory == 0) {
65 Memory = MAX_ADDRESS;
71 &Memory
75 DEBUG ((EFI_D_INFO, "Allocate memory for EFI_SYSTEM_TABLE_POINTER below PcdMaxEfiSystemTablePointerAddress failed. \
76 Retry to allocate memroy as close to the top of memory as feasible.\n"));
79 // If the initial memory allocation fails, then reattempt allocation
    [all...]

Completed in 637 milliseconds

1 2 3 4 5 6 7 8 91011>>