Searched refs:base_ (Results 1 – 4 of 4) sorted by relevance
/system/memory/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/libbase/ |
D | mapped_file.cpp | 89 : base_(std::exchange(other.base_, nullptr)), in MappedFile() 101 base_ = std::exchange(other.base_, nullptr); in operator =() 116 if (base_ != nullptr && size_ != 0) UnmapViewOfFile(base_); in Close() 120 if (base_ != nullptr && size_ != 0) munmap(base_, size_ + offset_); in Close() 123 base_ = nullptr; in Close()
|
/system/libbase/include/android-base/ |
D | mapped_file.h | 70 char* data() const { return base_ + offset_; } in data() 78 char* base_; variable 85 : base_(base), size_(size), offset_(offset), handle_(handle) {} in MappedFile() 88 MappedFile(char* base, size_t size, size_t offset) : base_(base), size_(size), offset_(offset) {} in MappedFile()
|
/system/tools/aidl/ |
D | generate_java_binder.cpp | 50 explicit VariableFactory(const std::string& base) : base_(base), index_(0) {} in VariableFactory() 53 StringPrintf("%s%d", base_.c_str(), index_)); in Get() 63 std::string base_; member in android::aidl::java::VariableFactory
|