Home
last modified time | relevance | path

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

12345678910>>...207

/external/mesa3d/prebuilt-intermediates/bifrost/
Dbifrost_gen_disasm.c5 bi_disasm_add_ld_var_special_1(FILE *fp, unsigned bits, struct bifrost_regs *srcs, struct bifrost_r… in bi_disasm_add_ld_var_special_1() argument
27 fputs("+LD_VAR_SPECIAL", fp); in bi_disasm_add_ld_var_special_1()
28 fputs(varying_name, fp); in bi_disasm_add_ld_var_special_1()
29 fputs(vecsize, fp); in bi_disasm_add_ld_var_special_1()
30 fputs(update, fp); in bi_disasm_add_ld_var_special_1()
31 fputs(register_format, fp); in bi_disasm_add_ld_var_special_1()
32 fputs(sample, fp); in bi_disasm_add_ld_var_special_1()
33 fputs(" ", fp); in bi_disasm_add_ld_var_special_1()
34 bi_disasm_dest_add(fp, next_regs, last); in bi_disasm_add_ld_var_special_1()
35 fputs(", ", fp); in bi_disasm_add_ld_var_special_1()
[all …]
/external/libcups/cups/
Dfile.c64 static ssize_t cups_compress(cups_file_t *fp, const char *buf, size_t bytes);
66 static ssize_t cups_fill(cups_file_t *fp);
68 static ssize_t cups_read(cups_file_t *fp, char *buf, size_t bytes);
69 static ssize_t cups_write(cups_file_t *fp, const char *buf, size_t bytes);
348 cupsFileClose(cups_file_t *fp) /* I - CUPS file */ in cupsFileClose() argument
355 DEBUG_printf(("cupsFileClose(fp=%p)", (void *)fp)); in cupsFileClose()
361 if (!fp) in cupsFileClose()
368 if (fp->mode == 'w') in cupsFileClose()
369 status = cupsFileFlush(fp); in cupsFileClose()
374 if (fp->compressed && status >= 0) in cupsFileClose()
[all …]
/external/mesa3d/src/gallium/drivers/lima/
Dlima_parser.c61 parse_vs_draw(FILE *fp, uint32_t *value1, uint32_t *value2) in parse_vs_draw() argument
64 fprintf(fp, "\t/* ---EMPTY CMD */\n"); in parse_vs_draw()
66 fprintf(fp, "\t/* DRAW: num: %d, index_draw: %s */\n", in parse_vs_draw()
72 parse_vs_shader_info(FILE *fp, uint32_t *value1, uint32_t *value2) in parse_vs_shader_info() argument
74 fprintf(fp, "\t/* SHADER_INFO: prefetch: %d, size: %d */\n", in parse_vs_shader_info()
80 parse_vs_unknown1(FILE *fp, uint32_t *value1, uint32_t *value2) in parse_vs_unknown1() argument
82 fprintf(fp, "\t/* UNKNOWN_1 */\n"); in parse_vs_unknown1()
86 parse_vs_varying_attribute_count(FILE *fp, uint32_t *value1, uint32_t *value2) in parse_vs_varying_attribute_count() argument
88 fprintf(fp, "\t/* VARYING_ATTRIBUTE_COUNT: nr_vary: %d, nr_attr: %d */\n", in parse_vs_varying_attribute_count()
93 parse_vs_attributes_address(FILE *fp, uint32_t *value1, uint32_t *value2) in parse_vs_attributes_address() argument
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_print.c37 print_tabs(unsigned num_tabs, FILE *fp) in print_tabs() argument
40 fprintf(fp, "\t"); in print_tabs()
44 FILE *fp; member
65 FILE *fp = state->fp; in print_annotation() local
77 fprintf(fp, "%s\n\n", note); in print_annotation()
83 FILE *fp = state->fp; in print_register() local
85 fprintf(fp, "/* %s */ ", reg->name); in print_register()
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()
[all …]
/external/llvm-project/compiler-rt/lib/builtins/hexagon/
Dcommon_entry_exit_abi2.S42 memd(fp+#-48) = r27:26
43 memd(fp+#-40) = r25:24
46 memd(fp+#-32) = r23:22
47 memd(fp+#-24) = r21:20
50 memd(fp+#-16) = r19:18
51 memd(fp+#-8) = r17:16
58 memd(fp+#-40) = r25:24
59 memd(fp+#-32) = r23:22
62 memd(fp+#-24) = r21:20
63 memd(fp+#-16) = r19:18
[all …]
/external/mesa3d/src/panfrost/midgard/
Ddisassemble.c44 #define DEFINE_CASE(define, str) case define: { fprintf(fp, str); break; }
85 print_alu_opcode(FILE *fp, midgard_alu_op op) in print_alu_opcode() argument
90 fprintf(fp, "%s", alu_opcode_props[op].name); in print_alu_opcode()
94 fprintf(fp, "alu_op_%02X", op); in print_alu_opcode()
101 print_ld_st_opcode(FILE *fp, midgard_load_store_op op) in print_ld_st_opcode() argument
104 fprintf(fp, "%s", load_store_opcode_props[op].name); in print_ld_st_opcode()
106 fprintf(fp, "ldst_op_%02X", op); in print_ld_st_opcode()
134 print_reg(FILE *fp, unsigned reg, unsigned bits) in print_reg() argument
167 fputc(prefix, fp); in print_reg()
169 fprintf(fp, "r%u", reg); in print_reg()
[all …]
/external/mesa3d/src/panfrost/bifrost/
Dbi_print.c85 bi_print_dest_index(FILE *fp, bi_instruction *ins, unsigned index) in bi_print_dest_index() argument
91 fprintf(fp, "_"); in bi_print_dest_index()
93 fprintf(fp, "br%u", index & ~BIR_INDEX_REGISTER); in bi_print_dest_index()
95 fprintf(fp, "r%u", index >> 1); in bi_print_dest_index()
97 fprintf(fp, "%u", (index >> 1) - 1); in bi_print_dest_index()
103 bi_print_index(FILE *fp, bi_instruction *ins, unsigned index, unsigned s) in bi_print_index() argument
105 if (bi_print_dest_index(fp, ins, index)) in bi_print_index()
109 fprintf(fp, "u%u", index & ~BIR_INDEX_UNIFORM); in bi_print_index()
111 fprintf(fp, "#0x%" PRIx64, bi_get_immediate(ins, s)); in bi_print_index()
113 fprintf(fp, "#0"); in bi_print_index()
[all …]
Ddisassemble.c76 static void dump_header(FILE *fp, struct bifrost_header header, bool verbose) in dump_header() argument
78 fprintf(fp, "ds(%du) ", 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 …]
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfrontend_io.c28 FILE* fp = fopen(header, "w"); in WriteFrontendStateMemmap() local
29 if (!fp) { in WriteFrontendStateMemmap()
33 fprintf(fp, "#ifndef FRONTEND_STATE_MEMMAP_H_\n"); in WriteFrontendStateMemmap()
34 fprintf(fp, "#define FRONTEND_STATE_MEMMAP_H_\n"); in WriteFrontendStateMemmap()
35 fprintf(fp, "\n"); in WriteFrontendStateMemmap()
36 fprintf(fp, "#include \"frontend.h\"\n"); in WriteFrontendStateMemmap()
37 fprintf(fp, "\n"); in WriteFrontendStateMemmap()
38 fprintf(fp, "struct FrontendState* GetFrontendStateMemmap();\n"); in WriteFrontendStateMemmap()
39 fprintf(fp, "\n"); in WriteFrontendStateMemmap()
40 fprintf(fp, "#endif // FRONTEND_STATE_MEMMAP_H_\n"); in WriteFrontendStateMemmap()
[all …]
/external/libcups/ppdc/
Dppdc-source.cxx290 ppdcSource::get_attr(ppdcFile *fp, // I - File to read in get_attr() argument
302 if (!get_token(fp, name, sizeof(name))) in get_attr()
306 loc ? "LocAttribute" : "Attribute", fp->line, fp->filename); in get_attr()
310 if (!get_token(fp, selector, sizeof(selector))) in get_attr()
314 loc ? "LocAttribute" : "Attribute", fp->line, fp->filename); in get_attr()
321 if (!get_token(fp, value, sizeof(value))) in get_attr()
325 loc ? "LocAttribute" : "Attribute", fp->line, fp->filename); in get_attr()
338 ppdcSource::get_boolean(ppdcFile *fp) // I - File to read in get_boolean() argument
343 if (!get_token(fp, buffer, sizeof(buffer))) in get_boolean()
347 fp->line, fp->filename); in get_boolean()
[all …]
Dppdc-catalog.cxx38 static int get_utf16(cups_file_t *fp, ppdc_cs_t &cs);
40 static int put_utf16(cups_file_t *fp, int ch);
236 cups_file_t *fp; // Message file in load_messages() local
245 if ((fp = cupsFileOpen(f, "r")) == NULL) in load_messages()
271 while ((ch = get_utf16(fp, cs)) != 0) in load_messages()
277 if ((ch = get_utf16(fp, cs)) == 0) in load_messages()
297 if ((ch = get_utf16(fp, cs)) == 0) in load_messages()
305 while ((ch = get_utf16(fp, cs)) != 0) in load_messages()
316 while ((ch = get_utf16(fp, cs)) != 0) in load_messages()
373 while (cupsFileGets(fp, line, sizeof(line))) in load_messages()
[all …]
/external/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 …]
/external/iproute2/ip/
Dipxfrm.c275 FILE *fp, const char *prefix, const char *title) in xfrm_id_info_print() argument
278 fputs(title, fp); in xfrm_id_info_print()
280 fprintf(fp, "src %s ", rt_addr_n2a(family, sizeof(*saddr), saddr)); in xfrm_id_info_print()
281 fprintf(fp, "dst %s", rt_addr_n2a(family, sizeof(id->daddr), &id->daddr)); in xfrm_id_info_print()
282 fprintf(fp, "%s", _SL_); in xfrm_id_info_print()
285 fputs(prefix, fp); in xfrm_id_info_print()
286 fprintf(fp, "\t"); in xfrm_id_info_print()
288 fprintf(fp, "proto %s ", strxf_xfrmproto(id->proto)); in xfrm_id_info_print()
293 fprintf(fp, "spi 0x%08x", spi); in xfrm_id_info_print()
295 fprintf(fp, "(%u)", spi); in xfrm_id_info_print()
[all …]
Dxfrm_monitor.c49 FILE *fp = (FILE *)arg; in xfrm_acquire_print() local
69 fprintf(fp, "acquire "); in xfrm_acquire_print()
71 fprintf(fp, "proto %s ", strxf_xfrmproto(xacq->id.proto)); in xfrm_acquire_print()
75 fprintf(fp, "spi 0x%08x", spi); in xfrm_acquire_print()
77 fprintf(fp, "(%u)", spi); in xfrm_acquire_print()
78 fprintf(fp, " "); in xfrm_acquire_print()
80 fprintf(fp, "%s", _SL_); in xfrm_acquire_print()
82 xfrm_selector_print(&xacq->sel, family, fp, " sel "); in xfrm_acquire_print()
84 xfrm_policy_info_print(&xacq->policy, tb, fp, " ", " policy "); in xfrm_acquire_print()
87 fprintf(fp, " seq 0x%08u ", xacq->seq); in xfrm_acquire_print()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_fragprog.c38 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_upload() local
41 if (unlikely(!fp->buffer)) in nv30_fragprog_upload()
42 fp->buffer = pipe_buffer_create(pipe->screen, 0, 0, fp->insn_len * 4); in nv30_fragprog_upload()
45 pipe_buffer_write(pipe, fp->buffer, 0, fp->insn_len * 4, fp->insn); in nv30_fragprog_upload()
52 map = pipe_buffer_map(pipe, fp->buffer, in nv30_fragprog_upload()
55 for (i = 0; i < fp->insn_len; i++) in nv30_fragprog_upload()
56 *map++ = (fp->insn[i] >> 16) | (fp->insn[i] << 16); in nv30_fragprog_upload()
61 if (nv04_resource(fp->buffer)->domain != NOUVEAU_BO_VRAM) in nv30_fragprog_upload()
62 nouveau_buffer_migrate(nv, nv04_resource(fp->buffer), NOUVEAU_BO_VRAM); in nv30_fragprog_upload()
70 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_validate() local
[all …]
/external/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 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 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.c75 FILE * fp) in render_access_mask() argument
78 fprintf(fp, "{"); in render_access_mask()
81 fprintf(fp, "%s ", perm); in render_access_mask()
82 fprintf(fp, "}"); in render_access_mask()
86 policydb_t * p, FILE * fp) in render_access_bitmap() argument
90 fprintf(fp, "{"); in render_access_bitmap()
95 fprintf(fp, " %s", perm); in render_access_bitmap()
98 fprintf(fp, " }"); in render_access_bitmap()
101 static void display_id(policydb_t * p, FILE * fp, uint32_t symbol_type, in display_id() argument
109 fprintf(fp, " [%s%s]", prefix, id); in display_id()
[all …]
/external/expat/xmlwf/
Dxmlwf.c62 FILE *fp; member
73 FILE *fp = ((XmlwfUserData *)userData)->fp; in characterData() local
77 fputts(T("&amp;"), fp); in characterData()
80 fputts(T("&lt;"), fp); in characterData()
83 fputts(T("&gt;"), fp); in characterData()
87 fputts(T("&#xD;"), fp); in characterData()
91 fputts(T("&quot;"), fp); in characterData()
96 ftprintf(fp, T("&#%d;"), *s); in characterData()
100 puttc(*s, fp); in characterData()
107 attributeValue(FILE *fp, const XML_Char *s) { in attributeValue() argument
[all …]
/external/python/cpython2/Parser/
Dprintgrammar.c14 printgrammar(grammar *g, FILE *fp) in printgrammar() argument
16 fprintf(fp, "/* Generated by Parser/pgen */\n\n"); in printgrammar()
17 fprintf(fp, "#include \"pgenheaders.h\"\n"); in printgrammar()
18 fprintf(fp, "#include \"grammar.h\"\n"); in printgrammar()
19 fprintf(fp, "PyAPI_DATA(grammar) _PyParser_Grammar;\n"); in printgrammar()
20 printdfas(g, fp); in printgrammar()
21 printlabels(g, fp); in printgrammar()
22 fprintf(fp, "grammar _PyParser_Grammar = {\n"); in printgrammar()
23 fprintf(fp, " %d,\n", g->g_ndfas); in printgrammar()
24 fprintf(fp, " dfas,\n"); in printgrammar()
[all …]
/external/tensorflow/tensorflow/lite/testing/
Dgenerate_examples_report.py32 def make_report_table(fp, title, reports): argument
52 fp.write("<td style='background-color: %s' onclick='%s'>%s</td>\n" % (
55 fp.write("""<html>
70 fp.write("<script> \n")
71 fp.write("""
78 fp.write("var data = \n")
82 fp.write(logs)
83 fp.write(";</script>\n")
86 fp.write("""
98 fp.write("<table>\n")
[all …]
/external/python/cpython2/Tools/unicode/
Dmakeunicodedata.py228 fp = open(FILE, "w")
229 print >>fp, "/* this file was generated by %s %s */" % (SCRIPT, VERSION)
230 print >>fp
231 print >>fp, '#define UNIDATA_VERSION "%s"' % UNIDATA_VERSION
232 print >>fp, "/* a list of unique database records */"
233 print >>fp, \
236 print >>fp, " {%d, %d, %d, %d, %d, %d}," % item
237 print >>fp, "};"
238 print >>fp
240 print >>fp, "/* Reindexing of NFC first characters. */"
[all …]
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
Dfunopen2.cpp61 FILE *fp; in main() local
65 fp = fropen2(&cookie_var, f_read); in main()
66 assert(fp); in main()
68 assert(fileno(fp) == -1); in main()
69 assert(fgets(buf, sizeof(buf), fp)); in main()
71 assert(!fclose(fp)); in main()
74 fp = fwopen2(&cookie_var, f_write); in main()
75 assert(fp); in main()
76 assert(fileno(fp) == -1); in main()
77 assert(fputs("test", fp) >= 0); in main()
[all …]
/external/llvm-project/llvm/test/CodeGen/Lanai/
Dconstant_multiply.ll12 ; CHECK-NEXT: st %fp, [--%sp]
13 ; CHECK-NEXT: add %sp, 0x8, %fp
18 ; CHECK-NEXT: ld -4[%fp], %pc ! return
19 ; CHECK-NEXT: add %fp, 0x0, %sp
20 ; CHECK-NEXT: ld -8[%fp], %fp
28 ; CHECK-NEXT: st %fp, [--%sp]
29 ; CHECK-NEXT: add %sp, 0x8, %fp
33 ; CHECK-NEXT: ld -4[%fp], %pc ! return
34 ; CHECK-NEXT: add %fp, 0x0, %sp
35 ; CHECK-NEXT: ld -8[%fp], %fp
[all …]
/external/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 …]
/external/selinux/libsepol/src/
Dwrite.c55 struct policy_file *fp; member
60 avrule_t * avrules, struct policy_file *fp);
62 static int ebitmap_write(ebitmap_t * e, struct policy_file *fp) in ebitmap_write() argument
77 items = put_entry(buf, sizeof(uint32_t), 3, fp); in ebitmap_write()
83 items = put_entry(&bit, sizeof(uint32_t), 1, fp); in ebitmap_write()
87 items = put_entry(&map, sizeof(uint64_t), 1, fp); in ebitmap_write()
107 avtab_ptr_t cur, struct policy_file *fp, in avtab_write_item() argument
161 ERR(fp->handle, "null entry"); in avtab_write_item()
165 ERR(fp->handle, "entry has both access " in avtab_write_item()
191 ERR(fp->handle, "missing node"); in avtab_write_item()
[all …]

12345678910>>...207