Home
last modified time | relevance | path

Searched refs:allocator (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/memory/default.allocator/
H A Dallocator_types.pass.cpp37 static_assert((std::is_same<std::allocator<char>::size_type, std::size_t>::value), ""); in main()
38 static_assert((std::is_same<std::allocator<char>::difference_type, std::ptrdiff_t>::value), ""); in main()
39 static_assert((std::is_same<std::allocator<char>::pointer, char*>::value), ""); in main()
40 static_assert((std::is_same<std::allocator<char>::const_pointer, const char*>::value), ""); in main()
41 static_assert((std::is_same<std::allocator<char>::value_type, char>::value), ""); in main()
42 static_assert((std::is_same<std::allocator<char>::reference, char&>::value), ""); in main()
43 static_assert((std::is_same<std::allocator<char>::const_reference, const char&>::value), ""); in main()
44 static_assert((std::is_same<std::allocator<char>::rebind<int>::other, in main()
45 std::allocator<int> >::value), ""); in main()
47 …static_assert((std::is_same<std::allocator< char>::is_always_equal, std::true_type>::value), … in main()
[all …]
H A Dallocator_void.pass.cpp28 static_assert((std::is_same<std::allocator<void>::pointer, void*>::value), ""); in main()
29 static_assert((std::is_same<std::allocator<void>::const_pointer, const void*>::value), ""); in main()
30 static_assert((std::is_same<std::allocator<void>::value_type, void>::value), ""); in main()
31 static_assert((std::is_same<std::allocator<void>::rebind<int>::other, in main()
32 std::allocator<int> >::value), ""); in main()
33 std::allocator<void> a; in main()
34 std::allocator<void> a2 = a; in main()
/minix3/external/bsd/libc++/dist/libcxx/test/utilities/memory/default.allocator/
H A Dallocator_types.pass.cpp36 static_assert((std::is_same<std::allocator<char>::size_type, std::size_t>::value), ""); in main()
37 static_assert((std::is_same<std::allocator<char>::difference_type, std::ptrdiff_t>::value), ""); in main()
38 static_assert((std::is_same<std::allocator<char>::pointer, char*>::value), ""); in main()
39 static_assert((std::is_same<std::allocator<char>::const_pointer, const char*>::value), ""); in main()
40 static_assert((std::is_same<std::allocator<char>::value_type, char>::value), ""); in main()
41 static_assert((std::is_same<std::allocator<char>::reference, char&>::value), ""); in main()
42 static_assert((std::is_same<std::allocator<char>::const_reference, const char&>::value), ""); in main()
43 static_assert((std::is_same<std::allocator<char>::rebind<int>::other, in main()
44 std::allocator<int> >::value), ""); in main()
45 std::allocator<char> a; in main()
[all …]
H A Dallocator_void.pass.cpp28 static_assert((std::is_same<std::allocator<void>::pointer, void*>::value), ""); in main()
29 static_assert((std::is_same<std::allocator<void>::const_pointer, const void*>::value), ""); in main()
30 static_assert((std::is_same<std::allocator<void>::value_type, void>::value), ""); in main()
31 static_assert((std::is_same<std::allocator<void>::rebind<int>::other, in main()
32 std::allocator<int> >::value), ""); in main()
33 std::allocator<void> a; in main()
34 std::allocator<void> a2 = a; in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/containers/sequences/deque/deque.cons/
H A Dsize_value.pass.cpp35 test<int, std::allocator<int> >(0, 5); in main()
36 test<int, std::allocator<int> >(1, 10); in main()
37 test<int, std::allocator<int> >(10, 11); in main()
38 test<int, std::allocator<int> >(1023, -11); in main()
39 test<int, std::allocator<int> >(1024, 25); in main()
40 test<int, std::allocator<int> >(1025, 0); in main()
41 test<int, std::allocator<int> >(2047, 110); in main()
42 test<int, std::allocator<int> >(2048, -500); in main()
43 test<int, std::allocator<int> >(2049, 654); in main()
44 test<int, std::allocator<int> >(4095, 78); in main()
[all …]
H A Dsize.pass.cpp88 test<DefaultOnly, std::allocator<DefaultOnly> >(0); in main()
89 test<DefaultOnly, std::allocator<DefaultOnly> >(1); in main()
90 test<DefaultOnly, std::allocator<DefaultOnly> >(10); in main()
91 test<DefaultOnly, std::allocator<DefaultOnly> >(1023); in main()
92 test<DefaultOnly, std::allocator<DefaultOnly> >(1024); in main()
93 test<DefaultOnly, std::allocator<DefaultOnly> >(1025); in main()
94 test<DefaultOnly, std::allocator<DefaultOnly> >(2047); in main()
95 test<DefaultOnly, std::allocator<DefaultOnly> >(2048); in main()
96 test<DefaultOnly, std::allocator<DefaultOnly> >(2049); in main()
97 test<DefaultOnly, std::allocator<DefaultOnly> >(4095); in main()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/containers/sequences/deque/deque.cons/
H A Dsize_value.pass.cpp35 test<int, std::allocator<int> >(0, 5); in main()
36 test<int, std::allocator<int> >(1, 10); in main()
37 test<int, std::allocator<int> >(10, 11); in main()
38 test<int, std::allocator<int> >(1023, -11); in main()
39 test<int, std::allocator<int> >(1024, 25); in main()
40 test<int, std::allocator<int> >(1025, 0); in main()
41 test<int, std::allocator<int> >(2047, 110); in main()
42 test<int, std::allocator<int> >(2048, -500); in main()
43 test<int, std::allocator<int> >(2049, 654); in main()
44 test<int, std::allocator<int> >(4095, 78); in main()
[all …]
H A Dsize.pass.cpp88 test<DefaultOnly, std::allocator<DefaultOnly> >(0); in main()
89 test<DefaultOnly, std::allocator<DefaultOnly> >(1); in main()
90 test<DefaultOnly, std::allocator<DefaultOnly> >(10); in main()
91 test<DefaultOnly, std::allocator<DefaultOnly> >(1023); in main()
92 test<DefaultOnly, std::allocator<DefaultOnly> >(1024); in main()
93 test<DefaultOnly, std::allocator<DefaultOnly> >(1025); in main()
94 test<DefaultOnly, std::allocator<DefaultOnly> >(2047); in main()
95 test<DefaultOnly, std::allocator<DefaultOnly> >(2048); in main()
96 test<DefaultOnly, std::allocator<DefaultOnly> >(2049); in main()
97 test<DefaultOnly, std::allocator<DefaultOnly> >(4095); in main()
[all …]
/minix3/external/public-domain/xz/dist/src/liblzma/simple/
H A Dsimple_coder.h20 const lzma_allocator *allocator,
24 const lzma_allocator *allocator,
29 const lzma_allocator *allocator,
33 const lzma_allocator *allocator,
38 const lzma_allocator *allocator,
42 const lzma_allocator *allocator,
47 const lzma_allocator *allocator,
51 const lzma_allocator *allocator,
56 const lzma_allocator *allocator,
60 const lzma_allocator *allocator,
[all …]
H A Dsimple_coder.c21 copy_or_code(lzma_coder *coder, const lzma_allocator *allocator, in copy_or_code() argument
39 coder->next.coder, allocator, in copy_or_code()
69 simple_code(lzma_coder *coder, const lzma_allocator *allocator, in simple_code() argument
124 const lzma_ret ret = copy_or_code(coder, allocator, in simple_code()
170 const lzma_ret ret = copy_or_code(coder, allocator, in simple_code()
201 simple_coder_end(lzma_coder *coder, const lzma_allocator *allocator) in simple_coder_end() argument
203 lzma_next_end(&coder->next, allocator); in simple_coder_end()
204 lzma_free(coder->simple, allocator); in simple_coder_end()
205 lzma_free(coder, allocator); in simple_coder_end()
211 simple_coder_update(lzma_coder *coder, const lzma_allocator *allocator, in simple_coder_update() argument
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/CodeGen/X86/
H A D2009-11-17-UpdateTerminator.ll8 …std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_tr…
9 …ntInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >" = type { %"struct.std::_Vector_base<llvm…
10 %"struct.std::_Vector_base<llvm::InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm::Constrai…
11allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<ch…
12 …std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_tr…
13 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Alloc_hider" = type…
14 …g" = type { %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Alloc_…
15 …ntInfo,std::allocator<llvm::InlineAsm::ConstraintInfo> >" = type { %"struct.std::_Vector_base<llvm…
16allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<ch…
18 …, i64 %Str.1, %"struct.std::vector<llvm::InlineAsm::ConstraintInfo,std::allocator<llvm::InlineAsm:…
H A Dscev-interchange.ll8 …,std::allocator<Polynomials::Polynomial<double> > >", i32, %"struct.std::vector<int,std::allocator
9 …mial<double>" = type { %struct.Subscriptor, %"struct.std::vector<double,std::allocator<double> >" }
15 …%"struct.std::_Bvector_base<std::allocator<bool> >" = type { %"struct.std::_Bvector_base<std::allo…
16 …%"struct.std::_Bvector_base<std::allocator<bool> >::_Bvector_impl" = type { %"struct.std::_Bit_con…
17 …ouble>,std::allocator<Polynomials::Polynomial<double> > >" = type { %"struct.std::_Vector_base<Pol…
18 …%"struct.std::_Vector_base<Polynomials::Polynomial<double>,std::allocator<Polynomials::Polynomial<…
19 …struct.std::_Vector_base<double,std::allocator<double> >" = type { %"struct.std::_Vector_base<doub…
20 …%"struct.std::_Vector_base<double,std::allocator<double> >::_Vector_impl" = type { double*, double…
21 …%"struct.std::_Vector_base<int,std::allocator<int> >" = type { %"struct.std::_Vector_base<int,std:…
22 %"struct.std::_Vector_base<int,std::allocator<int> >::_Vector_impl" = type { i32*, i32*, i32* }
[all …]
/minix3/external/public-domain/xz/dist/src/liblzma/common/
H A Dstream_encoder.c62 block_encoder_init(lzma_coder *coder, const lzma_allocator *allocator) in block_encoder_init() argument
75 return lzma_block_encoder_init(&coder->block_encoder, allocator, in block_encoder_init()
81 stream_encode(lzma_coder *coder, const lzma_allocator *allocator, in stream_encode() argument
121 &coder->index_encoder, allocator, in stream_encode()
131 return_if_error(block_encoder_init(coder, allocator)); in stream_encode()
158 coder->block_encoder.coder, allocator, in stream_encode()
168 return_if_error(lzma_index_append(coder->index, allocator, in stream_encode()
180 coder->index_encoder.coder, allocator, in stream_encode()
212 stream_encoder_end(lzma_coder *coder, const lzma_allocator *allocator) in stream_encoder_end() argument
214 lzma_next_end(&coder->block_encoder, allocator); in stream_encoder_end()
[all …]
H A Dcommon.c39 lzma_alloc(size_t size, const lzma_allocator *allocator) in lzma_alloc() argument
47 if (allocator != NULL && allocator->alloc != NULL) in lzma_alloc()
48 ptr = allocator->alloc(allocator->opaque, 1, size); in lzma_alloc()
57 lzma_alloc_zero(size_t size, const lzma_allocator *allocator) in lzma_alloc_zero() argument
65 if (allocator != NULL && allocator->alloc != NULL) { in lzma_alloc_zero()
66 ptr = allocator->alloc(allocator->opaque, 1, size); in lzma_alloc_zero()
78 lzma_free(void *ptr, const lzma_allocator *allocator) in lzma_free() argument
80 if (allocator != NULL && allocator->free != NULL) in lzma_free()
81 allocator->free(allocator->opaque, ptr); in lzma_free()
112 lzma_next_filter_init(lzma_next_coder *next, const lzma_allocator *allocator, in lzma_next_filter_init() argument
[all …]
H A Dcommon.h102 lzma_next_coder *next, const lzma_allocator *allocator,
110 lzma_coder *coder, const lzma_allocator *allocator,
118 lzma_coder *coder, const lzma_allocator *allocator);
177 lzma_ret (*update)(lzma_coder *coder, const lzma_allocator *allocator,
233 extern void *lzma_alloc(size_t size, const lzma_allocator *allocator)
240 lzma_alloc_zero(size_t size, const lzma_allocator *allocator);
243 extern void lzma_free(void *ptr, const lzma_allocator *allocator);
255 const lzma_allocator *allocator,
261 lzma_next_coder *next, const lzma_allocator *allocator,
267 const lzma_allocator *allocator);
[all …]
H A Dindex_decoder.c57 index_decode(lzma_coder *coder, const lzma_allocator *allocator, in index_decode() argument
139 coder->index, allocator, in index_decode()
210 index_decoder_end(lzma_coder *coder, const lzma_allocator *allocator) in index_decoder_end() argument
212 lzma_index_end(coder->index, allocator); in index_decoder_end()
213 lzma_free(coder, allocator); in index_decoder_end()
237 index_decoder_reset(lzma_coder *coder, const lzma_allocator *allocator, in index_decoder_reset() argument
248 coder->index = lzma_index_init(allocator); in index_decoder_reset()
264 index_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, in index_decoder_init() argument
267 lzma_next_coder_init(&index_decoder_init, next, allocator); in index_decoder_init()
273 next->coder = lzma_alloc(sizeof(lzma_coder), allocator); in index_decoder_init()
[all …]
H A Dalone_encoder.c35 const lzma_allocator *allocator lzma_attribute((__unused__)), in alone_encode()
55 allocator, in, in_pos, in_size, in alone_encode()
68 alone_encoder_end(lzma_coder *coder, const lzma_allocator *allocator) in alone_encoder_end() argument
70 lzma_next_end(&coder->next, allocator); in alone_encoder_end()
71 lzma_free(coder, allocator); in alone_encoder_end()
78 alone_encoder_init(lzma_next_coder *next, const lzma_allocator *allocator, in alone_encoder_init() argument
81 lzma_next_coder_init(&alone_encoder_init, next, allocator); in alone_encoder_init()
84 next->coder = lzma_alloc(sizeof(lzma_coder), allocator); in alone_encoder_init()
134 return lzma_next_filter_init(&next->coder->next, allocator, filters); in alone_encoder_init()
H A Dstream_encoder_mt.c73 const lzma_allocator *allocator; member
227 thr->allocator, &thr->block_options); in worker_encode()
277 thr->block_encoder.coder, thr->allocator, in worker_encode()
412 lzma_next_end(&thr->block_encoder, thr->allocator); in worker_start()
413 lzma_free(thr->in, thr->allocator); in worker_start()
449 threads_end(lzma_coder *coder, const lzma_allocator *allocator) in threads_end() argument
464 lzma_free(coder->threads, allocator); in threads_end()
471 initialize_new_thread(lzma_coder *coder, const lzma_allocator *allocator) in initialize_new_thread() argument
475 thr->in = lzma_alloc(coder->block_size, allocator); in initialize_new_thread()
486 thr->allocator = allocator; in initialize_new_thread()
[all …]
H A Dauto_decoder.c33 auto_decode(lzma_coder *coder, const lzma_allocator *allocator, in auto_decode() argument
53 &coder->next, allocator, in auto_decode()
57 allocator, coder->memlimit, true)); in auto_decode()
74 coder->next.coder, allocator, in auto_decode()
103 auto_decoder_end(lzma_coder *coder, const lzma_allocator *allocator) in auto_decoder_end() argument
105 lzma_next_end(&coder->next, allocator); in auto_decoder_end()
106 lzma_free(coder, allocator); in auto_decoder_end()
146 auto_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, in auto_decoder_init() argument
149 lzma_next_coder_init(&auto_decoder_init, next, allocator); in auto_decoder_init()
158 next->coder = lzma_alloc(sizeof(lzma_coder), allocator); in auto_decoder_init()
/minix3/external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/
H A D2009-10-15-ITBlockBranch.ll5 …mal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >" = typ…
7 …ar>,std::allocator<char> >" = type { %"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string…
8 …::char_traits<char>,std::allocator<char> >::_Rep" = type { %"struct.std::basic_string<char,std::ch…
9 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" = type { …
12 …std::char_traits<char>,std::allocator<char> >"* %this, %"struct.std::basic_string<char,std::char_t…
18 …NKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this)…
19 …NKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %__str…
22 …s7_M_dataEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this)…
23 …NKSs4dataEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %__str…
38 …ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this)
[all …]
H A Dv8_IT_4.ll6 …mal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >" = typ…
8 …ar>,std::allocator<char> >" = type { %"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string…
9 …::char_traits<char>,std::allocator<char> >::_Rep" = type { %"struct.std::basic_string<char,std::ch…
10 %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" = type { …
13 …std::char_traits<char>,std::allocator<char> >"* %this, %"struct.std::basic_string<char,std::char_t…
21 …NKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this)…
22 …NKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %__str…
25 …s7_M_dataEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this)…
26 …NKSs4dataEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %__str…
41 …ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this)
[all …]
H A D2009-08-02-CoalescerBug.ll8 %"struct.std::CharVectorType" = type { %"struct.std::_Vector_base<char,std::allocator<char> >" }
11 …%"struct.std::_Bvector_base<std::allocator<bool> >" = type { %"struct.std::_Bvector_base<std::allo…
12 …%"struct.std::_Bvector_base<std::allocator<bool> >::_Bvector_impl" = type { %"struct.std::_Bit_con…
13 …%"struct.std::_Vector_base<char,std::allocator<char> >" = type { %"struct.std::_Vector_base<char,s…
14 %"struct.std::_Vector_base<char,std::allocator<char> >::_Vector_impl" = type { i8*, i8*, i8* }
15 …<short unsigned int,std::allocator<short unsigned int> >" = type { %"struct.std::_Vector_base<shor…
16 …%"struct.std::_Vector_base<short unsigned int,std::allocator<short unsigned int> >::_Vector_impl" …
18 …%"struct.std::vector<bool,std::allocator<bool> >" = type { %"struct.std::_Bvector_base<std::alloca…
19 …<short unsigned int,std::allocator<short unsigned int> >" = type { %"struct.std::_Vector_base<shor…
21allocator<bool> >", %"struct.xalanc_1_8::XalanDOMString", i8, i8, i8, i8, i8, %"struct.xalanc_1_8:…
[all …]
/minix3/external/public-domain/xz/dist/src/liblzma/lz/
H A Dlz_encoder.c81 fill_window(lzma_coder *coder, const lzma_allocator *allocator, in fill_window() argument
105 ret = coder->next.code(coder->next.coder, allocator, in fill_window()
160 lz_encode(lzma_coder *coder, const lzma_allocator *allocator, in lz_encode() argument
171 return_if_error(fill_window(coder, allocator, in lz_encode()
191 lz_encoder_prepare(lzma_mf *mf, const lzma_allocator *allocator, in lz_encoder_prepare() argument
232 lzma_free(mf->buffer, allocator); in lz_encoder_prepare()
348 lzma_free(mf->hash, allocator); in lz_encoder_prepare()
351 lzma_free(mf->son, allocator); in lz_encoder_prepare()
369 lz_encoder_init(lzma_mf *mf, const lzma_allocator *allocator, in lz_encoder_init() argument
378 allocator); in lz_encoder_init()
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/
H A D2009-02-20-InstCombine-SROA.ll8 %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >" = type { i32* }
9 %"struct.std::_Vector_base<int,std::allocator<int> >" = type { %"struct.std::_Vector_base<int,std::
10 %"struct.std::_Vector_base<int,std::allocator<int> >::_Vector_impl" = type { i32*, i32*, i32* }
15 %"struct.std::vector<int,std::allocator<int> >" = type { %"struct.std::_Vector_base<int,std::alloca…
17 define i32* @_Z3fooRSt6vectorIiSaIiEE(%"struct.std::vector<int,std::allocator<int> >"* %X) {
19 %0 = alloca %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >"
20 …r.i.i = alloca %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >"
21 …r.i.i = alloca %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >"
24 …ddr.i = alloca %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >"
26 %3 = alloca %"struct.__gnu_cxx::__normal_iterator<int*,std::vector<int, std::allocator<int> > >"
[all …]
/minix3/external/public-domain/xz/dist/src/liblzma/delta/
H A Ddelta_common.c18 delta_coder_end(lzma_coder *coder, const lzma_allocator *allocator) in delta_coder_end() argument
20 lzma_next_end(&coder->next, allocator); in delta_coder_end()
21 lzma_free(coder, allocator); in delta_coder_end()
27 lzma_delta_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, in lzma_delta_coder_init() argument
32 next->coder = lzma_alloc(sizeof(lzma_coder), allocator); in lzma_delta_coder_init()
55 allocator, filters + 1); in lzma_delta_coder_init()

12345678910>>...16