HomeSort by relevance Sort by last modified time
    Searched full:uptr (Results 76 - 100 of 194) sorted by null

1 2 34 5 6 7 8

  /external/compiler-rt/lib/asan/
asan_thread.cc 76 uptr PageSize = GetPageSizeCached();
77 uptr size = RoundUpTo(sizeof(AsanThread), PageSize);
106 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached());
125 thread_return_t AsanThread::ThreadStart(uptr os_id) {
148 uptr stack_size = 0, tls_size = 0;
155 CHECK(AddrIsInStack((uptr)&local));
164 const char *AsanThread::GetFrameNameByAddr(uptr addr, uptr *offset,
165 uptr *frame_pc) {
166 uptr bottom = 0
    [all...]
asan_interceptors.cc 30 static inline bool QuickCheckForUnpoisonedRegion(uptr beg, uptr size) {
45 uptr __offset = (uptr)(offset); \
46 uptr __size = (uptr)(size); \
47 uptr __bad = 0; \
61 static inline bool RangesOverlap(const char *offset1, uptr length1,
62 const char *offset2, uptr length2) {
82 static inline uptr MaybeRealStrnlen(const char *s, uptr maxlen)
    [all...]
asan_linux.cc 53 void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp) {
80 uptr *stk_ptr;
84 stk_ptr = (uptr *) (*sp + 2047);
89 stk_ptr = (uptr *) *sp;
111 void ReadContextStack(void *context, uptr *stack, uptr *ssize) {
113 *stack = (uptr)ucp->uc_stack.ss_sp;
117 void ReadContextStack(void *context, uptr *stack, uptr *ssize)
    [all...]
asan_report.cc 30 static uptr error_message_buffer_pos = 0;
31 static uptr error_message_buffer_size = 0;
35 uptr length = internal_strlen(buffer);
37 uptr remaining = error_message_buffer_size - error_message_buffer_pos;
109 u8 *guilty, uptr n) {
113 for (uptr i = 0; i < n; i++) {
146 static void PrintShadowMemoryForAddress(uptr addr) {
149 uptr shadow_addr = MemToShadow(addr);
150 const uptr n_bytes_per_row = 16;
151 uptr aligned_shadow = shadow_addr & ~(n_bytes_per_row - 1)
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_interceptors.cc 51 extern "C" int pthread_attr_setstacksize(void *attr, uptr stacksize);
52 extern "C" int pthread_attr_getstacksize(void *attr, uptr *stacksize);
63 extern "C" void *__libc_malloc(uptr size);
64 extern "C" void *__libc_calloc(uptr size, uptr n);
65 extern "C" void *__libc_realloc(void *ptr, uptr size);
139 MemoryResetRange(thr, (uptr)&SigCtx, (uptr)ctx, sizeof(*ctx));
149 ScopedInterceptor(ThreadState *thr, const char *fname, uptr pc);
157 uptr pc
    [all...]
tsan_rtl_thread.cc 51 uptr pc;
83 uptr stk_addr;
84 uptr stk_size;
85 uptr tls_addr;
86 uptr tls_size;
101 args->thr->shadow_stack = (uptr*)internal_alloc(MBlockShadowStack,
102 kInitStackSize * sizeof(uptr));
114 const uptr trace = (epoch0 / kTracePartSize) % TraceParts();
121 tid, (uptr)epoch0, args->stk_addr, args->stk_size,
157 for (uptr i = 0; i < leaks.Size(); i++)
    [all...]
tsan_platform_linux.cc 52 const uptr kPageSize = 4096;
80 static uptr readhex(const char *p) {
81 uptr v = 0;
91 static uptr readdec(const char *p) {
92 uptr v = 0;
98 void WriteMemoryProfile(char *buf, uptr buf_size) {
100 uptr smaps_cap = 0;
101 uptr smaps_len = ReadFileToBuffer("/proc/self/smaps",
103 uptr mem[6] = {};
104 uptr total = 0
    [all...]
tsan_mutexset.cc 18 const uptr MutexSet::kMaxSize;
27 for (uptr i = 0; i < size_; i++) {
38 for (uptr i = 0; i < size_; i++) {
56 for (uptr i = 0; i < size_; i++) {
66 for (uptr i = 0; i < size_; i++) {
74 void MutexSet::RemovePos(uptr i) {
80 uptr MutexSet::Size() const {
84 MutexSet::Desc MutexSet::Get(uptr i) const {
tsan_mutexset.h 25 static const uptr kMaxSize = 16;
38 uptr Size() const;
39 Desc Get(uptr i) const;
43 uptr size_;
47 void RemovePos(uptr i);
58 void MutexSet::RemovePos(uptr i) {}
59 uptr MutexSet::Size() const { return 0; }
60 MutexSet::Desc MutexSet::Get(uptr i) const { return Desc(); }
tsan_symbolize.h 21 ReportStack *SymbolizeCode(uptr addr);
22 ReportLocation *SymbolizeData(uptr addr);
25 ReportStack *SymbolizeCodeAddr2Line(uptr addr);
27 ReportStack *NewReportStackEntry(uptr addr);
tsan_symbolize_addr2line_linux.cc 33 uptr base;
41 uptr base;
42 uptr end;
105 m->base = (uptr)info->dlpi_addr;
113 (uptr)s->p_type, (uptr)s->p_offset, (uptr)s->p_vaddr,
114 (uptr)s->p_paddr, (uptr)s->p_filesz, (uptr)s->p_memsz
    [all...]
tsan_interface_java.cc 26 const uptr kHeapShadow = 0x300000000000ull;
27 const uptr kHeapAlignment = 8;
59 const uptr heap_begin;
60 const uptr heap_size;
66 uptr size = heap_size / kHeapAlignment * sizeof(BlockDesc);
68 if ((uptr)heap_shadow != kHeapShadow) {
77 ScopedJavaFunc(ThreadState *thr, uptr pc)
99 static BlockDesc *getblock(uptr addr) {
100 uptr i = (addr - jctx->heap_begin) / kHeapAlignment;
104 static uptr USED getmem(BlockDesc *b)
    [all...]
tsan_symbolize.cc 39 ReportStack *NewReportStackEntry(uptr addr) {
72 ReportStack *SymbolizeCode(uptr addr) {
76 static const uptr kMaxAddrFrames = 16;
78 for (uptr i = 0; i < kMaxAddrFrames; i++)
80 uptr addr_frames_num = __sanitizer::SymbolizeCode(addr, addr_frames.data(),
86 for (uptr i = 0; i < addr_frames_num; i++) {
99 ReportLocation *SymbolizeData(uptr addr) {
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_syscall_linux_x86_64.inc 14 static uptr internal_syscall(u64 nr) {
21 static uptr internal_syscall(u64 nr, T1 arg1) {
29 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2) {
37 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3) {
45 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4) {
55 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4,
68 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4,
80 bool internal_iserror(uptr retval, int *rverrno) {
81 if (retval >= (uptr)-4095) {
sanitizer_thread_registry.h 41 uptr os_id; // PID (used for reporting).
42 uptr user_id; // Some opaque user thread id (e.g. pthread_t).
57 void SetStarted(uptr _os_id, void *arg);
58 void SetCreated(uptr _user_id, u64 _unique_id, bool _detached,
81 void GetNumberOfThreads(uptr *total = 0, uptr *running = 0, uptr *alive = 0);
82 uptr GetMaxAliveThreads();
94 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg);
109 ThreadContextBase *FindThreadContextByOsIDLocked(uptr os_id)
    [all...]
sanitizer_symbolizer_linux_libcdep.cc 42 uptr GetListOfModules(LoadedModule *modules, uptr max_modules,
51 uptr current_n;
53 uptr max_n;
81 uptr cur_beg = info->dlpi_addr + phdr->p_vaddr;
82 uptr cur_end = cur_beg + phdr->p_memsz;
89 uptr GetListOfModules(LoadedModule *modules, uptr max_modules,
sanitizer_symbolizer_mac.cc 25 uptr GetListOfModules(LoadedModule *modules, uptr max_modules,
29 uptr cur_beg, cur_end, cur_offset;
31 uptr n_modules = 0;
32 for (uptr i = 0;
sanitizer_atomic_msvc.h 73 DCHECK(!((uptr)a % sizeof(*a)));
90 DCHECK(!((uptr)a % sizeof(*a)));
106 DCHECK(!((uptr)a % sizeof(*a)));
114 DCHECK(!((uptr)a % sizeof(*a)));
127 DCHECK(!((uptr)a % sizeof(*a)));
142 DCHECK(!((uptr)a % sizeof(*a)));
159 uptr *cmp,
160 uptr xchg,
162 uptr cmpv = *cmp;
163 uptr prev = (uptr)_InterlockedCompareExchangePointer
    [all...]
  /external/compiler-rt/lib/interception/
interception_linux.h 26 bool GetRealFunctionAddress(const char *func_name, uptr *func_addr,
27 uptr real, uptr wrapper);
32 #func, (::__interception::uptr*)&REAL(func), \
33 (::__interception::uptr)&(func), \
34 (::__interception::uptr)&WRAP(func))
interception_linux.cc 22 bool GetRealFunctionAddress(const char *func_name, uptr *func_addr,
23 uptr real, uptr wrapper) {
24 *func_addr = (uptr)dlsym(RTLD_NEXT, func_name);
  /external/compiler-rt/lib/lsan/
lsan_common.cc 80 uptr buffer_size;
99 static inline bool CanBeAHeapPointer(uptr p) {
102 const uptr kMinAddress = 4 * 4096;
118 void ScanRangeForPointers(uptr begin, uptr end,
121 const uptr alignment = flags()->pointer_alignment();
124 uptr pp = begin;
129 if (!CanBeAHeapPointer(reinterpret_cast<uptr>(p))) continue;
130 uptr chunk = PointsIntoChunk(p);
148 InternalScopedBuffer<uptr> registers(SuspendedThreadsList::RegisterCount())
    [all...]
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_thread_registry_test.cc 33 static void CheckThreadQuantity(ThreadRegistry *registry, uptr exp_total,
34 uptr exp_running, uptr exp_alive) {
35 uptr total, running, alive;
46 static uptr get_uid(u32 tid) {
56 uptr uid = (uptr)arg;
161 uptr shard; // started from 1.
168 uptr shard = (uptr)arg
    [all...]
sanitizer_linux_test.cc 67 for (uptr i = 0; i < kThreadCount; i++) {
79 for (uptr i = 0; i < pthread_ids_.size(); i++)
85 static const uptr kThreadCount = 20;
160 for (uptr i = 0; i < 2; i++) {
201 *(uptr *)((char *)ThreadSelf() + ThreadSelfOffset()) == ThreadSelf();
216 uptr descr_addr = ThreadSelf();
222 return (void *)((uptr)stackaddr + stacksize - descr_addr);
230 EXPECT_EQ((uptr)result, ThreadDescriptorSize());
242 for (uptr i = 0; i < ARRAY_SIZE(paths); i++)
243 for (uptr j = 0; j < ARRAY_SIZE(suffixes); j++)
    [all...]
  /external/compiler-rt/lib/msan/
msan_interceptors.cc 337 INTERCEPTOR(int, vsnprintf, char *str, uptr size,
356 INTERCEPTOR(int, vswprintf, void *str, uptr size, void *format, va_list ap) {
374 INTERCEPTOR(int, snprintf, char *str, uptr size, const char *format, ...) {
383 INTERCEPTOR(int, swprintf, void *str, uptr size, void *format, ...) {
771 static uptr calloc_memory_for_dlsym[kCallocPoolSize];
792 void __msan_allocated_memory(const void* data, uptr size) {
901 static uptr sigactions[kMaxSignals];
929 uptr old_cb = sigactions[signo];
934 uptr cb = __sanitizer::__sanitizer_get_sigaction_sa_sigaction(pnew_act);
935 uptr new_cb
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
cursesp.h 63 UserHook* uptr = reinterpret_cast<UserHook*>( local
65 return uptr;
73 UserHook* uptr = UserPointer(); local
74 assert (uptr != 0 && uptr->m_back==this && uptr->m_owner==p);
75 uptr->m_user = user;
81 UserHook* uptr = UserPointer(); local
82 assert (uptr != 0 && uptr->m_back==this && uptr->m_owner==p)
    [all...]

Completed in 154 milliseconds

1 2 34 5 6 7 8