Lines Matching refs:PM
82 # define PM(a,b,c) posix_memalign((void**)a, b, c) in main()
84 res = PM(&p, -1,100); assert(EINVAL == res); in main()
85 res = PM(&p, 0, 100); assert(0 == res && 0 == (long)p % 8); in main()
86 res = PM(&p, 1, 100); assert(EINVAL == res); in main()
87 res = PM(&p, 2, 100); assert(EINVAL == res); in main()
88 res = PM(&p, 3, 100); assert(EINVAL == res); in main()
89 res = PM(&p, sizeof(void*), 100); in main()
92 res = PM(&p, 31, 100); assert(EINVAL == res); in main()
93 res = PM(&p, 32, 100); assert(0 == res && 0 == (long)p % 32); in main()
94 res = PM(&p, 33, 100); assert(EINVAL == res); in main()
96 res = PM(&p, 4095, 100); assert(EINVAL == res); in main()
97 res = PM(&p, 4096, 100); assert(0 == res && 0 == (long)p % 4096); in main()
98 res = PM(&p, 4097, 100); assert(EINVAL == res); in main()
100 res = PM(&p, 4 * 1024 * 1024, 100); assert(0 == res in main()
102 res = PM(&p, 16 * 1024 * 1024, 100); assert(0 == res in main()