Home
last modified time | relevance | path

Searched refs:out_fp (Results 1 – 6 of 6) sorted by relevance

/system/libufdt/utils/src/
Dmkdtimg_dump.c59 FILE *out_fp = NULL; in write_fdt_to_file() local
61 out_fp = fopen(filename, "wb"); in write_fdt_to_file()
62 if (!out_fp) { in write_fdt_to_file()
68 if (fwrite(fdt, fdt_size, 1, out_fp) < 1) { in write_fdt_to_file()
76 if (out_fp) fclose(out_fp); in write_fdt_to_file()
91 static void output_prop_int(FILE *out_fp, const char *name, uint32_t value) { in output_prop_int() argument
92 fprintf(out_fp, "%+20s = %d\n", name, fdt32_to_cpu(value)); in output_prop_int()
95 static void output_prop_int_cpu(FILE *out_fp, const char *name, uint32_t value) { in output_prop_int_cpu() argument
96 fprintf(out_fp, "%+20s = %d\n", name, value); in output_prop_int_cpu()
99 static void output_prop_hex(FILE *out_fp, const char *name, uint32_t value) { in output_prop_hex() argument
[all …]
Dmkdtimg.c23 extern void handle_usage_help(FILE *out_fp, const char *prog_name);
25 extern void handle_usage_dump(FILE *out_fp, const char *prog_name);
27 extern void handle_usage_create(FILE *out_fp, const char *prog_name);
29 extern void handle_usage_cfg_create(FILE *out_fp, const char *prog_name);
35 void (*usage)(FILE *out_fp, const char *prog_name);
61 static void print_all_commands(FILE *out_fp) { in print_all_commands() argument
65 fprintf(out_fp, ", "); in print_all_commands()
67 fprintf(out_fp, "%s", info->command); in print_all_commands()
69 fprintf(out_fp, "\n"); in print_all_commands()
72 static void output_all_usage(FILE *out_fp, const char *prog_name) { in output_all_usage() argument
[all …]
Dmkdtimg_create.c95 void handle_usage_create(FILE *out_fp, const char *prog_name) { in handle_usage_create() argument
96 …fprintf(out_fp, " %s create <image_file> (<global_option>...) (<dtb_file> (<entry_option>...) ...… in handle_usage_create()
97 fprintf(out_fp, in handle_usage_create()
Dmkdtimg_cfg_create.c161 void handle_usage_cfg_create(FILE *out_fp, const char *prog_name) { in handle_usage_cfg_create() argument
162 fprintf(out_fp, " %s cfg_create <image_file> <config_file> (<option>...)\n\n", prog_name); in handle_usage_cfg_create()
163 fprintf(out_fp, in handle_usage_cfg_create()
/system/update_engine/scripts/
Dsimulate_ota.py36 with open(target_file_path, 'wb') as out_fp:
39 shutil.copyfileobj(fp, out_fp)
42 shutil.copyfileobj(fp, out_fp)
/system/extras/simpleperf/
Dcmd_report_sample.cpp48 explicit ProtobufFileWriter(FILE* out_fp) : out_fp_(out_fp) {} in ProtobufFileWriter() argument