Home
last modified time | relevance | path

Searched refs:fopen (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/ghostscript/ghostscript/
H A Dbase-genht.c-add-a-preprocessor-define-to-allow-fope.patch4 Subject: [PATCH 10/10] base/genht.c: add a preprocessor define to allow fopen
10 Replace all fopen calls with gp_fopen and add a preprocessor define so
11 that any unintential calls directly to fopen will cause an error.
14 This patch add a preprocessor define to allow fopen calling in
34 +/* prevent gp.h from defining fopen */
35 +#define fopen fopen
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/curl/curl/
H A DCVE-2022-32207.patch4 Subject: [PATCH] fopen: add Curl_fopen() for better overwriting of files
19 lib/fopen.c | 113 ++++++++++++++++++++++++++++++++++++++++
20 lib/fopen.h | 30 +++++++++++
22 create mode 100644 lib/fopen.c
23 create mode 100644 lib/fopen.h
57 + fopen.c \
65 + fopen.h \
79 +#include "fopen.h"
96 - out = fopen(tempstore, FOPEN_WRITETEXT);
129 diff --git a/lib/fopen.c b/lib/fopen.c
[all …]
/OK3568_Linux_fs/buildroot/support/kconfig/patches/
H A D14-support-out-of-tree-config.patch121 - out = fopen(".tmpconfig", "w");
123 + out = fopen(buf, "w");
127 - tristate = fopen(".tmpconfig_tristate", "w");
129 + tristate = fopen(buf, "w");
135 - out_h = fopen(".tmpconfig.h", "w");
137 + out_h = fopen(buf, "w");
184 - out = fopen("..config.tmp", "w");
194 + out = fopen(buf, "w");
/OK3568_Linux_fs/kernel/tools/iio/
H A Diio_utils.c130 sysfsfp = fopen(filename, "r"); in iioutils_get_type()
255 sysfsfp = fopen(filename, "r"); in iioutils_get_param_float()
344 sysfsfp = fopen(filename, "r"); in build_channel_array()
394 sysfsfp = fopen(filename, "r"); in build_channel_array()
455 sysfsfp = fopen(filename, "r"); in build_channel_array()
620 namefp = fopen(filename, "r"); in find_type_by_name()
674 sysfsfp = fopen(temp, "w"); in _write_sysfs_int()
695 sysfsfp = fopen(temp, "r"); in _write_sysfs_int()
772 sysfsfp = fopen(temp, "w"); in _write_sysfs_string()
793 sysfsfp = fopen(temp, "r"); in _write_sysfs_string()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/resctrl/
H A Dresctrlfs.c20 mounts = fopen("/proc/mounts", "r"); in find_resctrl_mount()
121 fp = fopen(phys_pkg_path, "r"); in get_resource_id()
163 fp = fopen(cache_path, "r"); in get_cache_size()
220 fp = fopen(cbm_mask_path, "r"); in get_cbm_mask()
252 fp = fopen(core_siblings_path, "r"); in get_core_sibling()
408 fp = fopen(tasks, "w"); in write_pid_to_tasks()
537 fp = fopen(controlgroup, "w"); in write_schemata()
565 FILE *inf = fopen("/proc/filesystems", "r"); in check_resctrlfs_support()
623 FILE *inf = fopen("/proc/cpuinfo", "r"); in validate_resctrl_feature_request()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dcputopo.c43 fp = fopen(filename, "r"); in build_cpu_topology()
74 fp = fopen(filename, "r"); in build_cpu_topology()
106 fp = fopen(filename, "r"); in build_cpu_topology()
247 fp = fopen(str, "r"); in load_numa_node()
271 fp = fopen(str, "r"); in load_numa_node()
307 fp = fopen(path, "r"); in numa_topology__new()
/OK3568_Linux_fs/external/rk_pcba_test/
H A Decho_ringmic_test.c314 fp = fopen("/tmp/gain-vib.pcm", "wb"); in ringmic_test()
316 fp = fopen("/tmp/gain-rec.pcm", "wb"); in ringmic_test()
338 fp = fopen("/tmp/addchan-vib.pcm", "wb"); in ringmic_test()
340 fp = fopen("/tmp/addchan-rec.pcm", "wb"); in ringmic_test()
357 fp = fopen("/tmp/bytesToInt-vib.pcm", "wb"); in ringmic_test()
359 fp = fopen("/tmp/bytesToInt-rec.pcm", "wb"); in ringmic_test()
H A Decho_ringmic_pdm_test.c273 fp = fopen("/tmp/gain-vib.pcm", "wb"); in ringmic_test()
275 fp = fopen("/tmp/gain-rec.pcm", "wb"); in ringmic_test()
290 fp = fopen("/tmp/addchan-vib.pcm", "wb"); in ringmic_test()
292 fp = fopen("/tmp/addchan-rec.pcm", "wb"); in ringmic_test()
311 fp = fopen("/tmp/bytesToInt-vib.pcm", "wb"); in ringmic_test()
313 fp = fopen("/tmp/bytesToInt-rec.pcm", "wb"); in ringmic_test()
/OK3568_Linux_fs/external/recovery/
H A Dencryptedfs_provisioning.c53 in_file = fopen(file_name, "r"); in get_binary_file_contents()
79 out_file = fopen(file_name, "w"); in set_binary_file_contents()
102 in_file = fopen(file_name, "r"); in get_text_file_contents()
125 out_file = fopen(file_name, "w"); in set_text_file_contents()
/OK3568_Linux_fs/app/lvgl_demo/lvgl/
H A Dlv_port_file.c19 file_p = fopen(path, "wb+"); in fs_open()
21 file_p = fopen(path, "rb"); in fs_open()
23 file_p = fopen(path, "wb+"); in fs_open()
/OK3568_Linux_fs/buildroot/board/forlinx/ok3568/fs-overlay/usr/share/matrix-gui-2.0/
H A Dgenerate.php61 $handle = fopen("catdesktop.txt", "rb");
70 $handle = fopen($contents[$x], "rb");
135 $ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
H A Dhelper_functions.php45 $fp = fopen($cachefile, 'w');
73 $handle = fopen("json.txt", "rb");
/OK3568_Linux_fs/buildroot/board/rockchip/rk3566_rk3568/fs-overlay/usr/share/matrix-gui-2.0/
H A Dgenerate.php61 $handle = fopen("catdesktop.txt", "rb");
70 $handle = fopen($contents[$x], "rb");
135 $ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
H A Dhelper_functions.php45 $fp = fopen($cachefile, 'w');
73 $handle = fopen("json.txt", "rb");
/OK3568_Linux_fs/external/common_algorithm/audio/rkap_3a/test/
H A Dtest_rkap_3a.c56 fp_near = fopen(argv[1], "rb"); in main()
62 fp_far = fopen(argv[2], "rb"); in main()
68 fp_out_tx = fopen(argv[3], "wb"); in main()
/OK3568_Linux_fs/kernel/tools/power/acpi/tools/acpidump/
H A Dapfiles.c77 file = fopen(pathname, "w"); in ap_open_output_file()
148 file = fopen(filename, "wb"); in ap_write_to_binary_file()
189 file = fopen(pathname, "rb"); in ap_get_table_from_file()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/afec/
H A Dfec_algo.cpp157 FILE *fpMeshXY = fopen("MeshXY.bin", "wb"); in GenMeshTable()
174 FILE *fpMeshXI = fopen("MeshXI.bin", "wb"); in GenMeshTable()
185 FILE *fpMeshXF = fopen("MeshXF.bin", "wb"); in GenMeshTable()
196 FILE *fpMeshYI = fopen("MeshYI.bin", "wb"); in GenMeshTable()
207 FILE *fpMeshYF = fopen("MeshYF.bin", "wb"); in GenMeshTable()
/OK3568_Linux_fs/external/linux-rga/samples/utils/
H A Dutils.cpp115 FILE *file = fopen(filePath, "rb"); in read_image_from_fbc_file()
138 FILE *file = fopen(filePath, "rb"); in read_image_from_file()
161 FILE *file = fopen(filePath, "wb+"); in write_image_to_fbc_file()
186 FILE *file = fopen(filePath, "wb+"); in write_image_to_file()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dhbm.c93 outf = fopen(outFname, "w"); in read_trace_pipe2()
221 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", "r"); in run_bpf_prog()
239 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", in run_bpf_prog()
308 fout = fopen(fname, "w"); in run_bpf_prog()
335 fout = fopen(fname, "w"); in run_bpf_prog()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rsi/
H A Drsi_91x_debugfs.c253 #define FOPS(fopen) { \ argument
255 .open = (fopen), \
260 #define FOPS_RW(fopen, fwrite) { \ argument
262 .open = (fopen), \
/OK3568_Linux_fs/external/rktoolkit/
H A Dupdate.c114 if((command_file = fopen(COMMAND_FILE_PATH,"wb")) == NULL){ in bootCommand()
119 if((log_file = fopen(LOG_FILE_PATH,"wb")) == NULL){ in bootCommand()
124 if((misc_file = fopen(MISC_FILE_PATH,"wb")) == NULL){ in bootCommand()
/OK3568_Linux_fs/external/linux-rga/core/
H A DRgaUtils.cpp352 FILE *file = fopen(filePath, "rb"); in get_buf_from_file()
378 FILE *file = fopen(filePath, "rb"); in get_buf_from_file_FBC()
402 FILE *file = fopen(filePath, "wb+"); in output_buf_data_to_file()
429 FILE *file = fopen(filePath, "wb+"); in output_buf_data_to_file_FBC()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/lvm2/files/
H A D0001-implement-libc-specific-reopen_stream.patch54 - !(stdin = fopen(_PATH_DEVNULL, "r"))) {
63 - !(stdout = fopen(_PATH_DEVNULL, "w"))) {
72 - !(stderr = fopen(_PATH_DEVNULL, "w"))) {
/OK3568_Linux_fs/u-boot/tools/rockchip/
H A Dloaderimage.c266 fi = fopen(file_in, "rb"); in main()
273 fo = fopen(file_out, "wb"); in main()
362 fi = fopen(file_in, "rb"); in main()
369 fo = fopen(file_out, "wb"); in main()
396 fi = fopen(file_in, "rb"); in main()
/OK3568_Linux_fs/external/rockit/mpi/example/common/
H A Dtest_comm_utils.cpp98 if ((fp = fopen(pCfgFileUri, "r")) == RK_NULL) { in TEST_COMM_OpenFileUris()
166 fp = fopen(pFileName, "rb"); in TEST_COMM_FileReadOneFrame()
212 fp = fopen(pFileName, "wb"); in TEST_COMM_FileWriteOneFrame()
285 fd = fopen("/proc/device-tree/compatible", "r"); in TEST_COMM_GetSocType()

12345678910>>...23