Lines Matching refs:memory
149 void* memory = allocator->Alloc(sizeof(SelfType));
150 if (memory)
153 return new(memory) SelfType(NULL, 0, allocator);
155 return new(memory) SelfType(allocator);
171 void* memory = allocator->Alloc(sizeof(SelfType));
172 if (memory)
178 return new(memory) SelfType(elements, maxSlots, allocator);
182 allocator->Free(memory);
187 return new(memory) SelfType(allocator);
199 void* memory = allocator->Alloc(sizeof(SelfType));
200 if (memory)
202 return new(memory) SelfType(allocator);
580 void* memory = allocator->Alloc(sizeof(SelfType));
581 if (memory)
584 return new(memory) SelfType(NULL, 0, allocator);
586 return new(memory) SelfType(allocator);
602 void* memory = allocator->Alloc(sizeof(SelfType));
603 if (memory)
609 return new(memory) SelfType(elements, maxSlots, allocator);
613 allocator->Free(memory);
618 return new(memory) SelfType(allocator);
630 void* memory = allocator->Alloc(sizeof(SelfType));
631 if (memory)
633 return new(memory) SelfType(allocator);
1012 void* memory = allocator->Alloc(sizeof(SelfType));
1013 if (memory)
1016 return new(memory) SelfType(NULL, 0, allocator);
1018 return new(memory) SelfType(allocator);
1034 void* memory = allocator->Alloc(sizeof(SelfType));
1035 if (memory)
1041 return new(memory) SelfType(elements, maxSlots, allocator);
1045 allocator->Free(memory);
1050 return new(memory) SelfType(allocator);
1062 void* memory = allocator->Alloc(sizeof(SelfType));
1063 if (memory)
1065 return new(memory) SelfType(allocator);
1445 void* memory = allocator->Alloc(sizeof(SelfType));
1446 if (memory)
1449 return new(memory) SelfType(NULL, 0, allocator);
1451 return new(memory) SelfType(allocator);
1467 void* memory = allocator->Alloc(sizeof(SelfType));
1468 if (memory)
1474 return new(memory) SelfType(elements, maxSlots, allocator);
1478 allocator->Free(memory);
1483 return new(memory) SelfType(allocator);
1495 void* memory = allocator->Alloc(sizeof(SelfType));
1496 if (memory)
1498 return new(memory) SelfType(allocator);
1879 void* memory = allocator->Alloc(sizeof(SelfType));
1880 if (memory)
1883 return new(memory) SelfType(NULL, 0, allocator);
1885 return new(memory) SelfType(allocator);
1901 void* memory = allocator->Alloc(sizeof(SelfType));
1902 if (memory)
1908 return new(memory) SelfType(elements, maxSlots, allocator);
1912 allocator->Free(memory);
1917 return new(memory) SelfType(allocator);
1929 void* memory = allocator->Alloc(sizeof(SelfType));
1930 if (memory)
1932 return new(memory) SelfType(allocator);
2314 void* memory = allocator->Alloc(sizeof(SelfType));
2315 if (memory)
2318 return new(memory) SelfType(NULL, 0, allocator);
2320 return new(memory) SelfType(allocator);
2336 void* memory = allocator->Alloc(sizeof(SelfType));
2337 if (memory)
2343 return new(memory) SelfType(elements, maxSlots, allocator);
2347 allocator->Free(memory);
2352 return new(memory) SelfType(allocator);
2364 void* memory = allocator->Alloc(sizeof(SelfType));
2365 if (memory)
2367 return new(memory) SelfType(allocator);
2750 void* memory = allocator->Alloc(sizeof(SelfType));
2751 if (memory)
2754 return new(memory) SelfType(NULL, 0, allocator);
2756 return new(memory) SelfType(allocator);
2772 void* memory = allocator->Alloc(sizeof(SelfType));
2773 if (memory)
2779 return new(memory) SelfType(elements, maxSlots, allocator);
2783 allocator->Free(memory);
2788 return new(memory) SelfType(allocator);
2800 void* memory = allocator->Alloc(sizeof(SelfType));
2801 if (memory)
2803 return new(memory) SelfType(allocator);
3187 void* memory = allocator->Alloc(sizeof(SelfType));
3188 if (memory)
3191 return new(memory) SelfType(NULL, 0, allocator);
3193 return new(memory) SelfType(allocator);
3209 void* memory = allocator->Alloc(sizeof(SelfType));
3210 if (memory)
3216 return new(memory) SelfType(elements, maxSlots, allocator);
3220 allocator->Free(memory);
3225 return new(memory) SelfType(allocator);
3237 void* memory = allocator->Alloc(sizeof(SelfType));
3238 if (memory)
3240 return new(memory) SelfType(allocator);
3625 void* memory = allocator->Alloc(sizeof(SelfType));
3626 if (memory)
3629 return new(memory) SelfType(NULL, 0, allocator);
3631 return new(memory) SelfType(allocator);
3647 void* memory = allocator->Alloc(sizeof(SelfType));
3648 if (memory)
3654 return new(memory) SelfType(elements, maxSlots, allocator);
3658 allocator->Free(memory);
3663 return new(memory) SelfType(allocator);
3675 void* memory = allocator->Alloc(sizeof(SelfType));
3676 if (memory)
3678 return new(memory) SelfType(allocator);
4064 void* memory = allocator->Alloc(sizeof(SelfType));
4065 if (memory)
4068 return new(memory) SelfType(NULL, 0, allocator);
4070 return new(memory) SelfType(allocator);
4086 void* memory = allocator->Alloc(sizeof(SelfType));
4087 if (memory)
4093 return new(memory) SelfType(elements, maxSlots, allocator);
4097 allocator->Free(memory);
4102 return new(memory) SelfType(allocator);
4114 void* memory = allocator->Alloc(sizeof(SelfType));
4115 if (memory)
4117 return new(memory) SelfType(allocator);
4504 void* memory = allocator->Alloc(sizeof(SelfType));
4505 if (memory)
4508 return new(memory) SelfType(NULL, 0, allocator);
4510 return new(memory) SelfType(allocator);
4526 void* memory = allocator->Alloc(sizeof(SelfType));
4527 if (memory)
4533 return new(memory) SelfType(elements, maxSlots, allocator);
4537 allocator->Free(memory);
4542 return new(memory) SelfType(allocator);
4554 void* memory = allocator->Alloc(sizeof(SelfType));
4555 if (memory)
4557 return new(memory) SelfType(allocator);