• Home
  • Raw
  • Download

Lines Matching refs:p

28    int* p;  in main()
42 p = memalign(1024 * 1024, 4 * 1024 * 1024 + 1); assert(0 == (long)p % (1024 * 1024)); in main()
52 free (p); in main()
55 p = memalign(1024 * 1024, 4 * 1024 * 1024 + 1); assert(0 == (long)p % (1024 * 1024)); in main()
57 free (p); in main()
60 p = memalign(0, 100); assert(0 == (long)p % 8); in main()
61 p = memalign(1, 100); assert(0 == (long)p % 8); in main()
62 p = memalign(2, 100); assert(0 == (long)p % 8); in main()
63 p = memalign(3, 100); assert(0 == (long)p % 8); in main()
64 p = memalign(4, 100); assert(0 == (long)p % 8); in main()
65 p = memalign(5, 100); assert(0 == (long)p % 8); in main()
67 p = memalign(7, 100); assert(0 == (long)p % 8); in main()
68 p = memalign(8, 100); assert(0 == (long)p % 8); in main()
69 p = memalign(9, 100); assert(0 == (long)p % 16); in main()
71 p = memalign(31, 100); assert(0 == (long)p % 32); in main()
72 p = memalign(32, 100); assert(0 == (long)p % 32); in main()
73 p = memalign(33, 100); assert(0 == (long)p % 64); in main()
75 p = memalign(4095, 100); assert(0 == (long)p % 4096); in main()
76 p = memalign(4096, 100); assert(0 == (long)p % 4096); in main()
77 p = memalign(4097, 100); assert(0 == (long)p % 8192); in main()
82 res = PM(&p, -1,100); assert(EINVAL == res); in main()
83 res = PM(&p, 0, 100); assert(0 == res && 0 == (long)p % 8); in main()
84 res = PM(&p, 1, 100); assert(EINVAL == res); in main()
85 res = PM(&p, 2, 100); assert(EINVAL == res); in main()
86 res = PM(&p, 3, 100); assert(EINVAL == res); in main()
87 res = PM(&p, sizeof(void*), 100); in main()
88 assert(0 == res && 0 == (long)p % sizeof(void*)); in main()
90 res = PM(&p, 31, 100); assert(EINVAL == res); in main()
91 res = PM(&p, 32, 100); assert(0 == res && in main()
92 0 == (long)p % 32); in main()
93 res = PM(&p, 33, 100); assert(EINVAL == res); in main()
95 res = PM(&p, 4095, 100); assert(EINVAL == res); in main()
96 res = PM(&p, 4096, 100); assert(0 == res && in main()
97 0 == (long)p % 4096); in main()
98 res = PM(&p, 4097, 100); assert(EINVAL == res); in main()