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);
557 void* memory = allocator->Alloc(sizeof(SelfType));
558 if (memory)
561 return new(memory) SelfType(NULL, 0, allocator);
563 return new(memory) SelfType(allocator);
579 void* memory = allocator->Alloc(sizeof(SelfType));
580 if (memory)
586 return new(memory) SelfType(elements, maxSlots, allocator);
590 allocator->Free(memory);
595 return new(memory) SelfType(allocator);
607 void* memory = allocator->Alloc(sizeof(SelfType));
608 if (memory)
610 return new(memory) SelfType(allocator);
966 void* memory = allocator->Alloc(sizeof(SelfType));
967 if (memory)
970 return new(memory) SelfType(NULL, 0, allocator);
972 return new(memory) SelfType(allocator);
988 void* memory = allocator->Alloc(sizeof(SelfType));
989 if (memory)
995 return new(memory) SelfType(elements, maxSlots, allocator);
999 allocator->Free(memory);
1004 return new(memory) SelfType(allocator);
1016 void* memory = allocator->Alloc(sizeof(SelfType));
1017 if (memory)
1019 return new(memory) SelfType(allocator);
1376 void* memory = allocator->Alloc(sizeof(SelfType));
1377 if (memory)
1380 return new(memory) SelfType(NULL, 0, allocator);
1382 return new(memory) SelfType(allocator);
1398 void* memory = allocator->Alloc(sizeof(SelfType));
1399 if (memory)
1405 return new(memory) SelfType(elements, maxSlots, allocator);
1409 allocator->Free(memory);
1414 return new(memory) SelfType(allocator);
1426 void* memory = allocator->Alloc(sizeof(SelfType));
1427 if (memory)
1429 return new(memory) SelfType(allocator);
1787 void* memory = allocator->Alloc(sizeof(SelfType));
1788 if (memory)
1791 return new(memory) SelfType(NULL, 0, allocator);
1793 return new(memory) SelfType(allocator);
1809 void* memory = allocator->Alloc(sizeof(SelfType));
1810 if (memory)
1816 return new(memory) SelfType(elements, maxSlots, allocator);
1820 allocator->Free(memory);
1825 return new(memory) SelfType(allocator);
1837 void* memory = allocator->Alloc(sizeof(SelfType));
1838 if (memory)
1840 return new(memory) SelfType(allocator);
2199 void* memory = allocator->Alloc(sizeof(SelfType));
2200 if (memory)
2203 return new(memory) SelfType(NULL, 0, allocator);
2205 return new(memory) SelfType(allocator);
2221 void* memory = allocator->Alloc(sizeof(SelfType));
2222 if (memory)
2228 return new(memory) SelfType(elements, maxSlots, allocator);
2232 allocator->Free(memory);
2237 return new(memory) SelfType(allocator);
2249 void* memory = allocator->Alloc(sizeof(SelfType));
2250 if (memory)
2252 return new(memory) SelfType(allocator);
2612 void* memory = allocator->Alloc(sizeof(SelfType));
2613 if (memory)
2616 return new(memory) SelfType(NULL, 0, allocator);
2618 return new(memory) SelfType(allocator);
2634 void* memory = allocator->Alloc(sizeof(SelfType));
2635 if (memory)
2641 return new(memory) SelfType(elements, maxSlots, allocator);
2645 allocator->Free(memory);
2650 return new(memory) SelfType(allocator);
2662 void* memory = allocator->Alloc(sizeof(SelfType));
2663 if (memory)
2665 return new(memory) SelfType(allocator);
3026 void* memory = allocator->Alloc(sizeof(SelfType));
3027 if (memory)
3030 return new(memory) SelfType(NULL, 0, allocator);
3032 return new(memory) SelfType(allocator);
3048 void* memory = allocator->Alloc(sizeof(SelfType));
3049 if (memory)
3055 return new(memory) SelfType(elements, maxSlots, allocator);
3059 allocator->Free(memory);
3064 return new(memory) SelfType(allocator);
3076 void* memory = allocator->Alloc(sizeof(SelfType));
3077 if (memory)
3079 return new(memory) SelfType(allocator);
3441 void* memory = allocator->Alloc(sizeof(SelfType));
3442 if (memory)
3445 return new(memory) SelfType(NULL, 0, allocator);
3447 return new(memory) SelfType(allocator);
3463 void* memory = allocator->Alloc(sizeof(SelfType));
3464 if (memory)
3470 return new(memory) SelfType(elements, maxSlots, allocator);
3474 allocator->Free(memory);
3479 return new(memory) SelfType(allocator);
3491 void* memory = allocator->Alloc(sizeof(SelfType));
3492 if (memory)
3494 return new(memory) SelfType(allocator);
3857 void* memory = allocator->Alloc(sizeof(SelfType));
3858 if (memory)
3861 return new(memory) SelfType(NULL, 0, allocator);
3863 return new(memory) SelfType(allocator);
3879 void* memory = allocator->Alloc(sizeof(SelfType));
3880 if (memory)
3886 return new(memory) SelfType(elements, maxSlots, allocator);
3890 allocator->Free(memory);
3895 return new(memory) SelfType(allocator);
3907 void* memory = allocator->Alloc(sizeof(SelfType));
3908 if (memory)
3910 return new(memory) SelfType(allocator);
4274 void* memory = allocator->Alloc(sizeof(SelfType));
4275 if (memory)
4278 return new(memory) SelfType(NULL, 0, allocator);
4280 return new(memory) SelfType(allocator);
4296 void* memory = allocator->Alloc(sizeof(SelfType));
4297 if (memory)
4303 return new(memory) SelfType(elements, maxSlots, allocator);
4307 allocator->Free(memory);
4312 return new(memory) SelfType(allocator);
4324 void* memory = allocator->Alloc(sizeof(SelfType));
4325 if (memory)
4327 return new(memory) SelfType(allocator);