Searched defs:on (Results 1 - 12 of 12) sorted by relevance

/ast/src/lib/libast/vmalloc/
H A Dvmset.c36 int vmset(reg Vmalloc_t* vm, int flags, int on) argument
38 int vmset(vm, flags, on)
39 reg Vmalloc_t* vm; /* region being worked on */
41 int on; /* !=0 if turning on, else turning off */
47 if(flags == 0 && on == 0)
53 if(on)
/ast/src/lib/libast/misc/
H A Dfs3d.c47 static char on[] = FS3D_on; local
61 if (mount(on, val, FS3D_VIEW|FS3D_GET|FS3D_SIZE(sizeof(val)), NiL))
67 if (!strcmp(v, on))
81 v = on;
H A Doptget.c575 register int on = n; local
614 else if (on == 1)
638 if (n == on && (c == t1 || c == t2 || c == t3))
644 else if (n == on && (c == t1 || c == t2 || c == t3))
656 * *s points to '(' on input
2336 * \f...\f discipline infof callback on ...
/ast/src/cmd/tests/sfio/
H A Dtpool.c41 int i, n, on; local
65 on = strlen(os);
71 { if(!(s = sfgetr(f1,'\n',0)) || (n = sfvalue(f1)) != on)
138 terror("sfseek failed on f1");
140 terror("sfreserve failed on f1");
145 terror("sfreserve should have failed on f2");
151 terror("Wrong read on f1");
/ast/src/lib/libcs/
H A Dcsopen.c47 * state->mount modified, possibly destroyed on error
149 * initiate service named by path on state->host w/state->flags
151 * 0 returned on success
158 char* on; local
196 if (tokscan(s, NiL, " %s ", &on) == 1)
198 if (streq(on, CS_HOST_LOCAL) || streq(on, local))
206 else if (!streq(on, CS_HOST_SHARE))
214 remote(state, on, user, path, 0, av, fv);
261 else if (!sfstacked(sp) && (np = csinfo(state, on, Ni
[all...]
/ast/src/cmd/mailx/
H A Dproc.c123 * Open fd is set close-on-exec.
314 * If on is specified then output error messages enabled.
320 * 0 returned on success.
324 filecopy(const char* in, FILE* ip, const char* on, FILE* op, FILE* ap, register off_t n, register off_t* lines, off_t* chars, unsigned long flags) argument
355 if (on) {
356 note(SYSTEM, "%s", on);
357 on = 0;
371 if (on)
372 note(SYSTEM, "%s", on);
H A Dmailx.h130 #define MORE_DISCIPLINE 1 /* Sfio more discipline on stdout */
472 unsigned long h_clear; /* Clear these on change */
596 * twice as much, and so on.
609 char* on; /* Variable on value */ member in struct:__anon136
643 int stopreset; /* Reset on stop */
665 Dt_t* saveignore; /* Ignored fields on save to folder */
/ast/src/cmd/3d/
H A Dsyscall3d.c310 int on; local
344 if (state.kernel || state.trace.pid <= 1 || (on = fsfd(&state.fs[FS_option])) <= 0 || !(state.test & 0100) && !(MSG_MASK(cp->call) & (state.trace.call & ~MSG_MASK(error_info.trace ? 0 : MSG_nop))))
345 on = 0;
358 if ((m = arg[1].number) == on)
417 write(on, buf, b - buf);
446 write(on, buf, b - buf);
534 if (on && state.kernel <= 1)
691 write(on, t, x - t);
699 write(on, t, b - t);
H A Dinit.c883 int on; local
886 if ((on = fsfd(&state.fs[FS_option])) <= 0) return;
933 if (state.limit == TABSIZE) bprintf(&b, e, " %cd on\n", state.in_2d ? '2' : '3');
935 bprintf(&b, e, " boundary %s\n", state.boundary ? "on" : "off");
1062 WRITE(on, state.path.name, b - state.path.name);
/ast/src/cmd/ksh93/sh/
H A Dargs.c133 * This routine turns options on and off
585 * Print option settings on standard output
593 int on; local
624 on = !!is_option(&oflags,value);
630 on = !on;
635 sfprintf(sfstdout, "%s%s\n", on ? "" : "no", name);
638 sfprintf(sfstdout, "%s%-*s", on ? "" : "no", on ? c : (c-2), name);
665 on
[all...]
/ast/src/cmd/pax/
H A Dpax.h143 #define INFO_ORDERED 'O' /* delta on ordered base */
215 #define MAP_INDEX 0x01 /* append .%d index on match */
369 int on; /* do the conversion */ member in struct:Convert_s
565 int on; /* meter progress */ \
/ast/src/cmd/INIT/
H A Dproto.c389 char* checkpoint; int constack; struct ppinstk* in; char* addp; char* args; char* addbuf; char* catbuf; char* hdrbuf; char* hidebuf; char* path; char* tmpbuf; char* valbuf; char* optflags; int lastout; char* include; char* prefix; struct ppmember* member; int hidden; int hiding; int level; struct { int input; int output; } pool; struct { long ro_state; long ro_mode; long ro_option; long ro_op[2]; int on; char* symtab; } reset; int truncate; struct ppmacstk* macp; char* maxmac; char* mactop; char* toknxt; long* control; long* maxcon; struct oplist* chop; struct ppfile* insert; struct ppfile* original; struct ppdirs* found; int vendor; char* dirtab; char* strtab; PPBUILTIN builtin; PPCOMMENT comment; PPINCREF incref; PPLINESYNC linesync; PPLINESYNC olinesync; PPMACREF macref; PPOPTARG optarg; PPPRAGMA pragma; struct counter counter; char funbuf[256]; member in struct:ppglobals::__anon26
2281 comment( &notice, &buf, "to the terms of the license you are infringing on",sizeof( "to the terms of the license you are infringing on")-1, 0);

Completed in 62 milliseconds