/external/chromium_org/base/memory/ |
H A D | shared_memory_nacl.cc | 23 memory_(NULL), 32 memory_(NULL), 42 memory_(NULL), 94 memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), 97 bool mmap_succeeded = memory_ != MAP_FAILED && memory_ != NULL; 100 DCHECK_EQ(0U, reinterpret_cast<uintptr_t>(memory_) & 103 memory_ = NULL; 110 if (memory_ == NULL) 113 if (munmap(memory_, mapped_size [all...] |
H A D | discardable_memory.cc | 12 : memory_(NULL), 24 return memory_;
|
H A D | discardable_memory_android.cc | 70 DCHECK(!memory_); 130 DCHECK(!memory_); 134 memory_ = mmap(NULL, size_, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, 0); 135 if (memory_ == (void*)-1) { 137 memory_ = NULL; 146 DCHECK(memory_); 148 if (-1 == munmap(memory_, size_)) 151 memory_ = NULL;
|
H A D | discardable_memory_mac.cc | 28 if (memory_) { 30 reinterpret_cast<vm_address_t>(memory_), 36 DCHECK(!memory_); 53 memory_ = reinterpret_cast<void*>(buffer); 63 reinterpret_cast<vm_address_t>(memory_), 81 reinterpret_cast<vm_address_t>(memory_),
|
H A D | shared_memory_win.cc | 27 memory_(NULL), 36 memory_(NULL), 46 memory_(NULL), 56 memory_(NULL), 166 memory_ = MapViewOfFile(mapped_file_, 171 if (memory_ != NULL) { 172 DCHECK_EQ(0U, reinterpret_cast<uintptr_t>(memory_) & 174 mapped_size_ = GetMemorySectionSize(memory_); 181 if (memory_ == NULL) 184 UnmapViewOfFile(memory_); [all...] |
H A D | discardable_memory.h | 106 void* memory_; member in class:base::DiscardableMemory
|
H A D | shared_memory_posix.cc | 49 memory_(NULL), 58 memory_(NULL), 74 memory_(NULL), 279 memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), 282 bool mmap_succeeded = memory_ != (void*)-1 && memory_ != NULL; 285 DCHECK_EQ(0U, reinterpret_cast<uintptr_t>(memory_) & 288 memory_ = NULL; 295 if (memory_ == NULL) 298 munmap(memory_, mapped_size [all...] |
H A D | shared_memory.h | 173 void *memory() const { return memory_; } 251 void* memory_; member in class:base::SharedMemory
|
/external/chromium_org/v8/src/ |
H A D | regexp-stack.cc | 75 DeleteArray(thread_local_.memory_); 83 DeleteArray(memory_); 99 reinterpret_cast<void*>(thread_local_.memory_), 101 DeleteArray(thread_local_.memory_); 103 thread_local_.memory_ = new_memory; 107 return thread_local_.memory_ + thread_local_.memory_size_;
|
H A D | regexp-stack.h | 68 return thread_local_.memory_ + thread_local_.memory_size_; 109 // If memory_size_ > 0 then memory_ must be non-NULL. 110 Address memory_; member in struct:v8::internal::RegExpStack::ThreadLocal 114 memory_ = NULL; 123 return reinterpret_cast<Address>(&thread_local_.memory_);
|
H A D | platform-cygwin.cc | 128 : file_(file), memory_(memory), size_(size) { } 130 virtual void* memory() { return memory_; } 134 void* memory_; member in class:v8::internal::PosixMemoryMappedFile 168 if (memory_) munmap(memory_, size_);
|
H A D | platform-freebsd.cc | 137 : file_(file), memory_(memory), size_(size) { } 139 virtual void* memory() { return memory_; } 143 void* memory_; member in class:v8::internal::PosixMemoryMappedFile 177 if (memory_) munmap(memory_, size_);
|
H A D | platform-macos.cc | 150 : file_(file), memory_(memory), size_(size) { } 152 virtual void* memory() { return memory_; } 156 void* memory_; member in class:v8::internal::PosixMemoryMappedFile 200 if (memory_) OS::Free(memory_, size_);
|
H A D | platform-openbsd.cc | 136 : file_(file), memory_(memory), size_(size) { } 138 virtual void* memory() { return memory_; } 142 void* memory_; member in class:v8::internal::PosixMemoryMappedFile 176 if (memory_) OS::Free(memory_, size_);
|
/external/v8/src/ |
H A D | regexp-stack.cc | 76 DeleteArray(thread_local_.memory_); 84 DeleteArray(memory_); 99 reinterpret_cast<void*>(thread_local_.memory_), 101 DeleteArray(thread_local_.memory_); 103 thread_local_.memory_ = new_memory; 107 return thread_local_.memory_ + thread_local_.memory_size_;
|
H A D | regexp-stack.h | 68 return thread_local_.memory_ + thread_local_.memory_size_; 109 // If memory_size_ > 0 then memory_ must be non-NULL. 110 Address memory_; member in struct:v8::internal::RegExpStack::ThreadLocal 114 memory_ = NULL; 123 return reinterpret_cast<Address>(&thread_local_.memory_);
|
/external/chromium/base/ |
H A D | shared_memory_win.cc | 14 memory_(NULL), 22 memory_(NULL), 31 memory_(NULL), 40 memory_(NULL), 140 memory_ = MapViewOfFile(mapped_file_, 142 if (memory_ != NULL) { 149 if (memory_ == NULL) 152 UnmapViewOfFile(memory_); 153 memory_ = NULL; 188 if (memory_ ! [all...] |
H A D | shared_memory_posix.cc | 32 memory_(NULL), 41 memory_(NULL), 57 memory_(NULL), 204 memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), 207 if (memory_) 210 bool mmap_succeeded = (memory_ != (void*)-1); 216 if (memory_ == NULL) 219 munmap(memory_, mapped_size_); 220 memory_ = NULL;
|
H A D | shared_memory.h | 124 void *memory() const { return memory_; } 205 void* memory_; member in class:base::SharedMemory
|
/external/chromium_org/ui/base/x/ |
H A D | selection_utils.cc | 142 memory_(memory), 148 memory_(rhs.memory_), 156 memory_ = rhs.memory_; 171 return memory_.get() ? memory_->front() : NULL; 175 return memory_.get() ? memory_->size() : 0; 181 return RefCountedMemoryToString(memory_); [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
H A D | safe_shared_memory_pool.cc | 63 MemoryMap::iterator it = memory_.find(shared_memory->handle()); 65 if (it == memory_.end()) { 71 memory_[shared_memory->handle()] = tracker; 99 MemoryMap::iterator it = memory_.find(handle); 100 CHECK(it != memory_.end()); 111 memory_.erase(it);
|
H A D | safe_shared_memory_pool.h | 64 MemoryMap memory_; member in class:gpu::SafeSharedMemoryPool
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | systeminfo.cc | 130 cpu_speed_(0), memory_(0) { 373 if (memory_) { 374 return memory_; 382 memory_ = status.ullTotalPhys; 385 memory_ = -1; 389 size_t len = sizeof(memory_); 390 int error = sysctlbyname("hw.memsize", &memory_, &len, NULL, 0); 391 if (error || memory_ == 0) { 392 memory_ = -1; 395 memory_ [all...] |
H A D | systeminfo.h | 92 int64 memory_; member in class:talk_base::SystemInfo
|
/external/chromium_org/tools/stats_viewer/ |
H A D | stats_table.cs | 174 return memory_.ToInt64() + Marshal.SizeOf(typeof(StatsFileHeader));
233 memory_ =
236 if (memory_ == IntPtr.Zero) {
241 header_ = (StatsFileHeader)Marshal.PtrToStructure(memory_, header_.GetType());
249 Win32.UnmapViewOfFile(memory_);
305 private IntPtr memory_;
field in class:StatsViewer.StatsTable
|