Home | History | Annotate | Download | only in libcpu

Lines Matching refs:bufp

127   d->bufp[(*d->bufcntp)++] = '%';
128 d->bufp[(*d->bufcntp)++] = ch;
129 d->bufp[(*d->bufcntp)++] = 's';
130 d->bufp[(*d->bufcntp)++] = ':';
165 char *bufp = d->bufp;
207 memcpy (&bufp[*bufcntp], tmpbuf, n + 1);
281 memcpy (&bufp[*bufcntp], tmpbuf, n + 1);
379 memcpy (&bufp[*bufcntp], tmpbuf, cp - tmpbuf);
400 char *buf = d->bufp + *bufcntp;
431 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8,
473 int needed = snprintf (&d->bufp[*bufcntp], avail, "%s0x%" ABSPRIFMT,
508 char *bufp = d->bufp;
514 bufp[(*bufcntp)++] = '%';
516 bufp[(*bufcntp)++] = (
521 bufp[(*bufcntp)++] = 'a';
522 bufp[(*bufcntp)++] = 'x';
535 char *bufp = d->bufp;
541 bufp[(*bufcntp)++] = '%';
542 bufp[(*bufcntp)++] = 'a';
543 bufp[(*bufcntp)++] = 'l';
562 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%%s%" PRIx32,
595 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx32,
626 int needed = snprintf (&d->bufp[*bufcntp], avail, "(%%%s%s)",
663 memcpy (&d->bufp[*bufcntp], "(%dx)", 5);
675 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%es:(%%%sdi)",
701 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word);
710 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64,
714 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word);
734 int needed = snprintf (&d->bufp
758 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, word);
765 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word);
784 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64,
787 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32,
812 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64,
815 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word);
826 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word);
843 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word);
862 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64,
866 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32,
883 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32,
901 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx64,
905 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx32,
924 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%mm%" PRIxFAST8, byte);
946 char *bufp = d->bufp;
949 bufp[(*bufcntp)++] = '%';
955 cp = stpcpy (&bufp[*bufcntp], hiregs[modrm & 7]);
962 cp = stpcpy (&bufp[*bufcntp], dregs[modrm & 7] + is_16bit);
965 bufp[*bufcntp] = 'r';
968 *bufcntp = cp - bufp;
991 memcpy (&d->bufp[*bufcntp], "???", 3);
1025 char *bufp = d->bufp;
1031 bufp[(*bufcntp)++] = '%';
1037 *bufcntp += snprintf (bufp + *bufcntp, d->bufsize - *bufcntp,
1041 char *cp = stpcpy (bufp + *bufcntp, hiregs[modrm & 7]);
1043 *bufcntp = cp - bufp;
1049 bufp[(*bufcntp)++] = "acdb"[modrm & 3];
1050 bufp[(*bufcntp)++] = "lh"[(modrm & 4) >> 2];
1057 bufp[(*bufcntp)++] = '%';
1063 cp = stpcpy (&bufp[*bufcntp], hiregs[modrm & 7]);
1070 cp = stpcpy (&bufp[*bufcntp], dregs[modrm & 7] + is_16bit);
1073 bufp[*bufcntp] = 'r';
1076 *bufcntp = cp - bufp;
1093 char *bufp = d->bufp;
1096 bufp[(*bufcntp)++] = '%';
1097 bufp[(*bufcntp)++] = "acdb"[modrm & 3];
1098 bufp[(*bufcntp)++] = "lh"[(modrm & 4) >> 2];
1120 d->bufp[(*bufcntp)++] = '%';
1121 memcpy (&d->bufp[*bufcntp], dregs[byte] + 1, sizeof (dregs[0]) - 1);
1145 char *cp = &d->bufp[*bufcntp];
1149 *bufcntp = cp - d->bufp;
1171 d->bufp[(*bufcntp)++] = '%';
1175 *bufcntp += snprintf (&d->bufp[*bufcntp], d->bufsize - *bufcntp, "r%d",
1178 d->bufp[(*bufcntp)++] = 'd';
1183 memcpy (&d->bufp[*bufcntp], dregs[byte] + is_16bit, 3 - is_16bit);
1186 d->bufp[*bufcntp] = 'r';
1226 d->bufp[(*bufcntp)++] = '%';
1230 *bufcntp += snprintf (&d->bufp[*bufcntp], d->bufsize - *bufcntp, "r%d",
1233 d->bufp[(*bufcntp)++] = 'd';
1238 memcpy (&d->bufp[*bufcntp], aregs[byte], 3);
1260 d->bufp[(*bufcntp)++] = '%';
1266 *bufcntp += snprintf (d->bufp + *bufcntp, d->bufsize - *bufcntp,
1270 char* cp = stpcpy (d->bufp + *bufcntp, rex_8bit[byte]);
1272 *bufcntp = cp - d->bufp;
1278 d->bufp[(*bufcntp)++] = "acdb"[byte & 3];
1279 d->bufp[(*bufcntp)++] = "lh"[byte >> 2];
1312 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%st(%" PRIx32 ")",
1346 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, absval);
1362 char *bufp = d->bufp;
1366 bufp[(*bufcntp)++] = '%';
1367 bufp[(*bufcntp)++] = "ecsd"[byte & 3];
1368 bufp[(*bufcntp)++] = 's';
1385 char *bufp = d->bufp;
1389 bufp[(*bufcntp)++] = '%';
1390 bufp[(*bufcntp)++] = "ecsdfg"[byte & 7];
1391 bufp[(*bufcntp)++] = 's';
1413 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, byte);