Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 25 of 1733) sorted by relevance

12345678910>>...70

/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_parser.c64 parse_vs_draw(FILE *fp, uint32_t *value1, uint32_t *value2) in parse_vs_draw() argument
67 fprintf(fp, "\t/* ---EMPTY CMD */\n"); in parse_vs_draw()
69 fprintf(fp, "\t/* DRAW: num: %d, index_draw: %s */\n", in parse_vs_draw()
75 parse_vs_shader_info(FILE *fp, uint32_t *value1, uint32_t *value2) in parse_vs_shader_info() argument
77 fprintf(fp, "\t/* SHADER_INFO: prefetch: %d, size: %d */\n", in parse_vs_shader_info()
83 parse_vs_unknown1(FILE *fp, uint32_t *value1, uint32_t *value2) in parse_vs_unknown1() argument
85 fprintf(fp, "\t/* UNKNOWN_1 */\n"); in parse_vs_unknown1()
89 parse_vs_varying_attribute_count(FILE *fp, uint32_t *value1, uint32_t *value2) in parse_vs_varying_attribute_count() argument
91 fprintf(fp, "\t/* VARYING_ATTRIBUTE_COUNT: nr_vary: %d, nr_attr: %d */\n", in parse_vs_varying_attribute_count()
96 parse_vs_attributes_address(FILE *fp, uint32_t *value1, uint32_t *value2) in parse_vs_attributes_address() argument
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Ddisasm.c50 print_dest(gpir_codegen_instr *instr, gp_unit unit, unsigned cur_dest_index, FILE *fp) in print_dest() argument
52 fprintf(fp, "^%u", cur_dest_index + unit); in print_dest()
62 fprintf(fp, "/t[addr0]"); in print_dest()
65 fprintf(fp, "/v"); in print_dest()
67 fprintf(fp, "/$"); in print_dest()
68 fprintf(fp, "%u", instr->store0_addr); in print_dest()
71 fprintf(fp, "."); in print_dest()
73 fprintf(fp, "x"); in print_dest()
75 fprintf(fp, "y"); in print_dest()
81 fprintf(fp, "/t[addr0]"); in print_dest()
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Ddisasm.c38 print_swizzle(uint8_t swizzle, FILE *fp) in print_swizzle() argument
43 fprintf(fp, "."); in print_swizzle()
45 fprintf(fp, "%c", "xyzw"[swizzle & 3]); in print_swizzle()
49 print_mask(uint8_t mask, FILE *fp) in print_mask() argument
54 fprintf(fp, "."); in print_mask()
55 if (mask & 1) fprintf(fp, "x"); in print_mask()
56 if (mask & 2) fprintf(fp, "y"); in print_mask()
57 if (mask & 4) fprintf(fp, "z"); in print_mask()
58 if (mask & 8) fprintf(fp, "w"); in print_mask()
62 print_reg(ppir_codegen_vec4_reg reg, const char *special, FILE *fp) in print_reg() argument
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_print.c39 print_tabs(unsigned num_tabs, FILE *fp) in print_tabs() argument
42 fprintf(fp, "\t"); in print_tabs()
46 FILE *fp; member
67 FILE *fp = state->fp; in print_annotation() local
79 fprintf(fp, "%s\n\n", note); in print_annotation()
85 FILE *fp = state->fp; in print_register() local
86 fprintf(fp, "r%u", reg->index); in print_register()
97 FILE *fp = state->fp; in print_register_decl() local
98 fprintf(fp, "decl_reg %s %u ", sizes[reg->num_components], reg->bit_size); in print_register_decl()
101 fprintf(fp, "[%u]", reg->num_array_elems); in print_register_decl()
[all …]
/third_party/mesa3d/src/panfrost/midgard/
Ddisassemble.c44 #define DEFINE_CASE(define, str) case define: { fprintf(fp, str); break; }
98 print_alu_opcode(FILE *fp, midgard_alu_op op) in print_alu_opcode() argument
101 fprintf(fp, "%s", alu_opcode_props[op].name); in print_alu_opcode()
103 fprintf(fp, "alu_op_%02X", op); in print_alu_opcode()
110 print_ld_st_opcode(FILE *fp, midgard_load_store_op op) in print_ld_st_opcode() argument
113 fprintf(fp, "%s", load_store_opcode_props[op].name); in print_ld_st_opcode()
115 fprintf(fp, "ldst_op_%02X", op); in print_ld_st_opcode()
173 print_alu_reg(disassemble_context *ctx, FILE *fp, unsigned reg, bool is_write) in print_alu_reg() argument
197 fprintf(fp, "TMP%u", reg - REGISTER_UNUSED); in print_alu_reg()
199 fprintf(fp, "%s%u", is_write ? "AT" : "TA", reg - REGISTER_TEXTURE_BASE); in print_alu_reg()
[all …]
/third_party/mesa3d/src/asahi/compiler/
Dagx_print.c28 agx_print_sized(char prefix, unsigned value, enum agx_size size, FILE *fp) in agx_print_sized() argument
32 fprintf(fp, "%c%u%c", prefix, value >> 1, (value & 1) ? 'h' : 'l'); in agx_print_sized()
36 fprintf(fp, "%c%u", prefix, value >> 1); in agx_print_sized()
40 fprintf(fp, "%c%u:%c%u", prefix, value >> 1, in agx_print_sized()
49 agx_print_index(agx_index index, FILE *fp) in agx_print_index() argument
53 fprintf(fp, "_"); in agx_print_index()
58 fprintf(fp, "$"); in agx_print_index()
61 fprintf(fp, "`"); in agx_print_index()
64 fprintf(fp, "*"); in agx_print_index()
66 fprintf(fp, "%u", index.value); in agx_print_index()
[all …]
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_print.c44 bi_print_slots(bi_registers *regs, FILE *fp) in bi_print_slots() argument
48 fprintf(fp, "slot %u: %u\n", i, regs->slot[i]); in bi_print_slots()
52 fprintf(fp, "slot 2 (%s%s): %u\n", in bi_print_slots()
60 fprintf(fp, "slot 3 (%s %s): %u\n", in bi_print_slots()
68 bi_print_tuple(bi_tuple *tuple, FILE *fp) in bi_print_tuple() argument
73 fprintf(fp, (i == 0) ? "\t* " : "\t+ "); in bi_print_tuple()
76 bi_print_instr(ins[i], fp); in bi_print_tuple()
78 fprintf(fp, "NOP\n"); in bi_print_tuple()
83 bi_print_clause(bi_clause *clause, FILE *fp) in bi_print_clause() argument
85 fprintf(fp, "id(%u)", clause->scoreboard_id); in bi_print_clause()
[all …]
Ddisassemble.c76 static void dump_header(FILE *fp, struct bifrost_header header, bool verbose) in dump_header() argument
78 fprintf(fp, "ds(%u) ", header.dependency_slot); in dump_header()
81 fprintf(fp, "osrb "); in dump_header()
83 fprintf(fp, "%s ", bi_flow_control_name(header.flow_control)); in dump_header()
86 fprintf(fp, "inf_suppress "); in dump_header()
88 fprintf(fp, "nan_suppress "); in dump_header()
91 fprintf(fp, "ftz_dx11 "); in dump_header()
93 fprintf(fp, "ftz_hsa "); in dump_header()
95 fprintf(fp, "ftz_au "); in dump_header()
101 fprintf(fp, "fpe_ts "); in dump_header()
[all …]
/third_party/selinux/checkpolicy/test/
Ddispol.c46 FILE * fp) in render_access_mask() argument
49 fprintf(fp, "{"); in render_access_mask()
52 fprintf(fp, "%s ", perm); in render_access_mask()
53 fprintf(fp, "}"); in render_access_mask()
57 static int render_type(uint32_t type, policydb_t * p, FILE * fp) in render_type() argument
59 fprintf(fp, "%s", p->p_type_val_to_name[type - 1]); in render_type()
63 static int render_key(avtab_key_t * key, policydb_t * p, FILE * fp) in render_key() argument
70 fprintf(fp, "%s %s : %s ", stype, ttype, tclass); in render_key()
72 fprintf(fp, "%s %u : %s ", stype, key->target_type, tclass); in render_key()
74 fprintf(fp, "%u %s : %s ", key->source_type, ttype, tclass); in render_key()
[all …]
Ddismod.c74 FILE * fp) in render_access_mask() argument
77 fprintf(fp, "{"); in render_access_mask()
80 fprintf(fp, "%s ", perm); in render_access_mask()
81 fprintf(fp, "}"); in render_access_mask()
85 policydb_t * p, FILE * fp) in render_access_bitmap() argument
89 fprintf(fp, "{"); in render_access_bitmap()
94 fprintf(fp, " %s", perm); in render_access_bitmap()
97 fprintf(fp, " }"); in render_access_bitmap()
100 static void display_id(policydb_t * p, FILE * fp, uint32_t symbol_type, in display_id() argument
108 fprintf(fp, " [%s%s]", prefix, id); in display_id()
[all …]
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_policy_memory_test.c46 FILE *fp = fopen("/sys/kernel/security/tomoyo/meminfo", "r"); in get_meminfo() local
47 if (!fp || fscanf(fp, "Policy: %u", policy_memory) != 1 || fclose(fp)) in get_meminfo()
53 FILE *fp = fopen(policy_file, "r"); in check_policy_common() local
57 if (!fp) in check_policy_common()
59 while (fgets(buffer, sizeof(buffer) - 1, fp)) { in check_policy_common()
68 fclose(fp); in check_policy_common()
76 static inline void check_policy_written(FILE * fp, const int id) in check_policy_written() argument
78 fflush(fp); in check_policy_written()
82 static inline void check_policy_deleted(FILE * fp, const int id) in check_policy_deleted() argument
84 fflush(fp); in check_policy_deleted()
[all …]
/third_party/cups-filters/cupsfilters/
Dimage-bmp.c41 static unsigned short read_word(FILE *fp);
42 static unsigned int read_dword(FILE *fp);
43 static int read_long(FILE *fp);
53 FILE *fp, /* I - cupsImage file */ in _cupsImageReadBMP() argument
88 getc(fp); /* Skip "BM" sync chars */ in _cupsImageReadBMP()
89 getc(fp); in _cupsImageReadBMP()
90 read_dword(fp); /* Skip size */ in _cupsImageReadBMP()
91 read_word(fp); /* Skip reserved stuff */ in _cupsImageReadBMP()
92 read_word(fp); in _cupsImageReadBMP()
93 offset = read_dword(fp); in _cupsImageReadBMP()
[all …]
/third_party/skia/third_party/externals/expat/expat/xmlwf/
Dxmlwf.c83 FILE *fp; member
94 FILE *fp = ((XmlwfUserData *)userData)->fp; in characterData() local
98 fputts(T("&"), fp); in characterData()
101 fputts(T("<"), fp); in characterData()
104 fputts(T(">"), fp); in characterData()
108 fputts(T("
"), fp); in characterData()
112 fputts(T("""), fp); in characterData()
117 ftprintf(fp, T("&#%d;"), *s); in characterData()
121 puttc(*s, fp); in characterData()
128 attributeValue(FILE *fp, const XML_Char *s) { in attributeValue() argument
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_fragprog.c39 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_upload() local
42 if (unlikely(!fp->buffer)) in nv30_fragprog_upload()
43 fp->buffer = pipe_buffer_create(pipe->screen, 0, 0, fp->insn_len * 4); in nv30_fragprog_upload()
46 pipe_buffer_write(pipe, fp->buffer, 0, fp->insn_len * 4, fp->insn); in nv30_fragprog_upload()
53 map = pipe_buffer_map(pipe, fp->buffer, in nv30_fragprog_upload()
56 for (i = 0; i < fp->insn_len; i++) in nv30_fragprog_upload()
57 *map++ = (fp->insn[i] >> 16) | (fp->insn[i] << 16); in nv30_fragprog_upload()
62 if (nv04_resource(fp->buffer)->domain != NOUVEAU_BO_VRAM) in nv30_fragprog_upload()
63 nouveau_buffer_migrate(nv, nv04_resource(fp->buffer), NOUVEAU_BO_VRAM); in nv30_fragprog_upload()
71 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_validate() local
[all …]
/third_party/icu/icu4c/source/i18n/
Drematch.cpp2721 inline REStackFrame *RegexMatcher::StateSave(REStackFrame *fp, int64_t savePatIdx, UErrorCode &stat… in StateSave() argument
2723 return fp; in StateSave()
2736 return fp; in StateSave()
2738 fp = (REStackFrame *)(newFP - fFrameSize); // in case of realloc of stack. in StateSave()
2741 int64_t *source = (int64_t *)fp; in StateSave()
2754 fp->fPatIdx = savePatIdx; in StateSave()
2808 REStackFrame *fp = resetStack(); in MatchAt() local
2814 fp->fPatIdx = 0; in MatchAt()
2815 fp->fInputIdx = startIdx; in MatchAt()
2828 op = (int32_t)pat[fp->fPatIdx]; in MatchAt()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Drematch.cpp2731 inline REStackFrame *RegexMatcher::StateSave(REStackFrame *fp, int64_t savePatIdx, UErrorCode &stat… in StateSave() argument
2733 return fp; in StateSave()
2746 return fp; in StateSave()
2748 fp = (REStackFrame *)(newFP - fFrameSize); // in case of realloc of stack. in StateSave()
2751 int64_t *source = (int64_t *)fp; in StateSave()
2764 fp->fPatIdx = savePatIdx; in StateSave()
2818 REStackFrame *fp = resetStack(); in MatchAt() local
2824 fp->fPatIdx = 0; in MatchAt()
2825 fp->fInputIdx = startIdx; in MatchAt()
2838 op = (int32_t)pat[fp->fPatIdx]; in MatchAt()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Drematch.cpp2721 inline REStackFrame *RegexMatcher::StateSave(REStackFrame *fp, int64_t savePatIdx, UErrorCode &stat… in StateSave() argument
2723 return fp; in StateSave()
2736 return fp; in StateSave()
2738 fp = (REStackFrame *)(newFP - fFrameSize); // in case of realloc of stack. in StateSave()
2741 int64_t *source = (int64_t *)fp; in StateSave()
2754 fp->fPatIdx = savePatIdx; in StateSave()
2808 REStackFrame *fp = resetStack(); in MatchAt() local
2814 fp->fPatIdx = 0; in MatchAt()
2815 fp->fInputIdx = startIdx; in MatchAt()
2828 op = (int32_t)pat[fp->fPatIdx]; in MatchAt()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Drematch.cpp2693 inline REStackFrame *RegexMatcher::StateSave(REStackFrame *fp, int64_t savePatIdx, UErrorCode &stat… in StateSave() argument
2695 return fp; in StateSave()
2708 return fp; in StateSave()
2710 fp = (REStackFrame *)(newFP - fFrameSize); // in case of realloc of stack. in StateSave()
2713 int64_t *source = (int64_t *)fp; in StateSave()
2726 fp->fPatIdx = savePatIdx; in StateSave()
2780 REStackFrame *fp = resetStack(); in MatchAt() local
2786 fp->fPatIdx = 0; in MatchAt()
2787 fp->fInputIdx = startIdx; in MatchAt()
2800 op = (int32_t)pat[fp->fPatIdx]; in MatchAt()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dfseeko.c30 FILE *fp = fopen(path, "w+"); in fseeko_0100() local
31 if (!fp) { in fseeko_0100()
35 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fp); in fseeko_0100()
40 int result = fseeko(fp, 0L, SEEK_SET); in fseeko_0100()
41 char ch = fgetc(fp); in fseeko_0100()
49 fclose(fp); in fseeko_0100()
60 FILE *fp = fopen(path, "w+"); in fseeko_0200() local
61 if (!fp) { in fseeko_0200()
65 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fp); in fseeko_0200()
70 int result = fseeko(fp, 8L, SEEK_SET); in fseeko_0200()
[all …]
/third_party/selinux/libsepol/src/
Dwrite.c54 struct policy_file *fp; member
59 avrule_t * avrules, struct policy_file *fp);
61 static int ebitmap_write(ebitmap_t * e, struct policy_file *fp) in ebitmap_write() argument
76 items = put_entry(buf, sizeof(uint32_t), 3, fp); in ebitmap_write()
82 items = put_entry(&bit, sizeof(uint32_t), 1, fp); in ebitmap_write()
86 items = put_entry(&map, sizeof(uint64_t), 1, fp); in ebitmap_write()
106 avtab_ptr_t cur, struct policy_file *fp, in avtab_write_item() argument
160 ERR(fp->handle, "null entry"); in avtab_write_item()
164 ERR(fp->handle, "entry has both access " in avtab_write_item()
190 ERR(fp->handle, "missing node"); in avtab_write_item()
[all …]
/third_party/ffmpeg/libavutil/mips/
Dmmiutils.h57 #define MMI_LWC1(fp, addr, bias) \ argument
58 "lwc1 "#fp", "#bias"("#addr") \n\t"
60 #define MMI_ULWC1(fp, addr, bias) \ argument
62 "mtc1 %[low32], "#fp" \n\t"
64 #define MMI_LWXC1(fp, addr, stride, bias) \ argument
66 MMI_LWC1(fp, %[addrt], bias)
68 #define MMI_SWC1(fp, addr, bias) \ argument
69 "swc1 "#fp", "#bias"("#addr") \n\t"
71 #define MMI_USWC1(fp, addr, bias) \ argument
72 "mfc1 %[low32], "#fp" \n\t" \
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderStorageBufferObjectTests.cpp1410 float* fp = reinterpret_cast<float*>(&in_data[0]); in GetInput430c1() local
1412 fp[0] = 1.0f; in GetInput430c1()
1413 fp[1] = 2.0f; in GetInput430c1()
1414 fp[2] = 3.0f; in GetInput430c1()
1415 fp[3] = 4.0f; in GetInput430c1()
1448 float* fp = reinterpret_cast<float*>(&in_data[0]); in GetInput430c2() local
1449 fp[0] = 1.0f; in GetInput430c2()
1450 fp[1] = 2.0f; in GetInput430c2()
1451 fp[2] = 3.0f; in GetInput430c2()
1452 fp[3] = 4.0f; in GetInput430c2()
[all …]
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp1354 float* fp = reinterpret_cast<float*>(&in_data[0]); in GetInput430c1() local
1356 fp[0] = 1.0f; in GetInput430c1()
1357 fp[1] = 2.0f; in GetInput430c1()
1358 fp[2] = 3.0f; in GetInput430c1()
1359 fp[3] = 4.0f; in GetInput430c1()
1392 float* fp = reinterpret_cast<float*>(&in_data[0]); in GetInput430c2() local
1393 fp[0] = 1.0f; in GetInput430c2()
1394 fp[1] = 2.0f; in GetInput430c2()
1395 fp[2] = 3.0f; in GetInput430c2()
1396 fp[3] = 4.0f; in GetInput430c2()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cShaderStorageBufferObjectTests.cpp1353 float* fp = reinterpret_cast<float*>(&in_data[0]); in GetInput430c1() local
1355 fp[0] = 1.0f; in GetInput430c1()
1356 fp[1] = 2.0f; in GetInput430c1()
1357 fp[2] = 3.0f; in GetInput430c1()
1358 fp[3] = 4.0f; in GetInput430c1()
1390 float* fp = reinterpret_cast<float*>(&in_data[0]); in GetInput430c2() local
1391 fp[0] = 1.0f; in GetInput430c2()
1392 fp[1] = 2.0f; in GetInput430c2()
1393 fp[2] = 3.0f; in GetInput430c2()
1394 fp[3] = 4.0f; in GetInput430c2()
[all …]
/third_party/skia/third_party/externals/egl-registry/sdk/docs/man/html/
Dmakeindex.py143 fp = open(parent) variable
144 for line in fp.readlines():
151 fp.close()
163 def printHeader(fp, flatMenu = False, letters = None, altMenu = None): argument
176 sep='\n', file=fp)
185 '</a>', file=fp)
188 print(' <center>\n<div id="container">', file=fp)
194 '</a></b> &nbsp;', file=fp)
195 print(' </div>\n</center>', file=fp)
202 sep='\n', file=fp)
[all …]

12345678910>>...70