| /trueos/contrib/serf/buckets/ |
| HD | allocator.c | 85 apr_allocator_t *allocator; member 104 serf_bucket_alloc_t *allocator = data; in allocator_cleanup() local 107 if (allocator->blocks) { in allocator_cleanup() 108 apr_allocator_free(allocator->allocator, allocator->blocks); in allocator_cleanup() 112 if (allocator->own_allocator) { in allocator_cleanup() 113 apr_allocator_destroy(allocator->allocator); in allocator_cleanup() 124 serf_bucket_alloc_t *allocator = apr_pcalloc(pool, sizeof(*allocator)); in serf_bucket_allocator_create() local 126 allocator->pool = pool; in serf_bucket_allocator_create() 127 allocator->allocator = apr_pool_allocator_get(pool); in serf_bucket_allocator_create() 128 if (allocator->allocator == NULL) { in serf_bucket_allocator_create() [all …]
|
| HD | bwtp_buckets.c | 66 serf_bucket_alloc_t *allocator) in serf_bucket_bwtp_channel_close() argument 70 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx)); in serf_bucket_bwtp_channel_close() 75 ctx->headers = serf_bucket_headers_create(allocator); in serf_bucket_bwtp_channel_close() 77 return serf_bucket_create(&serf_bucket_type_bwtp_frame, allocator, ctx); in serf_bucket_bwtp_channel_close() 83 serf_bucket_alloc_t *allocator) in serf_bucket_bwtp_channel_open() argument 87 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx)); in serf_bucket_bwtp_channel_open() 92 ctx->headers = serf_bucket_headers_create(allocator); in serf_bucket_bwtp_channel_open() 94 return serf_bucket_create(&serf_bucket_type_bwtp_frame, allocator, ctx); in serf_bucket_bwtp_channel_open() 100 serf_bucket_alloc_t *allocator) in serf_bucket_bwtp_header_create() argument 104 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx)); in serf_bucket_bwtp_header_create() [all …]
|
| HD | aggregate_buckets.c | 40 serf_bucket_alloc_t *allocator) in cleanup_aggregate() argument 53 serf_bucket_mem_free(allocator, ctx->done); in cleanup_aggregate() 60 serf_bucket_t *bucket, serf_bucket_alloc_t *allocator) in serf_bucket_aggregate_cleanup() argument 64 cleanup_aggregate(ctx, allocator); in serf_bucket_aggregate_cleanup() 67 static aggregate_context_t *create_aggregate(serf_bucket_alloc_t *allocator) in create_aggregate() argument 71 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx)); in create_aggregate() 84 serf_bucket_alloc_t *allocator) in serf_bucket_aggregate_create() argument 88 ctx = create_aggregate(allocator); in serf_bucket_aggregate_create() 90 return serf_bucket_create(&serf_bucket_type_aggregate, allocator, ctx); in serf_bucket_aggregate_create() 94 serf_bucket_alloc_t *allocator, in serf__bucket_stream_create() argument [all …]
|
| HD | simple_buckets.c | 43 serf_bucket_alloc_t *allocator) in serf_bucket_simple_create() argument 47 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx)); in serf_bucket_simple_create() 53 return serf_bucket_create(&serf_bucket_type_simple, allocator, ctx); in serf_bucket_simple_create() 58 serf_bucket_alloc_t *allocator) in serf_bucket_simple_copy_create() argument 62 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx)); in serf_bucket_simple_copy_create() 64 ctx->original = ctx->current = serf_bucket_mem_alloc(allocator, len); in serf_bucket_simple_copy_create() 69 ctx->baton = allocator; in serf_bucket_simple_copy_create() 71 return serf_bucket_create(&serf_bucket_type_simple, allocator, ctx); in serf_bucket_simple_copy_create() 76 serf_bucket_alloc_t *allocator) in serf_bucket_simple_own_create() argument 80 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx)); in serf_bucket_simple_own_create() [all …]
|
| HD | response_buckets.c | 72 serf_bucket_alloc_t *allocator) in serf_bucket_response_create() argument 76 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx)); in serf_bucket_response_create() 79 ctx->headers = serf_bucket_headers_create(allocator); in serf_bucket_response_create() 86 return serf_bucket_create(&serf_bucket_type_response, allocator, ctx); in serf_bucket_response_create() 109 serf_bucket_mem_free(bucket->allocator, (void*)ctx->sl.reason); in serf_response_destroy_and_data() 126 serf_bucket_alloc_t *allocator) in parse_status_line() argument 148 ctx->sl.reason = serf_bstrmemdup(allocator, reason, in parse_status_line() 225 status = parse_status_line(ctx, bkt->allocator); in run_machine() 232 serf_bucket_barrier_create(ctx->stream, bkt->allocator); in run_machine() 268 bkt->allocator); in run_machine() [all …]
|
| HD | request_buckets.c | 38 serf_bucket_alloc_t *allocator) in serf_bucket_request_create() argument 42 ctx = serf_bucket_mem_alloc(allocator, sizeof(*ctx)); in serf_bucket_request_create() 45 ctx->headers = serf_bucket_headers_create(allocator); in serf_bucket_request_create() 49 return serf_bucket_create(&serf_bucket_type_request, allocator, ctx); in serf_bucket_request_create() 82 apr_pstrcat(serf_bucket_allocator_get_pool(bucket->allocator), in serf_bucket_request_set_root() 109 new_data = serf_bstrcatv(bucket->allocator, iov, 4, &nbytes); in serialize_data() 111 bucket->allocator); in serialize_data() 136 ctx->body = serf_bucket_chunk_create(ctx->body, bucket->allocator); in serialize_data() 143 serf_bucket_mem_free(bucket->allocator, ctx); in serialize_data() 201 ctx = serf_bucket_mem_alloc(bucket->allocator, sizeof(*ctx)); in serf_bucket_request_become() [all …]
|
| /trueos/contrib/libstdc++/include/bits/ |
| D | allocator.h | 60 class allocator; 64 class allocator<void> 75 { typedef allocator<_Tp1> other; }; 85 class allocator: public __glibcxx_base_allocator<_Tp> 98 { typedef allocator<_Tp1> other; }; 100 allocator() throw() { } in throw() 102 allocator(const allocator& __a) throw() in throw() 106 allocator(const allocator<_Tp1>&) throw() { } in allocator() function 108 ~allocator() throw() { } in throw() 115 operator==(const allocator<_T1>&, const allocator<_T2>&) [all …]
|
| /trueos/contrib/subversion/subversion/libsvn_subr/ |
| HD | pool.c | 67 svn_pool_create_ex(apr_pool_t *parent_pool, apr_allocator_t *allocator) in svn_pool_create_ex() argument 70 apr_pool_create_ex(&pool, parent_pool, abort_on_pool_failure, allocator); in svn_pool_create_ex() 76 svn_pool_create_ex_debug(apr_pool_t *pool, apr_allocator_t *allocator, in svn_pool_create_ex_debug() argument 79 return svn_pool_create_ex(pool, allocator); in svn_pool_create_ex_debug() 85 svn_pool_create_ex_debug(apr_pool_t *parent_pool, apr_allocator_t *allocator, in svn_pool_create_ex_debug() argument 90 allocator, file_line); in svn_pool_create_ex_debug() 96 svn_pool_create_ex(apr_pool_t *pool, apr_allocator_t *allocator) in svn_pool_create_ex() argument 98 return svn_pool_create_ex_debug(pool, allocator, SVN_FILE_LINE_UNDEFINED); in svn_pool_create_ex() 106 apr_allocator_t *allocator; in svn_pool_create_allocator() local 112 if (apr_allocator_create(&allocator)) in svn_pool_create_allocator() [all …]
|
| /trueos/contrib/apr/memory/unix/ |
| HD | apr_pools.c | 123 APR_DECLARE(apr_status_t) apr_allocator_create(apr_allocator_t **allocator) in apr_allocator_create() argument 127 *allocator = NULL; in apr_allocator_create() 135 *allocator = new_allocator; in apr_allocator_create() 140 APR_DECLARE(void) apr_allocator_destroy(apr_allocator_t *allocator) in apr_allocator_destroy() argument 146 ref = &allocator->free[index]; in apr_allocator_destroy() 157 free(allocator); in apr_allocator_destroy() 161 APR_DECLARE(void) apr_allocator_mutex_set(apr_allocator_t *allocator, in apr_allocator_mutex_set() argument 164 allocator->mutex = mutex; in apr_allocator_mutex_set() 168 apr_allocator_t *allocator) in apr_allocator_mutex_get() argument 170 return allocator->mutex; in apr_allocator_mutex_get() [all …]
|
| /trueos/contrib/xz/src/liblzma/common/ |
| HD | stream_encoder.c | 63 block_encoder_init(lzma_coder *coder, lzma_allocator *allocator) in block_encoder_init() argument 76 return lzma_block_encoder_init(&coder->block_encoder, allocator, in block_encoder_init() 82 stream_encode(lzma_coder *coder, lzma_allocator *allocator, in stream_encode() argument 122 &coder->index_encoder, allocator, in stream_encode() 132 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, lzma_allocator *allocator) in stream_encoder_end() argument 214 lzma_next_end(&coder->block_encoder, allocator); in stream_encoder_end() [all …]
|
| HD | common.c | 39 lzma_alloc(size_t size, 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_free(void *ptr, lzma_allocator *allocator) in lzma_free() argument 59 if (allocator != NULL && allocator->free != NULL) in lzma_free() 60 allocator->free(allocator->opaque, ptr); in lzma_free() 91 lzma_next_filter_init(lzma_next_coder *next, lzma_allocator *allocator, in lzma_next_filter_init() argument 94 lzma_next_coder_init(filters[0].init, next, allocator); in lzma_next_filter_init() 97 ? LZMA_OK : filters[0].init(next, allocator, filters); in lzma_next_filter_init() 102 lzma_next_filter_update(lzma_next_coder *next, lzma_allocator *allocator, in lzma_next_filter_update() argument [all …]
|
| HD | common.h | 83 lzma_next_coder *next, lzma_allocator *allocator, 91 lzma_coder *coder, lzma_allocator *allocator, 99 lzma_coder *coder, lzma_allocator *allocator); 153 lzma_ret (*update)(lzma_coder *coder, lzma_allocator *allocator, 207 extern void *lzma_alloc(size_t size, lzma_allocator *allocator) 211 extern void lzma_free(void *ptr, lzma_allocator *allocator); 223 lzma_allocator *allocator, const lzma_filter_info *filters); 228 lzma_next_coder *next, lzma_allocator *allocator, 233 extern void lzma_next_end(lzma_next_coder *next, lzma_allocator *allocator); 261 #define lzma_next_coder_init(func, next, allocator) \ argument [all …]
|
| HD | index_decoder.c | 57 index_decode(lzma_coder *coder, lzma_allocator *allocator, in index_decode() argument 139 coder->index, allocator, in index_decode() 210 index_decoder_end(lzma_coder *coder, 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, 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, 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 …]
|
| HD | stream_decoder.c | 83 stream_decoder_reset(lzma_coder *coder, lzma_allocator *allocator) in stream_decoder_reset() argument 86 coder->index_hash = lzma_index_hash_init(coder->index_hash, allocator); in stream_decoder_reset() 99 stream_decode(lzma_coder *coder, lzma_allocator *allocator, in stream_decode() argument 196 allocator, coder->buffer)); in stream_decode() 220 allocator, in stream_decode() 228 lzma_free(filters[i].options, allocator); in stream_decode() 244 coder->block_decoder.coder, allocator, in stream_decode() 356 return_if_error(stream_decoder_reset(coder, allocator)); in stream_decode() 369 stream_decoder_end(lzma_coder *coder, lzma_allocator *allocator) in stream_decoder_end() argument 371 lzma_next_end(&coder->block_decoder, allocator); in stream_decoder_end() [all …]
|
| HD | alone_encoder.c | 35 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, 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, 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()
|
| HD | auto_decoder.c | 33 auto_decode(lzma_coder *coder, 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, 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, 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()
|
| /trueos/contrib/xz/src/liblzma/simple/ |
| HD | simple_coder.h | 20 lzma_allocator *allocator, const lzma_filter_info *filters); 23 lzma_allocator *allocator, const lzma_filter_info *filters); 27 lzma_allocator *allocator, const lzma_filter_info *filters); 30 lzma_allocator *allocator, const lzma_filter_info *filters); 34 lzma_allocator *allocator, const lzma_filter_info *filters); 37 lzma_allocator *allocator, const lzma_filter_info *filters); 41 lzma_allocator *allocator, const lzma_filter_info *filters); 44 lzma_allocator *allocator, const lzma_filter_info *filters); 48 lzma_allocator *allocator, const lzma_filter_info *filters); 51 lzma_allocator *allocator, const lzma_filter_info *filters); [all …]
|
| HD | simple_coder.c | 21 copy_or_code(lzma_coder *coder, lzma_allocator *allocator, in copy_or_code() argument 39 coder->next.coder, allocator, in copy_or_code() 69 simple_code(lzma_coder *coder, 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, 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, lzma_allocator *allocator, in simple_coder_update() argument [all …]
|
| /trueos/contrib/apr-util/buckets/ |
| HD | apr_buckets_alloc.c | 39 apr_allocator_t *allocator; member 48 apr_allocator_free(list->allocator, list->blocks); in alloc_cleanup() 51 if (list->pool && list->allocator != apr_pool_allocator_get(list->pool)) { in alloc_cleanup() 52 apr_allocator_destroy(list->allocator); in alloc_cleanup() 61 apr_allocator_t *allocator = apr_pool_allocator_get(p); in apr_bucket_alloc_create() local 66 if (allocator == NULL) { in apr_bucket_alloc_create() 67 if (apr_allocator_create(&allocator) != APR_SUCCESS) { in apr_bucket_alloc_create() 75 list = apr_bucket_alloc_create_ex(allocator); in apr_bucket_alloc_create() 90 apr_allocator_t *allocator) in apr_bucket_alloc_create_ex() argument 95 block = apr_allocator_alloc(allocator, ALLOC_AMT); in apr_bucket_alloc_create_ex() [all …]
|
| /trueos/contrib/serf/ |
| HD | serf_bucket_types.h | 48 serf_bucket_alloc_t *allocator); 83 serf_bucket_alloc_t *allocator); 140 serf_bucket_alloc_t *allocator); 165 serf_bucket_alloc_t *allocator); 169 serf_bucket_alloc_t *allocator); 174 serf_bucket_alloc_t *allocator); 179 serf_bucket_alloc_t *allocator); 183 serf_bucket_alloc_t *allocator); 203 serf_bucket_alloc_t *allocator); 206 serf_bucket_alloc_t *allocator); [all …]
|
| HD | serf_bucket_util.h | 42 serf_bucket_alloc_t *allocator, 107 serf_bucket_alloc_t *allocator, 117 serf_bucket_alloc_t *allocator, 124 serf_bucket_alloc_t *allocator, 132 serf_bucket_alloc_t *allocator, 140 serf_bucket_alloc_t *allocator, 148 serf_bucket_alloc_t *allocator, 155 serf_bucket_alloc_t *allocator,
|
| /trueos/contrib/apr/include/ |
| HD | apr_allocator.h | 74 APR_DECLARE(apr_status_t) apr_allocator_create(apr_allocator_t **allocator) 83 APR_DECLARE(void) apr_allocator_destroy(apr_allocator_t *allocator) 92 APR_DECLARE(apr_memnode_t *) apr_allocator_alloc(apr_allocator_t *allocator, 103 APR_DECLARE(void) apr_allocator_free(apr_allocator_t *allocator, 120 APR_DECLARE(void) apr_allocator_owner_set(apr_allocator_t *allocator, 128 APR_DECLARE(apr_pool_t *) apr_allocator_owner_get(apr_allocator_t *allocator) 137 APR_DECLARE(void) apr_allocator_max_free_set(apr_allocator_t *allocator, 149 APR_DECLARE(void) apr_allocator_mutex_set(apr_allocator_t *allocator, 158 apr_allocator_t *allocator)
|
| /trueos/contrib/xz/src/liblzma/lz/ |
| HD | lz_encoder.c | 79 fill_window(lzma_coder *coder, lzma_allocator *allocator, const uint8_t *in, in fill_window() argument 102 ret = coder->next.code(coder->next.coder, allocator, in fill_window() 151 lz_encode(lzma_coder *coder, lzma_allocator *allocator, in lz_encode() argument 162 return_if_error(fill_window(coder, allocator, in lz_encode() 182 lz_encoder_prepare(lzma_mf *mf, lzma_allocator *allocator, in lz_encoder_prepare() argument 223 lzma_free(mf->buffer, allocator); in lz_encoder_prepare() 345 lzma_free(mf->hash, allocator); in lz_encoder_prepare() 363 lz_encoder_init(lzma_mf *mf, lzma_allocator *allocator, in lz_encoder_init() argument 368 mf->buffer = lzma_alloc(mf->size, allocator); in lz_encoder_init() 396 allocator); in lz_encoder_init() [all …]
|
| HD | lz_decoder.c | 129 lzma_allocator *allocator lzma_attribute((__unused__)), in lz_decode() 150 allocator, in, in_pos, in_size, in lz_decode() 187 lz_decoder_end(lzma_coder *coder, lzma_allocator *allocator) in lz_decoder_end() argument 189 lzma_next_end(&coder->next, allocator); in lz_decoder_end() 190 lzma_free(coder->dict.buf, allocator); in lz_decoder_end() 193 coder->lz.end(coder->lz.coder, allocator); in lz_decoder_end() 195 lzma_free(coder->lz.coder, allocator); in lz_decoder_end() 197 lzma_free(coder, allocator); in lz_decoder_end() 203 lzma_lz_decoder_init(lzma_next_coder *next, lzma_allocator *allocator, in lzma_lz_decoder_init() argument 206 lzma_allocator *allocator, const void *options, in lzma_lz_decoder_init() [all …]
|
| /trueos/contrib/libstdc++/src/ |
| D | ext-inst.cc | 46 rope<char, std::allocator<char> >::_S_min_len[min_len]; 50 rope<char, std::allocator<char> >:: 51 _S_fetch(_Rope_RopeRep<char, std::allocator<char> >*, size_type); 58 rope<wchar_t, std::allocator<wchar_t> >::_S_min_len[min_len]; 62 rope<wchar_t, std::allocator<wchar_t> >:: 63 _S_fetch(_Rope_RopeRep<wchar_t, std::allocator<wchar_t> >*, size_type);
|