Searched refs:readonly (Results 1 - 15 of 15) sorted by relevance

/ast/src/cmd/mailx/
H A Dedit.c109 if (fp = run_editor(setinput(mp), mp->m_size, NiL, type, state.readonly)) {
151 run_editor(register FILE* fp, off_t size, struct header* hp, int type, int readonly) argument
185 * If in readonly mode or file unchanged, clean up and return.
187 if (readonly)
H A Dlex.c88 state.readonly = 0;
91 state.readonly = 1;
94 state.readonly = 1;
465 if (state.readonly && (com->c_argtype & W)) {
660 if (state.readonly)
H A Dquit.c135 if (state.readonly)
342 if (state.readonly)
H A Dproc.c164 if (state.readonly && streq(mode, "w"))
H A Dmailx.h292 #define W (1<<15) /* Invalid for readonly */
634 int readonly; /* Will be unable to rewrite file */ member in struct:__anon136
H A Dimap.c1807 if (imapexec(imap, "%s %s", state.readonly ? "EXAMINE" : "SELECT", name))
/ast/src/cmd/nmake/
H A Doption.c187 { "readonly", OPT_readonly, (char*)&state.readonly, 0,
433 setcall(register Option_t* op, int readonly) argument
444 oreadonly = state.readonly;
445 state.readonly = readonly;
459 state.readonly = oreadonly;
754 int readonly; local
756 readonly = state.readonly;
[all...]
H A Dmain.c482 state.readonly = 1;
487 state.readonly = 0;
H A Drule.c252 else if (state.init || state.readonly)
341 if (!state.init && !state.readonly)
378 if (!state.init && !state.readonly)
915 if (a == internal.readonly) return n & P_readonly;
957 * r->dynamic readonly attributes
973 * r->property readonly attributes
983 * r->status readonly attributes
993 * other readonly attributes
1486 ATTR(readonly, ".READONLY", P_readonly);
1500 * readonly rul
[all...]
H A Dmake.h556 Rule_t* readonly; /* .READONLY rule pointer */ member in struct:Internal_s
570 * readonly rule attributes
809 unsigned char readonly; /* current vars|opts readonly */ member in struct:State_s
H A Dparse.c2336 else if (r == internal.readonly)
2538 if (r == internal.readonly)
2542 error(2, "%s: %s atom cannot appear as target", r->name, (r->property & P_readonly) ? "readonly" : "staterule");
2546 error(1, "%s: modifying readonly atom", r->name);
2754 if (!state.init && !state.readonly && (!state.op && state.reading || !(r->property & P_immediate)))
H A DMakerules.mk1438 $(.ROSRC.:B:N=$(<:B):?$(":") convert $(<:B:S=.c) data to readonly text in $(<:B:S)$("\n")??)set -
1456 : convert $(<:B:S=.c) tables to readonly text in $(<:B:S)
3570 * readonly text object section -- should go away
5086 set readonly
/ast/src/cmd/cs/
H A Ddbm.c87 int readonly; /* readonly open */ member in struct:__anon75
241 cp->readonly = *((char*)val.dptr) && !*s;
273 if (cp->readonly)
275 n = sfsprintf(ret, sizeof(ret), "E db is readonly\n");
/ast/src/cmd/ksh93/data/
H A Dbuiltins.c72 "export", NV_BLTIN|BLT_ENV|BLT_SPC|BLT_DCL,bltin(readonly),
88 "readonly", NV_BLTIN|BLT_ENV|BLT_SPC|BLT_DCL,bltin(readonly),
1314 "[-1c?\n@(#)$Id: readonly (AT&T Research) 2008-06-16 $\n]"
1316 "[+NAME?readonly - set readonly attribute on variables]"
1317 "[+DESCRIPTION?\breadonly\b sets the readonly attribute on each of "
1321 "is made readonly.]"
1324 "and the value is readonly for each instance.]"
1326 "readonly variable
[all...]
/ast/src/cmd/3d/
H A Dmap.c607 * if readonly!=0 then buf must not be changed after this call
611 mapinit(const char* buf, int readonly) argument
630 if (!readonly)
635 if (readonly)
644 if (readonly)
651 if (readonly)

Completed in 2823 milliseconds