Lines Matching refs:memory
151 void* memory = allocator->Alloc(sizeof(SelfType));
152 if (memory)
155 return new(memory) SelfType(NULL, 0, allocator);
157 return new(memory) SelfType(allocator);
173 void* memory = allocator->Alloc(sizeof(SelfType));
174 if (memory)
180 return new(memory) SelfType(elements, maxSlots, allocator);
184 allocator->Free(memory);
189 return new(memory) SelfType(allocator);
201 void* memory = allocator->Alloc(sizeof(SelfType));
202 if (memory)
204 return new(memory) SelfType(allocator);
582 void* memory = allocator->Alloc(sizeof(SelfType));
583 if (memory)
586 return new(memory) SelfType(NULL, 0, allocator);
588 return new(memory) SelfType(allocator);
604 void* memory = allocator->Alloc(sizeof(SelfType));
605 if (memory)
611 return new(memory) SelfType(elements, maxSlots, allocator);
615 allocator->Free(memory);
620 return new(memory) SelfType(allocator);
632 void* memory = allocator->Alloc(sizeof(SelfType));
633 if (memory)
635 return new(memory) SelfType(allocator);
1014 void* memory = allocator->Alloc(sizeof(SelfType));
1015 if (memory)
1018 return new(memory) SelfType(NULL, 0, allocator);
1020 return new(memory) SelfType(allocator);
1036 void* memory = allocator->Alloc(sizeof(SelfType));
1037 if (memory)
1043 return new(memory) SelfType(elements, maxSlots, allocator);
1047 allocator->Free(memory);
1052 return new(memory) SelfType(allocator);
1064 void* memory = allocator->Alloc(sizeof(SelfType));
1065 if (memory)
1067 return new(memory) SelfType(allocator);
1447 void* memory = allocator->Alloc(sizeof(SelfType));
1448 if (memory)
1451 return new(memory) SelfType(NULL, 0, allocator);
1453 return new(memory) SelfType(allocator);
1469 void* memory = allocator->Alloc(sizeof(SelfType));
1470 if (memory)
1476 return new(memory) SelfType(elements, maxSlots, allocator);
1480 allocator->Free(memory);
1485 return new(memory) SelfType(allocator);
1497 void* memory = allocator->Alloc(sizeof(SelfType));
1498 if (memory)
1500 return new(memory) SelfType(allocator);
1881 void* memory = allocator->Alloc(sizeof(SelfType));
1882 if (memory)
1885 return new(memory) SelfType(NULL, 0, allocator);
1887 return new(memory) SelfType(allocator);
1903 void* memory = allocator->Alloc(sizeof(SelfType));
1904 if (memory)
1910 return new(memory) SelfType(elements, maxSlots, allocator);
1914 allocator->Free(memory);
1919 return new(memory) SelfType(allocator);
1931 void* memory = allocator->Alloc(sizeof(SelfType));
1932 if (memory)
1934 return new(memory) SelfType(allocator);
2316 void* memory = allocator->Alloc(sizeof(SelfType));
2317 if (memory)
2320 return new(memory) SelfType(NULL, 0, allocator);
2322 return new(memory) SelfType(allocator);
2338 void* memory = allocator->Alloc(sizeof(SelfType));
2339 if (memory)
2345 return new(memory) SelfType(elements, maxSlots, allocator);
2349 allocator->Free(memory);
2354 return new(memory) SelfType(allocator);
2366 void* memory = allocator->Alloc(sizeof(SelfType));
2367 if (memory)
2369 return new(memory) SelfType(allocator);
2752 void* memory = allocator->Alloc(sizeof(SelfType));
2753 if (memory)
2756 return new(memory) SelfType(NULL, 0, allocator);
2758 return new(memory) SelfType(allocator);
2774 void* memory = allocator->Alloc(sizeof(SelfType));
2775 if (memory)
2781 return new(memory) SelfType(elements, maxSlots, allocator);
2785 allocator->Free(memory);
2790 return new(memory) SelfType(allocator);
2802 void* memory = allocator->Alloc(sizeof(SelfType));
2803 if (memory)
2805 return new(memory) SelfType(allocator);
3189 void* memory = allocator->Alloc(sizeof(SelfType));
3190 if (memory)
3193 return new(memory) SelfType(NULL, 0, allocator);
3195 return new(memory) SelfType(allocator);
3211 void* memory = allocator->Alloc(sizeof(SelfType));
3212 if (memory)
3218 return new(memory) SelfType(elements, maxSlots, allocator);
3222 allocator->Free(memory);
3227 return new(memory) SelfType(allocator);
3239 void* memory = allocator->Alloc(sizeof(SelfType));
3240 if (memory)
3242 return new(memory) SelfType(allocator);
3627 void* memory = allocator->Alloc(sizeof(SelfType));
3628 if (memory)
3631 return new(memory) SelfType(NULL, 0, allocator);
3633 return new(memory) SelfType(allocator);
3649 void* memory = allocator->Alloc(sizeof(SelfType));
3650 if (memory)
3656 return new(memory) SelfType(elements, maxSlots, allocator);
3660 allocator->Free(memory);
3665 return new(memory) SelfType(allocator);
3677 void* memory = allocator->Alloc(sizeof(SelfType));
3678 if (memory)
3680 return new(memory) SelfType(allocator);
4066 void* memory = allocator->Alloc(sizeof(SelfType));
4067 if (memory)
4070 return new(memory) SelfType(NULL, 0, allocator);
4072 return new(memory) SelfType(allocator);
4088 void* memory = allocator->Alloc(sizeof(SelfType));
4089 if (memory)
4095 return new(memory) SelfType(elements, maxSlots, allocator);
4099 allocator->Free(memory);
4104 return new(memory) SelfType(allocator);
4116 void* memory = allocator->Alloc(sizeof(SelfType));
4117 if (memory)
4119 return new(memory) SelfType(allocator);
4506 void* memory = allocator->Alloc(sizeof(SelfType));
4507 if (memory)
4510 return new(memory) SelfType(NULL, 0, allocator);
4512 return new(memory) SelfType(allocator);
4528 void* memory = allocator->Alloc(sizeof(SelfType));
4529 if (memory)
4535 return new(memory) SelfType(elements, maxSlots, allocator);
4539 allocator->Free(memory);
4544 return new(memory) SelfType(allocator);
4556 void* memory = allocator->Alloc(sizeof(SelfType));
4557 if (memory)
4559 return new(memory) SelfType(allocator);