Searched refs:restore (Results 1 - 18 of 18) sorted by relevance

/ast/src/cmd/builtin/
H A Dpty.c444 int restore; /* previous line save char */ member in struct:Master_s
471 if (bp->cur < bp->end && bp->restore >= 0)
472 *bp->cur = bp->restore;
477 if (bp->cur < bp->end && bp->restore >= 0)
505 if (bp->restore >= 0)
506 *bp->cur = bp->restore;
508 bp->restore = *bp->nxt;
534 if (bp->restore >= 0)
536 *bp->cur = bp->restore;
537 bp->restore
[all...]
/ast/src/lib/libcs/
H A Dcsclient.c47 restore(void) function
85 atexit(restore);
/ast/src/lib/libast/disc/
H A Dsfkeyprintf.c75 getfield(register Field_t* f, int restore) argument
89 else if (restore)
111 if (c == '(' && restore)
117 else if (c == '[' && restore)
/ast/src/lib/libast/misc/
H A Dfindlib.h59 char* restore; member in struct:__anon278
H A Dfastfind.c696 if (fp->decode.restore)
698 *fp->decode.restore = '/';
699 fp->decode.restore = 0;
892 *(fp->decode.restore = p) = 0;
904 *(fp->decode.restore = p) = 0;
H A Dprocopen.c156 * do modification op and save previous state for restore()
323 * restore modifications
327 restore(Proc_t* proc) function
384 #define restore(p) macro
798 restore(proc);
H A Doptget.c1396 goto restore;
1439 goto restore;
1449 goto restore;
1453 goto restore;
1601 restore:
/ast/src/lib/libpz/
H A Dpzinflate.c25 * restore lo+hi into ob
29 restore(register Pz_t* pz, Pzpart_t* pp, register Sfio_t* ip, Sfio_t* op, register unsigned char* pat, register unsigned char* buf, size_t row, size_t m, register size_t* map, register unsigned char** mix, register size_t* inc) function
216 * restore lo+hi on op
219 if (restore(pz, pp, pz->io, op, pat, pz->wrk, pp->row, k, pp->map, pp->mix, pp->inc))
/ast/src/lib/libpp/
H A Dppcontrol.c194 long restore; local
196 restore = pp.state & (NOSPACE|STRIP);
231 pp.state |= restore;
267 long restore; local
311 restore = (pp.state & RESTORE)|NEWLINE;
312 if (pp.state & PASSTHROUGH) restore |= DISABLE;
313 else restore &= ~DISABLE;
2237 pp.state |= restore;
2278 pp.state |= restore|HIDDEN|SKIPCONTROL;
H A Dppinput.c282 long restore; local
294 restore = pp.state & (COLLECTING|DISABLE|STRIP);
295 pp.state &= ~restore;
330 pp.state |= restore;
/ast/src/cmd/ksh93/tests/
H A Doptions.sh338 restore=$*
353 set $restore
355 [[ $state == "set $restore" ]] || err_exit "set --state after restore failed: expected 'set $restore', got '$state'"
/ast/src/cmd/pax/
H A Dpax.h302 unsigned int chmod:1; /* must restore mode */ \
357 unsigned int chmod:1; /* must restore mode */
609 Hash_table_t* restore; /* post proc restoration table */ \
736 extern int restore(const char*, char*, void*);
H A Dpax.c1843 if ((state.operation & IN) && !state.list && !(state.restore = hashalloc(NiL, HASH_set, HASH_ALLOCATE, HASH_name, "restore", 0)))
1979 if (state.restore)
1980 hashwalk(state.restore, 0, restore, NiL);
H A Dfile.c683 error(ERROR_SYSTEM|1, "%s: cannot restore original mode %s", f->name, fmtperm(st.st_mode & S_IPERM));
1217 hashput(state.restore, f->name, p);
1232 restore(f->name, (char*)p, NiL);
1247 * restore file status after processing
1251 restore(register const char* name, char* ap, void* handle) function
/ast/src/cmd/ksh93/edit/
H A Demacs.c758 /* restore line */
1260 goto restore;
1264 goto restore;
1268 goto restore;
1333 restore:
/ast/src/cmd/ie/
H A Demacs.c702 /* restore line */
1115 goto restore;
1177 restore:
/ast/src/cmd/nmake/
H A Dparse.c3136 char* restore[PARSEDEPTH]; local
3138 v = restore;
3156 if (v < &restore[elementsof(restore)])
3171 while (v > restore)
H A Dcommand.c498 * restore action by expanding into buf using original context
503 restore(register Joblist_t* job, Sfio_t* buf, Sfio_t* att) function
645 restore(job, tmp, att);

Completed in 51 milliseconds