Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 132) sorted by relevance

123456

/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-7/libsupc++/
A Dnew_opa.cc50 aligned_alloc (std::size_t al, std::size_t sz)
51 { return _aligned_malloc(sz, al); }
54 aligned_alloc (std::size_t al, std::size_t sz)
61 int ret = posix_memalign (&ptr, al, sz);
68 aligned_alloc (std::size_t al, std::size_t sz)
76 return memalign (al, sz);
87 void* const malloc_ptr = malloc(sz + al);
113 if (__builtin_expect (sz == 0, false)) in operator new()
114 sz = 1; in operator new()
124 if (std::size_t rem = sz & (align - 1)) in operator new()
[all …]
A Deh_alloc.cc168 std::size_t sz = (*e)->size; in allocate() local
172 f->size = sz - size; in allocate()
181 std::size_t sz = (*e)->size; in allocate() local
185 x->size = sz; in allocate()
196 std::size_t sz = e->size; in free() local
198 || (reinterpret_cast <char *> (e) + sz in free()
206 f->size = sz; in free()
217 f->size = sz + first_free_entry->size; in free()
236 sz += (*fe)->next->size; in free()
242 (*fe)->size += sz; in free()
[all …]
A Dnew_opnt.cc35 operator new (std::size_t sz, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT in operator new() argument
40 if (sz == 0) in operator new()
41 sz = 1; in operator new()
43 while (__builtin_expect ((p = malloc (sz)) == 0, false)) in operator new()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-10/libsupc++/
A Dnew_opa.cc66 aligned_alloc (std::size_t al, std::size_t sz)
67 { return _aligned_malloc(sz, al); }
70 aligned_alloc (std::size_t al, std::size_t sz)
77 int ret = posix_memalign (&ptr, al, sz);
84 aligned_alloc (std::size_t al, std::size_t sz)
86 return memalign (al, sz);
92 aligned_alloc (std::size_t al, std::size_t sz)
97 void* const malloc_ptr = malloc(sz + al);
122 if (__builtin_expect (sz == 0, false)) in operator new()
123 sz = 1; in operator new()
[all …]
A Deh_alloc.cc168 std::size_t sz = (*e)->size; in allocate() local
172 f->size = sz - size; in allocate()
181 std::size_t sz = (*e)->size; in allocate() local
185 x->size = sz; in allocate()
196 std::size_t sz = e->size; in free() local
198 || (reinterpret_cast <char *> (e) + sz in free()
206 f->size = sz; in free()
217 f->size = sz + first_free_entry->size; in free()
236 sz += (*fe)->next->size; in free()
242 (*fe)->size += sz; in free()
[all …]
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/libsupc++/
A Dnew_opa.cc70 aligned_alloc (std::size_t al, std::size_t sz)
71 { return _aligned_malloc(sz, al); }
74 aligned_alloc (std::size_t al, std::size_t sz)
81 int ret = posix_memalign (&ptr, al, sz);
88 aligned_alloc (std::size_t al, std::size_t sz)
90 return memalign (al, sz);
96 aligned_alloc (std::size_t al, std::size_t sz)
101 void* const malloc_ptr = malloc(sz + al);
126 if (__builtin_expect (sz == 0, false)) in operator new()
127 sz = 1; in operator new()
[all …]
A Deh_alloc.cc168 std::size_t sz = (*e)->size; in allocate() local
172 f->size = sz - size; in allocate()
181 std::size_t sz = (*e)->size; in allocate() local
185 x->size = sz; in allocate()
196 std::size_t sz = e->size; in free() local
198 || (reinterpret_cast <char *> (e) + sz in free()
206 f->size = sz; in free()
217 f->size = sz + first_free_entry->size; in free()
236 sz += (*fe)->next->size; in free()
242 (*fe)->size += sz; in free()
[all …]
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-8/libsupc++/
A Dnew_opa.cc65 aligned_alloc (std::size_t al, std::size_t sz)
66 { return _aligned_malloc(sz, al); }
69 aligned_alloc (std::size_t al, std::size_t sz)
76 int ret = posix_memalign (&ptr, al, sz);
83 aligned_alloc (std::size_t al, std::size_t sz)
91 return memalign (al, sz);
102 void* const malloc_ptr = malloc(sz + al);
128 if (__builtin_expect (sz == 0, false)) in operator new()
129 sz = 1; in operator new()
140 if (std::size_t rem = sz & (align - 1)) in operator new()
[all …]
A Deh_alloc.cc168 std::size_t sz = (*e)->size; in allocate() local
172 f->size = sz - size; in allocate()
181 std::size_t sz = (*e)->size; in allocate() local
185 x->size = sz; in allocate()
196 std::size_t sz = e->size; in free() local
198 || (reinterpret_cast <char *> (e) + sz in free()
206 f->size = sz; in free()
217 f->size = sz + first_free_entry->size; in free()
236 sz += (*fe)->next->size; in free()
242 (*fe)->size += sz; in free()
[all …]
A Dnew_opnt.cc35 operator new (std::size_t sz, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT in operator new() argument
40 if (sz == 0) in operator new()
41 sz = 1; in operator new()
43 while (__builtin_expect ((p = malloc (sz)) == 0, false)) in operator new()
A Dnew_op.cc42 operator new (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc) in operator new() argument
47 if (sz == 0) in operator new()
48 sz = 1; in operator new()
50 while (__builtin_expect ((p = malloc (sz)) == 0, false)) in operator new()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/libsupc++/
A Dnew_opa.cc66 aligned_alloc (std::size_t al, std::size_t sz)
67 { return _aligned_malloc(sz, al); }
70 aligned_alloc (std::size_t al, std::size_t sz)
77 int ret = posix_memalign (&ptr, al, sz);
84 aligned_alloc (std::size_t al, std::size_t sz)
92 return memalign (al, sz);
98 aligned_alloc (std::size_t al, std::size_t sz)
103 void* const malloc_ptr = malloc(sz + al);
128 if (__builtin_expect (sz == 0, false)) in operator new()
129 sz = 1; in operator new()
[all …]
A Deh_alloc.cc168 std::size_t sz = (*e)->size; in allocate() local
172 f->size = sz - size; in allocate()
181 std::size_t sz = (*e)->size; in allocate() local
185 x->size = sz; in allocate()
196 std::size_t sz = e->size; in free() local
198 || (reinterpret_cast <char *> (e) + sz in free()
206 f->size = sz; in free()
217 f->size = sz + first_free_entry->size; in free()
236 sz += (*fe)->next->size; in free()
242 (*fe)->size += sz; in free()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc/
A Dmalloc.h184 #define MALLOC_ROUND_DOWN(sz, power_of_2_size) \ argument
185 ((sz) & ~(power_of_2_size - 1))
187 #define MALLOC_ROUND_UP(sz, power_of_2_size) \ argument
188 MALLOC_ROUND_DOWN ((sz) + (power_of_2_size - 1), (power_of_2_size))
191 #define MALLOC_ROUND_DOWN_TO_PAGE_SIZE(sz) \ argument
192 MALLOC_ROUND_DOWN (sz, MALLOC_PAGE_SIZE)
194 #define MALLOC_ROUND_UP_TO_PAGE_SIZE(sz) \ argument
195 MALLOC_ROUND_UP (sz, MALLOC_PAGE_SIZE)
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-4.9/libsupc++/
A Dnew_opnt.cc35 operator new (std::size_t sz, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT in operator new() argument
40 if (sz == 0) in operator new()
41 sz = 1; in operator new()
42 p = (void *) malloc (sz); in operator new()
57 p = (void *) malloc (sz); in operator new()
A Dnew_op.cc42 operator new (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc) in operator new() argument
47 if (sz == 0) in operator new()
48 sz = 1; in operator new()
49 p = (void *) malloc (sz); in operator new()
56 p = (void *) malloc (sz); in operator new()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-5/libsupc++/
A Deh_alloc.cc162 std::size_t sz = (*e)->size; in allocate() local
166 f->size = sz - size; in allocate()
175 std::size_t sz = (*e)->size; in allocate() local
179 x->size = sz; in allocate()
190 std::size_t sz = e->size; in free() local
196 f->size = sz; in free()
200 else if (reinterpret_cast <char *> (e) + sz in free()
207 f->size = sz + first_free_entry->size; in free()
218 > reinterpret_cast <char *> (e) + sz); in free()
224 (*fe)->size += sz; in free()
[all …]
A Dnew_opnt.cc35 operator new (std::size_t sz, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT in operator new() argument
40 if (sz == 0) in operator new()
41 sz = 1; in operator new()
43 while (__builtin_expect ((p = malloc (sz)) == 0, false)) in operator new()
A Dnew_op.cc42 operator new (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc) in operator new() argument
47 if (sz == 0) in operator new()
48 sz = 1; in operator new()
50 while (__builtin_expect ((p = malloc (sz)) == 0, false)) in operator new()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-6/libsupc++/
A Deh_alloc.cc168 std::size_t sz = (*e)->size; in allocate() local
172 f->size = sz - size; in allocate()
181 std::size_t sz = (*e)->size; in allocate() local
185 x->size = sz; in allocate()
196 std::size_t sz = e->size; in free() local
202 f->size = sz; in free()
206 else if (reinterpret_cast <char *> (e) + sz in free()
213 f->size = sz + first_free_entry->size; in free()
224 > reinterpret_cast <char *> (e) + sz); in free()
230 (*fe)->size += sz; in free()
[all …]
A Dnew_opnt.cc35 operator new (std::size_t sz, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT in operator new() argument
40 if (sz == 0) in operator new()
41 sz = 1; in operator new()
43 while (__builtin_expect ((p = malloc (sz)) == 0, false)) in operator new()
/l4re-core-master/l4re/include/impl/
A Drm_impl.h78 unsigned long sz = (1UL << order); in detach() local
79 for (unsigned long p = rstart; rsize; p += sz, rsize -= sz) in detach()
81 while (sz > rsize) in detach()
84 sz >>= 1; in detach()
89 unsigned long m = sz << 1; in detach()
97 sz <<= 1; in detach()
/l4re-core-master/lua/lib/contrib/src/
A Dluaconf.h405 #define lua_number2str(s,sz,n) \ argument
406 l_sprintf((s), sz, LUA_NUMBER_FMT, (LUAI_UACNUMBER)(n))
499 #define lua_integer2str(s,sz,n) \ argument
500 l_sprintf((s), sz, LUA_INTEGER_FMT, (LUAI_UACINT)(n))
586 #define l_sprintf(s,sz,f,i) snprintf(s,sz,f,i) argument
588 #define l_sprintf(s,sz,f,i) ((void)(sz), sprintf(s,f,i)) argument
607 #define lua_pointer2str(buff,sz,p) l_sprintf(buff,sz,"%p",p) argument
617 #define lua_number2strx(L,b,sz,f,n) \ argument
618 ((void)L, l_sprintf(b,sz,f,(LUAI_UACNUMBER)(n)))
/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-basic7.c18 size_t sz = sysconf (_SC_PAGESIZE); in use_stack() local
19 char *buf = alloca (sz); in use_stack()
20 memset (buf, '\0', sz); in use_stack()
22 if (needed > sz) in use_stack()
23 use_stack_ptr (needed - sz); in use_stack()
/l4re-core-master/moe/server/src/
A Ddataspace.cc100 L4Re::Dataspace::Size sz) in op_copy_in() argument
113 if (sz == 0) in op_copy_in()
116 Dataspace_util::copy(this, dst_offs, src, src_offs, sz); in op_copy_in()
127 unsigned long sz = min(size, round_size() - offs); in clear() local
129 while (sz) in clear()
132 unsigned long b_sz = min(dst_a.sz() - dst_a.of(), sz); in clear()
142 sz -= b_sz; in clear()

Completed in 28 milliseconds

123456