/test/xts/acts/kernel_lite/utils/ |
D | libfs.cpp | 28 int MakeDir(const char *dirname) in MakeDir() argument 30 if (access(dirname, F_OK) == 0) { in MakeDir() 31 LOG("dir:%s exists", dirname); in MakeDir() 34 int rt = mkdir(dirname, S_IRUSR | S_IWUSR | S_IXUSR | S_IRWXG | S_IXOTH); in MakeDir() 36 LOG("create dir failed! path=%s, errno=%d:%s", dirname, errno, strerror(errno)); in MakeDir() 43 int RemoveDir(const char *dirname) in RemoveDir() argument 48 if (stat(dirname, &dirStat) < 0) { in RemoveDir() 54 DIR *pDir = opendir(dirname); in RemoveDir() 62 sprintf(subDir, "%s/%s", dirname, fname); in RemoveDir() 66 if (rmdir(dirname) == -1) { // delete empty dir in RemoveDir() [all …]
|
D | libfs.h | 26 int MakeDir(const char *dirname); 34 int RemoveDir(const char *dirname);
|
/test/xts/hats/kernel/posix_interface/interface_gn/utils/ |
D | libfs.cpp | 28 int MakeDir(const char *dirname) in MakeDir() argument 30 if (access(dirname, F_OK) == 0) { in MakeDir() 31 LOG("dir:%s exists", dirname); in MakeDir() 34 int rt = mkdir(dirname, S_IRUSR | S_IWUSR | S_IXUSR | S_IRWXG | S_IXOTH); in MakeDir() 36 LOG("create dir failed! path=%s, errno=%d:%s", dirname, errno, strerror(errno)); in MakeDir() 43 int RemoveDir(const char *dirname) in RemoveDir() argument 48 if (stat(dirname, &dirStat) < 0) { in RemoveDir() 54 DIR *pDir = opendir(dirname); in RemoveDir() 62 size_t rt = sprintf_s(subDir, sizeof(subDir), "%s/%s", dirname, fname.c_str()); in RemoveDir() 64 LOG("output failed, dirname=%s, errno=%d:%s", dirname, errno, strerror(errno)); in RemoveDir() [all …]
|
D | libfs.h | 26 int MakeDir(const char *dirname); 34 int RemoveDir(const char *dirname);
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
D | __init__.py | 23 os.path.dirname(os.path.dirname(os.path.dirname(__file__))))) 24 sys.path.insert(1, os.path.join(os.path.dirname( 25 os.path.dirname(os.path.dirname(os.path.dirname(__file__))))))
|
/test/xts/tools/lite/ |
D | build.sh | 17 BASE_HOME=$(dirname $(dirname $(dirname $(dirname $(cd $(dirname $0); pwd)))))
|
D | runtest.sh | 17 BASE_HOME=$(dirname $(dirname $(cd $(dirname $0); pwd)))
|
D | buildFun.sh | 98 …cp -f $(dirname $suite_root_dir_common)/bin/hihope_neptune100.fls ${suite_root_dir_common}/acts/te… 102 …cp -f $(dirname $suite_root_dir_common)/build/all_2M.1220.bin ${suite_root_dir_common}/acts/testca… 104 …cp -f $(dirname $suite_root_dir_common)/bin/xts_demo.bin ${suite_root_dir_common}/acts/testcases/$… 106 …cp -f $(dirname $suite_root_dir_common)/OHOS_Image.bin ${suite_root_dir_common}/acts/testcases/${P…
|
/test/testfwk/developer_test/src/core/build/ |
D | build_lite_testcases.sh | 21 BASE_HOME=$(dirname $(dirname $(dirname $(dirname $(dirname $(cd $(dirname $0); pwd))))))
|
/test/testfwk/developer_test/src/main/ |
D | _init_global_config.py | 27 sys.framework_src_dir = os.path.abspath(os.path.dirname( 28 os.path.dirname(__file__))) 35 sys.framework_root_dir = os.path.abspath(os.path.dirname( 36 os.path.dirname(os.path.dirname(__file__))))
|
/test/testfwk/xdevice/src/xdevice/ |
D | variables.py | 27 SRC_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) 28 MODULES_DIR = os.path.abspath(os.path.dirname(__file__)) 30 os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
|
D | __main__.py | 25 srcpath = os.path.dirname(os.path.dirname(__file__))
|
/test/testfwk/developer_test/libs/fuzzlib/ |
D | fuzzer_helper.py | 45 CURRENT_DIR = os.path.dirname(os.path.realpath(__file__)) 46 SOURCE_ROOT_DIR = os.path.dirname( 47 os.path.dirname( 48 os.path.dirname(os.path.dirname(CURRENT_DIR)) 203 if not os.path.exists(os.path.dirname(subsystem_src_flag_file_path)): 204 os.makedirs(os.path.dirname(subsystem_src_flag_file_path))
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
D | source.py | 157 os.path.join(os.path.dirname(info_file), module_name) 307 os.path.join(os.path.dirname(file_path), filename)) 341 os.path.join(os.path.dirname(test_source), filename), ext, config) 351 os.path.join(os.path.dirname(test_source), filename), 424 dirname = os.path.dirname(filename) 425 while dirname and depth < MAX_DIR_DEPTH: 426 for item in os.listdir(dirname): 427 item_path = os.path.join(dirname, item) 432 dirname = os.path.dirname(dirname) 486 save_file = os.path.join(os.path.dirname(filename),
|
/test/testfwk/developer_test/libs/benchmark/report/ |
D | generate_report.py | 243 os.path.dirname(__file__), 245 if not os.path.exists(os.path.dirname(tmpl_file_path)): 251 if not os.path.exists(os.path.dirname(out_report_file_path)): 252 os.makedirs(os.path.dirname(out_report_file_path)) 302 os.path.join(os.path.dirname(__file__), 304 if not os.path.exists(os.path.dirname(report_tmpl_file_path)): 317 if not os.path.exists(os.path.dirname(out_report_file_path)): 318 os.makedirs(os.path.dirname(out_report_file_path))
|
/test/testfwk/developer_test/aw/python/distributed/distribute/ |
D | distribute.py | 31 sys.framework_src_dir = os.path.abspath(os.path.dirname( 32 os.path.dirname(__file__))) 34 sys.framework_root_dir = os.path.abspath(os.path.dirname( 35 os.path.dirname(os.path.dirname(os.path.dirname( 36 os.path.dirname(__file__))))))
|
/test/xts/acts/ |
D | ci_build.sh | 20 XTS_HOME=$(dirname $(cd $(dirname $0); pwd))
|
D | build.sh | 36 BASE_HOME=$(dirname $(cd $(dirname $0); pwd))
|
/test/testfwk/developer_test/ |
D | install.sh | 26 testdir=$(cd $(dirname $0);pwd)
|
D | start.sh | 22 BASE_HOME=$(cd $(dirname $0);pwd)
|
/test/testfwk/developer_test/localCoverage/codeCoverage/ |
D | llvm-gcov.sh | 18 current_path=$(cd $(dirname $0);pwd)
|
/test/xts/hats/ |
D | build.sh | 36 BASE_HOME=$(dirname $(cd $(dirname $0); pwd))
|
/test/xts/dcts/ |
D | build.sh | 37 BASE_HOME=$(dirname $(cd $(dirname $0); pwd))
|
/test/xts/tools/sample/AppSampleF/ |
D | hvigorw | 28 HVIGOR_APP_HOME=$(dirname $(readlink -f $0))
|
/test/testfwk/xdevice/src/xdevice/_core/ |
D | common.py | 43 source_code_rootpath = os.path.dirname(source_code_rootpath)
|