Lines Matching defs:Addr
24 // This is used to map a new set of contiguous pages. Note that the `Addr` is
26 bool map(uptr Addr, uptr Size, const char *Name, uptr Flags = 0) {
28 return invokeImpl(&Derived::mapImpl, Addr, Size, Name, Flags);
33 void unmap(uptr Addr, uptr Size) {
35 DCHECK((Addr == getBase()) || (Addr + Size == getBase() + getCapacity()));
36 invokeImpl(&Derived::unmapImpl, Addr, Size);
44 bool remap(uptr Addr, uptr Size, const char *Name, uptr Flags = 0) {
46 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity()));
47 return invokeImpl(&Derived::remapImpl, Addr, Size, Name, Flags);
52 void setMemoryPermission(uptr Addr, uptr Size, uptr Flags) {
54 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity()));
55 return invokeImpl(&Derived::setMemoryPermissionImpl, Addr, Size, Flags);
98 bool create(uptr Addr, uptr Size, const char *Name, uptr Flags = 0) {
100 return invokeImpl(&Derived::createImpl, Addr, Size, Name, Flags);
111 MemMapT dispatch(uptr Addr, uptr Size) {
113 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity()));
114 return invokeImpl(&Derived::dispatchImpl, Addr, Size);