Lines Matching +defs:allocate +defs:p
6 …void *p = NEW(sizeof(int)); // expected-note {{cannot allocate untyped memory in a constant expres… in alloc_from_user_code() local
16 constexpr T *allocate(size_t N) { in allocate() function
27 int *p = alloc.allocate(1); in alloc_via_std_allocator() local
34 …constexpr void *allocate() { return NEW(8); } // expected-note {{cannot allocate memory of functio… in allocate() function
40 …constexpr void *allocate() { return NEW(8); } // expected-note {{cannot allocate memory of incompl… in allocate() function
47 …constexpr void *allocate() { return NEW(7); } // expected-note {{allocated size 7 is not a multipl… in allocate() function
52 int *p; in mismatched() local
87 void *operator new(std::size_t, void *p) { return p; } in operator new()
105 constexpr void construct_at(void *p, Args &&...args) { in construct_at()
111 int *p = std::allocator<int>().allocate(3); in call_std_construct_at() local
162 int *p = new int; in construct_after_lifetime() local