Lines Matching refs:tmpbuf
185 char tmpbuf[sizeof ("-0x1234(%rr,%rr)")];
188 n = snprintf (tmpbuf, sizeof (tmpbuf), "0x%" PRIx16, disp);
193 n = snprintf (tmpbuf, sizeof (tmpbuf), "%s0x%" PRIx16,
197 n += snprintf (tmpbuf + n, sizeof (tmpbuf) - n, "(%%b%c,%%%ci)",
200 n += snprintf (tmpbuf + n, sizeof (tmpbuf) - n, "(%%%s)",
207 memcpy (&bufp[*bufcntp], tmpbuf, n + 1);
227 char tmpbuf[sizeof ("-0x12345678(%rrrr)")];
231 n = snprintf (tmpbuf, sizeof (tmpbuf), "(%%%s)",
240 tmpbuf[n++] = 'd';
242 tmpbuf[2] = 'e';
249 n = snprintf (tmpbuf, sizeof (tmpbuf), "%s0x%" PRIx32 "(%%%n%s)",
259 tmpbuf[n++] = 'd';
261 tmpbuf[p] = 'e';
268 n = snprintf (tmpbuf, sizeof (tmpbuf), "%s0x%" PRIx32 "(%%rip)",
274 n = snprintf (tmpbuf, sizeof (tmpbuf), "0x%" PRIx32, disp);
281 memcpy (&bufp[*bufcntp], tmpbuf, n + 1);
301 char tmpbuf[sizeof ("-0x12345678(%rrrr,%rrrr,N)")];
302 char *cp = tmpbuf;
312 n = snprintf (cp, sizeof (tmpbuf), "%s0x%" PRIx32,
368 n = snprintf (cp, sizeof (tmpbuf), "0x%" PRIx64,
372 n = snprintf (cp, sizeof (tmpbuf), "0x%" PRIx32, disp);
376 if (*bufcntp + (cp - tmpbuf) > bufsize)
377 return *bufcntp + (cp - tmpbuf) - bufsize;
379 memcpy (&bufp[*bufcntp], tmpbuf, cp - tmpbuf);
380 *bufcntp += cp - tmpbuf;