Searched refs:POSType (Results 1 – 5 of 5) sorted by relevance
/external/libcxx/test/libcxx/experimental/memory/memory.resource.global/ |
D | global_memory_resource_lifetime.pass.cpp | 28 struct POSType { struct 32 POSType() {} in POSType() function 33 POSType(ex::memory_resource* r, void* p, int s) : res(r), ptr(p), n(s) {} in POSType() function 34 ~POSType() { in ~POSType() argument 42 void swap(POSType & L, POSType & R) { in swap() 48 POSType constructed_before_resources; 49 POSType constructed_before_resources2; 54 POSType constructed_after_resources(resource, resource->allocate(1024), 1024); 55 POSType constructed_after_resources2(nullptr, resource->allocate(1024), 1024);
|
D | new_delete_resource_lifetime.pass.cpp | 28 struct POSType { struct 32 POSType() {res = ex::new_delete_resource(); ptr = res->allocate(42); n = 42; } in POSType() argument 33 POSType(ex::memory_resource* r, void* p, int s) : res(r), ptr(p), n(s) {} in POSType() function 34 ~POSType() { if (ptr) res->deallocate(ptr, n); } in ~POSType() argument 37 void swap(POSType & L, POSType & R) { in swap() 43 POSType constructed_before_resources; 48 POSType constructed_after_resources(resource, resource->allocate(1024), 1024);
|
/external/llvm-project/libcxx/test/libcxx/experimental/memory/memory.resource.global/ |
D | global_memory_resource_lifetime.pass.cpp | 28 struct POSType { struct 32 POSType() {} in POSType() argument 33 POSType(ex::memory_resource* r, void* p, int s) : res(r), ptr(p), n(s) {} in POSType() argument 34 ~POSType() { in ~POSType() argument 42 void swap(POSType & L, POSType & R) { in swap() 48 POSType constructed_before_resources; 49 POSType constructed_before_resources2; 54 POSType constructed_after_resources(resource, resource->allocate(1024), 1024); 55 POSType constructed_after_resources2(nullptr, resource->allocate(1024), 1024);
|
D | new_delete_resource_lifetime.pass.cpp | 28 struct POSType { struct 32 POSType() {res = ex::new_delete_resource(); ptr = res->allocate(42); n = 42; } in POSType() argument 33 POSType(ex::memory_resource* r, void* p, int s) : res(r), ptr(p), n(s) {} in POSType() argument 34 ~POSType() { if (ptr) res->deallocate(ptr, n); } in ~POSType() argument 37 void swap(POSType & L, POSType & R) { in swap() 43 POSType constructed_before_resources; 48 POSType constructed_after_resources(resource, resource->allocate(1024), 1024);
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExpr.cpp | 939 int POSType = POSAttr->getType(); in LoadPassedObjectSize() local 940 if (POSType != 0 && POSType != 1) in LoadPassedObjectSize()
|