Home
last modified time | relevance | path

Searched refs:file (Results 1 - 25 of 2699) sorted by relevance

12345678910>>...108

/test/xts/acts/storage/storagefileiov9jstest/entry/src/ohosTest/js/test/members/
H A Dstat.test.js4 * you may not use this file except in compliance with the License.
33 * Enter the path or fd parameter to get the file stat.
47 let file = fileIO.openSync(fpath);
48 let stat2 = fileIO.statSync(file.fd);
50 fileIO.closeSync(file);
62 * The path point to nothing, no such file.
76 expect(e.code == 13900002 && e.message == 'No such file or directory').assertTrue();
104 * Enter the path or fd parameter to get stat.ino of the file.
118 let file = fileIO.openSync(fpath);
119 let stat2 = fileIO.statSync(file
[all...]
/test/xts/acts/multimedia/av_codec/demuxer/src/
H A Dfunc_test.cpp4 * you may not use this file except in compliance with the License.
191 const char *file = "/data/media/noPermission.mp4"; in HWTEST_F() local
192 int fd = open(file, O_RDONLY); in HWTEST_F()
193 int64_t size = GetFileSize(file); in HWTEST_F()
194 cout << file << "----------------------" << fd << "---------" << size << endl; in HWTEST_F()
195 cout << file << "------" << size << endl; in HWTEST_F()
210 const char *file = "/data/test/media/invalid.mp4"; in HWTEST_F() local
211 int fd = open(file, O_RDONLY); in HWTEST_F()
212 int64_t size = GetFileSize(file); in HWTEST_F()
213 cout << file << " in HWTEST_F()
230 const char *file = "/data/test/media/01_video_audio.mp4"; HWTEST_F() local
278 const char *file = "/data/test/media/avcc_10sec.mp4"; HWTEST_F() local
336 const char *file = "/data/test/media/hvcc.mp4"; HWTEST_F() local
393 const char *file = "/data/test/media/mpeg2.mp4"; HWTEST_F() local
450 const char *file = "/data/test/media/audio/M4A_48000_1.m4a"; HWTEST_F() local
501 const char *file = "/data/test/media/audio/AAC_48000_1.aac"; HWTEST_F() local
550 const char *file = "/data/test/media/audio/MP3_48000_1.mp3"; HWTEST_F() local
599 const char *file = "/data/test/media/audio/OGG_48000_1.ogg"; HWTEST_F() local
648 const char *file = "/data/test/media/audio/FLAC_48000_1.flac"; HWTEST_F() local
698 const char *file = "/data/test/media/audio/wav_48000_1.wav"; HWTEST_F() local
750 const char *file = "/data/test/media/ts_video.ts"; HWTEST_F() local
803 const char *file = "/data/test/media/mkv.mkv"; HWTEST_F() local
819 const char *file = "/data/test/media/zero_track.mp4"; HWTEST_F() local
850 const char *file = "/data/test/media/MP3_avcc_10sec.bin"; HWTEST_F() local
907 const char *file = "/data/test/media/MP3_avcc_10sec.bin"; HWTEST_F() local
966 const char *file = "/data/test/media/MP3_OGG_48000_1.bin"; HWTEST_F() local
1022 const char *file = "/data/test/media/MP3_OGG_48000_1.bin"; HWTEST_F() local
1076 const char *file = "/data/test/media/test_video_avcc_10sec.bin"; HWTEST_F() local
1130 const char *file = "/data/test/media/01_video_audio.mp4"; HWTEST_F() local
1192 const char *file = "/data/test/media/01_video_audio.mp4"; HWTEST_F() local
1253 const char *file = "/data/test/media/01_video_audio.mp4"; HWTEST_F() local
1313 const char *file = "/data/test/media/01_video_audio.mp4"; HWTEST_F() local
1368 const char *file = "/data/test/media/01_video_audio.mp4"; HWTEST_F() local
1424 const char *file = "/data/test/media/01_video_audio.mp4"; HWTEST_F() local
1485 const char *file = "/data/test/media/01_video_audio.mp4"; HWTEST_F() local
[all...]
H A Dproc_test.cpp4 * you may not use this file except in compliance with the License.
146 * @tc.name : demuxer video and 2 audio file
156 const char *file = "/data/test/media/video_2audio.mp4"; in HWTEST_F() local
157 int fd = open(file, O_RDONLY); in HWTEST_F()
158 int64_t size = GetFileSize(file); in HWTEST_F()
159 cout << file << "----------------------" << fd << "---------" << size << endl; in HWTEST_F()
201 * @tc.name : demuxer video and 9 audio file
211 const char *file = "/data/test/media/video_9audio.mp4"; in HWTEST_F() local
212 int fd = open(file, O_RDONLY); in HWTEST_F()
213 int64_t size = GetFileSize(file); in HWTEST_F()
265 const char *file = "/data/test/media/avc_mp3.flv"; HWTEST_F() local
317 const char *file = "/data/test/media/hevc_pcm_a.flv"; HWTEST_F() local
369 const char *file = "/data/test/media/avc_mp3_error.flv"; HWTEST_F() local
416 const char *file = "/data/test/media/audio/ape.ape"; HWTEST_F() local
449 const char *file = "/data/test/media/h264_mp3_3mevx_fmp4.mp4"; HWTEST_F() local
501 const char *file = "/data/test/media/h265_aac_1mvex_fmp4.mp4"; HWTEST_F() local
553 const char *file = "/data/test/media/audiovivid_hdrvivid_1s_fmp4.mp4"; HWTEST_F() local
602 const char *file = "/data/test/media/m4a_fmp4.mp4"; HWTEST_F() local
635 const char *file = "/data/test/media/m4v_fmp4.mp4"; HWTEST_F() local
698 const char *file = "/data/test/media/srt_test.srt"; HWTEST_F() local
736 const char *file = "/data/test/media/srt_test.srt"; HWTEST_F() local
789 const char *file = "/data/test/media/srt_2800.srt"; HWTEST_F() local
822 const char *file = "/data/test/media/srt_2900.srt"; HWTEST_F() local
855 const char *file = "/data/test/media/srt_3000.srt"; HWTEST_F() local
879 const char *file = "/data/test/media/srt_3100.srt"; HWTEST_F() local
913 const char *file = "/data/test/media/srt_3200.srt"; HWTEST_F() local
937 const char *file = "/data/test/media/srt_3300.srt"; HWTEST_F() local
982 const char *file = "/data/test/media/01_video_audio.mp4"; HWTEST_F() local
1020 const char *file = "/data/test/media/test_265_B_Gop25_4sec.mp4"; HWTEST_F() local
[all...]
/test/xts/acts/bundlemanager/zlib/actszlibtest/
H A DActsZlibTest.cpp4 * you may not use this file except in compliance with the License.
67 static int TestGzPrintf(gzFile file, const char *format, ...) in TestGzPrintf() argument
74 ret = gzvprintf(file, format, va); in TestGzPrintf()
162 gzFile file; in HWTEST_F()
164 file = gzopen(TESTFILE, "wb"); in HWTEST_F()
165 ASSERT_TRUE(file != NULL); in HWTEST_F()
167 gzputc(file, 'h'); in HWTEST_F()
168 ASSERT_TRUE(gzputs(file, "ello") == FOUR); in HWTEST_F()
169 if (gzprintf(file, ", %s!", "hello") != EIGHT) { in HWTEST_F()
170 fprintf(stderr, "gzprintf err: %s\n", gzerror(file, in HWTEST_F()
1042 gzFile file; HWTEST_F() local
1059 gzFile file; HWTEST_F() local
1075 gzFile file; HWTEST_F() local
1211 gzFile file; HWTEST_F() local
1256 gzFile file; HWTEST_F() local
1268 gzFile file; HWTEST_F() local
[all...]
/arkcompiler/runtime_core/static_core/verification/cache/
H A Dresults_cache.cpp4 * you may not use this file except in compliance with the License.
23 #include "libpandabase/os/file.h"
52 using ark::os::file::Mode; in Initialize()
53 using ark::os::file::Open; in Initialize()
56 auto file = Open(filename, Mode::READONLY); in Initialize()
57 if (!file.IsValid()) { in Initialize()
58 file = Open(filename, Mode::READWRITECREATE); in Initialize()
60 if (!file.IsValid()) { in Initialize()
61 LOG(INFO, VERIFIER) << "Cannot open verification cache file '" << filename << "'"; in Initialize()
65 auto size = file in Initialize()
105 auto file = Open(impl_->filename, Mode::READWRITECREATE); Destroy() local
[all...]
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/
H A Dresult.rb3 # you may not use this file except in compliance with the License.
29 def update_failed_compilation(output, file)
32 @@stats[:compilation_error][:files] << file
37 def update_failed_quickening(output, file)
40 @@stats[:quickening_error][:files] << file
45 def update_negative_passed_compilation(output, file)
48 @@stats[:compilation_error][:files] << file
53 def update_failed_negative_compilation(output, file)
56 @@stats[:passed][:files] << file
61 def update_compilation_passed(output, file)
[all...]
/arkcompiler/runtime_core/tests/cts-generator/runner/
H A Dresult.rb3 # you may not use this file except in compliance with the License.
29 def update_failed_compilation(output, file)
32 @@stats[:compilation_error][:files] << file
37 def update_failed_quickening(output, file)
40 @@stats[:quickening_error][:files] << file
45 def update_negative_passed_compilation(output, file)
48 @@stats[:compilation_error][:files] << file
53 def update_failed_negative_compilation(output, file)
56 @@stats[:passed][:files] << file
61 def update_compilation_passed(output, file)
[all...]
/arkcompiler/runtime_core/bytecode_optimizer/tests/
H A Dconstant_propagation_test.cpp4 * you may not use this file except in compliance with the License.
17 * you may not use this file except in compliance with the License.
64 bool CheckFunction(const std::string &file, const char *test_method_name, ExpectType before, ExpectType after, in CheckFunction() argument
69 graph_test_.TestBuildGraphFromFile(file, [test_method_name, before, after, strings, &status] in CheckFunction()
178 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; in HWTEST_F() local
181 EXPECT_TRUE(CheckFunction(file, test_method_name, in HWTEST_F()
193 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; in HWTEST_F() local
196 EXPECT_TRUE(CheckFunction(file, test_method_name, in HWTEST_F()
208 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; in HWTEST_F() local
211 EXPECT_TRUE(CheckFunction(file, test_method_nam in HWTEST_F()
223 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
238 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
253 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
268 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
283 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
298 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
313 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
327 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
342 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
357 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
372 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
387 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
402 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
417 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
433 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
470 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
485 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
500 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
515 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
531 std::string file = GRAPH_TEST_ABC_DIR "constantProgagation.abc"; HWTEST_F() local
[all...]
/arkcompiler/runtime_core/static_core/cross_values/
H A Dcross_values_getters_generator.rb4 # you may not use this file except in compliance with the License.
20 // Autogenerated file -- DO NOT EDIT!
38 File.open(output_file, "w") do |file|
39 file.puts $header
40 file.puts "namespace ark::cross_values {"
43 file.puts %<
49 file.puts " case Arch::#{File.basename(values_h, "_values_gen.h")}:\n"
50 file.puts " return cross_values::#{File.basename(values_h, "_values_gen.h")}::#{define[0]}_VAL;\n"
52 file.puts " default:\n"
53 file
[all...]
/arkcompiler/runtime_core/libpandabase/tests/
H A Dunix_file_test.cpp4 * you may not use this file except in compliance with the License.
21 #include "libpandabase/os/file.h"
28 os::file::File file1 = os::file::Open("./test_openfile.txt", os::file::Mode::READONLY); in HWTEST()
31 os::file::File file2 = os::file::Open("./test_openfile.txt", os::file::Mode::READWRITE); in HWTEST()
34 os::file::File file3 = os::file in HWTEST()
[all...]
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/
H A DHiAppEventCPPTest.cpp4 * you may not use this file except in compliance with the License.
77 std::vector<std::string> file; in HWTEST_F() local
78 file = getfileinpath(logPath); in HWTEST_F()
79 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F()
87 std::cout << "DFX_DFT_HiviewKit_HiAppEvent_Native_0100 file error" << std::endl; in HWTEST_F()
113 std::vector<std::string> file; in HWTEST_F() local
114 file = getfileinpath(logPath); in HWTEST_F()
115 getlogFile = accumulate(file.begin(), file in HWTEST_F()
148 std::vector<std::string> file; HWTEST_F() local
183 std::vector<std::string> file; HWTEST_F() local
220 std::vector<std::string> file; HWTEST_F() local
255 std::vector<std::string> file; HWTEST_F() local
290 std::vector<std::string> file; HWTEST_F() local
325 std::vector<std::string> file; HWTEST_F() local
360 std::vector<std::string> file; HWTEST_F() local
395 std::vector<std::string> file; HWTEST_F() local
430 std::vector<std::string> file; HWTEST_F() local
465 std::vector<std::string> file; HWTEST_F() local
500 std::vector<std::string> file; HWTEST_F() local
535 std::vector<std::string> file; HWTEST_F() local
570 std::vector<std::string> file; HWTEST_F() local
605 std::vector<std::string> file; HWTEST_F() local
640 std::vector<std::string> file; HWTEST_F() local
682 std::vector<std::string> file; HWTEST_F() local
720 std::vector<std::string> file; HWTEST_F() local
821 std::vector<std::string> file; HWTEST_F() local
856 std::vector<std::string> file; HWTEST_F() local
891 std::vector<std::string> file; HWTEST_F() local
926 std::vector<std::string> file; HWTEST_F() local
966 std::vector<std::string> file; HWTEST_F() local
1001 std::vector<std::string> file; HWTEST_F() local
1044 std::vector<std::string> file; HWTEST_F() local
1086 std::vector<std::string> file; HWTEST_F() local
1139 std::vector<std::string> file; HWTEST_F() local
1188 std::vector<std::string> file; HWTEST_F() local
1221 std::vector<std::string> file; HWTEST_F() local
[all...]
/arkcompiler/ets_frontend/testTs/
H A Drun_testTs.py7 you may not use this file except in compliance with the License.
42 parser.add_argument('--file', metavar='FILE', help="File to test")
64 f'This file is outside the scope of validation : {filepath}\n')
70 print(f'Error : {filepath}.The file is empty')
73 def run_test(file, tool, flag=False):
74 path_list = file.split(os.sep)
76 file = "." + os.sep + file
77 out_file_path = file.replace(TEST_PATH, OUT_PATH).replace(TS_EXT, TXT_EXT)
78 temp_out_file_path = file
[all...]
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/entry/src/ohosTest/js/test/
H A DKvStoreBackupCallbackJsTest.js4 * you may not use this file except in compliance with the License.
105 function publicBackup(kvStore,file){
106 console.log(`Test backup ${JSON.stringify(file)}`)
108 kvStore.backup(file, function(err, data){
144 function publicRestoreSp(kvStore,file){
145 console.log(`Test restoresp ${JSON.stringify(file)}`)
147 kvStore.restore(file, function(err, data){
184 let file = '';
185 let files =new Array(file);
255 file
[all...]
H A DKvStoreBackupPromiseJsTest.js4 * you may not use this file except in compliance with the License.
102 function publicBackup(kvStore,file){
103 console.log(`Test backup ${JSON.stringify(file)}`)
105 kvStore.backup(file).then((data) => {
137 function publicRestoreSp(kvStore,file){
138 console.log(`Test restoresp ${JSON.stringify(file)}`)
140 kvStore.restore(file).then((data) => {
176 let file = '';
177 let files =new Array(file);
244 file
[all...]
/arkcompiler/runtime_core/static_core/scripts/cmake-checker/
H A Dcmake_checker.py5 # you may not use this file except in compliance with the License.
72 for file in files:
73 if file == "CMakeLists.txt" or file.endswith(".cmake") and os.path.join(root, file) not in ignore_files:
74 cmake_files.append(os.path.join(root, file))
77 # Grep for function in each cmake file
78 for file in cmake_files:
79 with open(file, 'r') as f:
89 os.path.relpath(file, director
[all...]
/test/xts/acts/bundlemanager/zlib/actszlibndktest/entry/src/main/cpp/
H A Dzlibndk.cpp4 * you may not use this file except in compliance with the License.
1077 gzFile file; in GzWrite() local
1078 file = gzopen(TESTFILE, "wb"); in GzWrite()
1079 NAPI_ASSERT(env, file != nullptr, "gzopen error"); in GzWrite()
1080 int err = gzwrite(file, HELLO, len); in GzWrite()
1082 gzclose(file); in GzWrite()
1086 static int TestGzPrintf(gzFile file, const char *format, ...) in TestGzPrintf() argument
1092 ret = gzvprintf(file, format, va); in TestGzPrintf()
1100 gzFile file; in GzvPrintf() local
1101 file in GzvPrintf()
1113 gzFile file; GzUnGetC() local
1125 gzFile file; GzTell64() local
1147 gzFile file; GzTell() local
1161 gzFile file; GzSetParams() local
1175 gzFile file; GzSeek64() local
1192 gzFile file; GzSeek() local
1206 gzFile file; GzRewind() local
1220 gzFile file; GzRead() local
1236 gzFile file; GzPuts() local
1249 gzFile file; GzPutc() local
1262 gzFile file; GzPrintf() local
1274 gzFile file = nullptr; GzOpenW() local
1286 gzFile file; GzOpen() local
1298 gzFile file = nullptr; GzOpen64() local
1311 gzFile file; GzOffset64() local
1326 gzFile file; GzGets() local
1345 gzFile file; GzGetC_() local
1359 gzFile file; GzGetC() local
1374 gzFile file; GzFWrite() local
1389 gzFile file; GzFRead() local
1402 gzFile file; GzFlush() local
1422 gzFile file; GzError() local
1436 gzFile file; GzEof() local
1452 gzFile file = gzdopen(fd, "r"); GzDOpen() local
1463 gzFile file; GzDirect() local
1476 gzFile file; GzCloseW() local
1491 gzFile file; GzCloseR() local
1504 gzFile file; GzClearErr() local
1521 gzFile file; GzClose() local
1534 gzFile file; GzBuffer() local
[all...]
/arkcompiler/runtime_core/scripts/
H A Dgc_pause_stats.py5 # you may not use this file except in compliance with the License.
50 """Save md table in the file"""
51 with open(file_name, 'a') as file:
52 file.write(f"GC logs: {gc_log_path}\n\n")
53 file.write("| Parameter |")
56 file.write(f" {gc_type} |")
57 file.write("\n|:----|")
59 file.write(":---:|")
61 file.write(f"\n| {stat_type} |")
63 file
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dstdioextndk.cpp4 * you may not use this file except in compliance with the License.
54 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Flbf() local
55 NAPI_ASSERT(env, file != nullptr, "Flbf fopen Error"); in Flbf()
56 __flbf(file); in Flbf()
62 fclose(file); in Flbf()
71 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Fwriting() local
72 NAPI_ASSERT(env, file != nullptr, "Fwriting fopen Error"); in Fwriting()
73 int returnValue = __fwriting(file); in Fwriting()
79 fclose(file); in Fwriting()
88 FILE *file in Fpending() local
105 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); FBufSize() local
122 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); Fpurge() local
139 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); Freadable() local
156 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); Freading() local
187 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); Fwritable() local
205 FILE *file = fopen(path, mode); DPrintf() local
[all...]
/arkcompiler/ets_runtime/ecmascript/ohos/tests/
H A Dohos_test.cpp4 * you may not use this file except in compliance with the License.
28 #include "ecmascript/platform/file.h"
104 std::ofstream file(enableListName); in HWTEST_F_L0()
105 file << bundleScope << std::endl; in HWTEST_F_L0()
106 file << bundleScope1 << ":aot" << std::endl; in HWTEST_F_L0()
107 file << bundleScope2 << ":jit" << std::endl; in HWTEST_F_L0()
109 file.close(); in HWTEST_F_L0()
136 std::ofstream file(runtimeAp); in HWTEST_F_L0()
137 file.close(); in HWTEST_F_L0()
182 std::ofstream file(baselineA in HWTEST_F_L0()
[all...]
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dfile.cpp4 * you may not use this file except in compliance with the License.
17 #include "file-inl.h"
18 #include "os/file.h"
50 // Name anonymous maps for perfing tools finding symbol file correctly.
54 os::file::Mode GetMode(panda_file::File::OpenMode openMode) in GetMode()
58 return os::file::Mode::READONLY; in GetMode()
62 return os::file::Mode::READWRITE; in GetMode()
64 return os::file::Mode::READONLY; in GetMode()
68 return os::file::Mode::WRITEONLY; in GetMode()
142 LOG(ERROR, PANDAFILE) << "Panda file ha in OpenPandaFileFromZipFile()
178 std::unique_ptr<const panda_file::File> file; HandleArchive() local
237 auto file = HandleArchive(zipfile, fp, location, entry, archiveFilename, openMode); OpenZipPandaFile() local
267 std::unique_ptr<const panda_file::File> file; OpenPandaFile() local
322 ClassIdxIterator(const File &file, const Span<const uint32_t> &span, size_t idx) ClassIdxIterator() argument
391 Begin(const File &file, const Span<const uint32_t> &span) Begin() argument
396 End(const File &file, const Span<const uint32_t> &span) End() argument
466 os::file::File file = os::file::Open(filename, mode); Open() local
504 auto file = os::file::File(fd); OpenUncompressedArchive() local
[all...]
/arkcompiler/runtime_core/static_core/runtime/
H A Drelayout_profiler.cpp4 * you may not use this file except in compliance with the License.
29 for (auto &file : relayoutItems_) { in WriteProfileData()
30 auto pos = file.first.find_last_of('/') + 1; in WriteProfileData()
31 PandaString fileName = file.first.substr(pos, file.first.length() - pos); in WriteProfileData()
34 ark::os::unix::file::File profileFile = in WriteProfileData()
35 ark::os::file::Open(profileFileName, ark::os::file::Mode::READWRITECREATE); in WriteProfileData()
37 LOG(ERROR, RUNTIME) << "Cannot open the profile file " << profileFileName; in WriteProfileData()
40 ark::os::file in WriteProfileData()
[all...]
/arkcompiler/runtime_core/static_core/irtoc/lang/
H A Doutput.rb5 # you may not use this file except in compliance with the License.
20 @@file = nil
23 def self.setup(file = nil)
24 @@file = file.nil? ? $stdout : File.open(file, 'w')
28 @@file.write line
32 @@file.write @@indent_str
33 @@file.puts line
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/
H A Dspec.rb4 # you may not use this file except in compliance with the License.
48 @orphaned << { 'file' => f, 'error' => e, 'comment' => e.backtrace }
185 def process_test_file(testdir, file)
186 raw = read_test_data(File.join(testdir, file))
190 @orphaned << { 'file' => file, 'error' => 'Bad test format, expected array of titles', 'comment' => raw }
195 process_test_data(tg, file)
210 def process_test_data(test_group, file)
213 @orphaned << { 'file' => file, 'erro
[all...]
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/
H A Dspec.rb4 # you may not use this file except in compliance with the License.
48 @orphaned << { 'file' => f, 'error' => e, 'comment' => e.backtrace }
185 def process_test_file(testdir, file)
186 raw = read_test_data(File.join(testdir, file))
190 @orphaned << { 'file' => file, 'error' => 'Bad test format, expected array of titles', 'comment' => raw }
195 process_test_data(tg, file)
210 def process_test_data(test_group, file)
213 @orphaned << { 'file' => file, 'erro
[all...]
/arkcompiler/runtime_core/static_core/verification/config/
H A Dconfig_load.cpp4 * you may not use this file except in compliance with the License.
32 #include "libpandabase/os/file.h"
62 using ark::os::file::Mode; in LoadConfig()
63 using ark::os::file::Open; in LoadConfig()
71 auto file = Open(filename, Mode::READONLY); in LoadConfig() local
72 if (!file.IsValid()) { in LoadConfig()
75 auto size = file.GetFileSize(); in LoadConfig()
77 file.Close(); in LoadConfig()
82 if (!file.ReadAll(text, *size)) { in LoadConfig()
83 file in LoadConfig()
[all...]

Completed in 16 milliseconds

12345678910>>...108