Home
last modified time | relevance | path

Searched refs:__msan_test_shadow (Results 1 – 25 of 40) sorted by relevance

12

/external/compiler-rt/test/msan/
Ddtor-multiple-inheritance-nontrivial-class-members.cc14 assert(__msan_test_shadow(&this->size, sizeof(this->size)) == -1); in ~Vector()
33 assert(__msan_test_shadow(&virtual_v, sizeof(virtual_v)) == -1); in ~VirtualBase()
34 assert(__msan_test_shadow(&virtual_a, sizeof(virtual_a)) == -1); in ~VirtualBase()
36 assert(__msan_test_shadow(intermediate_a_ptr, in ~VirtualBase()
47 assert(__msan_test_shadow(&this->intermediate_a, in ~Intermediate()
50 assert(__msan_test_shadow(&virtual_v, sizeof(virtual_v)) == -1); in ~Intermediate()
51 assert(__msan_test_shadow(&virtual_a, sizeof(virtual_a)) == -1); in ~Intermediate()
52 assert(__msan_test_shadow(intermediate_a_ptr, in ~Intermediate()
80 assert(__msan_test_shadow(&base_a, sizeof(base_a)) == -1); in ~Base()
81 assert(__msan_test_shadow(&base_v, sizeof(base_v)) == -1); in ~Base()
[all …]
Ddtor-multiple-inheritance.cc27 assert(__msan_test_shadow(&this->x, sizeof(this->x) == -1)); in ~A()
29 assert(__msan_test_shadow(temp_y, sizeof(*temp_y)) != -1); in ~A()
30 assert(__msan_test_shadow(temp_z, sizeof(*temp_z)) != -1); in ~A()
31 assert(__msan_test_shadow(temp_w, sizeof(*temp_w)) != -1); in ~A()
40 assert(__msan_test_shadow(&this->y, sizeof(this->y)) == -1); in ~B()
42 assert(__msan_test_shadow(&this->x, sizeof(this->x)) == -1); in ~B()
44 assert(__msan_test_shadow(temp_z, sizeof(*temp_z)) != -1); in ~B()
45 assert(__msan_test_shadow(temp_w, sizeof(*temp_w)) != -1); in ~B()
54 assert(__msan_test_shadow(&this->z, sizeof(this->z)) == -1); in ~C()
56 assert(__msan_test_shadow(&this->x, sizeof(this->x)) == -1); in ~C()
[all …]
Ddtor-trivial-class-members.cc17 assert(__msan_test_shadow(&this->size, sizeof(this->size)) == -1); in ~Vector()
36 assert(__msan_test_shadow(&derived_a, sizeof(derived_a)) == -1); in ~Derived()
37 assert(__msan_test_shadow(&derived_v1, sizeof(derived_v1)) == -1); in ~Derived()
38 assert(__msan_test_shadow(&derived_v2, sizeof(derived_v2)) == -1); in ~Derived()
39 assert(__msan_test_shadow(&derived_b, sizeof(derived_b)) == -1); in ~Derived()
40 assert(__msan_test_shadow(&derived_c, sizeof(derived_c)) == -1); in ~Derived()
48 assert(__msan_test_shadow(&d->derived_a, sizeof(d->derived_a)) != -1); in main()
49 assert(__msan_test_shadow(&d->derived_v1, sizeof(d->derived_v1)) != -1); in main()
50 assert(__msan_test_shadow(&d->derived_v2, sizeof(d->derived_v2)) != -1); in main()
51 assert(__msan_test_shadow(&d->derived_b, sizeof(d->derived_b)) != -1); in main()
[all …]
Dscandir.cc21 assert(__msan_test_shadow(&a, sizeof(a)) == (size_t)-1); in my_filter()
24 assert(__msan_test_shadow(a, a->d_reclen) == (size_t)-1); in my_filter()
30 assert(__msan_test_shadow(a, sizeof(*a)) == (size_t)-1); in my_compar()
31 assert(__msan_test_shadow(*a, (*a)->d_reclen) == (size_t)-1); in my_compar()
32 assert(__msan_test_shadow(b, sizeof(*b)) == (size_t)-1); in my_compar()
33 assert(__msan_test_shadow(*b, (*b)->d_reclen) == (size_t)-1); in my_compar()
47 assert(__msan_test_shadow(&d, sizeof(*d)) == (size_t)-1); in main()
49 assert(__msan_test_shadow(&d[i], sizeof(d[i])) == (size_t)-1); in main()
50 assert(__msan_test_shadow(d[i], d[i]->d_reclen) == (size_t)-1); in main()
Ddtor-base-access.cc31 assert(__msan_test_shadow(&this->x_ptr, sizeof(this->x_ptr)) == -1); in ~Base()
33 assert(__msan_test_shadow(this->x_ptr, sizeof(*this->x_ptr)) != -1); in ~Base()
38 assert(__msan_test_shadow(&this->y, sizeof(this->y)) == -1); in ~Derived()
40 assert(__msan_test_shadow(&this->x_ptr, sizeof(this->x_ptr)) == -1); in ~Derived()
45 assert(__msan_test_shadow(&d->x_ptr, sizeof(d->x_ptr)) == -1); in main()
47 assert(__msan_test_shadow(&d->x_ptr, sizeof(d->x_ptr)) != -1); in main()
Ddtor-bit-fields.cc52 assert(__msan_test_shadow(((char*)p) + i, sizeof(char)) != -1); in main()
53 assert(__msan_test_shadow(&p->d, sizeof(double)) != -1); in main()
54 assert(__msan_test_shadow(((char*)(&p->d)) + sizeof(double), sizeof(char)) != in main()
59 assert(__msan_test_shadow(e, sizeof(*e)) != -1); in main()
63 assert(__msan_test_shadow(s, sizeof(*s)) != -1); in main()
67 assert(__msan_test_shadow(a, sizeof(*a)) != -1); in main()
Ddtor-derived-class.cc26 assert(__msan_test_shadow(&d, sizeof(d)) == -1); in main()
27 assert(__msan_test_shadow(&d->x, sizeof(d->x)) != -1); in main()
28 assert(__msan_test_shadow(&d->y, sizeof(d->y)) != -1); in main()
35 assert(__msan_test_shadow(&b, sizeof(b)) == -1); in main()
36 assert(__msan_test_shadow(&b->x, sizeof(b->x)) != -1); in main()
Difaddrs.cc21 assert(-1 == __msan_test_shadow(addr, sizeof(size))); \
28 assert(0 == __msan_test_shadow(&ifas, sizeof(ifaddrs *))); in main()
36 assert(-1 == __msan_test_shadow(&ifas, sizeof(ifaddrs *))); in main()
52 assert(0 == __msan_test_shadow(ranges[i].first, ranges[i].second)); in main()
Dmsan_copy_shadow.cc24 assert(__msan_test_shadow(b, 4) == 0); in main()
25 assert(__msan_test_shadow(b + 1, 3) == 1); in main()
26 assert(__msan_test_shadow(b + 3, 1) == -1); in main()
Dscandir_null.cc28 assert(__msan_test_shadow(&d, sizeof(*d)) == (size_t)-1); in main()
30 assert(__msan_test_shadow(&d[i], sizeof(d[i])) == (size_t)-1); in main()
31 assert(__msan_test_shadow(d[i], d[i]->d_reclen) == (size_t)-1); in main()
Dparam_tls_limit.cc19 #define OVERFLOW(x) assert(__msan_test_shadow(&x, sizeof(x)) == -1)
21 #define NO_OVERFLOW(x) assert(__msan_test_shadow(&x, sizeof(x)) == 0)
30 #define PARTIAL_OVERFLOW(x) assert(__msan_test_shadow((char *)(&(x) + 1) - 1, 1) == -1)
Dif_indextoname.cc15 assert(0 == __msan_test_shadow(ifname, sizeof(ifname))); in main()
21 assert(strlen(ifname) + 1 <= __msan_test_shadow(ifname, sizeof(ifname))); in main()
Ddtor-trivial.cpp34 assert(__msan_test_shadow(nt, sizeof(*nt)) != -1); in main()
38 assert(__msan_test_shadow(t, sizeof(*t)) != -1); in main()
Dftime.cc15 assert(__msan_test_shadow(&tb, sizeof(tb)) == -1); in main()
Dunpoison_string.cc14 assert(__msan_test_shadow(s, sizeof(s)) == strlen("string") + 1); in main()
Ddtor-member.cc40 if (__msan_test_shadow(s, sizeof(*s)) != -1) in main()
/external/compiler-rt/test/msan/Linux/
Dsyscalls.cc37 assert(__msan_test_shadow(buf, sizeof(buf)) == -1); in main()
46 assert(__msan_test_shadow(buf, sizeof(buf)) == kTen); in main()
50 assert(__msan_test_shadow(buf, sizeof(buf)) == kTen); in main()
54 assert(__msan_test_shadow(buf, sizeof(buf)) == kTen); in main()
58 assert(__msan_test_shadow(buf, sizeof(buf)) == sizeof(long) * 2); in main()
62 assert(__msan_test_shadow(buf, sizeof(buf)) == sizeof(long) * 2); in main()
67 assert(__msan_test_shadow(buf, sizeof(buf)) == 0); in main()
71 assert(__msan_test_shadow(buf, sizeof(buf)) == 5); in main()
75 assert(__msan_test_shadow(buf, sizeof(buf)) == sizeof(struct stat)); in main()
80 assert(__msan_test_shadow(buf, sizeof(buf)) == kFortyTwo); in main()
[all …]
Dgetresid.cc12 assert(0 == __msan_test_shadow(uids, 6 * sizeof(uid_t))); in main()
16 __msan_test_shadow(uids + 2 * i, 2 * sizeof(uid_t))); in main()
19 assert(0 == __msan_test_shadow(gids, 6 * sizeof(gid_t))); in main()
23 __msan_test_shadow(gids + 2 * i, 2 * sizeof(gid_t))); in main()
Dmincore.cc18 assert(__msan_test_shadow(vec, sizeof(vec)) == 10); in main()
23 assert(__msan_test_shadow(vec, sizeof(vec)) == 11); in main()
28 assert(__msan_test_shadow(vec, sizeof(vec)) == 10); in main()
33 assert(__msan_test_shadow(vec, sizeof(vec)) == 1); in main()
Dprocess_vm_readv.cc58 assert(__msan_test_shadow(b + 9, 1) == 0); in main()
59 assert(__msan_test_shadow(b + 20, 1) == 0); in main()
60 assert(__msan_test_shadow(b + 29, 1) == 0); in main()
61 assert(__msan_test_shadow(b + 50, 1) == 0); in main()
Dforkpty.cc12 assert(__msan_test_shadow(&master, sizeof(master)) == -1); in main()
13 assert(__msan_test_shadow(&slave, sizeof(slave)) == -1); in main()
17 assert(__msan_test_shadow(&master2, sizeof(master2)) == -1); in main()
Dglob_altdirfunc.cc34 assert(__msan_test_shadow(s, strlen(s) + 1) == (size_t)-1); in my_gl_opendir()
39 assert(__msan_test_shadow(s, strlen(s) + 1) == (size_t)-1); in my_gl_lstat()
46 assert(__msan_test_shadow(s, strlen(s) + 1) == (size_t)-1); in my_gl_stat()
Dxattr.cc62 assert(__msan_test_shadow(*buf, buf_size) != -1); in test_list()
65 assert(__msan_test_shadow(*buf, buf_size) == res); in test_list()
86 assert(__msan_test_shadow(buf, buf_size) != -1); in test_get_single_attr()
89 assert(__msan_test_shadow(buf, buf_size) == res); in test_get_single_attr()
Dioctl_sound.cc23 assert(__msan_test_shadow(info, sz) == 0); in main()
25 assert(__msan_test_shadow(info, sz + 1) == sz); in main()
Dmallinfo.cc11 assert(__msan_test_shadow(&mi, sizeof(mi)) == -1); in main()

12