Searched defs:guard_size (Results 1 - 3 of 3) sorted by relevance

/bionic/libc/include/bits/
H A Dpthread_types.h40 size_t guard_size; member in struct:__anon23
/bionic/libc/bionic/
H A Dpthread_attr.cpp45 attr->guard_size = PAGE_SIZE;
189 int pthread_attr_setguardsize(pthread_attr_t* attr, size_t guard_size) { argument
190 attr->guard_size = guard_size;
194 int pthread_attr_getguardsize(const pthread_attr_t* attr, size_t* guard_size) { argument
195 *guard_size = attr->guard_size;
/bionic/tests/
H A Dpthread_test.cpp591 size_t guard_size; local
592 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size));
593 ASSERT_EQ(128U, guard_size);
598 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size));
599 ASSERT_EQ(32*1024U, guard_size);
603 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size));
604 ASSERT_EQ(32*1024U + 1, guard_size);
1244 size_t guard_size; local
1245 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size));
1246 ASSERT_EQ(0U, guard_size); // Th
[all...]

Completed in 39 milliseconds