Lines Matching refs:buf
42 static char buf[8];
67 if (iscntrl(c) || !isprint(c)) sfsprintf(buf, sizeof(buf), "`%03o'", c);
69 else sfsprintf(buf, sizeof(buf), "%c", c);
70 return(buf);
87 static char buf[128];
100 sfsprintf(buf, sizeof(buf), "%s=%s", ppinmap[i].nam, p->symbol->name);
101 return(buf);
107 sfsprintf(buf, sizeof(buf), "UNKNOWN[%d]", p->type);
108 return(buf);
120 static char buf[64];
128 if (pplexmap[i].val < 0) sfsprintf(buf, sizeof(buf), "%s|0x%04x%s", pplexmap[i].nam, lex, splice ? "|SPLICE" : "");
129 else sfsprintf(buf, sizeof(buf), "%s+%d", pplexmap[i-1].nam, lex - pplexmap[i-1].val, splice ? "|SPLICE" : "");
130 return(buf);
134 sfsprintf(buf, sizeof(buf), "%s|SPLICE", pplexmap[i].nam);
135 return(buf);
151 static char buf[128];
153 s = buf;
158 if ((elementsof(buf) - 2 - (s - buf)) > k)
160 if (s > buf) *s++ = '|';
166 return(buf);