Lines Matching defs:buf
367 void *buf;
372 buf = hostptr(gpuaddr);
373 if (buf) {
374 dump_hex(buf, sizedwords, level + 1);
410 dump_shader(const char *ext, void *buf, int bufsz)
419 write(fd, buf, bufsz);
428 void *buf;
435 buf = hostptr(gpuaddr);
436 if (buf) {
440 dump_hex(buf, min(64, sizedwords), level + 1);
441 try_disasm_a3xx(buf, sizedwords, level + 2, stdout, options->gpu_id);
457 dump_shader(ext, buf, sizedwords * 4);
513 void *buf = hostptr(gpuaddr);
515 if (!buf)
518 dump_tex_samp(buf, STATE_SRC_DIRECT, num_unit, level + 1);
529 void *buf = hostptr(gpuaddr);
531 if (!buf)
534 dump_tex_const(buf, num_unit, level + 1);
1793 /* note: rnn_regname uses a static buf so we can't do
2059 uint32_t *buf = hostptr(count_addr);
2073 if (buf) {
2074 printf("%sindirect count: %u\n", levels[level], *buf);
2075 if (*buf == 0 || *buf > max_indirect_draw_count) {
2080 count = min(count, *buf);
2111 const char *buf = (void *)dwords;
2124 if (buf[i] == '\0')
2126 if (isascii(buf[i]))
2127 printf("%c", buf[i]);