• Home
  • Raw
  • Download

Lines Matching refs:uptr

37 uptr GetPageSize() {  in GetPageSize()
43 uptr GetMmapGranularity() { in GetMmapGranularity()
47 uptr GetMaxVirtualAddress() { in GetMaxVirtualAddress()
50 return (uptr)si.lpMaximumApplicationAddress; in GetMaxVirtualAddress()
57 uptr internal_getpid() { in internal_getpid()
63 uptr GetTid() { in GetTid()
67 uptr GetThreadSelf() { in GetThreadSelf()
72 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom()
73 uptr *stack_bottom) { in GetThreadStackTopAndBottom()
81 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize; in GetThreadStackTopAndBottom()
82 *stack_bottom = (uptr)mbi.AllocationBase; in GetThreadStackTopAndBottom()
86 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie()
94 void UnmapOrDie(void *addr, uptr size) { in UnmapOrDie()
106 void *MmapFixedNoReserve(uptr fixed_addr, uptr size, const char *name) { in MmapFixedNoReserve()
119 void *MmapFixedOrDie(uptr fixed_addr, uptr size) { in MmapFixedOrDie()
123 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie()
128 void *MmapNoAccess(uptr fixed_addr, uptr size, const char *name) { in MmapNoAccess()
139 bool MprotectNoAccess(uptr addr, uptr size) { in MprotectNoAccess()
145 void FlushUnneededShadowMemory(uptr addr, uptr size) { in FlushUnneededShadowMemory()
150 void NoHugePagesInRegion(uptr addr, uptr size) { in NoHugePagesInRegion()
154 void DontDumpShadowMemory(uptr addr, uptr length) { in DontDumpShadowMemory()
159 bool MemoryRangeIsAvailable(uptr range_start, uptr range_end) { in MemoryRangeIsAvailable()
163 (uptr)mbi.BaseAddress + mbi.RegionSize >= range_end; in MemoryRangeIsAvailable()
166 void *MapFileToMemory(const char *file_name, uptr *buff_size) { in MapFileToMemory()
170 void *MapWritableFileToMemory(void *addr, uptr size, fd_t fd, OFF_T offset) { in MapWritableFileToMemory()
220 uptr base_address;
221 uptr end_address;
238 uptr num_modules = in DumpProcessMap()
282 void SetStackSizeLimitInBytes(uptr limit) { in SetStackSizeLimitInBytes()
325 static uptr GetPreferredBase(const char *modname) { in GetPreferredBase()
333 uptr bytes_read; in GetPreferredBase()
369 return (uptr)pe_header->ImageBase; in GetPreferredBase()
373 uptr GetListOfModules(LoadedModule *modules, uptr max_modules, in GetListOfModules()
380 uptr modules_buffer_size = sizeof(HMODULE) * 256; in GetListOfModules()
420 uptr base_address = (uptr)mi.lpBaseOfDll; in GetListOfModules()
421 uptr end_address = (uptr)mi.lpBaseOfDll + mi.SizeOfImage; in GetListOfModules()
427 uptr preferred_base = GetPreferredBase(&module_name[0]); in GetListOfModules()
428 uptr adjusted_base = base_address - preferred_base; in GetListOfModules()
453 for (uptr i = 0; i < atexit_functions.size(); ++i) { in RunAtexit()
487 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, in ReadFromFile()
508 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile()
515 uptr dummy_bytes_written; in WriteToFile()
546 uptr internal_sched_yield() { in internal_sched_yield()
555 uptr internal_ftruncate(fd_t fd, uptr size) { in internal_ftruncate()
559 uptr GetRSS() { in GetRSS()
567 const uptr LOCK_UNINITIALIZED = 0;
568 const uptr LOCK_READY = (uptr)-1;
610 uptr GetTlsSize() { in GetTlsSize()
617 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls()
618 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls()
625 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
635 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack()
646 uptr pc_location = LocatePcInTrace(pc); in SlowUnwindStack()
650 void BufferedStackTrace::SlowUnwindStackWithContext(uptr pc, void *context, in SlowUnwindStackWithContext()
674 trace_buffer[size++] = (uptr)stack_frame.AddrPC.Offset; in SlowUnwindStackWithContext()
679 void ReportFile::Write(const char *buffer, uptr length) { in Write()
708 bool IsAccessibleMemoryRange(uptr beg, uptr size) { in IsAccessibleMemoryRange()
711 uptr page_size = si.dwPageSize; in IsAccessibleMemoryRange()
712 uptr page_mask = ~(page_size - 1); in IsAccessibleMemoryRange()
714 for (uptr page = beg & page_mask, end = (beg + size - 1) & page_mask; in IsAccessibleMemoryRange()
737 uptr pc = (uptr)exception_record->ExceptionAddress; in Create()
739 uptr bp = (uptr)context_record->Rbp; in Create()
740 uptr sp = (uptr)context_record->Rsp; in Create()
742 uptr bp = (uptr)context_record->Ebp; in Create()
743 uptr sp = (uptr)context_record->Esp; in Create()
745 uptr access_addr = exception_record->ExceptionInformation[1]; in Create()
750 uptr ReadBinaryName(/*out*/char *buf, uptr buf_len) { in ReadBinaryName()
757 uptr ReadLongProcessName(/*out*/char *buf, uptr buf_len) { in ReadLongProcessName()