Home
last modified time | relevance | path

Searched refs:debug (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/plan9/sys/src/games/music/jukefs/
H A Dcatset.c8 static int debug = 0; variable
29 if (debug) fprint(2, "catsetrealloc %p %d (%p %d)", cs, sz, cs->bitpiece, cs->nbitpiece); in catsetrealloc()
35 if (debug) fprint(2, " -> %p %d\n", cs->bitpiece, cs->nbitpiece); in catsetrealloc()
52 if (debug) fprint(2, "catsetinit %p %d -> ", cs, v); in catsetinit()
55 if (debug) catsetprint(2, cs); in catsetinit()
56 if (debug) fprint(2, "\n"); in catsetinit()
62 if (debug) fprint(2, "catsetcopy %p %p ", dst, src); in catsetcopy()
63 if (debug) catsetprint(2, dst); in catsetcopy()
64 if (debug) fprint(2, " "); in catsetcopy()
65 if (debug) catsetprint(2, src); in catsetcopy()
[all …]
/plan9/sys/src/games/music/
H A Djuke.rc5 debug=0
19 debug=$2
41 if(! ~ $debug 0) echo mounting playlistfs
44 if (! ~ $debug '0') echo starting playlistfs
45 games/playlistfs -s $sname.$user -d $debug
49 if (! ~ $debug '0') echo import srv from $host
52 if (! ~ $debug '0') echo mount /srv/playlist.$sname
55 if (! ~ $debug '0') echo starting playlistfs
56 games/playlistfs -s $sname -d $debug
62 if (! ~ $debug '0') echo import srv from $host
[all …]
/plan9/sys/src/cmd/venti/srv/
H A Dhproc.c25 static Debug debug = { -1 }; variable
33 if(debug.textfd >= 0){ in text()
34 close(debug.textfd); in text()
35 debug.textfd = -1; in text()
37 memset(&debug.fhdr, 0, sizeof debug.fhdr); in text()
43 if(crackhdr(fd, &debug.fhdr) < 0){ in text()
47 if(syminit(fd, &debug.fhdr) < 0){ in text()
48 memset(&debug.fhdr, 0, sizeof debug.fhdr); in text()
52 debug.textfd = fd; in text()
53 machbytype(debug.fhdr.type); in text()
[all …]
/plan9/sys/src/cmd/ssh1/
H A Dauthrsa.c13 debug(DBG_AUTH, "rsa!\n"); in authrsafn()
16 debug(DBG_AUTH, "open /mnt/factotum/rpc: %r\n"); in authrsafn()
20 debug(DBG_AUTH, "auth_allocrpc: %r\n"); in authrsafn()
26 debug(DBG_AUTH, "auth_rpc start %s failed: %r\n", s); in authrsafn()
33 debug(DBG_AUTH, "trying factotum rsa keys\n"); in authrsafn()
35 debug(DBG_AUTH, "try %s\n", (char*)rpc->arg); in authrsafn()
44 debug(DBG_AUTH, "\tnot accepted %s\n", (char*)rpc->arg); in authrsafn()
53 debug(DBG_AUTH, "\tgot challenge %B\n", chal); in authrsafn()
58 debug(DBG_AUTH, "\tmptoa failed: %r\n"); in authrsafn()
63 debug(DBG_AUTH, "\tauth_rpc write failed: %r\n"); in authrsafn()
[all …]
H A Dagent.c101 debug(DBG_AUTH, "open /mnt/factotum/rpc: %r\n"); in dorsa()
105 debug(DBG_AUTH, "auth_allocrpc: %r\n"); in dorsa()
110 debug(DBG_AUTH, "auth_rpc start failed: %r\n"); in dorsa()
117 debug(DBG_AUTH, "trying factotum rsa keys\n"); in dorsa()
119 debug(DBG_AUTH, "try %s\n", (char*)rpc->arg); in dorsa()
132 debug(DBG_AUTH, "\tmptoa failed: %r\n"); in dorsa()
136 debug(DBG_AUTH, "\tauth_rpc write failed: %r\n"); in dorsa()
142 debug(DBG_AUTH, "\tauth_rpc read failed: %r\n"); in dorsa()
147 debug(DBG_AUTH, "\tdecr %s failed\n", rpc->arg); in dorsa()
150 debug(DBG_AUTH, "\tdecrypted %B\n", decr); in dorsa()
[all …]
/plan9/rc/bin/
H A Djuke5 debug=0
19 debug=$2
38 if (! ~ $debug '0') echo mounting playlistfs
44 if (! ~ $debug '0') echo starting playlistfs
45 games/playlistfs -s $sname -d $debug
53 if (! ~ $debug '0') echo games/jukefs
58 exec games/jukebox -w -d $debug $tflag &
60 exec games/jukebox -d $debug $tflag
/plan9/sys/src/9/port/
H A Dusb.h4 #define dprint if(debug)print
5 #define ddprint if(debug>1)print
6 #define deprint if(debug || ep->debug)print
7 #define ddeprint if(debug>1 || ep->debug>1)print
121 void (*debug)(Hci*, int); /* set/clear debug flag */ member
160 int debug; /* per endpoint debug flag */ member
/plan9/sys/src/cmd/postscript/tr2post/
H A DreadDESC.c52 if (debug) Bprint(Bstderr, "readDESC()\n"); in readDESC()
74 if (debug) Bprint(Bstderr, "PDL %s\n", token); in readDESC()
79 if (debug) Bprint(Bstderr, "encoding %s\n", token); in readDESC()
108 if (debug) Bprint(Bstderr, "res %d\n", devres); in readDESC()
112 if (debug) Bprint(Bstderr, "ignoring horizontal resolution\n"); in readDESC()
116 if (debug) Bprint(Bstderr, "ignoring vertical resolution\n"); in readDESC()
125 if (debug) Bprint(Bstderr, "unitwidth %d\n", unitwidth); in readDESC()
129 if (debug) Bprint(Bstderr, "ignoring special character <%s>\n", token); in readDESC()
H A Dutils.c56 if (debug) in hmot()
79 …if (debug) fprint(2, "looking for <%s>, have <%s> in font %s\n", stoken, (*cp)->name, troffontab[t… in findglyph()
105 if (debug) in glyphout()
123 if (debug) in glyphout()
135 if (debug) in glyphout()
141 if (debug) fprint(2, " looking through special fonts: trying %s\n", troffontab[fontid].trfontid); in glyphout()
152 if (debug) fprint(2, " looking through font at position 1: trying %s\n", troffontab[fontid].trfonti… in glyphout()
168 if (debug) fprint(2, "fontmtab[%d]=%#p\n", i, fontmtab[i]); in glyphout()
172 if (debug) fprint(2, " looking through special fonts: trying %s\n", troffontab[fontid].trfontid); in glyphout()
188 if (debug) in glyphout()
/plan9/sys/src/cmd/postscript/tcpostio/
H A Dtcpostio.c28 int debug = 0; variable
202 if (debug&0x1) fprintf(stderr, "readprinter select returned %d\n", n); in readprinter()
228 if (debug&0x1) fprintf(stderr, "pipe wants to be read\n"); in readprinter()
234 if (debug&0x1) fprintf(stderr, "readprinter: proto=%c\n", proto); in readprinter()
254 if (debug&0x1) fprintf(stderr, "printer wants to be read\n"); in readprinter()
260 if (debug&0x1) fprintf(stderr, "%s\n", buf); in readprinter()
263 if (debug&0x1) fprintf(stderr, "progstate=%c, ", progstate); in readprinter()
379 if (debug&02) fprintf(stderr, "sendfile select returned %d\n", n); in sendfile()
387 if (debug&02) fprintf(stderr, "sendfile command - <%c>\n", proto); in sendfile()
397 if (debug&02) fprintf(stderr, "read %d bytes\n", i); in sendfile()
[all …]
/plan9/sys/src/9/omap/
H A Dsyscall.c32 qlock(&up->debug); in noted()
34 qunlock(&up->debug); in noted()
45 qunlock(&up->debug); in noted()
61 qunlock(&up->debug); in noted()
66 qunlock(&up->debug); in noted()
70 qunlock(&up->debug); in noted()
74 qunlock(&up->debug); in noted()
89 qunlock(&up->debug); in noted()
93 qunlock(&up->debug); in noted()
119 qlock(&up->debug); in notify()
[all …]
/plan9/sys/src/cmd/lp/
H A Dlpdsend.c36 debug(char *str) in debug() function
228 debug("send data\n"); in sendjob()
230 debug("send control info\n"); in sendjob()
296 debug("debugging on\n"); in main()
371 debug("open("); debug(inputname); debug(")\n"); in main()
380 debug("using stdin\n"); in main()
386 debug("copy input to temp file "); in main()
387 debug(tmpfilename); in main()
388 debug("\n"); in main()
405 debug(" dial("); debug(strbuf); debug(", "); debug(portstr); debug(", 0, 0) ..."); in main()
/plan9/sys/src/cmd/9nfs/
H A D9auth.c9 int debug; variable
35 ++debug; in main()
52 if(debug) in main()
53 printf("debug=%d, file=%s\n", debug, file); in main()
68 if(debug) in main()
80 if(debug) in main()
/plan9/sys/src/cmd/upas/smtp/
H A Dmxdial.c108 if(debug) in callmx()
117 if(debug) in callmx()
122 if(debug) in callmx()
136 if (debug) in callmx()
143 if(debug) in callmx()
149 if (debug && fd < 0) in callmx()
203 if(debug) in mxlookup1()
211 if(debug) in mxlookup1()
227 if(debug) in mxlookup1()
241 if(debug) in mxlookup1()
[all …]
/plan9/sys/src/cmd/6l/
H A Dasm.c99 if(debug['v']) in asmb()
110 if(!debug['a']) in asmb()
120 if(debug['a']) { in asmb()
148 if(debug['v']) in asmb()
169 if(!debug['s']) { in asmb()
170 if(debug['v']) in asmb()
181 if(!debug['s']) in asmb()
183 if(debug['v']) in asmb()
186 if(debug['v']) in asmb()
189 if(!debug['s']) in asmb()
[all …]
/plan9/sys/src/9/teg2/
H A Dsyscall.c38 qlock(&up->debug); in noted()
40 qunlock(&up->debug); in noted()
51 qunlock(&up->debug); in noted()
67 qunlock(&up->debug); in noted()
72 qunlock(&up->debug); in noted()
76 qunlock(&up->debug); in noted()
80 qunlock(&up->debug); in noted()
95 qunlock(&up->debug); in noted()
99 qunlock(&up->debug); in noted()
125 qlock(&up->debug); in notify()
[all …]
/plan9/sys/src/9/kw/
H A Dsyscall.c32 qlock(&up->debug); in noted()
34 qunlock(&up->debug); in noted()
45 qunlock(&up->debug); in noted()
61 qunlock(&up->debug); in noted()
66 qunlock(&up->debug); in noted()
70 qunlock(&up->debug); in noted()
74 qunlock(&up->debug); in noted()
89 qunlock(&up->debug); in noted()
93 qunlock(&up->debug); in noted()
119 qlock(&up->debug); in notify()
[all …]
/plan9/sys/src/cmd/postscript/common/
H A Dcommon.c129 extern BOOLEAN debug; in pageon()
133 if (privdebug && !debug) { in pageon()
135 debug = TRUE; in pageon()
140 if (privdebug && !debug) { in pageon()
142 debug = TRUE; in pageon()
146 if (!privdebug && debug) { in pageon()
148 debug = FALSE; in pageon()
230 extern int debug;
/plan9/sys/src/cmd/ip/
H A Drarpd.c30 int debug; variable
74 debug = 1; in main()
127 syslog(debug, rlog, "bad packet size %ld", n); in main()
132 syslog(debug, rlog, "bad op %d %d %E", in main()
137 if(debug) in main()
138 syslog(debug, rlog, "rcv se %E si %V te %E ti %V", in main()
143 syslog(debug, rlog, "client lookup failed: %s", ebuf); in main()
155 if(debug) in main()
156 syslog(debug, rlog, "send se %E si %V te %E ti %V", in main()
/plan9/sys/src/cmd/auth/
H A Dguard.srv.c28 int debug; variable
42 debug = 1; in main()
76 if(debug) in main()
84 if(debug) in main()
97 if(debug) { in main()
119 if(debug) in main()
129 if(debug) in catchalarm()
/plan9/sys/src/cmd/lex/
H A Dncform21 int debug;
26 debug = 0;
40 if(debug)fprintf(yyout,"state %d\n",yystate-yysvec-1);
51 if(debug){
71 if(debug)fprintf(yyout,"compressed state\n");
82 if(debug){
97 if(debug)fprintf(yyout,"fall back to state %d\n",yystate-yysvec-1);
106 if(debug){
115 if(debug){
136 if(debug){
[all …]
/plan9/sys/lib/lex/
H A Dncform21 int debug;
26 debug = 0;
40 if(debug)fprintf(yyout,"state %d\n",yystate-yysvec-1);
51 if(debug){
71 if(debug)fprintf(yyout,"compressed state\n");
82 if(debug){
97 if(debug)fprintf(yyout,"fall back to state %d\n",yystate-yysvec-1);
106 if(debug){
115 if(debug){
136 if(debug){
[all …]
/plan9/sys/src/cmd/8l/
H A Dasm.c97 if(debug['v']) in asmb()
108 if(!debug['a']) in asmb()
118 if(debug['a']) { in asmb()
156 if(debug['v']) in asmb()
177 if(!debug['s']) { in asmb()
178 if(debug['v']) in asmb()
195 debug['s'] = 1; in asmb()
198 if(!debug['s']) in asmb()
200 if(debug['v']) in asmb()
203 if(debug['v']) in asmb()
[all …]
/plan9/sys/lib/dist/pc/sub/
H A Dtermrc6 debug=0
8 if(~ $debug yes) echo env...
13 if(~ $debug yes) echo bind $i
16 if(~ $debug yes) echo binddev done
29 if(~ $debug yes) echo bind $i
33 if(~ $debug yes) echo bindlog done
/plan9/sys/lib/backup/
H A Dbackup15 case -n; debug=yes # don't dump; use with -s test
31 if (~ $debug yes) {
44 if (! ~ $debug yes)
89 if (! ~ $debug yes && ~ $set set1 && ~ $print yes) {

12345678910>>...20