Searched refs:allocate (Results 1 - 25 of 40) sorted by last modified time

12

/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/system/kernel/fs/
H A Dvfs.cpp1655 // changed... (ie. allocate upfront)
3165 kprintf("Failed to allocate memory for constructing the path.\n");
4693 created if \a allocate is \c true.
4698 vfs_get_vnode_cache(struct vnode* vnode, VMCache** _cache, bool allocate) argument
4713 if (allocate) {
4946 // allocate space for FDs and their close-on-exec flag
5067 // allocate new tables
/haiku/src/system/kernel/device_manager/
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
H A DIOSchedulerSimple.h68 bool allocate);
/haiku/headers/private/kernel/
H A Dvfs.h114 bool allocate);
/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/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/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js959 RemoteMessage.prototype.allocate = function(bufferSize)
969 this.allocate(bufferSize);
1778 this.sendMessage.allocate(1024);
/haiku/src/system/boot/platform/atari_m68k/
H A Dvideo.cpp334 #warning M68K: FIXME: allocate framebuffer
542 #warning M68K: FIXME: allocate framebuffer
756 #warning M68K: FIXME: allocate framebuffer
/haiku/headers/libs/agg/
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_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_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_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);
/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/headers/cpp/
H A Dstl_vector.h44 // and destructor allocate (but don't initialize) storage. This makes
70 { return _M_data_allocator.allocate(__n); }
95 { return _Alloc_type::allocate(__n); }
147 { return _M_data_allocator::allocate(__n); }
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 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 Dropeimpl.h874 (_CharT*)alloc::allocate(__len * sizeof(_CharT));
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...]
/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/kernel/arch/m68k/
H A Darch_vm_translation_map_impl.cpp38 than one per page, and allocate them all at once, and add them at the
200 #warning M68K: allocate all kernel pgdirs at boot and remove this (also dont remove them anymore from unmap)
545 // we need to allocate a pgtable
590 // we need to allocate a pgtable
1186 // allocate a rtdir
1258 // allocate some space to hold physical page mapping info
/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/apps/mediaplayer/support/
H A DStackBlurFilter.cpp193 stack.allocate(div);
312 stack.allocate(div);
462 stack.allocate(div);
529 stack.allocate(div);
/haiku/headers/cpp/std/
H A Dbastring.cc33 return Allocator::allocate(s + extra * sizeof (charT));

Completed in 321 milliseconds

12