Searched refs:alloca (Results 1 - 24 of 24) sorted by relevance

/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dalloca.h30 #undef alloca macro
33 extern void *alloca (size_t __size) __THROW;
36 # define alloca(size) __builtin_alloca (size) macro
41 #endif /* alloca.h */
H A Dgmp-impl.h22 /* When using gcc, make sure to use its builtin alloca. */
23 #if ! defined (alloca) && defined (__GNUC__)
24 #define alloca __builtin_alloca macro
28 /* When using cc, do whatever necessary to allow use of alloca. For many
29 machines, this means including alloca.h. IBM's compilers need a #pragma
30 in "each module that needs to use alloca". */
31 #if ! defined (alloca)
38 #include <alloca.h>
42 #pragma alloca
46 #define alloca( macro
[all...]
H A Dstdlib.h579 # include <alloca.h>
/haiku/headers/posix/
H A Dalloca.h13 #undef alloca macro
20 extern void * alloca (size_t __size);
27 #define alloca(size) __alloca (size) macro
H A Dstdlib.h9 #include <alloca.h>
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A D_i18n_number.h29 src = (CHAR_T *) alloca ((rear_ptr - w) * sizeof (CHAR_T));
H A Dvfprintf.c1043 string = (CHAR_T *) alloca (len * sizeof (wchar_t)); \
1205 string = (char *) alloca (prec); \
1223 string = (char *) alloca (len + 1); \
1452 workend = ((CHAR_T *) alloca ((width + 32) * sizeof (CHAR_T))
1477 workend = ((CHAR_T *) alloca ((width + 32) * sizeof (CHAR_T))
1520 workend = alloca (prec + 32) + (prec + 32);
1621 = alloca (nspecs_max * sizeof (struct printf_spec));
1661 specs = alloca (nspecs_max * sizeof (struct printf_spec));
1692 args_type = alloca (nargs * sizeof (int));
1694 args_value = alloca (narg
[all...]
H A Dprintf_fp.c29 #include <alloca.h>
445 frac = (mp_limb_t *) alloca (bignum_size);
446 tmp = (mp_limb_t *) alloca (bignum_size);
447 scale = (mp_limb_t *) alloca (bignum_size);
877 large use `malloc' instead of `alloca'. */
887 wbuffer = (wchar_t *) alloca ((2 + chars_needed) * sizeof (wchar_t));
1131 buffer = (char *) alloca (2 + chars_needed + decimal_len
H A Dvfscanf.c330 wp = (CHAR_T *) alloca (wpmax * sizeof (wchar_t)); \
1935 wp = (char *) alloca (wpmax);
/haiku/src/system/libroot/posix/glibc/include/
H A Dalloca.h3 #include <stdlib/alloca.h>
/haiku/src/system/libroot/posix/unistd/
H A Dexec.cpp11 #include <alloca.h>
186 args = (const char**)alloca((count + 1) * sizeof(char*));
210 args = (const char**)alloca((count + 1) * sizeof(char*));
235 args = (const char**)alloca((count + 1) * sizeof(char*));
/haiku/src/libs/stdc++/legacy/
H A Dvalarray.cc26 size_t* const __t = static_cast<size_t*>(alloca(__n*sizeof(size_t)));
/haiku/src/kits/shared/
H A DSettingsHandler.cpp43 #include <alloca.h>
440 char* ptr = (char *)alloca(strlen(path.Path()) + 1);
/haiku/headers/cpp/std/
H A Dstd_valarray.h43 #ifndef alloca
45 #define alloca __builtin_alloca macro
48 #include <alloca.h>
55 #pragma alloca
63 #endif /* alloca not defined. */
66 void* alloca(size_t);
490 _Tp* const __a = static_cast<_Tp*> (alloca (sizeof(_Tp) * _M_size));
512 _Tp* const __a = static_cast<_Tp*> (alloca (sizeof(_Tp) * _M_size));
/haiku/src/build/libgnuregex/
H A Dregex.c24 #pragma alloca
168 /* Should we use malloc or alloca? If REGEX_MALLOC is not defined, we
169 use `alloca' instead of `malloc'. This is because using malloc in
174 Because we sometimes use alloca, some routines have to be macros,
175 not functions -- `alloca'-allocated space disappears at the end of the
185 /* Emacs already defines alloca, sometimes. */
186 #ifndef alloca
188 /* Make alloca work the best possible way. */ macro
190 #define alloca __builtin_alloca
193 #include <alloca
[all...]
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_haiku.cpp205 alloca(sizeof(struct ieee80211req_scan_result) + IEEE80211_NWID_LEN + 257);
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregex_internal.h421 #include <alloca.h>
431 /* alloca is implemented with malloc, so just use malloc. */
H A Dregexec.c1425 prev_idx_match = (regmatch_t *) alloca (nmatch * sizeof (regmatch_t));
3328 dests_alloc = (struct dests_alloc *) alloca (sizeof (struct dests_alloc));
3366 alloca (ndests * 3 * sizeof (re_dfastate_t *));
H A Dregcomp.c322 unsigned char *buf = alloca (dfa->mb_cur_max), *p;
/haiku/src/system/libroot/posix/
H A Dspawn.cpp569 char* buffer = (char*)alloca(B_PATH_NAME_LENGTH);
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/
H A Dh2generic.cpp655 void* _params = alloca(size);
/haiku/src/apps/terminal/
H A DBasicTerminalBuffer.cpp13 #include <alloca.h>
40 ((TerminalLine*)alloca(sizeof(TerminalLine) \
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DDevice.cpp268 multi_mix_value* values = (multi_mix_value*)alloca(mixValueSize);
/haiku/src/apps/serialconnect/libvterm/src/
H A Dstate.c279 chars = alloca(glyph_ends - glyph_starts + 1);

Completed in 182 milliseconds