Searched refs:malloc (Results 1 - 25 of 2881) sorted by path

1234567891011>>

/external/aac/libSYS/src/
H A DgenericStds.cpp218 ptr = malloc(size);
241 *(((void**)result) - 1) = addr; /* Save malloc'ed memory pointer. */
252 addr = *(((void**)ptr)-1); /* Get pointer to malloc'ed memory. */
253 FDKfree(addr); /* Free malloc'ed memory area. */
306 *(((void**)result) - 1) = addr; /* Save malloc'ed memory pointer. */
318 addr = *(((void**)ptr)-1); /* Get pointer to malloc'ed memory. */
319 FDKfree_L(addr); /* Free malloc'ed memory area. */
/external/aac/libSYS/src/mips/
H A DgenericStds_mips.cpp134 printf("Unable to access sram. Fallback to malloc\n");
138 return malloc(MIPS_SRAM_SIZE);
145 printf("Unable to access sram. Fallback to malloc\n");
151 ptr = (unsigned long *)malloc(MIPS_SRAM_SIZE);
204 addr = malloc(MIPS_SRAM_SIZE);
220 return malloc(MIPS_SRAM_SIZE);
/external/android-clat/
H A Dgetaddr.c126 retval = malloc(sizeof(union anyip));
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3defs.h329 # include <malloc.h>
332 # include <sys/malloc.h>
458 #define ANTLR3_MALLOC(request) malloc ((size_t)(request))
/external/arduino/hardware/arduino/cores/arduino/
H A DWString.h102 _buffer = (char *) malloc(_capacity + 1);
/external/bison/
H A Dconfigure5493 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
7323 # Code from module malloc-gnu:
7324 # Code from module malloc-posix:
8914 # include <malloc.h>
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
9136 $as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
11999 /* Some printf implementations allocate temporary space with malloc. */
12000 /* On BSD systems, malloc() is limited by RLIMIT_DATA. */
12010 /* On Linux systems, malloc() is limited by RLIMIT_AS. */
24628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >
[all...]
/external/bison/darwin-lib/
H A Dalloca.h44 # include <malloc.h>
H A Dstdlib.h593 rely on GNU or POSIX semantics for malloc and realloc (for example,
594 by never specifying a zero size), so it does not need malloc or
600 # undef malloc
601 # define malloc rpl_malloc
603 _GL_FUNCDECL_RPL (malloc, void *, (size_t size));
604 _GL_CXXALIAS_RPL (malloc, void *, (size_t size));
606 _GL_CXXALIAS_SYS (malloc, void *, (size_t size));
608 _GL_CXXALIASWARN (malloc); variable
610 # undef malloc macro
611 /* Assume malloc i
[all...]
/external/bison/data/
H A Dglr.c270 # define YYMALLOC malloc
H A Dyacc.c469 /* The parser invokes alloca or malloc; define the necessary symbols. */]dnl
481 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */
513 && ! ((defined YYMALLOC || defined malloc) \
521 # define YYMALLOC malloc
522 # if ! defined malloc && ! defined EXIT_SUCCESS && ]b4_c_modern[
523 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
1458 yyps = (yypstate *) malloc (sizeof *yyps);
/external/bison/examples/calc++/
H A Dcalc++-scanner.cc2033 return (void *) malloc( size );
/external/bison/lib/
H A Dalloca.in.h43 # include <malloc.h>
H A Ddirname-lgpl.c60 Return the leading directories part of FILE, allocated with malloc.
78 char *dir = malloc (length + append_dot + 1);
H A Dgetopt.c110 that we can compare them later. But we must not use malloc(3). */
167 char *new_str = malloc (top + 1);
275 (char *) malloc (d->__nonoption_flags_max_len);
527 struct option_list *newp = malloc (sizeof (*newp));
H A Dgettext.h224 : (char *) malloc (msgctxt_len + msgid_len));
270 : (char *) malloc (msgctxt_len + msgid_len));
H A Dgnulib.mk24 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libbison --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --makefile-name=gnulib.mk --no-conditional-dependencies --no-libtool --macro-prefix=gl argmatch assert c-strcase calloc-posix close closeout config-h configmake dirname error extensions fdl fopen-safer fprintf-posix getline getopt-gnu gettext git-version-gen gitlog-to-changelog gpl-3.0 hash inttypes isnan javacomp-script javaexec-script ldexpl malloc-gnu mbschr mbsrchr mbswidth obstack obstack-printf perror printf-posix progname quote quotearg readme-release realloc-posix snprintf-posix spawn-pipe sprintf-posix stdbool stpcpy strdup-posix strerror strtoul strverscmp unistd unistd-safer unlocked-io unsetenv update-copyright verify vsnprintf-posix vsprintf-posix warnings xalloc xalloc-die xmemdup0 xstrndup
815 ## begin gnulib module malloc-gnu
818 EXTRA_DIST += malloc.c
820 EXTRA_libbison_a_SOURCES += malloc.c
822 ## end gnulib module malloc-gnu
824 ## begin gnulib module malloc-posix
827 EXTRA_DIST += malloc.c
829 EXTRA_libbison_a_SOURCES += malloc.c
831 ## end gnulib module malloc-posix
H A Dhash.c23 of malloc. If you change USE_OBSTACK, you have to recompile! */
39 # define obstack_chunk_alloc malloc
489 generated by malloc and thus have the property that the low-order
590 simply an auxiliary struct that you have malloc'd to aggregate several
605 table = malloc (sizeof *table);
765 new = malloc (sizeof *new);
H A Dlocalcharset.c141 file_name = (char *) malloc (dir_len + add_slash + base_len + 1);
219 res_ptr = (char *) malloc (res_size + 1);
H A Dmalloc.c0 /* malloc() function that is glibc compatible.
22 /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */
23 #ifdef malloc
25 # undef malloc macro
26 /* Whereas the gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */
48 result = malloc (n);
H A Dmsvc-inval.c87 malloc (sizeof (struct gl_msvc_inval_per_thread));
H A Dprintf-parse.c62 /* malloc(), realloc(), free(). */
117 : malloc (memory_size)); \
594 : malloc (memory_size));
H A Drealloc.c32 /* Infer the properties of the system's malloc function.
33 The gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */
44 use malloc. */
68 result = malloc (n);
H A Dstdlib.in.h271 rely on GNU or POSIX semantics for malloc and realloc (for example,
272 by never specifying a zero size), so it does not need malloc or
278 # undef malloc
279 # define malloc rpl_malloc
281 _GL_FUNCDECL_RPL (malloc, void *, (size_t size));
282 _GL_CXXALIAS_RPL (malloc, void *, (size_t size));
284 _GL_CXXALIAS_SYS (malloc, void *, (size_t size));
286 _GL_CXXALIASWARN (malloc);
288 # undef malloc
289 /* Assume malloc i
[all...]
H A Dstrdup.c37 /* Duplicate S, returning an identical malloc'd string. */
42 void *new = malloc (len);
H A Dstrndup.c29 char *new = malloc (len + 1);

Completed in 1721 milliseconds

1234567891011>>