Home
last modified time | relevance | path

Searched refs:managed_shared_memory (Results 1 – 25 of 63) sorted by relevance

123

/third_party/boost/libs/interprocess/test/
Dmanaged_shared_memory_test.cpp26 typedef allocator<int, managed_shared_memory::segment_manager> in main()
38 managed_shared_memory shmem(create_only, ShmemName, ShmemSize); in main()
57 managed_shared_memory shmem(create_only, ShmemName, ShmemSize); in main()
79 managed_shared_memory shmem(open_only, ShmemName); in main()
89 managed_shared_memory shmem(open_copy_on_write, ShmemName); in main()
107 managed_shared_memory shmem(open_copy_on_write, ShmemName); in main()
117 managed_shared_memory shmem(open_read_only, ShmemName); in main()
126 managed_shared_memory::size_type old_free_memory; in main()
129 managed_shared_memory shmem(open_only, ShmemName); in main()
134 managed_shared_memory::grow(ShmemName, ShmemSize); in main()
[all …]
Dstable_vector_test.cpp27 typedef allocator<int, managed_shared_memory::segment_manager> ShmemAllocator; in main()
30 typedef test::allocator_v1<int, managed_shared_memory::segment_manager> ShmemV1Allocator; in main()
33 … typedef test::heap_allocator_v1<int, managed_shared_memory::segment_manager> ShmemHeapV1Allocator; in main()
36 typedef allocator<test::movable_int, managed_shared_memory::segment_manager> ShmemMoveAllocator; in main()
39 …typedef allocator<test::movable_and_copyable_int, managed_shared_memory::segment_manager> ShmemCop… in main()
42 typedef allocator<test::copyable_int, managed_shared_memory::segment_manager> ShmemCopyAllocator; in main()
45 if(test::vector_test<managed_shared_memory, MyVector>()) in main()
48 if(test::vector_test<managed_shared_memory, MyV1Vector>()) in main()
51 if(test::vector_test<managed_shared_memory, MyHeapV1Vector>()) in main()
54 if(test::vector_test<managed_shared_memory, MyMoveVector>()) in main()
[all …]
Dprivate_adaptive_pool_test.cpp26 <int, managed_shared_memory::segment_manager> priv_node_allocator_t;
28 <int, managed_shared_memory::segment_manager> priv_node_allocator_v1_t;
34 template class private_adaptive_pool<int, managed_shared_memory::segment_manager>;
35 template class private_adaptive_pool<void, managed_shared_memory::segment_manager>;
39 template class ipcdetail::private_adaptive_pool_v1<int, managed_shared_memory::segment_manager>;
40 template class ipcdetail::private_adaptive_pool_v1<void, managed_shared_memory::segment_manager>;
54 if(test::list_test<managed_shared_memory, MyShmList, true>(false)) in main()
56 if(test::list_test<managed_shared_memory, MyShmListV1, true>(false)) in main()
58 if(test::vector_test<managed_shared_memory, MyShmVector>()) in main()
60 if(test::vector_test<managed_shared_memory, MyShmVectorV1>()) in main()
Dadaptive_pool_test.cpp26 <int, managed_shared_memory::segment_manager> shmem_node_allocator_t;
29 <int, managed_shared_memory::segment_manager> shmem_node_allocator_v1_t;
35 template class adaptive_pool<int, managed_shared_memory::segment_manager>;
36 template class adaptive_pool<void, managed_shared_memory::segment_manager>;
40 template class ipcdetail::adaptive_pool_v1<int, managed_shared_memory::segment_manager>;
41 template class ipcdetail::adaptive_pool_v1<void, managed_shared_memory::segment_manager>;
55 if(test::list_test<managed_shared_memory, MyShmList, true>()) in main()
58 if(test::list_test<managed_shared_memory, MyShmListV1, true>()) in main()
61 if(test::vector_test<managed_shared_memory, MyShmVector>()) in main()
64 if(test::vector_test<managed_shared_memory, MyShmVectorV1>()) in main()
Dnode_allocator_test.cpp26 <int, managed_shared_memory::segment_manager> shmem_node_allocator_t;
28 <int, managed_shared_memory::segment_manager> shmem_node_allocator_v1_t;
34 template class node_allocator<int, managed_shared_memory::segment_manager>;
35 template class node_allocator<void, managed_shared_memory::segment_manager>;
39 template class ipcdetail::node_allocator_v1<int, managed_shared_memory::segment_manager>;
40 template class ipcdetail::node_allocator_v1<void, managed_shared_memory::segment_manager>;
54 if(test::list_test<managed_shared_memory, MyShmList, true>()) in main()
56 if(test::list_test<managed_shared_memory, MyShmListV1, true>()) in main()
58 if(test::vector_test<managed_shared_memory, MyShmVector>()) in main()
60 if(test::vector_test<managed_shared_memory, MyShmVectorV1>()) in main()
Dcached_adaptive_pool_test.cpp26 <int, managed_shared_memory::segment_manager>
30 <int, managed_shared_memory::segment_manager>
37 template class cached_adaptive_pool<int, managed_shared_memory::segment_manager>;
38 template class cached_adaptive_pool<void, managed_shared_memory::segment_manager>;
42 template class ipcdetail::cached_adaptive_pool_v1<int, managed_shared_memory::segment_manager>;
43 template class ipcdetail::cached_adaptive_pool_v1<void, managed_shared_memory::segment_manager>;
57 if(test::list_test<managed_shared_memory, MyShmList, true>()) in main()
60 if(test::list_test<managed_shared_memory, MyShmListV1, true>()) in main()
63 if(test::vector_test<managed_shared_memory, MyShmVector>()) in main()
66 if(test::vector_test<managed_shared_memory, MyShmVectorV1>()) in main()
Dcached_node_allocator_test.cpp25 <int, managed_shared_memory::segment_manager>
28 <int, managed_shared_memory::segment_manager>
35 template class cached_node_allocator<int, managed_shared_memory::segment_manager>;
36 template class cached_node_allocator<void, managed_shared_memory::segment_manager>;
40 template class ipcdetail::cached_node_allocator_v1<int, managed_shared_memory::segment_manager>;
41 template class ipcdetail::cached_node_allocator_v1<void, managed_shared_memory::segment_manager>;
55 if(test::list_test<managed_shared_memory, MyShmList, true>()) in main()
57 if(test::list_test<managed_shared_memory, MyShmListV1, true>()) in main()
59 if(test::vector_test<managed_shared_memory, MyShmVector>()) in main()
61 if(test::vector_test<managed_shared_memory, MyShmVectorV1>()) in main()
Dprivate_node_allocator_test.cpp26 <int, managed_shared_memory::segment_manager> priv_node_allocator_t;
28 <int, managed_shared_memory::segment_manager> priv_node_allocator_v1_t;
34 template class private_node_allocator<int, managed_shared_memory::segment_manager>;
35 template class private_node_allocator<void, managed_shared_memory::segment_manager>;
39 template class ipcdetail::private_node_allocator_v1<int, managed_shared_memory::segment_manager>;
40 template class ipcdetail::private_node_allocator_v1<void, managed_shared_memory::segment_manager>;
54 if(test::list_test<managed_shared_memory, MyShmList, true>(false)) in main()
56 if(test::list_test<managed_shared_memory, MyShmListV1, true>(false)) in main()
58 if(test::vector_test<managed_shared_memory, MyShmVector>()) in main()
60 if(test::vector_test<managed_shared_memory, MyShmVectorV1>()) in main()
Dvector_test.cpp61 typedef allocator<int, managed_shared_memory::segment_manager> ShmemAllocator; in main()
64 typedef test::allocator_v1<int, managed_shared_memory::segment_manager> ShmemV1Allocator; in main()
67 typedef allocator<test::movable_int, managed_shared_memory::segment_manager> ShmemMoveAllocator; in main()
70 …typedef allocator<test::movable_and_copyable_int, managed_shared_memory::segment_manager> ShmemCop… in main()
73 typedef allocator<test::copyable_int, managed_shared_memory::segment_manager> ShmemCopyAllocator; in main()
76 if(test::vector_test<managed_shared_memory, MyVector>()) in main()
79 if(test::vector_test<managed_shared_memory, MyV1Vector>()) in main()
82 if(test::vector_test<managed_shared_memory, MyMoveVector>()) in main()
85 if(test::vector_test<managed_shared_memory, MyCopyMoveVector>()) in main()
88 if(test::vector_test<managed_shared_memory, MyCopyVector>()) in main()
Dlist_test.cpp22 typedef allocator<int, managed_shared_memory::segment_manager> ShmemAllocator;
28 typedef allocator<test::movable_int, managed_shared_memory::segment_manager> ShmemMoveAllocator;
31 typedef allocator<test::movable_and_copyable_int, managed_shared_memory::segment_manager> ShmemCopy…
34 typedef allocator<test::copyable_int, managed_shared_memory::segment_manager> ShmemCopyAllocator;
39 if(test::list_test<managed_shared_memory, MyList, true>()) in main()
45 if(test::list_test<managed_shared_memory, MyMoveList, true>()) in main()
48 if(test::list_test<managed_shared_memory, MyCopyMoveList, true>()) in main()
51 if(test::list_test<managed_shared_memory, MyCopyList, true>()) in main()
Dslist_test.cpp21 typedef allocator<int, managed_shared_memory::segment_manager> ShmemAllocator;
27 typedef allocator<test::movable_int, managed_shared_memory::segment_manager> ShmemMoveAllocator;
30 typedef allocator<test::movable_and_copyable_int, managed_shared_memory::segment_manager> ShmemCopy…
33 typedef allocator<test::copyable_int, managed_shared_memory::segment_manager> ShmemCopyAllocator;
38 if(test::list_test<managed_shared_memory, MyList, false>()) in main()
41 if(test::list_test<managed_shared_memory, MyMoveList, false>()) in main()
44 if(test::list_test<managed_shared_memory, MyCopyMoveList, false>()) in main()
50 if(test::list_test<managed_shared_memory, MyCopyList, false>()) in main()
/third_party/boost/libs/interprocess/example/
Ddoc_managed_construction_info.cpp49managed_shared_memory managed_shm(create_only, test::get_process_id_name(), 10000*sizeof(std::size… in main()
52 managed_shared_memory managed_shm(create_only, "MySharedMemory", 10000*sizeof(std::size_t)); in main()
63 assert(0 == std::strcmp(managed_shared_memory::get_instance_name(named_object), "Object name")); in main()
64 …assert(0 == std::strcmp(managed_shared_memory::get_instance_name(unique_object), typeid(my_class).… in main()
65 assert(0 == managed_shared_memory::get_instance_name(anon_object)); in main()
68 assert(named_type == managed_shared_memory::get_instance_type(named_object)); in main()
69 assert(unique_type == managed_shared_memory::get_instance_type(unique_object)); in main()
70 assert(anonymous_type == managed_shared_memory::get_instance_type(anon_object)); in main()
73 assert(1 == managed_shared_memory::get_instance_length(named_object)); in main()
74 assert(2 == managed_shared_memory::get_instance_length(unique_object)); in main()
[all …]
Ddoc_managed_grow.cpp50 managed_shared_memory shm(create_only, test::get_process_id_name(), 1000); in main()
53 managed_shared_memory shm(create_only, "MySharedMemory", 1000); in main()
71 managed_shared_memory::grow(test::get_process_id_name(), 500); in main()
74 managed_shared_memory::grow("MySharedMemory", 500); in main()
82 managed_shared_memory shm(open_only, test::get_process_id_name()); in main()
85 managed_shared_memory shm(open_only, "MySharedMemory"); in main()
103 managed_shared_memory::shrink_to_fit(test::get_process_id_name()); in main()
106 managed_shared_memory::shrink_to_fit("MySharedMemory"); in main()
114 managed_shared_memory shm(open_only, test::get_process_id_name()); in main()
117 managed_shared_memory shm(open_only, "MySharedMemory"); in main()
Ddoc_managed_allocation_command.cpp45managed_shared_memory managed_shm(create_only, test::get_process_id_name(), 10000*sizeof(std::size… in main()
48 managed_shared_memory managed_shm(create_only, "MySharedMemory", 10000*sizeof(std::size_t)); in main()
54 managed_shared_memory::size_type min_size = 100; in main()
55 managed_shared_memory::size_type first_received_size = 1000; in main()
64 managed_shared_memory::size_type free_memory_after_allocation = managed_shm.get_free_memory(); in main()
77 managed_shared_memory::size_type expanded_size = first_received_size*3; in main()
89 managed_shared_memory::size_type free_memory_after_expansion = managed_shm.get_free_memory(); in main()
102 managed_shared_memory::size_type shrunk_size = min_size; in main()
113 managed_shared_memory::size_type free_memory_after_shrinking = managed_shm.get_free_memory(); in main()
Ddoc_ipc_message.cpp46 managed_shared_memory segment(create_only, test::get_process_id_name(), 65536); in main()
49 managed_shared_memory segment(create_only, "MySharedMemory", 65536); in main()
55 managed_shared_memory::size_type free_memory = segment.get_free_memory(); in main()
64 managed_shared_memory::handle_t handle = segment.get_handle_from_address(shptr); in main()
82 managed_shared_memory segment(open_only, argv[2]); in main()
85 managed_shared_memory segment(open_only, "MySharedMemory"); in main()
92 managed_shared_memory::handle_t handle = 0; in main()
Ddoc_spawn_vector.cpp26 typedef allocator<int, managed_shared_memory::segment_manager> ShmemAllocator;
58 managed_shared_memory segment(create_only, test::get_process_id_name(), 65536); in main()
61 managed_shared_memory segment(create_only, "MySharedMemory", 65536); in main()
91 managed_shared_memory segment(open_only, argv[2]); in main()
94 managed_shared_memory segment(open_only, "MySharedMemory"); in main()
Ddoc_named_alloc.cpp50 managed_shared_memory segment(create_only, test::get_process_id_name(), 65536); in main()
53 managed_shared_memory segment(create_only, "MySharedMemory", 65536); in main()
104 managed_shared_memory segment(open_only, argv[2]); in main()
107 managed_shared_memory segment(open_only, "MySharedMemory"); in main()
112 std::pair<MyType*, managed_shared_memory::size_type> res; in main()
Ddoc_allocator.cpp46 managed_shared_memory segment(create_only,test::get_process_id_name(), 65536); in main()
49 managed_shared_memory segment(create_only, in main()
57 allocator<int, managed_shared_memory::segment_manager> in main()
61 allocator<int, managed_shared_memory::segment_manager> in main()
Ddoc_managed_aligned_allocation.cpp45 managed_shared_memory managed_shm(create_only, test::get_process_id_name(), 65536); in main()
48 managed_shared_memory managed_shm(create_only, "MySharedMemory", 65536); in main()
75 assert(Alignment > managed_shared_memory::PayloadPerAllocation); in main()
80 (3*Alignment - managed_shared_memory::PayloadPerAllocation, Alignment); in main()
Ddoc_where_allocate.cpp25 typedef allocator<char, managed_shared_memory::segment_manager> in main()
29 typedef allocator<MyShmString, managed_shared_memory::segment_manager> in main()
56 managed_shared_memory shm(create_only, test::get_process_id_name(), 10000); in main()
59 managed_shared_memory shm(create_only, "MySharedMemory", 10000); in main()
Ddoc_managed_multiple_allocation.cpp27 typedef managed_shared_memory::multiallocation_chain multiallocation_chain; in main()
50 managed_shared_memory managed_shm(create_only,test::get_process_id_name(), 65536); in main()
53 managed_shared_memory managed_shm(create_only,"MySharedMemory", 65536); in main()
84 managed_shared_memory::size_type sizes[10]; in main()
Ddoc_multi_index.cpp34 typedef managed_shared_memory::allocator<char>::type char_allocator;
69 managed_shared_memory::allocator<employee>::type
96 managed_shared_memory segment(create_only,test::get_process_id_name(), 65536); in main()
99 managed_shared_memory segment(create_only,"MySharedMemory", 65536); in main()
Ddoc_vectorstream.cpp25 typedef allocator<int, managed_shared_memory::segment_manager>
27 typedef allocator<char, managed_shared_memory::segment_manager>
57 managed_shared_memory segment( in main()
63 managed_shared_memory segment( in main()
Ddoc_private_adaptive_pool.cpp46 managed_shared_memory segment(create_only, in main()
51 managed_shared_memory segment(create_only, in main()
60 typedef private_adaptive_pool<int, managed_shared_memory::segment_manager> in main()
/third_party/boost/libs/geometry/index/test/rtree/interprocess/
Dtest_interprocess.hpp28 bi::managed_shared_memory segment(bi::create_only, "shmem", 65535); in test_rtree_interprocess()
29 typedef bi::allocator<Point, bi::managed_shared_memory::segment_manager> shmem_alloc; in test_rtree_interprocess()
46 bi::managed_shared_memory segment(bi::create_only, "shmem", 65535); in modifiers()
47 typedef bi::allocator<Indexable, bi::managed_shared_memory::segment_manager> shmem_alloc; in modifiers()
62 bi::managed_shared_memory segment(bi::create_only, "shmem", 65535); in queries()
63 typedef bi::allocator<Indexable, bi::managed_shared_memory::segment_manager> shmem_alloc; in queries()
78 bi::managed_shared_memory segment(bi::create_only, "shmem", 65535); in additional()
79 typedef bi::allocator<Indexable, bi::managed_shared_memory::segment_manager> shmem_alloc; in additional()
94 bi::managed_shared_memory segment(bi::create_only, "shmem", 65535); in modifiers_and_additional()
95 typedef bi::allocator<Indexable, bi::managed_shared_memory::segment_manager> shmem_alloc; in modifiers_and_additional()

123