Home | History | Annotate | Download | only in libcpu

Lines Matching refs:tmpbuf

182       char tmpbuf[sizeof ("-0x1234(%rr,%rr)")];
185 n = snprintf (tmpbuf, sizeof (tmpbuf), "0x%" PRIx16, disp);
190 n = snprintf (tmpbuf, sizeof (tmpbuf), "%s0x%" PRIx16,
194 n += snprintf (tmpbuf + n, sizeof (tmpbuf) - n, "(%%b%c,%%%ci)",
197 n += snprintf (tmpbuf + n, sizeof (tmpbuf) - n, "(%%%s)",
204 memcpy (&bufp[*bufcntp], tmpbuf, n + 1);
224 char tmpbuf[sizeof ("-0x12345678(%rrrr)")];
228 n = snprintf (tmpbuf, sizeof (tmpbuf), "(%%%s)",
237 tmpbuf[n++] = 'd';
239 tmpbuf[2] = 'e';
246 n = snprintf (tmpbuf, sizeof (tmpbuf), "%s0x%" PRIx32 "(%%%n%s)",
256 tmpbuf[n++] = 'd';
258 tmpbuf[p] = 'e';
265 n = snprintf (tmpbuf, sizeof (tmpbuf), "%s0x%" PRIx32 "(%%rip)",
271 n = snprintf (tmpbuf, sizeof (tmpbuf), "0x%" PRIx32, disp);
278 memcpy (&bufp[*bufcntp], tmpbuf, n + 1);
298 char tmpbuf[sizeof ("-0x12345678(%rrrr,%rrrr,N)")];
299 char *cp = tmpbuf;
309 n = snprintf (cp, sizeof (tmpbuf), "%s0x%" PRIx32,
365 n = snprintf (cp, sizeof (tmpbuf), "0x%" PRIx64,
369 n = snprintf (cp, sizeof (tmpbuf), "0x%" PRIx32, disp);
373 if (*bufcntp + (cp - tmpbuf) > bufsize)
374 return *bufcntp + (cp - tmpbuf) - bufsize;
376 memcpy (&bufp[*bufcntp], tmpbuf, cp - tmpbuf);
377 *bufcntp += cp - tmpbuf;