Home
last modified time | relevance | path

Searched refs:cmds (Results 1 – 14 of 14) sorted by relevance

/ndk/sources/host-tools/make-3.81/
Ddefault.c556 if (f->cmds == 0) in install_default_suffix_rules()
558 f->cmds = (struct commands *) xmalloc (sizeof (struct commands)); in install_default_suffix_rules()
559 f->cmds->fileinfo.filenm = 0; in install_default_suffix_rules()
560 f->cmds->commands = s[1]; in install_default_suffix_rules()
561 f->cmds->command_lines = 0; in install_default_suffix_rules()
Dcommands.c121 if (file->cmds == default_file->cmds) in set_file_variables()
269 chop_commands (struct commands *cmds) in chop_commands() argument
278 if (!cmds || cmds->command_lines != 0) in chop_commands()
288 p = cmds->commands; in chop_commands()
328 cmds->ncommand_lines = nlines; in chop_commands()
329 cmds->command_lines = lines; in chop_commands()
331 cmds->any_recurse = 0; in chop_commands()
332 cmds->lines_flags = (char *) xmalloc (nlines); in chop_commands()
358 cmds->lines_flags[idx] = flags; in chop_commands()
359 cmds->any_recurse |= flags & COMMANDS_RECURSE; in chop_commands()
[all …]
Drule.c161 convert_suffix_rule (char *target, char *source, struct commands *cmds) in convert_suffix_rule() argument
208 create_pattern_rule (names, percents, 0, deps, cmds, 0); in convert_suffix_rule()
242 if (f->cmds != 0) in convert_to_pattern()
244 convert_suffix_rule ("", dep_name (d), f->cmds); in convert_to_pattern()
258 if (f == 0 || f->cmds == 0) in convert_to_pattern()
266 f->cmds); in convert_to_pattern()
270 convert_suffix_rule (dep_name (d2), dep_name (d), f->cmds); in convert_to_pattern()
394 r->cmds = (struct commands *) xmalloc (sizeof (struct commands)); in install_pattern_rule()
395 r->cmds->fileinfo.filenm = 0; in install_pattern_rule()
396 r->cmds->fileinfo.lineno = 0; in install_pattern_rule()
[all …]
Dcommands.h39 extern void print_commands PARAMS ((struct commands *cmds));
41 extern void chop_commands PARAMS ((struct commands *cmds));
Dremake.c228 message (1, ((file->phony || file->cmds == 0) in update_goal_chain()
451 if (!file->phony && file->cmds == 0 && !file->tried_implicit) in update_file_1()
459 if (file->cmds == 0 && !file->is_target in update_file_1()
460 && default_file != 0 && default_file->cmds != 0) in update_file_1()
463 file->cmds = default_file->cmds; in update_file_1()
594 d->changed = ((file->phony && file->cmds != 0) in update_file_1()
710 else if (!noexist && file->is_target && !deps_changed && file->cmds == 0 in update_file_1()
717 else if (!must_make && file->cmds != 0 && always_make_flag) in update_file_1()
814 if (file->cmds != 0 && file->cmds->any_recurse) in notice_finished_file()
819 for (i = 0; i < file->cmds->ncommand_lines; ++i) in notice_finished_file()
[all …]
Dfile.c259 if (from_file->cmds != 0) in rehash_file()
261 if (to_file->cmds == 0) in rehash_file()
262 to_file->cmds = from_file->cmds; in rehash_file()
263 else if (from_file->cmds != to_file->cmds) in rehash_file()
268 if (to_file->cmds->fileinfo.filenm != 0) in rehash_file()
269 error (&from_file->cmds->fileinfo, in rehash_file()
271 from_file->name, to_file->cmds->fileinfo.filenm, in rehash_file()
272 to_file->cmds->fileinfo.lineno); in rehash_file()
274 error (&from_file->cmds->fileinfo, in rehash_file()
277 error (&from_file->cmds->fileinfo, in rehash_file()
[all …]
Dread.c1879 struct commands *cmds; in record_files() local
1890 cmds = (struct commands *) xmalloc (sizeof (struct commands)); in record_files()
1891 cmds->fileinfo.filenm = flocp->filenm; in record_files()
1892 cmds->fileinfo.lineno = cmds_started; in record_files()
1893 cmds->commands = savestring (commands, commands_idx); in record_files()
1894 cmds->command_lines = 0; in record_files()
1897 cmds = 0; in record_files()
1977 if (cmds != 0 && cmds == f->cmds) in record_files()
1985 else if (cmds != 0 && f->cmds != 0 && f->is_target) in record_files()
1987 error (&cmds->fileinfo, in record_files()
[all …]
Drule.h28 struct commands *cmds; /* Commands to execute. */ member
Dimplicit.c312 if (rule->deps != 0 && rule->cmds == 0) in pattern_search()
401 if (rule->deps == 0 && rule->cmds == 0) in pattern_search()
848 f->cmds = imf->cmds; in pattern_search()
932 file->cmds = rule->cmds; in pattern_search()
Dexpand.c459 if (file->cmds && file->cmds->fileinfo.filenm) in variable_expand_for_file()
460 reading_file = &file->cmds->fileinfo; in variable_expand_for_file()
Djob.c876 for (i = 0; i < child->file->cmds->ncommand_lines; ++i) in free_child()
987 | child->file->cmds->lines_flags[child->command_line - 1]); in start_job_command()
1011 child->file->cmds->lines_flags[child->command_line - 1] in start_job_command()
1487 register struct commands *cmds = file->cmds; in new_job() local
1500 chop_commands (cmds); in new_job()
1503 lines = (char **) xmalloc (cmds->ncommand_lines * sizeof (char *)); in new_job()
1504 for (i = 0; i < cmds->ncommand_lines; ++i) in new_job()
1520 in = out = cmds->command_lines[i]; in new_job()
1600 lines[i] = allocated_variable_expand_for_file (cmds->command_lines[i], in new_job()
1748 if (child->command_line == child->file->cmds->ncommand_lines) in job_next_command()
Dfiledef.h32 struct commands *cmds; /* Commands to execute for this target. */ member
Dmain.c1834 if (f->deps == 0 && f->cmds != 0) in main()
/ndk/sources/host-tools/make-3.81/config/
Dtexinfo.tex1132 \let\setfilename=\comment % Ignore extra @setfilename cmds.