Home
last modified time | relevance | path

Searched refs:FILE (Results 1 – 25 of 60) sorted by relevance

123

/rk3399_rockchip-uboot/scripts/
H A Dcleanpatch103 if (!open(FILE, '+<', $f)) {
108 binmode FILE;
115 while (read(FILE, $data, 65536) > 0) {
127 seek(FILE, 0, 0);
138 while ( defined($line = <FILE>) ) {
247 seek(FILE, 0, 0);
248 print FILE @lines;
250 if ( !defined($where = tell(FILE)) ||
251 !truncate(FILE, $where) ) {
257 close(FILE);
H A Dcompress.sh10 FILE=$2
12 dec_size=`wc ${FILE} | awk '{ printf $3 }'`
22 (cat ${FILE} | ${ALGO} -9 -k -f && printf \\$ch0\\$ch1\\$ch2\\$ch3) > ${FILE}.${ALGO}
H A Dfit-sign.sh176 FILE=`echo ${LINE} | sed -n "/incbin/p" | awk -F '"' '{ printf $2 }' | tr -d ' '`
177 if [ ! -f ${FILE} ]; then
178 echo "ERROR: ${FILE} not exist"
597 for FILE in ${SIGN_OUTPUT}/*.img; do
598 if file ${FILE} | grep -q 'Device Tree Blob' ; then
599 VERSION=`fdtget -ti ${FILE} /configurations/conf rollback-index`
600 NAME=`basename ${FILE}`
617 for FILE in ${ARG_SRC_DIR}/*.img; do
618 if echo ${FILE} | grep -q "uboot.img"; then
621 if file ${FILE} | grep -q 'Device Tree Blob' ; then
[all …]
/rk3399_rockchip-uboot/scripts/dtc/
H A Dtreesource.c24 extern FILE *yyin;
49 static void write_prefix(FILE *f, int level) in write_prefix()
64 static void write_propval_string(FILE *f, struct data val) in write_propval_string()
137 static void write_propval_cells(FILE *f, struct data val) in write_propval_cells()
167 static void write_propval_bytes(FILE *f, struct data val) in write_propval_bytes()
195 static void write_propval(FILE *f, struct property *prop) in write_propval()
236 static void write_tree_source_node(FILE *f, struct node *tree, int level) in write_tree_source_node()
266 void dt_to_source(FILE *f, struct dt_info *dti) in dt_to_source()
H A Dsrcpos.h28 FILE *f;
35 extern FILE *depfile; /* = NULL */
57 FILE *srcfile_relative_open(const char *fname, char **fullnamep);
H A Dsrcpos.c52 FILE *depfile; /* = NULL */
71 static char *try_open(const char *dirname, const char *fname, FILE **fp) in try_open()
98 static char *fopen_any_on_path(const char *fname, FILE **fp) in fopen_any_on_path()
117 FILE *srcfile_relative_open(const char *fname, char **fullnamep) in srcfile_relative_open()
119 FILE *f; in srcfile_relative_open()
H A Dflattree.c117 static void emit_label(FILE *f, const char *prefix, const char *label) in emit_label()
124 static void emit_offset_label(FILE *f, const char *label, int offset) in emit_offset_label()
140 FILE *f = e; in asm_emit_cell()
149 FILE *f = e; in asm_emit_string()
159 FILE *f = e; in asm_emit_align()
166 FILE *f = e; in asm_emit_data()
188 FILE *f = e; in asm_emit_beginnode()
201 FILE *f = e; in asm_emit_endnode()
214 FILE *f = e; in asm_emit_property()
360 void dt_to_blob(FILE *f, struct dt_info *dti, int version) in dt_to_blob()
[all …]
H A Ddtc.h109 struct data data_copy_file(FILE *f, size_t len);
278 void dt_to_blob(FILE *f, struct dt_info *dti, int version);
279 void dt_to_asm(FILE *f, struct dt_info *dti, int version);
285 void dt_to_source(FILE *f, struct dt_info *dti);
H A Dfstree.c53 FILE *pfile; in read_fstree()
/rk3399_rockchip-uboot/tools/
H A Dproftool.c104 static int read_system_map(FILE *fin) in read_system_map()
158 static int read_data(FILE *fin, void *buff, int size) in read_data()
209 static int read_calls(FILE *fin, int count) in read_calls()
230 static int read_profile(FILE *fin, int *not_found) in read_profile()
260 FILE *fmap; in read_map_file()
278 FILE *fprof; in read_profile_file()
380 static int read_trace_config(FILE *fin) in read_trace_config()
458 FILE *fin; in read_trace_config_file()
H A Dpblimage.c64 static void pbl_fget(size_t size, FILE *stream) in pbl_fget()
82 static void load_uboot(FILE *fp_uboot) in load_uboot()
109 FILE *fd = NULL; in pbl_parser()
190 FILE *fp_uboot; in pbl_load_uboot()
264 FILE *fp_uboot; in pblimage_check_params()
H A Dgetline.c22 static int getstr(char **lineptr, size_t *n, FILE *stream, in getstr()
87 int getline (char **lineptr, size_t *n, FILE *stream) in getline()
H A Dbmp_logo.c36 void skip_bytes (FILE *fp, int n) in skip_bytes()
43 int error (char * msg, FILE *fp) in error()
76 FILE *fp; in main()
H A Dgetline.h1 int getline(char **lineptr, size_t *n, FILE *stream);
H A Dsunxi-spl-image-builder.c114 FILE *src, FILE *rnd, FILE *dst, in write_page()
242 FILE *src, *dst, *rnd; in create_image()
H A Dzynqmpimage.c103 static FILE *fpmu;
248 static int fsize(FILE *fp) in fsize()
289 FILE *fp; in zynqmpimage_parse_initparams()
H A Dkwbimage.c393 FILE *f; in kwb_load_rsa_key()
516 static int kwb_export_pubkey(RSA *key, struct pubkey_der_v1 *dst, FILE *hashf, in kwb_export_pubkey()
736 int kwb_dump_fuse_cmds_38x(FILE *out, struct secure_hdr_v1 *sec_hdr) in kwb_dump_fuse_cmds_38x()
842 FILE *out = fopen("kwb_fuses_a38x.txt", "w+"); in kwb_dump_fuse_cmds()
1029 FILE *bin; in add_binary_header_v1()
1109 FILE *hashf; in export_pub_kak_hash()
1452 static int image_create_config_parse(FILE *fcfg) in image_create_config_parse()
1509 FILE *fcfg; in kwbimage_set_header()
1641 FILE *fcfg; in kwbimage_generate()
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dconfdata.c20 void (*print_symbol)(FILE *, struct symbol *, const char *, void *);
21 void (*print_comment)(FILE *, const char *, void *);
213 static ssize_t compat_getline(char **lineptr, size_t *n, FILE *stream) in compat_getline()
249 FILE *in = NULL; in conf_read_simple()
484 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in kconfig_print_symbol()
507 kconfig_print_comment(FILE *fp, const char *value, void *arg) in kconfig_print_comment()
538 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in header_print_symbol()
579 header_print_comment(FILE *fp, const char *value, void *arg) in header_print_comment()
612 tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in tristate_print_symbol()
625 static void conf_write_symbol(FILE *fp, struct symbol *sym, in conf_write_symbol()
[all …]
H A Dlkc.h71 void zconfdump(FILE *out);
73 FILE *zconf_fopen(const char *name);
89 static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out) in xfwrite()
H A Dzconf.lex.c_shipped185 extern FILE *zconfin, *zconfout;
218 FILE *yy_input_file;
314 void zconfrestart (FILE *input_file );
316 YY_BUFFER_STATE zconf_create_buffer (FILE *file,int size );
324 static void zconf_init_buffer (YY_BUFFER_STATE b,FILE *file );
367 FILE *zconfin = (FILE *) 0, *zconfout = (FILE *) 0;
897 FILE *zconfget_in (void );
899 void zconfset_in (FILE * in_str );
901 FILE *zconfget_out (void );
903 void zconfset_out (FILE * out_str );
[all …]
/rk3399_rockchip-uboot/tools/rockchip/
H A Dboot_merger.c161 static bool parseChip(FILE *file) in parseChip()
173 static bool parseVersion(FILE *file) in parseVersion()
189 static bool parse471(FILE *file) in parse471()
226 static bool parse472(FILE *file) in parse472()
263 static bool parseLoader(FILE *file) in parseLoader()
316 static bool parseOut(FILE *file) in parseOut()
328 void printOpts(FILE *out) in printOpts()
372 FILE *file; in parseOpts_from_file()
612 static bool writeFile(FILE *outFile, const char *path, bool fix) in writeFile()
618 FILE *inFile = fopen(path, "rb"); in writeFile()
[all …]
H A Dtrust_merger.c121 static bool parseVersion(FILE *file) in parseVersion()
141 static bool parseBL3x(FILE *file, int bl3x_id) in parseBL3x()
217 static bool parseOut(FILE *file) in parseOut()
230 void printOpts(FILE *out) in printOpts()
261 FILE *file = NULL; in parseOpts()
380 void fill_file(FILE *file, char ch, uint32_t fill_size) in fill_file()
397 FILE *file = NULL; in filter_elf()
529 FILE *outFile = NULL; in mergetrust()
642 FILE *inFile = fopen(gOpts.bl3x[i].path, "rb"); in mergetrust()
680 FILE *inFile = fopen(pEntry->path, "rb"); in mergetrust()
[all …]
/rk3399_rockchip-uboot/doc/
H A DREADME.console34 HOW CAN I USE STANDARD FILE INTO THE SOURCES?
53 * FILE (can be 'stdin', 'stdout', 'stderr'):
60 Remember that all FILE-related functions CANNOT be used before
63 HOW CAN I USE STANDARD FILE INTO APPLICATIONS?
/rk3399_rockchip-uboot/include/
H A Dslre.h98 void slre_dump(const struct slre *r, FILE *fp);
H A Dbzlib.h190 FILE* f,
218 FILE* f,

123