/external/mesa3d/prebuilt-intermediates/bifrost/ |
D | bifrost_gen_disasm.c | 5 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/ |
D | file.c | 64 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/ |
D | lima_parser.c | 61 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/rust/crates/serde_json/tests/lexical/ |
D | rounding.rs | 55 let mut fp = ExtendedFloat { mant: 0x60, exp: 0 }; in round_nearest_test() localVariable 56 let (above, halfway) = round_nearest(&mut fp, 6); in round_nearest_test() 59 assert_eq!(fp.mant, 1); in round_nearest_test() 62 let mut fp = ExtendedFloat { mant: 0x61, exp: 0 }; in round_nearest_test() localVariable 63 let (above, halfway) = round_nearest(&mut fp, 6); in round_nearest_test() 66 assert_eq!(fp.mant, 1); in round_nearest_test() 69 let mut fp = ExtendedFloat { mant: 0x5F, exp: 0 }; in round_nearest_test() localVariable 70 let (above, halfway) = round_nearest(&mut fp, 6); in round_nearest_test() 73 assert_eq!(fp.mant, 1); in round_nearest_test() 81 let mut fp = ExtendedFloat { mant: 0x00, exp: 0 }; in round_downward_test() localVariable [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_print.c | 37 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/mesa3d/src/panfrost/midgard/ |
D | disassemble.c | 44 #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/ |
D | bi_print.c | 85 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 …]
|
D | disassemble.c | 76 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/libcups/ppdc/ |
D | ppdc-source.cxx | 290 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 …]
|
D | ppdc-catalog.cxx | 38 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 …]
|
D | ppdc-driver.cxx | 372 cups_file_t *fp, // I - PPD file in write_ppd_file() argument 413 cupsFilePrintf(fp, "*PPD-Adobe: \"4.3\"%s", lf); in write_ppd_file() 414 cupsFilePrintf(fp, "*%%%%%%%% PPD file for %s with CUPS.%s", in write_ppd_file() 416 cupsFilePrintf(fp, in write_ppd_file() 422 cupsFilePrintf(fp, "*%% %s%s", catalog->find_message(s->value), lf); in write_ppd_file() 423 cupsFilePrintf(fp, "*FormatVersion: \"4.3\"%s", lf); in write_ppd_file() 424 cupsFilePrintf(fp, "*FileVersion: \"%s\"%s", version->value, lf); in write_ppd_file() 427 cupsFilePrintf(fp, "*LanguageVersion: %s%s", in write_ppd_file() 431 cupsFilePrintf(fp, "*LanguageEncoding: %s%s", in write_ppd_file() 434 cupsFilePrintf(fp, "*PCFileName: \"%s\"%s", pc_file_name->value, lf); in write_ppd_file() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/ |
D | frontend_io.c | 28 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/iproute2/ip/ |
D | ipxfrm.c | 275 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 …]
|
D | xfrm_monitor.c | 49 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/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_policy_memory_test.c | 46 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/selinux/checkpolicy/test/ |
D | dispol.c | 46 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 …]
|
D | dismod.c | 74 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 …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_fragprog.c | 38 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/expat/expat/xmlwf/ |
D | xmlwf.c | 84 FILE *fp; member 95 FILE *fp = ((XmlwfUserData *)userData)->fp; in characterData() local 99 fputts(T("&"), fp); in characterData() 102 fputts(T("<"), fp); in characterData() 105 fputts(T(">"), fp); in characterData() 109 fputts(T("
"), fp); in characterData() 113 fputts(T("""), fp); in characterData() 118 ftprintf(fp, T("&#%d;"), *s); in characterData() 122 puttc(*s, fp); in characterData() 129 attributeValue(FILE *fp, const XML_Char *s) { in attributeValue() argument [all …]
|
/external/python/cpython2/Parser/ |
D | printgrammar.c | 14 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/python/cpython2/Tools/unicode/ |
D | makeunicodedata.py | 228 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/cronet/third_party/icu/source/i18n/ |
D | rematch.cpp | 2731 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 …]
|
/external/icu/icu4c/source/i18n/ |
D | rematch.cpp | 2731 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 …]
|
/external/tensorflow/tensorflow/lite/testing/ |
D | generate_examples_report.py | 29 def make_report_table(fp, title, reports): argument 49 fp.write("<td style='background-color: %s' onclick='%s'>%s</td>\n" % ( 52 fp.write("""<html> 67 fp.write("<script> \n") 68 fp.write(""" 75 fp.write("var data = \n") 79 fp.write(logs) 80 fp.write(";</script>\n") 83 fp.write(""" 95 fp.write("<table>\n") [all …]
|
/external/selinux/libsepol/src/ |
D | write.c | 54 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 …]
|