| /xsrc/external/mit/MesaLib/src/panfrost/bifrost/ |
| bi_printer.c | 79 bi_print_index(FILE *fp, bi_index index) 82 fputs("`", fp); 85 fprintf(fp, "_"); 87 fprintf(fp, "#0x%x", index.value); 89 fprintf(fp, "u%u", index.value & ~BIR_FAU_UNIFORM); 91 fprintf(fp, "%s", bir_fau_name(index.value)); 93 fprintf(fp, "%s", bir_passthrough_name(index.value)); 95 fprintf(fp, "br%u", index.value); 97 fprintf(fp, "r%u", index.value); 99 fprintf(fp, "%u", index.value) 112 fputs(bi_swizzle_as_str(index.swizzle), fp); local [all...] |
| bifrost_gen_disasm.c | 5 bi_disasm_fma_arshift_i32(FILE *fp, unsigned bits, struct bifrost_regs *srcs, struct bifrost_regs *next_regs, unsigned staging_register, unsigned branch_offset, struct bi_constants *consts, bool last) 13 fputs("*ARSHIFT.i32", fp); 14 fputs(" ", fp); 15 bi_disasm_dest_fma(fp, next_regs, last); 16 fputs(", ", fp); 17 dump_src(fp, _BITS(bits, 0, 3), *srcs, branch_offset, consts, true); 18 if (!(0xfb & (1 << _BITS(bits, 0, 3)))) fputs("(INVALID)", fp); 19 fputs(", ", fp); 20 dump_src(fp, _BITS(bits, 3, 3), *srcs, branch_offset, consts, true); 21 if (!(0x8 & (1 << _BITS(bits, 3, 3)))) fputs("(INVALID)", fp); [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/xvmc/ |
| intel_xvmc_dump.c | 32 static FILE *fp = NULL; variable 45 fp = fopen(DUMPFILE, "a"); 46 if (!fp) 54 fclose(fp); 74 fprintf(fp, "========== new surface rendering ==========\n"); 75 fprintf(fp, 81 fprintf(fp, "picture structure: frame picture\n"); 83 fprintf(fp, "picture structure: top field picture (%s)\n", 86 fprintf(fp, "picture structure: bottom field picture (%s)\n", 90 fprintf(fp, "picture type: I\n") [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/xvmc/ |
| intel_xvmc_dump.c | 32 static FILE *fp = NULL; variable 45 fp = fopen(DUMPFILE, "a"); 46 if (!fp) 54 fclose(fp); 74 fprintf(fp, "========== new surface rendering ==========\n"); 75 fprintf(fp, 81 fprintf(fp, "picture structure: frame picture\n"); 83 fprintf(fp, "picture structure: top field picture (%s)\n", 86 fprintf(fp, "picture structure: bottom field picture (%s)\n", 90 fprintf(fp, "picture type: I\n") [all...] |
| /xsrc/external/mit/xf86-video-intel-old/dist/src/xvmc/ |
| intel_xvmc_dump.c | 32 static FILE *fp = NULL; variable 45 fp = fopen(DUMPFILE, "a"); 46 if (!fp) 54 fclose(fp); 70 fprintf(fp, "========== new surface rendering ==========\n"); 71 fprintf(fp, "Context (id:%d) (surface_type_id:%d) (width:%d) (height:%d)\n", 75 fprintf(fp, "picture structure: frame picture\n"); 77 fprintf(fp, "picture structure: top field picture (%s)\n", 80 fprintf(fp, "picture structure: bottom field picture (%s)\n", 84 fprintf(fp, "picture type: I\n") [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/ |
| bi_print.c | 44 bi_print_slots(bi_registers *regs, FILE *fp) 48 fprintf(fp, "slot %u: %u\n", i, regs->slot[i]); 52 fprintf(fp, "slot 2 (%s%s): %u\n", 60 fprintf(fp, "slot 3 (%s %s): %u\n", 68 bi_print_tuple(bi_tuple *tuple, FILE *fp) 73 fprintf(fp, (i == 0) ? "\t* " : "\t+ "); 76 bi_print_instr(ins[i], fp); 78 fprintf(fp, "NOP\n"); 83 bi_print_clause(bi_clause *clause, FILE *fp) 85 fprintf(fp, "id(%u)", clause->scoreboard_id) [all...] |
| bi_printer.c.py | 76 bi_print_index(FILE *fp, bi_index index) 79 fputs("`", fp); 82 fprintf(fp, "_"); 84 fprintf(fp, "#0x%x", index.value); 86 fprintf(fp, "u%u", index.value & ~BIR_FAU_UNIFORM); 88 fprintf(fp, "%s", bir_fau_name(index.value)); 90 fprintf(fp, "%s", bir_passthrough_name(index.value)); 92 fprintf(fp, "br%u", index.value); 94 fprintf(fp, "r%u", index.value); 96 fprintf(fp, "%u", index.value) [all...] |
| disassemble.c | 76 static void dump_header(FILE *fp, struct bifrost_header header, bool verbose) 78 fprintf(fp, "ds(%u) ", header.dependency_slot); 81 fprintf(fp, "osrb "); 83 fprintf(fp, "%s ", bi_flow_control_name(header.flow_control)); 86 fprintf(fp, "inf_suppress "); 88 fprintf(fp, "nan_suppress "); 91 fprintf(fp, "ftz_dx11 "); 93 fprintf(fp, "ftz_hsa "); 95 fprintf(fp, "ftz_au "); 101 fprintf(fp, "fpe_ts ") [all...] |
| /xsrc/external/mit/MesaLib/dist/src/asahi/compiler/ |
| agx_print.c | 28 agx_print_sized(char prefix, unsigned value, enum agx_size size, FILE *fp) 32 fprintf(fp, "%c%u%c", prefix, value >> 1, (value & 1) ? 'h' : 'l'); 36 fprintf(fp, "%c%u", prefix, value >> 1); 40 fprintf(fp, "%c%u:%c%u", prefix, value >> 1, 49 agx_print_index(agx_index index, FILE *fp) 53 fprintf(fp, "_"); 58 fprintf(fp, "$"); 61 fprintf(fp, "`"); 64 fprintf(fp, "*"); 66 fprintf(fp, "%u", index.value) [all...] |
| /xsrc/external/mit/xsm/dist/ |
| printhex.c | 67 fprintfhex(register FILE *fp, unsigned int len, char *cp) 74 putc (s[0], fp); 75 putc (s[1], fp);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/pp/ |
| disasm.c | 38 print_swizzle(uint8_t swizzle, FILE *fp) 43 fprintf(fp, "."); 45 fprintf(fp, "%c", "xyzw"[swizzle & 3]); 49 print_mask(uint8_t mask, FILE *fp) 54 fprintf(fp, "."); 55 if (mask & 1) fprintf(fp, "x"); 56 if (mask & 2) fprintf(fp, "y"); 57 if (mask & 4) fprintf(fp, "z"); 58 if (mask & 8) fprintf(fp, "w"); 62 print_reg(ppir_codegen_vec4_reg reg, const char *special, FILE *fp) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/ |
| nv30_fragprog.c | 38 struct nv30_fragprog *fp = nv30->fragprog.program; local 41 if (unlikely(!fp->buffer)) 42 fp->buffer = pipe_buffer_create(pipe->screen, 0, 0, fp->insn_len * 4); 45 pipe_buffer_write(pipe, fp->buffer, 0, fp->insn_len * 4, fp->insn); 52 map = pipe_buffer_map(pipe, fp->buffer, 55 for (i = 0; i < fp->insn_len; i++) 56 *map++ = (fp->insn[i] >> 16) | (fp->insn[i] << 16) 70 struct nv30_fragprog *fp = nv30->fragprog.program; local 139 struct nv30_fragprog *fp = CALLOC_STRUCT(nv30_fragprog); local 151 struct nv30_fragprog *fp = hwcso; local 168 struct nv30_fragprog *fp = hwcso; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/ |
| nv30_fragprog.c | 38 struct nv30_fragprog *fp = nv30->fragprog.program; local 41 if (unlikely(!fp->buffer)) 42 fp->buffer = pipe_buffer_create(pipe->screen, 0, 0, fp->insn_len * 4); 45 pipe_buffer_write(pipe, fp->buffer, 0, fp->insn_len * 4, fp->insn); 52 map = pipe_buffer_map(pipe, fp->buffer, 55 for (i = 0; i < fp->insn_len; i++) 56 *map++ = (fp->insn[i] >> 16) | (fp->insn[i] << 16) 70 struct nv30_fragprog *fp = nv30->fragprog.program; local 139 struct nv30_fragprog *fp = CALLOC_STRUCT(nv30_fragprog); local 151 struct nv30_fragprog *fp = hwcso; local 168 struct nv30_fragprog *fp = hwcso; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ |
| lima_parser.c | 64 parse_vs_draw(FILE *fp, uint32_t *value1, uint32_t *value2) 67 fprintf(fp, "\t/* ---EMPTY CMD */\n"); 69 fprintf(fp, "\t/* DRAW: num: %d, index_draw: %s */\n", 75 parse_vs_shader_info(FILE *fp, uint32_t *value1, uint32_t *value2) 77 fprintf(fp, "\t/* SHADER_INFO: prefetch: %d, size: %d */\n", 83 parse_vs_unknown1(FILE *fp, uint32_t *value1, uint32_t *value2) 85 fprintf(fp, "\t/* UNKNOWN_1 */\n"); 89 parse_vs_varying_attribute_count(FILE *fp, uint32_t *value1, uint32_t *value2) 91 fprintf(fp, "\t/* VARYING_ATTRIBUTE_COUNT: nr_vary: %d, nr_attr: %d */\n", 96 parse_vs_attributes_address(FILE *fp, uint32_t *value1, uint32_t *value2 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/gp/ |
| disasm.c | 50 print_dest(gpir_codegen_instr *instr, gp_unit unit, unsigned cur_dest_index, FILE *fp) 52 fprintf(fp, "^%u", cur_dest_index + unit); 62 fprintf(fp, "/t[addr0]"); 65 fprintf(fp, "/v"); 67 fprintf(fp, "/$"); 68 fprintf(fp, "%u", instr->store0_addr); 71 fprintf(fp, "."); 73 fprintf(fp, "x"); 75 fprintf(fp, "y"); 81 fprintf(fp, "/t[addr0]") [all...] |
| /xsrc/external/mit/libXpm/dist/src/ |
| WrFFrBuf.c | 48 FILE *fp = fopen(filename, "w" FOPEN_CLOEXEC); local 50 if (!fp) 54 fcheck = fwrite(buffer, len, 1, fp); 55 fclose(fp);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/bifrost/ |
| cmdline.c | 34 FILE *fp = fopen(filename, "rb"); local 35 assert(fp); 37 fseek(fp, 0, SEEK_END); 38 int filesize = ftell(fp); 39 rewind(fp); 42 int res = fread(code, 1, filesize, fp); 46 fclose(fp);
|
| /xsrc/external/mit/xterm/dist/ |
| html.c | 44 static void dumpHtmlHeader(XtermWidget xw, FILE *fp); 45 static void dumpHtmlScreen(XtermWidget xw, FILE *fp); 46 static void dumpHtmlLine(XtermWidget xw, int row, FILE *fp); 47 static void dumpHtmlFooter(XtermWidget, FILE *fp); 48 static void writeStyle(XtermWidget, FILE *fp); 54 FILE *fp; local 58 fp = create_printfile(xw, ".xhtml"); 59 if (fp != NULL) { 60 dumpHtmlHeader(xw, fp); 61 dumpHtmlScreen(xw, fp); [all...] |
| svg.c | 47 static void dumpSvgHeader(XtermWidget xw, FILE *fp); 48 static void dumpSvgScreen(XtermWidget xw, FILE *fp); 49 static void dumpSvgLine(XtermWidget xw, int row, FILE *fp); 50 static void dumpSvgFooter(XtermWidget, FILE *fp); 61 FILE *fp; local 65 fp = create_printfile(xw, ".svg"); 66 if (fp != NULL) { 67 dumpSvgHeader(xw, fp); 68 dumpSvgScreen(xw, fp); 69 dumpSvgFooter(xw, fp); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir_print.c | 37 print_tabs(unsigned num_tabs, FILE *fp) 40 fprintf(fp, "\t"); 44 FILE *fp; member in struct:__anon3413 81 FILE *fp = state->fp; local 83 fprintf(fp, "/* %s */ ", reg->name); 84 fprintf(fp, "r%u", reg->index); 95 FILE *fp = state->fp; local 96 fprintf(fp, "decl_reg %s %u ", sizes[reg->num_components], reg->bit_size) 106 FILE *fp = state->fp; local 116 FILE *fp = state->fp; local 127 FILE *fp = state->fp; local 142 FILE *fp = state->fp; local 175 FILE *fp = state->fp; local 218 FILE *fp = state->fp; local 235 FILE *fp = state->fp; local 291 FILE *fp = state->fp; local 433 FILE *fp = state->fp; local 584 FILE *fp = state->fp; local 662 FILE *fp = state->fp; local 731 FILE *fp = state->fp; local 863 FILE *fp = state->fp; local 1016 FILE *fp = state->fp; local 1031 FILE *fp = state->fp; local 1074 FILE *fp = state->fp; local 1094 FILE *fp = state->fp; local 1102 FILE *fp = state->fp; local 1117 FILE *fp = state->fp; local 1131 FILE *fp = state->fp; local 1196 FILE *fp = state->fp; local 1241 FILE *fp = state->fp; local 1262 FILE *fp = state->fp; local 1297 FILE *fp = state->fp; local 1325 FILE *fp = state->fp; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/asahi/lib/ |
| hexdump.h | 28 hexdump(FILE *fp, const uint8_t *hex, size_t cnt, bool with_strings) 32 fprintf(fp, "%06X ", i); 48 fprintf(fp, "*\n"); 54 fprintf(fp, "%02X ", hex[i]); 56 fprintf(fp, " | "); 59 fputc((c < 32 || c > 128) ? '.' : c, fp); 64 fprintf(fp, "\n"); 67 fprintf(fp, "\n");
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_print.c | 38 print_tabs(unsigned num_tabs, FILE *fp) 41 fprintf(fp, "\t"); 45 FILE *fp; member in struct:__anon798 66 FILE *fp = state->fp; local 78 fprintf(fp, "%s\n\n", note); 84 FILE *fp = state->fp; local 85 fprintf(fp, "r%u", reg->index); 96 FILE *fp = state->fp local 107 FILE *fp = state->fp; local 115 FILE *fp = state->fp; local 124 FILE *fp = state->fp; local 139 FILE *fp = state->fp; local 178 FILE *fp = state->fp; local 221 FILE *fp = state->fp; local 239 FILE *fp = state->fp; local 322 FILE *fp = state->fp; local 483 FILE *fp = state->fp; local 622 FILE *fp = state->fp; local 700 FILE *fp = state->fp; local 779 FILE *fp = state->fp; local 801 FILE *fp = state->fp; local 1052 FILE *fp = state->fp; local 1234 FILE *fp = state->fp; local 1249 FILE *fp = state->fp; local 1292 FILE *fp = state->fp; local 1329 FILE *fp = state->fp; local 1337 FILE *fp = state->fp; local 1352 FILE *fp = state->fp; local 1366 FILE *fp = state->fp; local 1422 FILE *fp = state->fp; local 1456 FILE *fp = state->fp; local 1477 FILE *fp = state->fp; local 1512 FILE *fp = state->fp; local 1540 FILE *fp = state->fp; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/ |
| disassemble.c | 44 #define DEFINE_CASE(define, str) case define: { fprintf(fp, str); break; } 98 print_alu_opcode(FILE *fp, midgard_alu_op op) 101 fprintf(fp, "%s", alu_opcode_props[op].name); 103 fprintf(fp, "alu_op_%02X", op); 110 print_ld_st_opcode(FILE *fp, midgard_load_store_op op) 113 fprintf(fp, "%s", load_store_opcode_props[op].name); 115 fprintf(fp, "ldst_op_%02X", op); 173 print_alu_reg(disassemble_context *ctx, FILE *fp, unsigned reg, bool is_write) 197 fprintf(fp, "TMP%u", reg - REGISTER_UNUSED); 199 fprintf(fp, "%s%u", is_write ? "AT" : "TA", reg - REGISTER_TEXTURE_BASE) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/ |
| disasm.c | 58 FILE *fp; local 62 fp = fopen(filename, "rb"); 63 if (!fp) { 67 fread(tokens, sizeof *tokens, max_tokens, fp); 72 fclose(fp);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/ |
| disasm.c | 58 FILE *fp; local 62 fp = fopen(filename, "rb"); 63 if (!fp) { 67 fread(tokens, sizeof *tokens, max_tokens, fp); 72 fclose(fp);
|