Searched refs:base_ (Results 1 – 4 of 4) sorted by relevance
/system/core/libmemunreachable/ |
D | PtracerThread.cpp | 47 base_ = mmap(NULL, size_, prot, flags, -1, 0); in Stack() 48 if (base_ == MAP_FAILED) { in Stack() 49 base_ = NULL; in Stack() 53 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, base_, size_, "libmemunreachable stack"); in Stack() 54 mprotect(base_, page_size_, PROT_NONE); in Stack() 57 ~Stack() { munmap(base_, size_); }; in ~Stack() 59 return reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(base_) + size_ - page_size_); in top() 65 void* base_; member in android::Stack
|
/system/core/base/include/android-base/ |
D | mapped_file.h | 54 char* data() { return base_ + offset_; } in data() 60 char* base_; variable 67 : base_(base), size_(size), offset_(offset), handle_(handle) {} in MappedFile() 70 MappedFile(char* base, size_t size, size_t offset) : base_(base), size_(size), offset_(offset) {} in MappedFile()
|
/system/core/base/ |
D | mapped_file.cpp | 76 if (base_ != nullptr) UnmapViewOfFile(base_); in ~MappedFile() 79 if (base_ != nullptr) munmap(base_, size_ + offset_); in ~MappedFile() 82 base_ = nullptr; in ~MappedFile()
|
/system/tools/aidl/ |
D | generate_java_binder.cpp | 52 explicit VariableFactory(const std::string& base) : base_(base), index_(0) {} in VariableFactory() 54 Variable* v = new Variable(type->JavaType(), StringPrintf("%s%d", base_.c_str(), index_)); in Get() 64 std::string base_; member in android::aidl::java::VariableFactory
|