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