Home
last modified time | relevance | path

Searched refs:lastdir (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dprintwheels.c56 static long lastdir = -1; local
73 if (!(name = next_dir(Lp_A_PrintWheels, &lastdir)))
76 lastdir = -1;
180 long lastdir; local
189 lastdir = -1;
190 while ((name = next_dir(Lp_A_PrintWheels, &lastdir)))
H A Dgetpentry.c56 static long lastdir = -1; in getpentry() local
89 if (!(name = next_dir(Lp_A_Printers, &lastdir))) in getpentry()
92 lastdir = -1; in getpentry()
H A Ddelprinter.c62 long lastdir; local
77 lastdir = -1;
78 while ((name = next_dir(Lp_A_Printers, &lastdir)))
H A Dgetprinter.c57 static long lastdir = -1; in getprinter() local
101 if (!(name = next_dir(Lp_A_Printers, &lastdir))) in getprinter()
104 lastdir = -1; in getprinter()
/illumos-gate/usr/src/cmd/lp/lib/class/
H A Ddelclass.c47 long lastdir; in delclass() local
55 lastdir = -1; in delclass()
56 while ((name = next_file(Lp_A_Classes, &lastdir))) in delclass()
H A Dgetclass.c50 static long lastdir = -1; in getclass() local
71 if (!(name = next_file(Lp_A_Classes, &lastdir))) in getclass()
74 lastdir = -1; in getclass()
/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Ddelform.c56 long lastdir; local
65 lastdir = -1;
66 while ((name = next_dir(Lp_A_Forms, &lastdir)))
H A Dgetform.c52 static long lastdir = -1; in getform() local
69 if (!(name = next_dir(Lp_A_Forms, &lastdir))) in getform()
72 lastdir = -1; in getform()
/illumos-gate/usr/src/cmd/lp/lib/requests/
H A Danyrequests.c46 long lastdir = -1; in anyrequests() local
57 while ((name = next_dir(Lp_Requests, &lastdir))) { in anyrequests()
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppop.c654 if (!dp || dp == pp.lastdir->next) in ppop()
666 dp->next = pp.lastdir->next; in ppop()
667 pp.lastdir = pp.lastdir->next = dp; in ppop()
871 c = pp.lastdir->next->type; in ppop()
872 pp.lastdir->next->type = 0; in ppop()
881 pp.lastdir->next->type = c; in ppop()
1300 pp.stddirs = pp.lastdir; in ppop()
1447 if ((pp.lastdir->next->name = ((p = va_arg(ap, char*)) && *p) ? p : NiL) && !stat(p, &st)) in ppop()
1448 SAVEID(&pp.lastdir->next->id, &st); in ppop()
H A Dpplib.h248 struct ppdirs* lastdir; /* last include dir */ \
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c5250 int lastbase = -1, firstbase = -1, lastdir = -1; in dtrace_dif_subr() local
5310 lastdir = i; in dtrace_dif_subr()
5313 ASSERT(!(firstbase == -1 && lastdir != -1)); in dtrace_dif_subr()
5323 firstbase = lastbase = lastdir = 0; in dtrace_dif_subr()
5335 ASSERT(lastdir == -1); in dtrace_dif_subr()
5337 lastdir = 0; in dtrace_dif_subr()
5344 if (lastdir == -1) { in dtrace_dif_subr()
5354 lastdir = 0; in dtrace_dif_subr()
5358 end = lastdir; in dtrace_dif_subr()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dproto.c385 …har* sp; long flags; } filedeps; struct ppdirs* firstdir; struct ppdirs* lastdir; int hide; int co… member
437 …har* sp; long flags; } filedeps; struct ppdirs* firstdir; struct ppdirs* lastdir; int hide; int co… member