Lines Matching refs:capacity
60 const size_t capacity = max_capacity_; in Initialize() local
61 const size_t data_capacity = capacity / kCodeAndDataCapacityDivider; in Initialize()
62 const size_t exec_capacity = capacity - data_capacity; in Initialize()
70 mem_fd = unique_fd(CreateZygoteMemory(capacity, error_msg)); in Initialize()
87 } else if (ftruncate(mem_fd, capacity) != 0) { in Initialize()
170 oss << "Failed to create read write cache: " << error_str << " size=" << capacity; in Initialize()
192 oss << "Failed to create read execute code cache: " << error_str << " size=" << capacity; in Initialize()
506 int JitMemoryRegion::CreateZygoteMemory(size_t capacity, std::string* error_msg) { in CreateZygoteMemory() argument
524 if (ftruncate(fd, capacity) != 0) { in CreateZygoteMemory()
537 PaletteStatus status = PaletteAshmemCreateRegion(kRegionName, capacity, &fd); in CreateZygoteMemory()
572 int JitMemoryRegion::CreateZygoteMemory(size_t capacity, std::string* error_msg) { in CreateZygoteMemory() argument
583 if (ftruncate(fd, capacity) != 0) { in CreateZygoteMemory()