Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 89) sorted by relevance

1234

/ndk/sources/host-tools/sed-4.2.1/m4/
Dmalloc.m41 # malloc.m4 serial 9
9 # Test whether 'malloc' is POSIX compliant (sets errno to ENOMEM when it
10 # fails), and replace malloc if it is not.
17 [Define if the 'malloc' function is POSIX compliant.])
19 AC_LIBOBJ([malloc])
25 # Test whether malloc, realloc, calloc are POSIX compliant,
29 AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant],
/ndk/sources/host-tools/sed-4.2.1/lib/
Dmalloc.c25 #ifdef malloc
27 # undef malloc
36 #undef malloc
51 result = malloc (n); in rpl_malloc()
Drealloc.c29 #if GNULIB_MALLOC_GNU && !defined malloc
36 #undef malloc
47 #undef malloc
76 result = malloc (n); in rpl_realloc()
Dstdlib.in.h91 # undef malloc
92 # define malloc rpl_malloc
93 extern void * malloc (size_t size);
96 # undef malloc
97 # define malloc(s) \
100 malloc (s))
Dstrndup.c32 char *new = malloc (len + 1); in strndup()
Dgnulib.mk392 EXTRA_DIST += malloc.c
394 EXTRA_libsed_a_SOURCES += malloc.c
401 EXTRA_DIST += malloc.c
403 EXTRA_libsed_a_SOURCES += malloc.c
Dlocalcharset.c138 file_name = (char *) malloc (dir_len + add_slash + base_len + 1); in get_charset_aliases()
189 res_ptr = (char *) malloc (res_size + 1); in get_charset_aliases()
Dxmalloc.c45 void *p = malloc (n); in xmalloc()
Dgettext.h217 : (char *) malloc (msgctxt_len + msgid_len)); in dcpgettext_expr()
263 : (char *) malloc (msgctxt_len + msgid_len)); in dcnpgettext_expr()
Dfile-has-acl.c390 entries = (aclent_t *) malloc (count * sizeof (aclent_t)); in file_has_acl()
438 entries = (ace_t *) malloc (count * sizeof (ace_t)); in file_has_acl()
Dcopy-acl.c272 ace_entries = (ace_t *) malloc (ace_count * sizeof (ace_t)); in qcopy_acl()
313 entries = (aclent_t *) malloc (count * sizeof (aclent_t)); in qcopy_acl()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_stdexcept_base.c22 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char))); in __Named_exception()
45 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char))); in __Named_exception()
71 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char)));
D_tempbuf.c43 _Tp* __tmp = (_Tp*) malloc((size_t)__len * sizeof(_Tp)); in __get_temporary_buffer()
D_new.h27 using _STLP_VENDOR_CSTD::malloc;
/ndk/sources/cxx-stl/gabi++/src/
Dnew.cc36 void* ptr = malloc(size); in operator new()
54 return malloc(size); in operator new()
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/
Dc_locale_win32.c314 _Locale_ctype_t *ltype = (_Locale_ctype_t*)malloc(sizeof(_Locale_ctype_t)); in _Locale_ctype_create()
349 wbuffer = (wchar_t*)malloc(BufferSize * sizeof(wchar_t)); in _Locale_ctype_create()
365 wbuffer = (wchar_t*)malloc(BufferSize * sizeof(wchar_t)); in _Locale_ctype_create()
392 _Locale_numeric_t *lnum = (_Locale_numeric_t*)malloc(sizeof(_Locale_numeric_t)); in _Locale_numeric_create()
412 GroupingBuffer = (char*)malloc(BufferSize); in _Locale_numeric_create()
419 lnum->grouping = (char*)malloc(1); in _Locale_numeric_create()
719 _Locale_time_t *ltime = (_Locale_time_t*)malloc(sizeof(_Locale_time_t)); in _Locale_time_create()
734 ltime->month[month - LOCALE_SMONTHNAME1] = (char*)malloc(size); in _Locale_time_create()
742 ltime->abbrev_month[month - LOCALE_SABBREVMONTHNAME1] = (char*)malloc(size); in _Locale_time_create()
751 ltime->dayofweek[dayindex] = (char*)malloc(size); in _Locale_time_create()
[all …]
/ndk/sources/host-tools/make-3.81/
Dalloca.c91 #define malloc xmalloc macro
93 extern pointer malloc ();
217 register pointer new = malloc (sizeof (header) + size); in alloca()
Dansi2knr.c181 extern char *malloc();
184 extern char *malloc();
302 buf = malloc(bufsize);
579 breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
Dmisc.c342 char *result = (char *) malloc (size ? size : 1); in xmalloc()
357 result = ptr ? realloc (ptr, size) : malloc (size); in xrealloc()
372 result = (char *) malloc (strlen (ptr) + 1); in xstrdup()
/ndk/sources/host-tools/nawk-20071023/
Dlib.c60 if ( (record = (char *) malloc(n)) == NULL in recinit()
61 || (fields = (char *) malloc(n+1)) == NULL in recinit()
62 || (fldtab = (Cell **) malloc((nfields+1) * sizeof(Cell *))) == NULL in recinit()
63 || (fldtab[0] = (Cell *) malloc(sizeof(Cell))) == NULL ) in recinit()
77 fldtab[i] = (Cell *) malloc(sizeof (struct Cell)); in makefields()
271 if ((fields = (char *) malloc(n+1)) == NULL) in fldbld()
418 if ((fields = (char *) malloc(n+1)) == NULL) in refldbld()
Dtran.c147 ap = (Array *) malloc(sizeof(Array)); in makesymtab()
218 p = (Cell *) malloc(sizeof(Cell)); in setsymtab()
403 p = (char *) malloc(strlen(s)+1); in tostring()
417 if ((buf = (uschar *) malloc(strlen(is)+3)) == NULL) in qstring()
Dlex.c176 if (buf == 0 && (buf = (char *) malloc(bufsize)) == NULL) in yylex()
364 if (buf == 0 && (buf = (char *) malloc(bufsz)) == NULL) in string()
511 if (buf == 0 && (buf = (char *) malloc(bufsz)) == NULL) in regexpr()
/ndk/sources/host-tools/make-3.81/glob/
Dglob.c150 extern char *malloc (), *realloc ();
202 return (char *) malloc (n);
395 char *onealt = (char *) malloc (strlen (pattern) - 1);
830 char *dircopy = malloc (len);
959 pglob->gl_pathv[pglob->gl_pathc] = malloc (dir_len + 1
1138 char *new = (char *) malloc (dirlen + 1 + eltlen);
1278 names->name = (char *) malloc (1);
1338 new->name = (char *) malloc (len + 1);
1363 names->name = (char *) malloc (len + 1);
/ndk/sources/host-tools/make-3.81/w32/subproc/
Dsub_proc.c267 pproc = malloc(sizeof(*pproc)); in process_init()
332 pproc = malloc(sizeof(*pproc)); in process_init_fd()
356 fname = malloc(strlen(exec_path) + 5); in find_file()
611 pproc->outp = malloc(bufsize); in proc_stdout_thread()
643 pproc->errp = malloc(bufsize); in proc_stderr_thread()
1076 command_line = (char*) malloc(bytes_required); in make_command_line()
/ndk/sources/host-tools/ndk-stack/elff/
Delf_alloc.cc41 reinterpret_cast<ElfAllocatorChunk*>(malloc(ELF_ALLOC_CHUNK_SIZE)); in alloc()

1234