Home
last modified time | relevance | path

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

12345678910>>...37

/openbmc/openpower-debug-collector/dump/tools/common/include/
H A Dgendumpheader50 printf '%*s' $a | tr ' ' "\0" >> $FILE
62 printf \\x${dDay:$i:2} >> $FILE
86 printf \\x${hex:$i:2} >> $FILE
100 printf "\\x${dump_id:$i:2}" >> "$FILE"
104 printf '%*s' "$nulltoadd" | tr ' ' "0" >> "$FILE"
105 printf "%s" "$dump_id" >> "$FILE"
113 printf $bmcSerialNo >> $FILE
114 printf '%*s' $nulltoadd | tr ' ' "0" >> $FILE
122 printf "%s" "$name" >> "$FILE"
137 printf "\\x${elog_id:$i:2}" >> "$FILE"
[all …]
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/
H A Dgendumpheader24 declare -x FILE="/tmp/dumpheader_$EPOCHTIME"
41 printf '%*s' $a | tr ' ' "\0" >> $FILE
53 printf \\x${dDay:$i:2} >> $FILE
75 printf \\x${hex:$i:2} >> $FILE
83 printf '%*s' $nulltoadd | tr ' ' "0" >> $FILE
84 printf $dump_id >> $FILE
91 printf $bmcSerialNo >> $FILE
92 printf '%*s' $nulltoadd | tr ' ' "0" >> $FILE
111 printf "FILE " >> $FILE
113 printf '\x40' >> $FILE #Virtual file directory entry size
[all …]
/openbmc/openbmc/poky/meta/recipes-connectivity/openssh/openssh/
H A Dsshd_check_keys4 local FILE=$1
6 local DIR="$(dirname "$FILE")"
9 rm -f ${FILE}.tmp
10 ssh-keygen -q -f "${FILE}.tmp" -N '' -t $TYPE
11 chmod go-rwx "$FILE.tmp"
13 mv -f "${FILE}.tmp.pub" "${FILE}.pub"
26 sync "${FILE}.pub" "$DIR" "${FILE}.tmp"
28 mv "${FILE}.tmp" "$FILE"
/openbmc/linux/tools/include/nolibc/
H A Dstdio.h34 typedef struct FILE { struct
36 } FILE; typedef
38 static __attribute__((unused)) FILE* const stdin = (FILE*)(intptr_t)~STDIN_FILENO;
39 static __attribute__((unused)) FILE* const stdout = (FILE*)(intptr_t)~STDOUT_FILENO;
40 static __attribute__((unused)) FILE* const stderr = (FILE*)(intptr_t)~STDERR_FILENO;
44 FILE *fdopen(int fd, const char *mode __attribute__((unused))) in fdopen()
50 return (FILE*)(intptr_t)~fd; in fdopen()
55 int fileno(FILE *stream) in fileno()
68 int fflush(FILE *stream) in fflush()
84 int fclose(FILE *stream) in fclose()
[all …]
/openbmc/linux/scripts/
H A Dcleanfile105 if (!open(FILE, '+<', $f)) {
110 binmode FILE;
117 while (read(FILE, $data, 65536) > 0) {
129 seek(FILE, 0, 0);
139 while ( defined($line = <FILE>) ) {
168 seek(FILE, 0, 0);
169 print FILE @lines;
171 if ( !defined($where = tell(FILE)) ||
172 !truncate(FILE, $where) ) {
177 close(FILE);
H A Dcleanpatch105 if (!open(FILE, '+<', $f)) {
110 binmode FILE;
117 while (read(FILE, $data, 65536) > 0) {
129 seek(FILE, 0, 0);
140 while ( defined($line = <FILE>) ) {
249 seek(FILE, 0, 0);
250 print FILE @lines;
252 if ( !defined($where = tell(FILE)) ||
253 !truncate(FILE, $where) ) {
259 close(FILE);
H A Dspdxcheck-test.sh4 for FILE in Makefile Documentation/images/logo.gif; do
5 python3 scripts/spdxcheck.py $FILE
6 python3 scripts/spdxcheck.py - < $FILE
/openbmc/linux/tools/perf/util/
H A Devent.h344 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp);
345 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp);
346 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp);
347 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp);
348 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp);
349 size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp);
350 size_t perf_event__fprintf_aux_output_hw_id(union perf_event *event, FILE *fp);
351 size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp);
352 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp);
353 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp);
[all …]
H A Devsel_fprintf.h18 int evsel__fprintf(struct evsel *evsel, struct perf_attr_details *details, FILE *fp);
39 struct strlist *bt_stop_list, FILE *fp);
44 struct strlist *bt_stop_list, FILE *fp);
46 typedef int (*attr__fprintf_f)(FILE *, const char *, const char *, void *);
48 int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
H A Dsymbol_fprintf.c10 size_t symbol__fprintf(struct symbol *sym, FILE *fp) in symbol__fprintf()
22 bool print_offsets, FILE *fp) in __symbol__fprintf_symname_offs()
45 FILE *fp) in symbol__fprintf_symname_offs()
52 bool unknown_as_addr, FILE *fp) in __symbol__fprintf_symname()
57 size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp) in symbol__fprintf_symname()
63 FILE *fp) in dso__fprintf_symbols_by_name()
H A Dcolor.h39 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args);
40 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...);
42 int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf);
46 int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
/openbmc/u-boot/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);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/
H A D0001-sample-Rename-dprintf-to-cyrus_dprintf.patch20 @@ -241,9 +241,9 @@ int mysasl_negotiate(FILE *in, FILE *out, sasl_conn_t *conn)
32 @@ -262,7 +262,7 @@ int mysasl_negotiate(FILE *in, FILE *out, sasl_conn_t *conn)
41 @@ -276,7 +276,7 @@ int mysasl_negotiate(FILE *in, FILE *out, sasl_conn_t *conn)
50 @@ -303,10 +303,10 @@ int mysasl_negotiate(FILE *in, FILE *out, sasl_conn_t *conn)
67 @@ -127,7 +127,7 @@ int recv_string(FILE *f, char *buf, int buflen)
80 @@ -43,7 +43,7 @@ extern int send_string(FILE *f, const char *s, int l);
81 extern int recv_string(FILE *f, char *buf, int buflen);
/openbmc/libcper/sections/
H A Dcper-section-arm.c27 void ir_arm_error_info_to_cper(json_object *error_info, FILE *out);
28 void ir_arm_context_info_to_cper(json_object *context_info, FILE *out);
34 void ir_arm_aarch32_gpr_to_cper(json_object *registers, FILE *out);
35 void ir_arm_aarch32_el1_to_cper(json_object *registers, FILE *out);
36 void ir_arm_aarch32_el2_to_cper(json_object *registers, FILE *out);
37 void ir_arm_aarch32_secure_to_cper(json_object *registers, FILE *out);
38 void ir_arm_aarch64_gpr_to_cper(json_object *registers, FILE *out);
39 void ir_arm_aarch64_el1_to_cper(json_object *registers, FILE *out);
40 void ir_arm_aarch64_el2_to_cper(json_object *registers, FILE *out);
41 void ir_arm_aarch64_el3_to_cper(json_object *registers, FILE *out);
[all …]
/openbmc/linux/tools/power/x86/intel-speed-select/
H A Disst.h221 FILE *get_output_file(void);
255 extern void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level,
257 extern void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix,
259 extern void isst_ctdp_display_information_start(FILE *outf);
260 extern void isst_ctdp_display_information_end(FILE *outf);
261 extern void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level,
269 extern void isst_fact_display_information(struct isst_id *id, FILE *outf, int level,
284 extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos,
286 extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos);
288 extern void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cmd,
[all …]
/openbmc/libcper/include/libcper/
H A Dcper-parse.h31 json_object *cper_to_ir(FILE *cper_file);
32 json_object *cper_single_section_to_ir(FILE *cper_section_file);
33 void ir_to_cper(json_object *ir, FILE *out);
34 void ir_single_section_to_cper(json_object *ir, FILE *out);
/openbmc/qemu/util/
H A Dlog.c37 FILE *fd;
43 static FILE *global_file;
44 static __thread FILE *thread_file;
63 FILE *logfile = qatomic_read(&global_file); in qemu_log_separate()
90 static FILE *qemu_log_trylock_with_err(Error **errp) in qemu_log_trylock_with_err()
92 FILE *logfile; in qemu_log_trylock_with_err()
130 FILE *qemu_log_trylock(void) in qemu_log_trylock()
135 void qemu_log_unlock(FILE *logfile) in qemu_log_unlock()
148 FILE *f = qemu_log_trylock(); in qemu_log()
213 FILE *logfile; in qemu_set_log_internal()
[all …]
/openbmc/openbmc/poky/meta/recipes-support/libcheck/libcheck/
H A Dautomake-output.patch24 @@ -381,6 +382,34 @@ void tap_lfun(SRunner * sr CK_ATTRIBUTE_UNUSED, FILE * file,
28 +void am_lfun(SRunner * sr CK_ATTRIBUTE_UNUSED, FILE * file,
57 void subunit_lfun(SRunner * sr, FILE * file, enum print_output printmode,
73 @@ -40,6 +40,9 @@ void xml_lfun(SRunner * sr, FILE * file, enum print_output,
74 void tap_lfun(SRunner * sr, FILE * file, enum print_output,
77 +void am_lfun(SRunner * sr, FILE * file, enum print_output,
80 void subunit_lfun(SRunner * sr, FILE * file, enum print_output,
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/pcr-extend/files/
H A Dfix_openssl11_build.patch10 @@ -118,7 +118,7 @@ dump_buf (FILE *file, char *buf, size_t
12 sha1_file (FILE *file, unsigned int *hash_len)
19 @@ -127,7 +127,7 @@ sha1_file (FILE *file, unsigned int *has
28 @@ -135,7 +135,7 @@ sha1_file (FILE *file, unsigned int *has
37 @@ -149,7 +149,7 @@ sha1_file (FILE *file, unsigned int *has
/openbmc/linux/tools/testing/selftests/resctrl/
H A Dresctrlfs.c17 FILE *mounts; in find_resctrl_mount()
106 FILE *fp; in get_resource_id()
144 FILE *fp; in get_cache_size()
207 FILE *fp; in get_cbm_mask()
241 FILE *fp; in get_core_sibling()
346 FILE *fp; in write_pid_to_tasks()
443 FILE *fp; in write_schemata()
503 FILE *inf = fopen("/proc/filesystems", "r"); in check_resctrlfs_support()
538 char *fgrep(FILE *inf, const char *str) in fgrep()
569 FILE *inf; in validate_resctrl_feature_request()
[all …]
/openbmc/linux/tools/perf/ui/stdio/
H A Dhist.c22 static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin) in callchain__fprintf_left_margin()
33 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line()
50 static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, in ipchain__fprintf_graph()
109 static size_t __callchain__fprintf_graph(FILE *fp, struct rb_root *root, in __callchain__fprintf_graph()
217 static size_t callchain__fprintf_graph(FILE *fp, struct rb_root *root, in callchain__fprintf_graph()
282 static size_t __callchain__fprintf_flat(FILE *fp, struct callchain_node *node, in __callchain__fprintf_flat()
305 static size_t callchain__fprintf_flat(FILE *fp, struct rb_root *tree, in callchain__fprintf_flat()
330 static size_t __callchain__fprintf_folded(FILE *fp, struct callchain_node *node) in __callchain__fprintf_folded()
356 static size_t callchain__fprintf_folded(FILE *fp, struct rb_root *tree, in callchain__fprintf_folded()
383 FILE *fp) in hist_entry_callchain__fprintf()
[all …]
/openbmc/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst31 | **bpftool** **prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual*…
32 | **bpftool** **prog dump jited** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] }]
33 | **bpftool** **prog pin** *PROG* *FILE*
38 …*prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *F…
42 | *MAP* := { **id** *MAP_ID* | **pinned** *FILE* }
43 | *PROG* := { **id** *PROG_ID* | **pinned** *FILE* | **tag** *PROG_TAG* | **name** *PROG_NAME* }
91 **bpftool prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual**] }]
102 written to *FILE*.
112 **bpftool prog dump jited** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] }]
115 If *FILE* is specified image will be written to a file,
[all …]
/openbmc/linux/samples/bpf/
H A Dxdp2skb_meta.sh131 FILE="$DIR/$BPF_FILE"
132 if [[ ! -e $FILE ]]; then
133 err 3 "Missing BPF object file ($FILE)"
219 attach_tc_mark $DEV $FILE
220 attach_xdp_mark $DEV $FILE
/openbmc/u-boot/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()
/openbmc/openpower-debug-collector/dump/tools/opdump/
H A Dopdreport74 declare -x FILE=""
130 FILE="/tmp/dumpheader_${dump_id}_${EPOCHTIME}"
158 if ! tee -a "$FILE" < "$name" > /dev/null; then
160 rm -rf "$name" "$FILE"
164 if ! mv "$FILE" "$name"; then
166 rm -rf "$name" "$FILE"
173 rm -rf "$FILE" "$name"

12345678910>>...37