Searched refs:allocate (Results 1 - 25 of 40) sorted by relevance

12

/haiku/headers/libs/agg/
H A Dagg_gamma_lut.h54 m_dir_gamma(pod_allocator<HiResT>::allocate(gamma_size)),
55 m_inv_gamma(pod_allocator<LoResT>::allocate(hi_res_size))
71 m_dir_gamma(pod_allocator<HiResT>::allocate(gamma_size)),
72 m_inv_gamma(pod_allocator<LoResT>::allocate(hi_res_size))
H A Dagg_span_allocator.h30 AGG_INLINE color_type* allocate(unsigned span_len) function in class:agg::span_allocator
H A Dagg_font_cache_manager.h63 m_font_signature = (char*)m_allocator.allocate(strlen(font_signature) + 1);
98 (glyph_cache**)m_allocator.allocate(sizeof(glyph_cache*) * 256,
107 (glyph_cache*)m_allocator.allocate(sizeof(glyph_cache),
111 glyph->data = m_allocator.allocate(data_size);
149 m_fonts(pod_allocator<font_cache*>::allocate(max_fonts)),
165 m_fonts[idx] = obj_allocator<font_cache>::allocate();
180 m_fonts[m_num_fonts] = obj_allocator<font_cache>::allocate();
H A Dagg_array.h116 m_array(pod_allocator<T>::allocate(size)),
121 m_array(pod_allocator<T>::allocate(v.m_size)),
132 m_array = pod_allocator<T>::allocate(m_size = size);
181 void allocate(unsigned size, unsigned extra_tail=0);
227 m_array = m_capacity ? pod_allocator<T>::allocate(m_capacity) : 0;
233 void pod_vector<T>::allocate(unsigned size, unsigned extra_tail) function in class:agg::pod_vector
248 T* data = pod_allocator<T>::allocate(new_size);
264 m_array(pod_allocator<T>::allocate(m_capacity)) {}
270 m_array(v.m_capacity ? pod_allocator<T>::allocate(v.m_capacity) : 0)
279 allocate(
826 int8u* allocate(unsigned size, unsigned alignment=1) function in class:agg::block_allocator
[all...]
H A Dagg_rendering_buffer_dynarow.h110 int8u* p = pod_allocator<int8u>::allocate(m_byte_width);
H A Dagg_rasterizer_compound_aa.h449 m_styles.allocate(m_max_style - m_min_style + 2, 128);
492 m_cells.allocate(num_cells * 2, 256); // Each cell can have two styles
494 m_asm.allocate((num_styles + 7) >> 3, 8);
613 m_styles.allocate(m_max_style - m_min_style + 2, 128);
642 m_cover_buf.allocate(len, 256);
H A Dagg_rasterizer_cells_aa.h474 pod_allocator<cell_type*>::allocate(m_max_blocks +
487 pod_allocator<cell_type>::allocate(cell_block_size);
649 m_sorted_cells.allocate(m_num_cells, 16);
652 m_sorted_y.allocate(m_max_y - m_min_y + 1, 16);
H A Dagg_blur.h126 m_buf.allocate(w, 128);
127 m_stack.allocate(div, 32);
386 stack.allocate(div);
453 stack.allocate(div);
566 stack.allocate(div);
670 stack.allocate(div);
824 stack.allocate(div);
945 stack.allocate(div);
1112 m_sum1.allocate(w);
1113 m_sum2.allocate(
[all...]
H A Dagg_renderer_scanline.h167 typename BaseRenderer::color_type* colors = alloc.allocate(len);
360 typename BaseRenderer::color_type* colors = alloc.allocate(len);
500 color_type* color_span = alloc.allocate(len * 2);
H A Dagg_basics.h38 static T* allocate(unsigned num) { return new T [num]; } function in struct:agg::pod_allocator
43 // allocator. The difference is that it can only allocate a single
45 // In AGG there is no need to allocate an array of objects with
52 static T* allocate() { return new T; } function in struct:agg::obj_allocator
H A Dagg_scanline_storage_aa.h105 s.ptr = pod_allocator<T>::allocate(num_cells);
146 dst.ptr = pod_allocator<T>::allocate(dst.len);
/haiku/headers/cpp/
H A Ddefalloc.h42 inline T* allocate(ptrdiff_t size, T*) { function
72 pointer allocate(size_type n) { function in class:allocator
73 return ::allocate((difference_type)n, (pointer)0);
H A Dstl_alloc.h37 // The allocation primitives are intended to allocate individual objects,
159 static void* allocate(size_t __n) function in class:__malloc_alloc_template
231 static _Tp* allocate(size_t __n) function in class:simple_alloc
232 { return 0 == __n ? 0 : (_Tp*) _Alloc::allocate(__n * sizeof (_Tp)); }
233 static _Tp* allocate(void) function in class:simple_alloc
234 { return (_Tp*) _Alloc::allocate(sizeof (_Tp)); }
257 static void* allocate(size_t __n) function in class:debug_alloc
259 char* __result = (char*)_Alloc::allocate(__n + _S_extra);
301 // 2. In all other cases, we allocate an object of size exactly
308 // may use this allocator. It is safe to allocate a
405 static void* allocate(size_t __n) function in class:__default_alloc_template
758 _Tp* allocate(size_type __n, const void* = 0) { function in class:allocator
835 _Tp* allocate(size_type __n, const void* = 0) { function
[all...]
H A Dpthread_alloc22 // It is not an error to allocate memory in thread A and deallocate
81 // if it is inconvenient to allocate the requested number.
123 static void * allocate(size_t __n)
130 return(malloc_alloc::allocate(__n));
218 /* We allocate memory in large chunks in order to avoid fragmenting */
268 _S_start_free = (char *)malloc_alloc::allocate(__bytes_to_get);
272 _S_start_free = (char *)malloc_alloc::allocate(__bytes_to_get);
332 __result = allocate(__new_sz);
394 _Tp* allocate(size_type __n, const void* = 0) {
395 return __n != 0 ? static_cast<_Tp*>(_S_Alloc::allocate(__
[all...]
H A Dstl_rope.h264 // instance used to allocate them. This is mostly redundant.
297 { return __name##Allocator(_M_data_allocator).allocate(__n); } \
324 { return __name##Alloc::allocate(__n); } \
361 { return __name##Alloc::allocate(__n); } \
1184 { return __name##Allocator(_M_data_allocator).allocate(__n); } \
1214 { return __name##Alloc::allocate(__n); } \
1252 { return __name##Alloc::allocate(__n); } \
1431 _RopeLeaf* __space = _LAllocator(__a).allocate(1);
1443 _RopeConcatenation* __space = _CAllocator(__a).allocate(1);
1454 _RopeFunction* __space = _FAllocator(__a).allocate(
[all...]
H A Dstl_deque.h265 // and destructor allocate (but don't initialize) storage. This makes
291 return node_allocator.allocate(__deque_buf_size(__bufsiz,sizeof(_Tp)));
297 { return map_allocator.allocate(__n); }
320 { return _Node_alloc_type::allocate(__deque_buf_size(__bufsiz,
326 { return _Map_alloc_type::allocate(__n); }
405 { return _Node_alloc_type::allocate(__deque_buf_size(__bufsiz,
411 { return _Map_alloc_type::allocate(__n); }
/haiku/src/add-ons/kernel/file_systems/fat/
H A Ddlist.cpp69 dlist_realloc(nspace *vol, uint32 allocate) argument
74 vol->dlist.allocated, allocate));
76 ASSERT(allocate != vol->dlist.allocated);
77 ASSERT(allocate > vol->dlist.entries);
79 vnid_list = (ino_t *)malloc(sizeof(ino_t) * allocate);
88 vol->dlist.allocated = allocate;
/haiku/src/tests/add-ons/kernel/bus_managers/agp_gart/
H A Dgart_tester.cpp154 allocate(aperture_id aperture, size_t size, size_t alignment, uint32 flags, function
183 allocate(aperture, 2 * B_PAGE_SIZE, 0, 0, base[0], physical[0]);
184 allocate(aperture, 4 * B_PAGE_SIZE, 0, B_APERTURE_NON_RESERVED, base[1],
186 allocate(aperture, 1 * B_PAGE_SIZE, 0, B_APERTURE_NEED_PHYSICAL, base[2],
189 allocate(aperture, 1 * B_PAGE_SIZE, 4 * B_PAGE_SIZE, 0, base[2],
194 allocate(aperture, 5 * B_PAGE_SIZE, 0, 0, base[1], physical[1]);
207 allocate(aperture, 25 * B_PAGE_SIZE, 0, 0, base[0], physical[0]);
209 allocate(aperture, 4 * B_PAGE_SIZE, 0, 0, base[0], physical[0]);
/haiku/src/tests/add-ons/kernel/file_systems/bfs/
H A Dbfs_allocator_invalidate_largest.cpp19 allocate(uint16_t start, int32_t length) function
104 printf("Test %d: %d.%d - allocate %d.%d\n", num, fLargestStart,
107 allocate(start, length);
/haiku/src/system/libroot/posix/malloc_hoard2/
H A Dthreadheap.cpp72 // we'll have to allocate our own superblock.
83 m.allocate((int)sb->getNumBlocks() *
/haiku/src/system/kernel/arch/m68k/paging/040/
H A DM68KPagingStructures040.cpp128 #warning M68K: TODO: allocate all kernel pgdirs at boot and remove this (also dont remove them anymore from unmap)
/haiku/src/system/kernel/device_manager/
H A DIOSchedulerSimple.h68 bool allocate);
H A DIOSchedulerSimple.cpp786 bool allocate)
792 if (owner != NULL || !allocate)
795 // not in table -- allocate an unused one
785 _GetRequestOwner(team_id team, thread_id thread, bool allocate) argument
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dcm.c335 goto allocate;
342 goto allocate;
346 goto allocate;
350 goto allocate;
354 goto allocate;
361 allocate:
/haiku/src/apps/mediaplayer/support/
H A DStackBlurFilter.cpp193 stack.allocate(div);
312 stack.allocate(div);
462 stack.allocate(div);
529 stack.allocate(div);

Completed in 147 milliseconds

12