Home
last modified time | relevance | path

Searched refs:open (Results 1 - 25 of 5658) sorted by relevance

12345678910>>...227

/kernel/linux/linux-6.6/io_uring/
H A Dopenclose.c34 static bool io_openat_force_async(struct io_open *open) in io_openat_force_async() argument
37 * Don't bother trying for O_TRUNC, O_CREAT, or O_TMPFILE open, in io_openat_force_async()
42 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE); in io_openat_force_async()
47 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); in __io_openat_prep() local
56 /* open.how should be already initialised */ in __io_openat_prep()
57 if (!(open->how.flags & O_PATH) && force_o_largefile()) in __io_openat_prep()
58 open->how.flags |= O_LARGEFILE; in __io_openat_prep()
60 open->dfd = READ_ONCE(sqe->fd); in __io_openat_prep()
62 open->filename = getname(fname); in __io_openat_prep()
63 if (IS_ERR(open in __io_openat_prep()
82 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat_prep() local
92 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat2_prep() local
111 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat2() local
177 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_open_cleanup() local
[all...]
/kernel/linux/linux-5.10/sound/isa/sb/
H A Dsb8_midi.c41 if (chip->open & SB_OPEN_MIDI_INPUT_TRIGGER) { in snd_sb8dsp_midi_interrupt()
60 if (chip->open & ~valid_open_flags) { in snd_sb8dsp_midi_input_open()
64 chip->open |= SB_OPEN_MIDI_INPUT; in snd_sb8dsp_midi_input_open()
66 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_open()
87 if (chip->open & ~valid_open_flags) { in snd_sb8dsp_midi_output_open()
91 chip->open |= SB_OPEN_MIDI_OUTPUT; in snd_sb8dsp_midi_output_open()
93 if (!(chip->open & SB_OPEN_MIDI_INPUT)) { in snd_sb8dsp_midi_output_open()
111 chip->open &= ~(SB_OPEN_MIDI_INPUT | SB_OPEN_MIDI_INPUT_TRIGGER); in snd_sb8dsp_midi_input_close()
113 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_close()
130 chip->open in snd_sb8dsp_midi_output_close()
[all...]
/kernel/linux/linux-6.6/sound/isa/sb/
H A Dsb8_midi.c41 if (chip->open & SB_OPEN_MIDI_INPUT_TRIGGER) { in snd_sb8dsp_midi_interrupt()
60 if (chip->open & ~valid_open_flags) { in snd_sb8dsp_midi_input_open()
64 chip->open |= SB_OPEN_MIDI_INPUT; in snd_sb8dsp_midi_input_open()
66 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_open()
87 if (chip->open & ~valid_open_flags) { in snd_sb8dsp_midi_output_open()
91 chip->open |= SB_OPEN_MIDI_OUTPUT; in snd_sb8dsp_midi_output_open()
93 if (!(chip->open & SB_OPEN_MIDI_INPUT)) { in snd_sb8dsp_midi_output_open()
111 chip->open &= ~(SB_OPEN_MIDI_INPUT | SB_OPEN_MIDI_INPUT_TRIGGER); in snd_sb8dsp_midi_input_close()
113 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_close()
130 chip->open in snd_sb8dsp_midi_output_close()
[all...]
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_json_cached_entity_test.cpp54 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600))); in HWTEST_F()
79 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600))); in HWTEST_F()
104 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, NULL))); in HWTEST_F()
129 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDONLY, NULL))); in HWTEST_F()
154 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, NULL))); in HWTEST_F()
179 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDONLY, 0600))); in HWTEST_F()
204 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDONLY, NULL))); in HWTEST_F()
229 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600))); in HWTEST_F()
255 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600))); in HWTEST_F()
281 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePat in HWTEST_F()
[all...]
/kernel/uniproton/cmake/common/build_auxiliary_script/
H A DKconfig2macro.py30 with open(in_file, 'r') as fd_in:
40 with codecs.open(out_file,
113 with codecs.open(out_file, 'a+') as fd_out, open(in_file) as fd_in:
125 with open(filename, 'r', errors='ignore') as fp:
130 with codecs.open(file, 'a+') as fd_in:
138 with codecs.open(out_file, 'a+') as fd_out:
147 with codecs.open(out_file, 'a+') as fd_out:
157 with codecs.open(out_file, 'a+') as fd_out:
/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_audio_recorder_fast_prepare.h73 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
89 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
107 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
115 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
132 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
142 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
159 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
170 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
187 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
196 fd = open(filePat in FIXTURE()
[all...]
H A Dtest_single_audio_recorder_fast_start_pause.h66 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
84 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
104 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
125 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
145 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
165 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
176 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
186 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
204 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
233 fd = open(filePat in FIXTURE()
[all...]
H A Dtest_single_audio_recorder_fast_audio_function.h105 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
124 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
144 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
165 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
174 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
186 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
207 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
217 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
229 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
240 fd = open(filePat in FIXTURE()
[all...]
H A Dtest_single_audio_recorder_fast_stop_reset.h113 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
131 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
150 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
170 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
191 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
211 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
220 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
237 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
259 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
289 fd = open(filePat in FIXTURE()
[all...]
/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/
H A Drecorder_unit_test.cpp127 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + in HWTEST_F()
153 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_SetLocation_001.mp4").c_str(), O_RDWR); in HWTEST_F()
171 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_Repeat_001.mp4").c_str(), O_RDWR); in HWTEST_F()
206 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + in HWTEST_F()
235 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + in HWTEST_F()
254 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_GetSurface_Error_001.mp4").c_str(), O_RDWR); in HWTEST_F()
271 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + in HWTEST_F()
292 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + in HWTEST_F()
314 videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_DrainBufferTrue_001.mp4").c_str(), O_RDWR); in HWTEST_F()
342 videoRecorderConfig.outputFd = open((RECORDER_ROO in HWTEST_F()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/qemu/
H A Dinit.c72 fd = open("/dev/urandom", O_WRONLY); in seed_rng()
74 panic("open(urandom)"); in seed_rng()
113 fd = open("/proc/sys/kernel/printk", O_WRONLY); in enable_logging()
119 fd = open("/proc/sys/debug/exception-trace", O_WRONLY); in enable_logging()
125 fd = open("/proc/sys/kernel/panic_on_warn", O_WRONLY); in enable_logging()
184 fd = open("/proc/cmdline", O_RDONLY); in launch_tests()
186 panic("open(/proc/cmdline)"); in launch_tests()
200 fd = open(success_dev, O_WRONLY); in launch_tests()
202 panic("open(success_dev)"); in launch_tests()
224 int fd = open("/de in ensure_console()
[all...]
/build/ohos/images/mkimage/
H A Dimkcovert.py39 indata = os.fdopen(os.open(inputfile, flags, modes), 'a')
69 with open(inputfile, 'rb') as indata:
79 with open(sparseimagefile, 'r') as header:
98 with open(sparseimagefile, 'rb') as inputrow:
100 output = os.fdopen(os.open(imagefile, flags, modes), 'wb')
112 with open(imagefile, 'r+') as output:
156 with open(imagefile, 'rb') as inputrow, os.fdopen(os.open(temp_file, flags, modes), 'wb') as outputtemp:
176 outputrow = os.fdopen(os.open(sparseimagefile, flags, modes), 'w')
192 outputrow = os.fdopen(os.open(sparseimagefil
[all...]
/kernel/linux/linux-5.10/drivers/staging/fwserial/
H A Ddma_fifo.c27 * private helper fn to determine if check is in open interval (lo,hi)
79 fifo->open = 0; in dma_fifo_alloc()
126 fifo->open = 0; in dma_fifo_reset()
198 if (fifo->open == fifo->open_limit) in dma_fifo_out_pend()
223 ++fifo->open; in dma_fifo_out_pend()
225 if (FAIL(fifo, fifo->open > fifo->open_limit, in dma_fifo_out_pend()
226 "past open limit:%d (limit:%d)", in dma_fifo_out_pend()
227 fifo->open, fifo->open_limit)) in dma_fifo_out_pend()
250 if (list_empty(&fifo->pending) && fifo->open == 0) in dma_fifo_out_complete()
253 if (FAIL(fifo, list_empty(&fifo->pending) != (fifo->open in dma_fifo_out_complete()
[all...]
/foundation/multimedia/player_framework/frameworks/native/transcoder/test/unittest/src/
H A Dtranscoder_unit_test.cpp64 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR); in HWTEST_F()
69 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR); in HWTEST_F()
97 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR); in HWTEST_F()
102 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR); in HWTEST_F()
131 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR); in HWTEST_F()
136 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR); in HWTEST_F()
166 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR); in HWTEST_F()
171 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR); in HWTEST_F()
203 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "01.mp3").c_str(), O_RDWR); in HWTEST_F()
208 int32_t dstFd = open((TRANSCODER_ROOT_DS in HWTEST_F()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/wireguard/qemu/
H A Dinit.c66 fd = open("/dev/random", O_WRONLY); in seed_rng()
68 panic("open(random)"); in seed_rng()
114 fd = open("/proc/sys/kernel/printk", O_WRONLY); in enable_logging()
120 fd = open("/proc/sys/debug/exception-trace", O_WRONLY); in enable_logging()
179 fd = open("/proc/cmdline", O_RDONLY); in launch_tests()
181 panic("open(/proc/cmdline)"); in launch_tests()
195 fd = open(success_dev, O_WRONLY); in launch_tests()
197 panic("open(success_dev)"); in launch_tests()
219 int fd = open("/dev/console", O_RDWR); in ensure_console()
231 panic("Unable to open consol in ensure_console()
[all...]
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfs4proc.c105 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) in nfsd4_check_open_attributes()
109 if (open->op_create == NFS4_OPEN_CREATE) { in nfsd4_check_open_attributes()
110 if (open->op_createmode == NFS4_CREATE_UNCHECKED in nfsd4_check_open_attributes()
111 || open->op_createmode == NFS4_CREATE_GUARDED) in nfsd4_check_open_attributes()
113 open->op_bmval, nfsd_attrmask); in nfsd4_check_open_attributes()
114 else if (open->op_createmode == NFS4_CREATE_EXCLUSIVE4_1) in nfsd4_check_open_attributes()
116 open->op_bmval, nfsd41_ex_attrmask); in nfsd4_check_open_attributes()
123 is_create_with_attrs(struct nfsd4_open *open) in is_create_with_attrs() argument
125 return open->op_create == NFS4_OPEN_CREATE in is_create_with_attrs()
126 && (open in is_create_with_attrs()
104 nfsd4_check_open_attributes(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) nfsd4_check_open_attributes() argument
142 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int accmode) do_open_permission() argument
179 nfsd4_set_open_owner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh *resfh) nfsd4_set_open_owner_reply_cache() argument
194 nfsd4_vfs_create(struct svc_fh *fhp, struct dentry *child, struct nfsd4_open *open) nfsd4_vfs_create() argument
232 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, struct svc_fh *resfhp, struct nfsd4_open *open) nfsd4_create_file() argument
418 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) do_open_lookup() argument
485 do_open_fhandle(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) do_open_fhandle() argument
529 struct nfsd4_open *open = &u->open; nfsd4_open() local
653 struct nfsd4_open *open = &op->u.open; nfsd4_open_omfg() local
[all...]
/kernel/linux/linux-6.6/tools/testing/kunit/
H A Dkunit_tool_test.py101 with open(log_path) as file:
112 with open(log_path) as file:
141 with open(all_passed_log) as file:
148 with open(all_passed_log) as file:
155 with open(kselftest_log) as file:
162 with open(failed_log) as file:
169 with open(empty_log) as file:
179 with open(missing_plan_log) as file:
189 with open(header_log) as file:
198 with open(no_plan_lo
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/
H A Dposix_fs_open_test.c35 * @tc.name open
43 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH);
49 fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_NORMAL);
63 * @tc.name open
71 int32_t fd = open(tmpFileName1, O_CREAT | O_RDWR);
75 fd = open(tmpFileName2, O_CREAT | O_RDWR);
84 * @tc.name open
94 fd = open(tmpFileName, O_CREAT | O_RDWR);
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/
H A Davcodec_audio_decoder_demo.cpp104 inputFile_.open(INPUT_AAC_FILE_PATH, std::ios::binary); in InitFile()
105 pcmOutputFile_.open(OUTPUT_AAC_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
107 inputFile_.open(INPUT_FLAC_FILE_PATH, std::ios::binary); in InitFile()
108 pcmOutputFile_.open(OUTPUT_FLAC_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
110 inputFile_.open(INPUT_MP3_FILE_PATH, std::ios::binary); in InitFile()
111 pcmOutputFile_.open(OUTPUT_MP3_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
113 inputFile_.open(INPUT_VORBIS_FILE_PATH, std::ios::binary); in InitFile()
114 pcmOutputFile_.open(OUTPUT_VORBIS_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
116 inputFile_.open(INPUT_AMRNB_FILE_PATH, std::ios::binary); in InitFile()
117 pcmOutputFile_.open(OUTPUT_AMRNB_PCM_FILE_PAT in InitFile()
[all...]
/kernel/linux/build/test/unittest/accesstokenid/
H A Daccesstokenid_test.cpp74 fd = open("/dev/random", O_RDONLY); in GenRand64()
88 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in GetTokenid()
90 printf("open %s failed\r\n", DEV_ACCESSTOKENID); in GetTokenid()
107 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in SetTokenid()
109 printf("open %s failed\r\n", DEV_ACCESSTOKENID); in SetTokenid()
126 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in GetfTokenid()
128 printf("open %s failed\r\n", DEV_ACCESSTOKENID); in GetfTokenid()
145 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in SetfTokenid()
147 printf("open %s failed\r\n", DEV_ACCESSTOKENID); in SetfTokenid()
368 int fd = open(DEV_ACCESSTOKENI in HWTEST_F()
[all...]
/build/toolchain/
H A Dmini_debug_info.py27 with os.fdopen(os.open(tmp_file, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
31 with os.fdopen(os.open(symbols_path, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
70 with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
73 with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'r', encoding='utf-8') as output_file:
88 with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
91 with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'r', encoding='utf-8') as output_file:
104 with os.fdopen(os.open(keep_path, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/sdsi/
H A Dsdsi_test.py29 with open(file, mode='rb') as f:
49 f = open(file, "r")
121 f = open(folder + "provision_cap", "wb", 0)
128 f = open(folder + "provision_akc", "wb", 0)
141 f = open(folder + "registers", "rb")
159 f = open(node, 'wb', 0)
173 f = open(node, 'wb', 0)
174 g = open(node, 'wb', 0)
176 with open(driver_dir + 'unbind', 'w') as k:
211 with open(driver_di
[all...]
/kernel/linux/linux-5.10/tools/testing/kunit/
H A Dkunit_tool_test.py103 file = open(log_path)
116 with open(log_path) as file:
146 file = open(all_passed_log)
156 file = open(failed_log)
166 file = open(empty_log)
178 file = open(crash_log)
189 file = open(crashed_log)
199 with open(prefix_log) as file:
209 with open(prefix_log) as file:
219 with open(mixed_prefix_lo
[all...]
/build/hb/util/
H A Dlog_util.py85 with open(log_path, 'at', encoding='utf-8') as log_file:
93 with open(error_log, 'rt', encoding='utf-8') as log_file:
123 with open(log_path, 'rt', encoding='utf-8') as log_file:
133 with open(error_log, 'at', encoding='utf-8') as log_file:
145 with open(log_path, 'rt', encoding='utf-8') as log_file:
153 with open(error_log, 'at', encoding='utf-8') as log_file:
165 with open(log_path, 'rt', encoding='utf-8') as log_file:
176 with open(error_log, 'at', encoding='utf-8') as log_file:
/foundation/arkui/ui_lite/test/autotest/src/
H A Dcompare_tools.cpp164 uint32_t fdBase = open(fileBasePath, O_RDONLY | O_BINARY); in CompareFile()
165 uint32_t fdRun = open(fileRunPath, O_RDONLY | O_BINARY); in CompareFile()
167 uint32_t fdBase = open(fileBasePath, O_RDONLY); in CompareFile()
168 uint32_t fdRun = open(fileRunPath, O_RDONLY); in CompareFile()
209 uint32_t fd = open(filePath, O_RDONLY | O_BINARY); in CompareFile()
211 uint32_t fd = open(filePath, O_RDONLY); in CompareFile()
284 uint32_t fd = open(filePath, O_WRONLY | O_CREAT | O_BINARY, DEFAULT_FILE_PERMISSION); in SaveFile()
286 uint32_t fd = open(filePath, O_WRONLY | O_CREAT, DEFAULT_FILE_PERMISSION); in SaveFile()
301 uint32_t fd = open(filePath, O_RDONLY); in CheckFileExist()
344 uint32_t logFd = open(useLogPat in SaveLog()
[all...]

Completed in 15 milliseconds

12345678910>>...227