Searched refs:xmalloc (Results 1 - 25 of 491) sorted by relevance

1234567891011>>

/haiku-fatelf/src/bin/sharutils/lib/
H A Dxstrdup.c27 char *xmalloc ();
35 return strcpy (xmalloc (strlen (string) + 1), string);
H A Dxgetcwd.c42 char *xmalloc ();
60 cwd = xmalloc (path_max);
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dsavestring.c28 #include "xmalloc.h"
36 return ((char *)strcpy ((char *)xmalloc (1 + strlen (s)), (s)));
H A Dxmalloc.h0 /* xmalloc.h -- memory allocation that aborts on errors. */
41 extern PTR_T xmalloc PARAMS((size_t));
H A DMakefile.in81 $(srcdir)/callback.c $(srcdir)/terminal.c $(srcdir)/xmalloc.c \
91 ansi_stdlib.h rlstdc.h tcap.h xmalloc.h rlprivate.h rlshell.h \
100 text.o nls.o misc.o $(HISTOBJ) $(TILDEOBJ) xmalloc.o compat.o
126 libhistory.a: $(HISTOBJ) xmalloc.o
128 $(AR) $(ARFLAGS) $@ $(HISTOBJ) xmalloc.o
257 undo.o: history.h rlstdc.h xmalloc.h
264 xmalloc.o: ${BUILD_DIR}/config.h ansi_stdlib.h
296 bind.o: xmalloc.h
297 complete.o: xmalloc.h
298 display.o: xmalloc
[all...]
H A Dtilde.c53 static void *xmalloc (), *xrealloc ();
55 # include "xmalloc.h"
68 #define savestring(x) strcpy ((char *)xmalloc (1 + strlen (x)), (x))
200 result = (char *)xmalloc (result_size = (strlen (string) + 16));
202 result = (char *)xmalloc (result_size = (strlen (string) + 1));
233 tilde_word = (char *)xmalloc (1 + end);
273 ret = (char *)xmalloc (strlen (fname));
308 r = (char *)xmalloc (1 + x);
332 ret = (char *)xmalloc (plen + slen + 1);
463 xmalloc (byte
462 xmalloc (bytes) function
[all...]
H A Dxmalloc.c0 /* xmalloc.c -- safe versions of malloc and realloc */
36 #include "xmalloc.h"
56 xmalloc (bytes) function
63 memory_error_and_abort ("xmalloc");
/haiku-fatelf/src/bin/gdb/readline/
H A Dsavestring.c27 #include "xmalloc.h"
35 return ((char *)strcpy ((char *)xmalloc (1 + strlen (s)), (s)));
H A Dxmalloc.h0 /* xmalloc.h -- memory allocation that aborts on errors. */
42 extern PTR_T xmalloc PARAMS((size_t));
/haiku-fatelf/src/bin/gawk/
H A Dgawkmisc.c56 /* xmalloc --- provide this so that other GNU library routines work */
64 extern pointer xmalloc P((size_t bytes)); /* get rid of gcc warning */
67 xmalloc(size_t bytes) function
71 emalloc(p, pointer, bytes, "xmalloc");
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dsetlinebuf.c25 #include <xmalloc.h>
45 local_linebuf = (char *)xmalloc (LBUF_BUFSIZE);
H A Dshquote.c33 #include <xmalloc.h>
50 result = (char *)xmalloc (3 + (4 * strlen (string)));
80 result = (char *)xmalloc (3 + (2 * strlen (string)));
112 ret = r = (char *)xmalloc (rlen);
137 r = result = (char *)xmalloc (strlen (string) + 1);
172 result = (char *)xmalloc (2 * strlen (string) + 1);
227 result = (char *)xmalloc (2 * strlen (string) + 1);
H A Dwcsdup.c28 #include <xmalloc.h>
38 ret = xmalloc ((len + 1) * sizeof (wchar_t));
/haiku-fatelf/src/bin/patch/
H A Dxalloc.h43 void *xmalloc PARAMS ((size_t n));
47 # define XMALLOC(Type, N_bytes) ((Type *) xmalloc (sizeof (Type) * (N_bytes)))
/haiku-fatelf/src/bin/gdb/gdb/
H A Dgdb_obstack.h33 /* Unless explicitly specified, GDB obstacks always use xmalloc() and
42 #define obstack_chunk_alloc xmalloc
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dxstrdup.c1 /* xstrdup.c -- Duplicate a string in memory, using xmalloc.
9 Duplicates a character string without fail, using @code{xmalloc} to
31 register char *ret = xmalloc (len);
H A Dchoose-temp.c47 fails). The buffer for the result is obtained with @code{xmalloc}.
64 temp_filename = xmalloc (len + TEMP_FILE_LEN + 1);
/haiku-fatelf/src/bin/bash/
H A Dxmalloc.h0 /* xmalloc.h -- defines for the `x' memory allocation functions */
38 /* Allocation functions in xmalloc.c */
39 extern PTR_T xmalloc __P((size_t));
48 #define xmalloc(x) sh_xmalloc((x), __FILE__, __LINE__) macro
H A Dcopy_cmd.c86 new_clause = (PATTERN_LIST *)xmalloc (sizeof (PATTERN_LIST));
115 new_redirect = (REDIRECT *)xmalloc (sizeof (REDIRECT));
169 new_for = (FOR_COM *)xmalloc (sizeof (FOR_COM));
185 new_arith_for = (ARITH_FOR_COM *)xmalloc (sizeof (ARITH_FOR_COM));
202 new_group = (GROUP_COM *)xmalloc (sizeof (GROUP_COM));
213 new_subshell = (SUBSHELL_COM *)xmalloc (sizeof (SUBSHELL_COM));
225 new_coproc = (COPROC_COM *)xmalloc (sizeof (COPROC_COM));
238 new_case = (CASE_COM *)xmalloc (sizeof (CASE_COM));
252 new_while = (WHILE_COM *)xmalloc (sizeof (WHILE_COM));
265 new_if = (IF_COM *)xmalloc (sizeo
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dbasename.c48 char *p = xmalloc (length + 3);
H A Dxmalloc.c0 /* xmalloc.c -- malloc with out of memory checking
43 xmalloc (size_t n) function
82 return memset (xmalloc (s), 0, s);
109 return memcpy (xmalloc (s), p, s);
/haiku-fatelf/src/bin/diffutils/lib/
H A Dxalloc.h54 void *xmalloc PARAMS ((size_t n));
59 # define XMALLOC(Type, N_items) ((Type *) xmalloc (sizeof (Type) * (N_items)))
76 (memcpy (xmalloc (sizeof (*Src) * (Num)), (Src), sizeof (*Src) * (Num)))
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dxmalloc.c0 /* xmalloc.c -- malloc with out of memory checking
47 xmalloc (size_t n) function
86 return memset (xmalloc (s), 0, s);
113 return memcpy (xmalloc (s), p, s);
/haiku-fatelf/src/bin/network/wget/lib/
H A Dxmalloc.c0 /* xmalloc.c -- malloc with out of memory checking
43 xmalloc (size_t n) function
82 return memset (xmalloc (s), 0, s);
109 return memcpy (xmalloc (s), p, s);
/haiku-fatelf/src/bin/gdb/opcodes/
H A Darc-ext.c181 char * insn_name = (char *) xmalloc(( (int)*p-5) * sizeof(char));
183 (struct ExtInstruction *) xmalloc(sizeof(struct ExtInstruction));
198 char * core_name = (char *) xmalloc(((int)*p-3) * sizeof(char));
207 char * cc_name = (char *) xmalloc( ((int)*p-3) * sizeof(char));
218 char * aux_name = (char *) xmalloc ( ((int)*p-6) * sizeof(char));
252 arcExtMap = (char *) xmalloc (count);

Completed in 202 milliseconds

1234567891011>>