Memory.cpp File Reference

#include <support/Memory.h>
#include <support_p/BinderKeys.h>
#include <support_p/SupportMisc.h>
#include <support/Binder.h>
#include <support/IMemory.h>
#include <support/KeyedVector.h>
#include <support/Parcel.h>
#include <support/Autolock.h>
#include <support/Locker.h>
#include <support/StdIO.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/shm.h>

Defines

#define A_BAD_HEAP_ID   (-1)
#define IS_VALID_HEAP_ID(_x)   ((_x) != -1)

Typedefs

typedef int32_t heap_id_t

Enumerations

enum  { kHeapID = 'memp', kGetMemory = 'memg', kAllocate = 'mema' }

Functions

 B_STATIC_STRING_VALUE_12 (key_Allocate,"Allocate",)
 B_STATIC_STRING_VALUE_12 (key_GetMemory,"GetMemory",)
 B_STATIC_STRING_VALUE_8 (key_HeapID,"HeapID",)


Define Documentation

#define A_BAD_HEAP_ID   (-1)
 

#define IS_VALID_HEAP_ID _x   )     ((_x) != -1)
 


Typedef Documentation

typedef int32_t heap_id_t
 


Enumeration Type Documentation

anonymous enum
 

Enumerator:
kHeapID 
kGetMemory 
kAllocate 


Function Documentation

B_STATIC_STRING_VALUE_12 key_Allocate  ,
"Allocate" 
 

B_STATIC_STRING_VALUE_12 key_GetMemory  ,
"GetMemory" 
 

B_STATIC_STRING_VALUE_8 key_HeapID  ,
"HeapID"