Lines Matching defs:cmd_info
56 Cmd_Info *cmd_info;
101 cmd_info = (Cmd_Info *) calloc(1, sizeof (Cmd_Info));
102 if (cmd_info == NULL) {
107 cmd_info->flags |= I_AM_STRIP;
118 cmd_info->flags |= (MIGHT_CHG | aFLAG);
119 cmd_info->str_size += strlen(optarg) + 1;
124 cmd_info->flags |= (MIGHT_CHG | cFLAG);
128 if (CHK_OPT(cmd_info, dFLAG) == 0)
130 cmd_info->flags |= (MIGHT_CHG | dFLAG);
135 cmd_info->flags |= (MIGHT_CHG | zFLAG);
143 cmd_info->flags |= lFLAG;
148 cmd_info->flags |= pFLAG;
152 cmd_info->flags |= xFLAG;
155 cmd_info->flags |= VFLAG;
180 (CHK_OPT(cmd_info, MIGHT_CHG) || CHK_OPT(cmd_info, pFLAG) ||
183 else if (!CHK_OPT(cmd_info, MIGHT_CHG) &&
184 !CHK_OPT(cmd_info, pFLAG) && !CHK_OPT(cmd_info, VFLAG))
192 if ((num_sect >= 2) && (CHK_OPT(cmd_info, pFLAG) ||
193 CHK_OPT(cmd_info, aFLAG) ||
194 CHK_OPT(cmd_info, cFLAG))) {
214 if (CHK_OPT(cmd_info, lFLAG) == 0) {
218 if (CHK_OPT(cmd_info, dFLAG) == 0) {
220 cmd_info->flags |= MIGHT_CHG;
221 cmd_info->flags |= dFLAG;
231 if (CHK_OPT(cmd_info, pFLAG) || CHK_OPT(cmd_info, MIGHT_CHG)) {
234 (each_file(argv[optind], cmd_info));