Searched defs:force (Results 1 - 22 of 22) sorted by relevance

/ast/src/cmd/3d/
H A Dtouch.c35 * if force>0 then file will be created if it doesn't exist
36 * if force<0 then times are taken verbatim
73 touch(const char* file, time_t atime, time_t mtime, int force) argument
88 if (force >= 0)
110 n = utime(file, (force < 0 || atime || mtime) ? &ut : (struct utimbuf*)0);
140 if (!force) return(-1);
149 return((force < 0 || atime || mtime) ? utime(file, &ut) : 0);
H A Dlib.c50 * if force!=0 then state.table.fd set to TABLE_FD
55 keep(const char* buf, size_t siz, int force) argument
59 if (force && state.in_2d || siz > sizeof(state.table.buf))
102 if (force) CLOSE(TABLE_FD);
121 if (force) CLOSE(TABLE_FD);
484 fileinit(int fd, struct stat* st, Mount_t* mp, int force) argument
492 if (!force && (f->flags & FILE_ERROR) || !st && FSTAT(fd, st = &sb) || (ffd = FCNTL(fd, F_GETFD, NiL)) == -1 || (ffl = FCNTL(fd, F_GETFL, NiL)) == -1)
H A Dinit.c1534 init(int force, const char* opt, int opsize) argument
1549 if (!force && state.pid) return(0);
/ast/src/lib/libcmd/
H A Dchmod.c163 register int force = 0; local
193 force = 1;
279 if (!force)
301 else if (!force)
305 if (!force)
309 if (!force)
313 if (!force)
317 if (!force)
H A Drm.c35 " standard input is a terminal, and the \b--force\b option is not"
50 "[f:force?Ignore nonexistent files, ignore no file operands specified,"
57 "[u:unconditional?If \b--recursive\b and \b--force\b are also enabled then"
88 int force; /* force actions */ member in struct:State_s
115 if (!state->force)
135 else if (!state->force)
148 if (!state->force)
233 if (!state->force)
240 else if (!state->force)
[all...]
H A Dcp.c90 "[f:force?Replace existing destination files.]"
163 int force; /* force approval */ member in struct:State_s
352 else if (state->link == link && !state->force)
451 if (!rm || !state->force)
457 if (state->force)
472 else if (state->force)
792 state->force = 1;
802 state->force = 0;
/ast/src/cmd/pack/
H A Dpack.c63 "[f:force?Pack the file even if the packed size is larger than the original.]"
96 int nfile=0, npack=0, force=0, verbose=0; local
105 force++;
129 force++;
168 else if(!force && block(huffisize(hp)) <= block(huffosize(hp)+dsize))
/ast/src/cmd/nmake/
H A Dmetarule.c34 * force causes the rule to be created
38 metarule(char* in, char* out, int force) argument
46 if (force)
90 metainfo(int type, char* s1, char* s2, int force) argument
96 if (!(r = getrule(s1)) && force)
H A Dstate.c40 * force causes the rule to be created
41 * force<0 canon's name first
45 catrule(register char* s1, register char* s2, register char* s3, int force) argument
55 if (!(r = getrule(s1)) && force)
57 if (force < 0)
244 * force>0 causes the state rule to be created
245 * force<0 prevents a state bind
249 staterule(int op, register Rule_t* r, char* var, int force) argument
259 int nobind = force < 0;
297 if (!force)
426 rulestate(register Rule_t* r, int force) argument
446 varstate(register Rule_t* r, int force) argument
478 auxiliary(char* s, int force) argument
[all...]
H A Dbind.c655 bindalias(register Rule_t* r, register Rule_t* x, char* path, Rule_t* d, int force) argument
671 if (!force && !((r->dynamic|x->dynamic)&D_bound) && !d && !strchr(x->name, '/'))
777 * force forces the rule to be allocated
782 localrule(register Rule_t* r, int force) argument
791 return force ? 0 : r;
804 if (!(x = getrule(s)) && force)
808 if (x && !x->view && (x != r || force))
837 if (!(x = getrule(v)) && force)
842 if (x && !x->view && (force || x != r))
H A Dexpand.c2341 int force; local
2748 if (force = op == 'F')
2766 x = rulestate(r, force);
2769 x = metarule(r->name, ops, force);
2772 x = staterule(PREREQS, r, NiL, force);
2775 x = staterule(RULE, r, NiL, force);
2779 x = staterule(VAR, NiL, r->name, force);
H A Dmake.h238 #define BIND_FORCE (1<<1) /* force bindfile current time */
240 #define BIND_RULE (1<<3) /* force bindfile makerule */
296 #define P_implicit (1<<13) /* force implicit prereq checks */
540 Rule_t* force; /* .FORCE rule pointer */ member in struct:Internal_s
774 unsigned char compileonly; /* only compile (force) */
783 unsigned char force; /* force target updates */ member in struct:State_s
784 unsigned char forceread; /* force makefiles to be read */
785 unsigned char forcescan; /* force implicit prereq scan */
793 unsigned char intermediate; /* force intermediat
[all...]
/ast/src/lib/libast/astsa/
H A Doptlib.h84 int force; /* force this style */ member in struct:Optstate_s
/ast/src/lib/libast/misc/
H A Doptlib.h90 int force; /* force this style */ member in struct:Optstate_s
/ast/src/lib/libast/path/
H A Dpathprobe.c107 int force; local
215 force = 0;
286 force = 1;
297 if (!force)
305 force = 0;
312 if (force)
/ast/src/cmd/mailx/
H A Dsend.c619 int force; local
625 force = (flags & GRULE) ? state.editheaders : 0;
670 else if (force & lp->type)
H A Dlocal.c822 * if force>0 then file will be created if it doesn't exist
823 * if force<0 then times are taken verbatim
831 touch(const char* file, time_t atime, time_t mtime, int force) argument
840 if (!force || close(open(file, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY|O_cloexec, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)))
844 if (force >= 0)
/ast/src/cmd/cs/
H A Dmbb.c118 data(register State_t* state, register Connection_t* to, char* s, size_t n, int force) argument
120 if (!force && n > 1 && state->backlog && ++state->count >= state->backlog)
130 note(Css_t* css, register Connection_t* to, int log, char* s, size_t n, int force, Cssdisc_t* disc) argument
135 if ((force || to->blocked[log] < 0) && (z = data(state, to, s, n, force)) != n)
137 if (!force && !state->logged)
/ast/src/cmd/html/
H A Dhtmlrefs.c74 "[F:force?By default files are not copied if the source and target size and"
75 " modification times match. \b--force\b forces all files to be copied.]"
191 int force; member in struct:State_s
941 state->force = opt_info.num;
1093 else if (state->force || st.st_mtime != ts.st_mtime)
1125 else if (state->force || st.st_mtime != ts.st_mtime)
H A Dtroff2html.c794 * lookup or create (force!=0) io stream handle
798 iop(char* s, int force) argument
805 if (!force) error(1, "iop %s lookup failed", buf);
806 if (!force)
1732 li(int force) argument
1743 if (force)
1747 message((-2, "DROP %d %d %d:%d %d:%d", state.list - state.list_stack, state.list->dl, state.list->ti, state.list->in, force ? state.env->ti.current : 0, state.env->in.current));
1754 message((-2, "TEST %d %d %d:%d %d:%d ops=%d df=%d dc=%d dl=%d", state.list - state.list_stack, state.list->dl, state.list->ti, state.list->in, force ? state.env->ti.current : 0, state.env->in.current, state.list - list, force, state.it.dc, state.it.dl));
1755 if (state.env->in.current > state.list->in || force >
[all...]
/ast/src/cmd/INIT/
H A Dmamake.c233 int force; /* all targets out of date */ member in struct:__anon22
1620 if (cmd && state.active && (state.force || r->time < z || !r->time && !z))
1622 if (state.explain && !state.force)
2119 state.force = 1;
2224 state.force = 1;
/ast/src/cmd/dsslib/flat/
H A Dflat.c232 int force; member in struct:Flat_s
989 if (flat->force)
3766 flat->force = 1;

Completed in 83 milliseconds