Home
last modified time | relevance | path

Searched refs:memory_ (Results 1 – 25 of 33) sorted by relevance

12

/external/google-breakpad/src/processor/
Dstackwalker_ppc.cc53 if (memory_ && memory_->GetBase() + memory_->GetSize() - 1 > 0xffffffff) { in StackwalkerPPC()
58 HexString(memory_->GetBase()) << "+" << in StackwalkerPPC()
59 HexString(memory_->GetSize()); in StackwalkerPPC()
60 memory_ = NULL; in StackwalkerPPC()
86 if (!memory_ || !stack) { in GetCallerFrame()
107 if (!memory_->GetMemoryAtAddress(last_frame->context.gpr[1], in GetCallerFrame()
119 if (!memory_->GetMemoryAtAddress(stack_pointer + 8, &instruction) || in GetCallerFrame()
Dstackwalker_x86.cc96 if (memory_ && memory_->GetBase() + memory_->GetSize() - 1 > 0xffffffff) { in StackwalkerX86()
100 HexString(memory_->GetBase()) << "+" << in StackwalkerX86()
101 HexString(memory_->GetSize()); in StackwalkerX86()
102 memory_ = NULL; in StackwalkerX86()
365 PostfixEvaluator<uint32_t>(&dictionary, memory_); in GetCallerByWindowsFrameInfo()
453 if (has_skipped_frames || !memory_->GetMemoryAtAddress(ebp, &value)) { in GetCallerByWindowsFrameInfo()
461 if (!memory_->GetMemoryAtAddress(location, &ebp)) in GetCallerByWindowsFrameInfo()
464 if (memory_->GetMemoryAtAddress(ebp, &value)) { in GetCallerByWindowsFrameInfo()
514 .FindCallerRegisters(*memory_, *cfi_frame_info, in GetCallerByCFIFrameInfo()
564 if (memory_->GetMemoryAtAddress(last_ebp + 4, &caller_eip) && in GetCallerByEBPAtBase()
[all …]
Dstackwalker_mips.cc58 if (memory_ && memory_->GetBase() + memory_->GetSize() - 1 > 0xffffffff) { in StackwalkerMIPS()
60 << HexString(memory_->GetBase()) in StackwalkerMIPS()
62 << HexString(memory_->GetSize()); in StackwalkerMIPS()
63 memory_ = NULL; in StackwalkerMIPS()
111 if (!cfi_frame_info->FindCallerRegs(callee_registers, *memory_, in GetCallerByCFIFrameInfo()
170 if (!memory_ || !stack) { in GetCallerFrame()
252 if (!memory_->GetMemoryAtAddress(caller_sp - sizeof(caller_pc), in GetCallerByStackScan()
Dstackwalker_ppc64.cc77 if (!memory_ || !stack) { in GetCallerFrame()
98 if (!memory_->GetMemoryAtAddress(last_frame->context.gpr[1], in GetCallerFrame()
110 if (!memory_->GetMemoryAtAddress(stack_pointer + 16, &instruction) || in GetCallerFrame()
Dstackwalker_sparc.cc77 if (!memory_ || !stack) { in GetCallerFrame()
103 if (!memory_->GetMemoryAtAddress(stack_pointer + 60, in GetCallerFrame()
109 if (!memory_->GetMemoryAtAddress(stack_pointer + 56, in GetCallerFrame()
Dstackwalker_amd64.cc135 .FindCallerRegisters(*memory_, *cfi_frame_info, in GetCallerByCFIFrameInfo()
173 if (memory_->GetMemoryAtAddress(last_rbp + 8, &caller_rip) && in GetCallerByFramePointerRecovery()
174 memory_->GetMemoryAtAddress(last_rbp, &caller_rbp)) { in GetCallerByFramePointerRecovery()
230 if (memory_->GetMemoryAtAddress(last_frame->context.rbp, &caller_rbp) && in GetCallerByStackScan()
248 if (!memory_ || !stack) { in GetCallerFrame()
Dstackwalker_arm64.cc100 if (!cfi_frame_info->FindCallerRegs(callee_registers, *memory_, in GetCallerByCFIFrameInfo()
192 if (last_fp && !memory_->GetMemoryAtAddress(last_fp, &caller_fp)) { in GetCallerByFramePointer()
199 if (last_fp && !memory_->GetMemoryAtAddress(last_fp + 8, &caller_lr)) { in GetCallerByFramePointer()
228 if (!memory_ || !stack) { in GetCallerFrame()
Dpostfix_evaluator.h99 : dictionary_(dictionary), memory_(memory), stack_() {} in PostfixEvaluator()
168 const MemoryRegion *memory_; variable
Dstackwalker_arm.cc100 if (!cfi_frame_info->FindCallerRegs(callee_registers, *memory_, in GetCallerByCFIFrameInfo()
206 if (last_fp && !memory_->GetMemoryAtAddress(last_fp, &caller_fp)) { in GetCallerByFramePointer()
213 if (last_fp && !memory_->GetMemoryAtAddress(last_fp + 4, &caller_lr)) { in GetCallerByFramePointer()
242 if (!memory_ || !stack) { in GetCallerFrame()
Dpostfix_evaluator-inl.h145 if (!memory_) { in EvaluateToken()
159 if (!memory_->GetMemoryAtAddress(address, &value)) { in EvaluateToken()
Dminidump.cc1194 memory_(NULL) { in MinidumpMemoryRegion()
1199 delete memory_; in ~MinidumpMemoryRegion()
1218 if (!memory_) { in GetMemory()
1244 memory_ = memory.release(); in GetMemory()
1247 return &(*memory_)[0]; in GetMemory()
1272 delete memory_; in FreeMemory()
1273 memory_ = NULL; in FreeMemory()
1374 memory_(NULL), in MinidumpThread()
1380 delete memory_; in ~MinidumpThread()
1387 delete memory_; in Read()
[all …]
/external/libchrome/base/memory/
Dshared_memory_mac.cc78 : mapped_size_(0), memory_(NULL), read_only_(false), requested_size_(0) {} in SharedMemory()
83 memory_(NULL), in SharedMemory()
154 if (memory_) in MapAt()
157 bool success = shm_.MapAt(offset, bytes, &memory_, read_only_); in MapAt()
160 DCHECK_EQ(0U, reinterpret_cast<uintptr_t>(memory_) & in MapAt()
163 memory_ = NULL; in MapAt()
170 if (memory_ == NULL) in Unmap()
174 reinterpret_cast<mach_vm_address_t>(memory_), in Unmap()
176 memory_ = NULL; in Unmap()
203 success = MakeMachSharedMemoryHandleReadOnly(new_handle, shm_, memory_); in ShareToProcessCommon()
Dshared_memory_posix.cc116 memory_(NULL), in SharedMemory()
125 memory_(NULL), in SharedMemory()
347 if (memory_) in MapAt()
362 memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), in MapAt()
365 bool mmap_succeeded = memory_ != (void*)-1 && memory_ != NULL; in MapAt()
368 DCHECK_EQ(0U, reinterpret_cast<uintptr_t>(memory_) & in MapAt()
371 memory_ = NULL; in MapAt()
378 if (memory_ == NULL) in Unmap()
381 munmap(memory_, mapped_size_); in Unmap()
382 memory_ = NULL; in Unmap()
Dshared_memory.h190 void* memory() const { return memory_; } in memory()
279 void* memory_; variable
/external/v8/src/regexp/
Dregexp-stack.cc52 DeleteArray(thread_local_.memory_); in Reset()
60 DeleteArray(memory_); in Free()
75 reinterpret_cast<void*>(thread_local_.memory_), in EnsureCapacity()
77 DeleteArray(thread_local_.memory_); in EnsureCapacity()
79 thread_local_.memory_ = new_memory; in EnsureCapacity()
83 return thread_local_.memory_ + thread_local_.memory_size_; in EnsureCapacity()
Dregexp-stack.h49 return thread_local_.memory_ + thread_local_.memory_size_; in stack_base()
91 Address memory_; member
95 memory_ = NULL; in Clear()
104 return reinterpret_cast<Address>(&thread_local_.memory_); in memory_address()
/external/google-breakpad/src/common/mac/
Dmacho_walker.cc55 memory_(NULL), in MachoWalker()
68 memory_(memory), in MachoWalker()
104 if (memory_) { in ReadBytes()
114 memcpy(buffer, static_cast<char *>(memory_) + offset, size); in ReadBytes()
Dmacho_id.cc59 : memory_(0), in MachoID()
68 : memory_(memory), in MachoID()
243 if (memory_) { in WalkHeader()
244 MachoWalker walker(memory_, memory_size_, callback, context); in WalkHeader()
Dmacho_walker.h94 void *memory_; variable
Dmacho_id.h114 void *memory_; variable
/external/webp/src/enc/
Dpicture_enc.c55 picture->memory_ = NULL; in WebPPictureResetBufferYUVA()
104 WebPSafeFree(picture->memory_); in WebPPictureAllocYUVA()
132 picture->memory_ = (void*)mem; in WebPPictureAllocYUVA()
172 WebPSafeFree(picture->memory_); in WebPPictureFree()
/external/google-breakpad/src/google_breakpad/processor/
Dstackwalker.h166 if (!memory_->GetMemoryAtAddress(location, &ip)) in ScanForReturnAddress()
186 MemoryRegion* memory_; variable
/external/v8/src/base/platform/
Dplatform-posix.cc264 : file_(file), memory_(memory), size_(size) {} in PosixMemoryMappedFile()
266 void* memory() const final { return memory_; } in memory()
271 void* const memory_; member in v8::base::PosixMemoryMappedFile
315 if (memory_) OS::Free(memory_, size_); in ~PosixMemoryMappedFile()
Dplatform-win32.cc860 memory_(memory), in Win32MemoryMappedFile()
863 void* memory() const final { return memory_; } in memory()
869 void* const memory_; member in v8::base::Win32MemoryMappedFile
914 if (memory_) UnmapViewOfFile(memory_); in ~Win32MemoryMappedFile()
/external/v8/src/wasm/
Dwasm-module.cc958 memory_(memory) {} in WasmInstanceBuilder()
1099 if (!memory_.is_null()) { in Build()
1101 memory_->set_is_neuterable(false); in Build()
1103 memory_ = AllocateMemory(min_mem_pages); in Build()
1104 if (memory_.is_null()) return nothing; // failed to allocate memory in Build()
1107 if (!memory_.is_null()) { in Build()
1108 instance->set_memory_buffer(*memory_); in Build()
1109 Address mem_start = static_cast<Address>(memory_->backing_store()); in Build()
1111 static_cast<uint32_t>(memory_->byte_length()->Number()); in Build()
1122 compiled_module_->set_memory(memory_); in Build()
[all …]

12