Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 634) sorted by relevance

12345678910>>...26

/ohos5.0/base/request/request/services/src/task/
H A Ddownload.rs99 let file = self.files.get_mut(0).unwrap(); in prepare_download() localVariable
157 let file = task.files.get(0).unwrap(); in download_inner() localVariable
223 let file = task.files.get_mut(0).unwrap(); in download_inner() localVariable
324 let file = File::create(file_path).unwrap(); in ut_download_basic() localVariable
369 let file = File::create(file_path).unwrap(); in ut_download_not_support_range() localVariable
393 let file = File::create(file_path).unwrap(); in ut_download_resume_not_support_range() localVariable
451 let file = File::create(file_path).unwrap(); in ut_download_range_0() localVariable
474 let file = File::create(file_path).unwrap(); in ut_download_range_1() localVariable
518 let file = File::create(file_path).unwrap(); in ut_download_range_resume_1() localVariable
548 let file = File::create(file_path).unwrap(); in ut_download_invalid_task() localVariable
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dfunc2_test.cpp132 const char *file = "/data/test/media/webvtt_test.vtt"; variable
180 const char *file = "/data/test/media/webvtt_test.vtt"; variable
237 const char *file = "/data/test/media/webvtt_test.vtt"; variable
293 const char *file = "/data/test/media/webvtt_test.vtt"; variable
346 const char *file = "/data/test/media/vtt_5600.vtt"; variable
386 const char *file = "/data/test/media/vtt_5700.vtt"; variable
425 const char *file = "/data/test/media/vtt_5800.vtt"; variable
454 const char *file = "/data/test/media/vtt_5900.vtt"; variable
494 const char *file = "/data/test/media/vtt_6000.vtt"; variable
518 const char *file = "/data/test/media/vtt_6100.vtt"; variable
[all …]
H A Dfunc_test.cpp200 const char *file = "/data/media/noPermission.mp4"; variable
219 const char *file = "/data/test/media/invalid.mp4"; variable
239 const char *file = "/data/test/media/01_video_audio.mp4"; variable
290 const char *file = "/data/test/media/avcc_10sec.mp4"; variable
349 const char *file = "/data/test/media/hvcc.mp4"; variable
407 const char *file = "/data/test/media/mpeg2.mp4"; variable
765 const char *file = "/data/test/media/ts_video.ts"; variable
819 const char *file = "/data/test/media/mkv.mkv"; variable
835 const char *file = "/data/test/media/zero_track.mp4"; variable
2460 const char *file = "/data/test/media/hevc_v_a.ts"; variable
[all …]
H A Dperf_test.cpp73 const char *file = "/data/test/media/1280x720_30.mp4"; variable
99 const char *file = "/data/test/media/1920x1080_30.mp4"; variable
125 const char *file = "/data/test/media/3840x2160_30.mp4"; variable
151 const char *file = "/data/test/media/1280x720_30.mp4"; variable
182 const char *file = "/data/test/media/1280x720_60.mp4"; variable
213 const char *file = "/data/test/media/1920x1080_30.mp4"; variable
244 const char *file = "/data/test/media/1920x1080_60.mp4"; variable
275 const char *file = "/data/test/media/3840x2160_30.mp4"; variable
306 const char *file = "/data/test/media/3840x2160_60.mp4"; variable
363 const char *file = "/data/test/media/1920x1080_30.mp4"; variable
[all …]
H A Dproc_test.cpp340 const char *file = "/data/test/media/avc_mp3.flv"; variable
498 const char *file = "/data/test/media/audio/ape.ape"; variable
697 const char *file = "/data/test/media/m4a_fmp4.mp4"; variable
730 const char *file = "/data/test/media/m4v_fmp4.mp4"; variable
796 const char *file = "/data/test/media/srt_test.srt"; variable
842 const char *file = "/data/test/media/srt_test.srt"; variable
894 const char *file = "/data/test/media/srt_2800.srt"; variable
935 const char *file = "/data/test/media/srt_2900.srt"; variable
975 const char *file = "/data/test/media/srt_3000.srt"; variable
1000 const char *file = "/data/test/media/srt_3100.srt"; variable
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dasync_fs.rs32 let mut file = File::create(file_path).await.unwrap(); in sdv_async_fs_write() localVariable
41 let mut file = File::open(file_path).await.unwrap(); in sdv_async_fs_write() localVariable
67 let mut file = File::open(file_path).await.unwrap(); in sdv_async_fs_read() localVariable
76 let mut file = File::open(file_path).await.unwrap(); in sdv_async_fs_read() localVariable
101 let mut file = OpenOptions::new() in sdv_async_fs_rw() localVariable
121 let mut file = File::open(file_path).await; in sdv_async_fs_rw() localVariable
125 let mut file = file.unwrap(); in sdv_async_fs_rw() localVariable
253 let file = File::create(file_path).await.unwrap(); in sdv_async_fs_set_permission() localVariable
305 let file = File::create(file_path).await.unwrap(); in sdv_async_fs_set_len() localVariable
325 let file = File::create(file_path).await.unwrap(); in sdv_async_fs_try_clone() localVariable
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/osal/src/
H A Dosal_file.c40 int32_t OsalFileOpen(OsalFile *file, const char *path, int flags, uint32_t rights) in OsalFileOpen()
67 ssize_t OsalFileWrite(OsalFile *file, const void *string, uint32_t length) in OsalFileWrite()
85 void OsalFileClose(OsalFile *file) in OsalFileClose()
96 ssize_t OsalFileRead(OsalFile *file, void *buf, uint32_t length) in OsalFileRead()
114 off_t OsalFileLseek(OsalFile *file, off_t offset, int32_t whence) in OsalFileLseek()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
H A Dasync_file.rs34 file: Arc<SyncFile>, field
184 let file = self.file.clone(); in set_permissions() localVariable
212 let mut file = self.inner.lock().await; in sync_all() localVariable
216 let file = self.file.clone(); in sync_all() localVariable
242 let mut file = self.inner.lock().await; in sync_data() localVariable
246 let file = self.file.clone(); in sync_data() localVariable
322 let file = self.file.clone(); in metadata() localVariable
342 let file = self.file.clone(); in try_clone() localVariable
381 let file = self.get_mut(); in poll_seek() localVariable
434 let file = self.get_mut(); in poll_read() localVariable
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/osal/src/
H A Dosal_file.c26 int32_t OsalFileOpen(OsalFile *file, const char *path, int flags, uint32_t rights) in OsalFileOpen()
48 ssize_t OsalFileWrite(OsalFile *file, const void *string, uint32_t length) in OsalFileWrite()
70 void OsalFileClose(OsalFile *file) in OsalFileClose()
84 ssize_t OsalFileRead(OsalFile *file, void *buf, uint32_t length) in OsalFileRead()
106 off_t OsalFileLseek(OsalFile *file, off_t offset, int32_t whence) in OsalFileLseek()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
H A Dfile_util.cpp32 bool IsFileExists(const std::string& file) in IsFileExists()
37 bool IsFile(const std::string& file) in IsFile()
49 bool RemoveFile(const std::string& file) in RemoveFile()
135 for (auto& file : files) { in GetDirSize() local
143 uint64_t GetFileSize(const std::string& file) in GetFileSize()
149 bool ChangeMode(const std::string& file, const mode_t& mode) in ChangeMode()
154 bool CreateFile(const std::string& file, const mode_t& mode) in CreateFile()
168 bool SaveStringToFile(const std::string& file, const std::string& content, bool isTrunc) in SaveStringToFile()
211 std::ifstream file(filePath); in LoadLinesFromFile() local
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/crash_exception/
H A Dcrash_exception_test.cpp204 std::string file = std::string("Module name:sensors\n") + variable
247 std::string file = std::string("Module name:sensors\n") + variable
288 std::string file = std::string("Module name:sensors\n") + variable
326 std::string file = std::string("Module name:sensors\n") + variable
367 std::string file = std::string("Module name:sensors\n") + variable
406 std::string file = std::string("Module name:sensors\n") + variable
447 std::string file = std::string("Module name:sensors\n") + variable
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/
H A Dfile_napi.cpp45 auto *file = new (std::nothrow) FileNapi(); in New() local
56 auto *file = new (std::nothrow) FileNapi(); in NewInstance() local
65 auto *file = static_cast<FileNapi *>(data); in Destructor() local
82 auto file = GetFile(env, info, ctxt); in GetDetails() local
104 auto file = static_cast<FileNapi *>(ctxt->native); in SetDetails() local
115 auto file = GetFile(env, info, ctxt); in GetUri() local
137 auto file = static_cast<FileNapi *>(ctxt->native); in SetUri() local
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
H A Dhc_file.c41 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen()
61 int HcFileSize(FileHandle file) in HcFileSize()
72 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead()
83 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite()
94 void HcFileClose(FileHandle file) in HcFileClose()
H A Dhc_file_posix.c97 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen()
114 int HcFileSize(FileHandle file) in HcFileSize()
122 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead()
148 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite()
170 void HcFileClose(FileHandle file) in HcFileClose()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/
H A Dylong_tokio_async_file.rs38 let mut file = File::open(READ_FILE).await.unwrap(); localVariable
62 let mut file = File::open(READ_FILE).await.unwrap(); localVariable
89 let mut file = File::create(WRITE_FILE).await.unwrap(); localVariable
H A Dsync_benchmarks.rs58 let mut file = File::open(READ_FILE).unwrap(); in std_read_file() localVariable
72 let mut file = File::open(READ_FILE).unwrap(); in std_read_file_by_chars() localVariable
90 let mut file = File::create(WRITE_FILE).unwrap(); in std_write_file() localVariable
/ohos5.0/base/request/request/services/tests/
H A Dresume.rs26 let file = File::create(file_path).unwrap(); in sdv_start_resume() localVariable
51 let file = File::open(file_path).unwrap(); in sdv_start_resume() localVariable
H A Dstart.rs26 let file = File::create(file_path).unwrap(); in sdv_start_basic() localVariable
48 let file = File::open(file_path).unwrap(); in sdv_start_basic() localVariable
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
H A Dhc_file.c87 int HcFileOpen(const char *path, int mode, FileHandle *file) in HcFileOpen()
103 int HcFileSize(FileHandle file) in HcFileSize()
120 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead()
144 int HcFileWrite(FileHandle file, const void *src, int srcSize) in HcFileWrite()
175 void HcFileClose(FileHandle file) in HcFileClose()
/ohos5.0/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_xml_utils_test.cpp102 std::string file = "/data/test/test01"; variable
157 std::string file = "/data/test/test01"; variable
185 std::string file = "/data/test/test02"; variable
224 std::string file = "/data/test/test03"; variable
264 std::string file = "/data/test/test04"; variable
304 std::string file = "/data/test/test05"; variable
336 std::string file = "/data/test/test06"; variable
368 std::string file = "/data/test/test07"; variable
H A Dpreferences_file_test.cpp73 std::string file = "/data/test/test"; variable
113 std::string file = "/data/test/test"; variable
143 std::string file = "/data/test/test"; variable
201 std::string file = "/data/test/test"; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/log/
H A Ddump_log.h38 DumpFileBuf(FILE* file) : file_(file) {} in DumpFileBuf()
67 DumpFile(FILE* file) : std::ostream(0), buf_(file) in DumpFile()
75 void SetDumpFile(DumpFile* file) in SetDumpFile()
80 void SetDumpFile(std::unique_ptr<std::ostream> file) in SetDumpFile()
/ohos5.0/base/hiviewdfx/hisysevent/adapter/native/idl/src/
H A Dfile_util.cpp30 bool IsFileExists(const std::string& file) in IsFileExists()
35 bool IsFile(const std::string& file) in IsFile()
47 bool RemoveFile(const std::string& file) in RemoveFile()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/
H A Dc_service_impl_code_emitter.cpp68 File file(filePath, File::WRITE); in EmitLowServiceImplHeaderFile() local
96 for (const auto &file : headerFiles) { in EmitLowServiceImplInclusions() local
113 File file(filePath, File::WRITE); in EmitLowServiceImplSourceFile() local
161 File file(filePath, File::WRITE); in EmitServiceImplHeaderFile() local
200 for (const auto &file : headerFiles) { in EmitServiceImplHeaderInclusions() local
221 File file(filePath, File::WRITE); in EmitServiceImplSourceFile() local
264 for (const auto &file : headerFiles) { in EmitServiceImplSourceInclusions() local
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dc_service_impl_code_emitter.cpp61 File file(filePath, File::WRITE); in EmitLowServiceImplHeaderFile() local
89 for (const auto &file : headerFiles) { in EmitLowServiceImplInclusions() local
106 File file(filePath, File::WRITE); in EmitLowServiceImplSourceFile() local
154 File file(filePath, File::WRITE); in EmitServiceImplHeaderFile() local
193 for (const auto &file : headerFiles) { in EmitServiceImplHeaderInclusions() local
214 File file(filePath, File::WRITE); in EmitServiceImplSourceFile() local
257 for (const auto &file : headerFiles) { in EmitServiceImplSourceInclusions() local

12345678910>>...26