HomeSort by relevance Sort by last modified time
    Searched refs:uptr (Results 101 - 125 of 221) sorted by null

1 2 3 45 6 7 8 9

  /external/compiler-rt/lib/asan/
asan_report.cc 31 static uptr error_message_buffer_pos = 0;
32 static uptr error_message_buffer_size = 0;
36 uptr length = internal_strlen(buffer);
38 uptr remaining = error_message_buffer_size - error_message_buffer_pos;
100 u8 *bytes, u8 *guilty, uptr n) {
103 for (uptr i = 0; i < n; i++) {
149 static void PrintShadowMemoryForAddress(uptr addr) {
151 uptr shadow_addr = MemToShadow(addr);
152 const uptr n_bytes_per_row = 16;
153 uptr aligned_shadow = shadow_addr & ~(n_bytes_per_row - 1)
    [all...]
asan_internal.h 82 void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp);
87 void ReadContextStack(void *context, uptr *stack, uptr *ssize);
144 static const uptr kCurrentStackFrameMagic = 0x41B58AB3;
145 static const uptr kRetiredStackFrameMagic = 0x45E0360E;
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_coverage_libcdep.cc 64 void Extend(uptr npcs);
65 void Add(uptr pc);
67 uptr *data();
68 uptr size();
73 static const uptr kPcArrayMaxSize = FIRST_32_SECOND_64(1 << 22, 1 << 27);
75 static const uptr kPcArrayMmapSize = 64 * 1024;
79 uptr *pc_array;
85 uptr pc_array_mapped_size;
111 pc_array = reinterpret_cast<uptr *>(
112 MmapNoReserveOrDie(sizeof(uptr) * kPcArrayMaxSize, "CovInit"))
    [all...]
sanitizer_quarantine.h 29 static const uptr kSize = 1021;
31 uptr size;
32 uptr count;
40 // void *cb.Allocate(uptr size);
51 void Init(uptr size, uptr cache_size) {
57 void Put(Cache *c, Callback cb, Node *ptr, uptr size) {
75 uptr max_size_;
76 uptr min_size_;
77 uptr max_cache_size_
    [all...]
sanitizer_allocator.cc 24 extern "C" void *__libc_malloc(uptr size);
34 static void *RawInternalAlloc(uptr size, InternalAllocatorCache *cache) {
71 static void *RawInternalAlloc(uptr size, InternalAllocatorCache *cache) {
92 void *InternalAlloc(uptr size, InternalAllocatorCache *cache) {
114 void *LowLevelAllocator::Allocate(uptr size) {
118 uptr size_to_allocate = Max(size, GetPageSizeCached());
123 low_level_alloc_callback((uptr)allocated_current_,
137 bool CallocShouldReturnNullDueToOverflow(uptr size, uptr n) {
139 uptr max = (uptr)-1L
    [all...]
sanitizer_atomic_msvc.h 72 DCHECK(!((uptr)a % sizeof(*a)));
89 DCHECK(!((uptr)a % sizeof(*a)));
105 DCHECK(!((uptr)a % sizeof(*a)));
110 INLINE uptr atomic_fetch_add(volatile atomic_uintptr_t *a,
111 uptr v, memory_order mo) {
113 DCHECK(!((uptr)a % sizeof(*a)));
115 return (uptr)_InterlockedExchangeAdd64(
118 return (uptr)_InterlockedExchangeAdd(
126 DCHECK(!((uptr)a % sizeof(*a)));
131 INLINE uptr atomic_fetch_sub(volatile atomic_uintptr_t *a
    [all...]
sanitizer_stackdepot.cc 22 const uptr *stack;
23 uptr size;
29 u32 h = seed ^ (size * sizeof(uptr));
30 for (uptr i = 0; i < size; i++) {
50 uptr size;
51 uptr stack[1]; // [size]
66 uptr i = 0;
72 static uptr storage_size(const args_type &args) {
73 return sizeof(StackDepotNode) + (args.size - 1) * sizeof(uptr);
78 internal_memcpy(stack, args.stack, size * sizeof(uptr));
    [all...]
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_allocator_test.cc 33 static const uptr kAllocatorSpace = 0x700000000000ULL;
34 static const uptr kAllocatorSize = 0x010000000000ULL; // 1T.
46 static const uptr kRegionSizeLog = FIRST_32_SECOND_64(20, 24);
47 static const uptr kFlatByteMapSize = kAddressSpaceSize >> kRegionSizeLog;
84 static const uptr sizes[] = {1, 16, 30, 40, 100, 1000, 10000,
89 uptr last_total_allocated = 0;
92 for (uptr s = 0; s < ARRAY_SIZE(sizes); s++) {
93 uptr size = sizes[s];
96 uptr n_iter = std::max((uptr)6, 8000000 / size)
    [all...]
sanitizer_stoptheworld_testlib.cc 31 const uptr kSuspendDuration = 3;
32 const uptr kRunDuration = 3;
  /external/compiler-rt/lib/dfsan/
dfsan.h 31 void dfsan_add_label(dfsan_label label, void *addr, uptr size);
32 void dfsan_set_label(dfsan_label label, void *addr, uptr size);
33 dfsan_label dfsan_read_label(const void *addr, uptr size);
47 return (dfsan_label *) ((((uptr) ptr) & ~0x700000000000) << 1);
  /external/compiler-rt/lib/tsan/dd/
dd_rtl.h 62 void MutexBeforeLock(Thread *thr, uptr m, bool writelock);
63 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
64 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock);
65 void MutexDestroy(Thread *thr, uptr m);
  /external/compiler-rt/lib/tsan/rtl/
tsan_symbolize.cc 39 ReportStack *NewReportStackEntry(uptr addr) {
63 uptr offset;
64 uptr pc;
73 const uptr kExternalPCBit = 1ULL << 60;
77 extern "C" bool __tsan_symbolize_external(uptr pc,
78 char *func_buf, uptr func_siz,
79 char *file_buf, uptr file_siz,
83 bool __tsan_symbolize_external(uptr pc,
84 char *func_buf, uptr func_siz,
85 char *file_buf, uptr file_siz
    [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_sync.cc 20 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s);
27 void SyncVar::Init(ThreadState *thr, uptr pc, uptr addr, u64 uid) {
58 void MetaMap::AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz) {
69 uptr MetaMap::FreeBlock(ThreadState *thr, uptr pc, uptr p) {
73 uptr sz = RoundUpTo(b->siz, kMetaShadowCell)
    [all...]
tsan_defs.h 45 const uptr kShadowStackSize = 64 * 1024;
46 const uptr kTraceStackSize = 256;
51 const uptr kShadowCnt = TSAN_SHADOW_COUNT;
58 const uptr kShadowCnt = 4;
62 const uptr kShadowCell = 8;
65 const uptr kShadowSize = 8;
68 const uptr kShadowMultiplier = kShadowSize * kShadowCnt / kShadowCell;
72 const uptr kMetaShadowCell = 8;
75 const uptr kMetaShadowSize = 4;
169 MD5Hash md5_hash(const void *data, uptr size)
    [all...]
tsan_rtl.cc 97 uptr stk_addr, uptr stk_size,
98 uptr tls_addr, uptr tls_size)
121 uptr n_threads;
122 uptr n_running_threads;
149 uptr openrv = OpenFile(filename.data(), true);
161 uptr last_rss = 0;
180 uptr rss = GetRSS();
181 uptr limit = uptr(flags()->memory_limit_mb) << 20
    [all...]
tsan_rtl_thread.cc 50 uptr pc;
75 uptr stk_addr;
76 uptr stk_size;
77 uptr tls_addr;
78 uptr tls_size;
97 thr->shadow_stack = (uptr*)internal_alloc(MBlockShadowStack,
98 kInitStackSize * sizeof(uptr));
112 const uptr trace = (epoch0 / kTracePartSize) % TraceParts();
119 tid, (uptr)epoch0, args->stk_addr, args->stk_size,
157 for (uptr i = 0; i < leaks.Size(); i++)
    [all...]
tsan_platform_linux.cc 65 const uptr kPageSize = 4096;
79 void FillProfileCallback(uptr start, uptr rss, bool file,
80 uptr *mem, uptr stats_size) {
99 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
100 uptr mem[MemCount] = {};
111 uptr GetRSS()
    [all...]
tsan_clock.h 31 uptr size() const {
48 static const uptr kDirtyTids = 2;
75 uptr size() const {
88 static const uptr kDirtyTids = SyncClock::kDirtyTids;
92 uptr nclk_;
  /external/compiler-rt/lib/tsan/tests/unit/
tsan_vector_test.cc 21 EXPECT_EQ(v.Size(), (uptr)0);
23 EXPECT_EQ(v.Size(), (uptr)1);
26 EXPECT_EQ(v.Size(), (uptr)2);
35 EXPECT_EQ(v.Size(), (uptr)(i + 1));
  /external/compiler-rt/lib/msan/
msan_linux.cc 38 static const uptr kMemBeg = 0x600000000000;
39 static const uptr kMemEnd = 0x7fffffffffff;
40 static const uptr kShadowBeg = MEM_TO_SHADOW(kMemBeg);
41 static const uptr kShadowEnd = MEM_TO_SHADOW(kMemEnd);
42 static const uptr kBad1Beg = 0;
43 static const uptr kBad1End = kShadowBeg - 1;
44 static const uptr kBad2Beg = kShadowEnd + 1;
45 static const uptr kBad2End = kMemBeg - 1;
46 static const uptr kOriginsBeg = kBad2Beg;
47 static const uptr kOriginsEnd = kBad2End
    [all...]
msan_thread.cc 12 uptr PageSize = GetPageSizeCached();
13 uptr size = RoundUpTo(sizeof(MsanThread), PageSize);
23 uptr tls_size = 0;
24 uptr stack_size = 0;
31 CHECK(AddrIsInStack((uptr)&local));
39 for (uptr i = 0; i < dtls->dtv_size; ++i)
61 uptr size = RoundUpTo(sizeof(MsanThread), GetPageSizeCached());
msan.cc 105 static const uptr kNumStackOriginDescrs = 1024 * 1024;
107 static uptr StackOriginPC[kNumStackOriginDescrs];
190 void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp,
202 void PrintWarning(uptr pc, uptr bp) {
206 void PrintWarningWithOrigin(uptr pc, uptr bp, u32 origin) {
230 void UnpoisonParam(uptr n)
    [all...]
  /external/compiler-rt/lib/lsan/
lsan_common_linux.cc 40 uptr num_matches = GetListOfModules(
58 for (uptr j = 0; j < info->dlpi_phnum; j++) {
65 uptr begin = info->dlpi_addr + phdr->p_vaddr;
66 uptr end = begin + phdr->p_memsz;
67 uptr allocator_begin = 0, allocator_end = 0;
95 static uptr GetCallerPC(u32 stack_id, StackDepotReverseMap *map) {
97 uptr size = 0;
98 const uptr *trace = map->Get(stack_id, &size);
112 static void ProcessPlatformSpecificAllocationsCb(uptr chunk, void *arg) {
120 uptr caller_pc = 0
    [all...]
  /external/compiler-rt/lib/asan/tests/
asan_fake_stack_test.cc 36 // uptr alloc_size = FakeStack::RequiredSize(i);
47 for (uptr stack_size_log = 15; stack_size_log <= 20; stack_size_log++) {
48 uptr stack_size = 1UL << stack_size_log;
49 uptr offset = 0;
50 for (uptr class_id = 0; class_id < FakeStack::kNumberOfSizeClasses;
52 uptr frame_size = FakeStack::BytesInSizeClass(class_id);
53 uptr num_flags = stack_size / frame_size;
65 for (uptr stack_size_log = 20; stack_size_log <= 22; stack_size_log++) {
94 const uptr stack_size_log = 20;
95 const uptr stack_size = 1 << stack_size_log
    [all...]

Completed in 639 milliseconds

1 2 3 45 6 7 8 9