/ndk/sources/host-tools/make-3.81/ |
D | rule.c | 127 name = (char *) xmalloc (namelen + 1); in count_implicit_rule_limits() 183 targname = xmalloc (1 + len + 1); in convert_suffix_rule() 189 names = (char **) xmalloc (2 * sizeof (char *)); in convert_suffix_rule() 201 depname = xmalloc (1 + len + 1); in convert_suffix_rule() 365 r = (struct rule *) xmalloc (sizeof (struct rule)); in install_pattern_rule() 367 r->targets = (char **) xmalloc (2 * sizeof (char *)); in install_pattern_rule() 368 r->suffixes = (char **) xmalloc (2 * sizeof (char *)); in install_pattern_rule() 369 r->lens = (unsigned int *) xmalloc (2 * sizeof (unsigned int)); in install_pattern_rule() 394 r->cmds = (struct commands *) xmalloc (sizeof (struct commands)); in install_pattern_rule() 477 struct rule *r = (struct rule *) xmalloc (sizeof (struct rule)); in create_pattern_rule() [all …]
|
D | misc.c | 174 result = (char *) xmalloc (len1 + len2 + len3 + 1); in concat() 334 #undef xmalloc 339 xmalloc (unsigned int size) in xmalloc() function 390 register char *out = (char *) xmalloc (length + 1); in savestring() 488 struct dep *d = (struct dep *) xmalloc (sizeof (struct dep)); in alloc_dep() 520 c = (struct dep *) xmalloc (sizeof (struct dep)); in copy_dep_chain()
|
D | vmsfunctions.c | 37 struct DIR *dir = (struct DIR *)xmalloc (sizeof (struct DIR)); in opendir() 38 struct NAM *dnam = (struct NAM *)xmalloc (sizeof (struct NAM)); in opendir() 40 char *searchspec = (char *)xmalloc (MAXNAMLEN + 1); in opendir()
|
D | dir.c | 453 dir = (struct directory *) xmalloc (sizeof (struct directory)); in find_directory() 514 xmalloc (sizeof (struct directory_contents)); in find_directory() 705 df = (struct dirfile *) xmalloc (sizeof (struct dirfile)); in dir_contents_file_exists_p() 865 xmalloc (sizeof (struct directory_contents)); in file_impossible() 877 new = (struct dirfile *) xmalloc (sizeof (struct dirfile)); in file_impossible() 1114 new = (struct dirstream *) xmalloc (sizeof (struct dirstream)); in open_dirstream() 1146 buf = xmalloc (bufsz); in read_dirstream() 1152 d->d_name = xmalloc(len); in read_dirstream()
|
D | job.c | 304 char *const path = (char *) xmalloc (final_size); in create_batch_file() 1503 lines = (char **) xmalloc (cmds->ncommand_lines * sizeof (char *)); in new_job() 1607 c = (struct child *) xmalloc (sizeof (struct child)); in new_job() 2401 new_argv = (char **) xmalloc (i * sizeof (char *)); in construct_command_argv_internal() 2404 ap = new_argv[0] = argstr = (char *) xmalloc (i); in construct_command_argv_internal() 2647 buffer = (char *)xmalloc (strlen (line)+1); in construct_command_argv_internal() 2664 new_argv = (char **) xmalloc (2 * sizeof (char *)); in construct_command_argv_internal() 2776 new_argv = (char **) xmalloc(2 * sizeof (char *)); in construct_command_argv_internal() 2803 new_argv = (char **) xmalloc(3 * sizeof (char *)); in construct_command_argv_internal() 2875 new_argv = (char **) xmalloc (4 * sizeof (char *)); in construct_command_argv_internal() [all …]
|
D | vpath.c | 226 vpath = (char **) xmalloc (maxelem * sizeof (char *)); in construct_vpath_list() 294 path = (struct vpath *) xmalloc (sizeof (struct vpath)); in construct_vpath_list() 416 name = (char *) xmalloc (maxvpath + 1 + name_dplen + 1 + flen + 1); in selective_vpath_search()
|
D | variable.c | 48 = (struct pattern_var *) xmalloc (sizeof (struct pattern_var)); in create_pattern_var() 209 v = (struct variable *) xmalloc (sizeof (struct variable)); in define_variable_in_set() 452 xmalloc (sizeof (struct variable_set_list)); in initialize_file_variables() 453 l->set = (struct variable_set *) xmalloc (sizeof (struct variable_set)); in initialize_file_variables() 548 set = (struct variable_set *) xmalloc (sizeof (struct variable_set)); in create_new_variable_set() 553 xmalloc (sizeof (struct variable_set_list)); in create_new_variable_set() 945 result = result_0 = (char **) xmalloc ((table.ht_fill + 2) * sizeof (char *)); in target_environment() 980 *result = (char *) xmalloc (100); in target_environment() 1144 path_string = (char *)xmalloc (5 + pathlen + 2 + 1); in do_variable_definition()
|
D | read.c | 399 ebuf.buffer = ebuf.bufnext = ebuf.bufstart = xmalloc (ebuf.size); in eval_makefile() 504 commands = xmalloc (200); in eval() 573 collapsed = (char *) xmalloc (collapsed_length); in eval() 1326 char *definition = (char *) xmalloc (length); in do_define() 1531 conditionals->ignoring = (char *) xmalloc (conditionals->allocated); in conditional_line() 1532 conditionals->seen_else = (char *) xmalloc (conditionals->allocated); in conditional_line() 1890 cmds = (struct commands *) xmalloc (sizeof (struct commands)); in record_files() 1931 targets = (char **) xmalloc (5 * sizeof (char *)); in record_files() 1932 target_percents = (char **) xmalloc (5 * sizeof (char *)); in record_files() 2364 new1 = (struct nameseq *) xmalloc (size); in parse_file_seq() [all …]
|
D | default.c | 558 f->cmds = (struct commands *) xmalloc (sizeof (struct commands)); in install_default_suffix_rules()
|
D | implicit.c | 235 = (struct rule **) xmalloc (num_pattern_rules * max_pattern_targets in pattern_search() 621 d->name = xmalloc (strlen (p) + l + 1); in pattern_search() 926 file->stem = (char *) xmalloc (fullstemlen + 1); in pattern_search() 953 new->name = p = (char *) xmalloc (rule->lens[i] + fullstemlen + 1); in pattern_search()
|
D | main.c | 859 *name = xmalloc (TEMPLATE_LEN + 1); in open_tmpfile() 1021 setvbuf (stdout, _IOLBF, xmalloc (BUFSIZ), BUFSIZ); in main() 1731 xmalloc (sizeof (struct stringlist)); in main() 1732 jobserver_fds->list = (char **) xmalloc (sizeof (char *)); in main() 1733 jobserver_fds->list[0] = xmalloc ((sizeof ("1024")*2)+1); in main() 1994 nargv = (char **) xmalloc ((nargc + 2) * sizeof (char *)); in main() 2318 cv = (struct command_variable *) xmalloc (sizeof (*cv)); in handle_non_switch_argument() 2475 xmalloc (sizeof (struct stringlist)); in decode_switches() 2478 sl->list = (char **) xmalloc (5 * sizeof (char *)); in decode_switches() 2598 p = (char *) xmalloc (2 * len); in decode_env_switches()
|
D | remote-cstms.c | 101 normalized_cwd = (char *) xmalloc (GET_PATH_MAX); in start_remote_job_p()
|
D | strcache.c | 46 new = (struct strcache *) xmalloc (sizeof (*new) + bufsize); in new_cache()
|
D | alloca.c | 91 #define malloc xmalloc
|
D | commands.c | 286 lines = (char **) xmalloc (5 * sizeof (char *)); in chop_commands() 332 cmds->lines_flags = (char *) xmalloc (nlines); in chop_commands()
|
D | ar.c | 219 struct nameseq *new = (struct nameseq *) xmalloc (state->size); in ar_glob_match()
|
D | function.c | 360 result = (char *) xmalloc (100); in string_glob() 1694 buffer = (char *) xmalloc (maxlen + 1); in func_shell() 1802 buffer = xmalloc (len + 1); in func_shell() 1822 buffer = xmalloc (maxlen); in func_shell() 2183 p = xmalloc (len+1); in handle_function()
|
D | hash.c | 23 #define MALLOC(t, n) ((t *) xmalloc (sizeof (t) * (n)))
|
D | expand.c | 87 variable_buffer = (char *) xmalloc (variable_buffer_length); in initialize_variable_output()
|
D | make.h | 419 extern char *xmalloc PARAMS ((unsigned int));
|
D | remake.c | 1193 name = (char *) xmalloc (arlen + 1 + memlen + 2); in f_mtime() 1553 buf = xmalloc(libdir_maxlen + buflen + 2); in library_search()
|
D | file.c | 179 new = (struct file *) xmalloc (sizeof (struct file)); in enter_file()
|
D | ChangeLog | 1550 * misc.c (xmalloc, xrealloc): Add one to 0 sizes, to cater to 2209 overrun. I modified it to use xmalloc() on the two variables
|
/ndk/sources/host-tools/make-3.81/w32/ |
D | pathstuff.c | 164 nutc_path = xmalloc(nutc_path_len); in convert_path_to_nutc() 220 nutc_path = xmalloc(nutc_path_len); in convert_path_to_nutc()
|
/ndk/sources/host-tools/ndk-stack/binutils/ |
D | addr2line.c | 126 syms = (asymbol **) xmalloc (storage); in slurp_symtab()
|