/developtools/ace-js2bundle/ |
D | build_ace_loader_library.py | 16 import os 21 standard_system_build_dir = os.path.join(os.path.dirname(__file__), os.pardir, 22 os.pardir, 'build', 'scripts', 'util') 23 build_dir = os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, 24 os.pardir, os.pardir, os.pardir, 'build', 'maple', 'java', 'util') 25 if os.path.exists(standard_system_build_dir): 27 os.path.join(standard_system_build_dir, os.pardir, os.pardir)) 29 if os.path.exists(build_dir): 30 sys.path.append(os.path.join(build_dir, os.pardir, os.pardir, os.pardir))
|
/developtools/ace-ets2bundle/ |
D | build_ets_loader_library.py | 16 import os 21 standard_system_build_dir = os.path.join(os.path.dirname(__file__), os.pardir, 22 os.pardir, 'build', 'scripts', 'util') 23 build_dir = os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, 24 os.pardir, os.pardir, os.pardir, 'build', 'maple', 'java', 'util') 25 if os.path.exists(standard_system_build_dir): 27 os.path.join(standard_system_build_dir, os.pardir, os.pardir)) 29 if os.path.exists(build_dir): 30 sys.path.append(os.path.join(build_dir, os.pardir, os.pardir, os.pardir))
|
D | generateSysResource.py | 17 import os 27 with open(os.path.join(json_file), 'r') as fp:
|
/developtools/hiperf/script/ |
D | recv_binary_cache.py | 17 import os 27 ABS_PATH = os.path.split(os.path.realpath(__file__))[0] 34 self.local_cache_dir = os.path.join(ABS_PATH, 'binary_cache') 35 if not os.path.isdir(self.local_cache_dir): 36 os.makedirs(self.local_cache_dir) 79 for root, _, files in os.walk(lib_dir): 97 build_id = get_build_id(os.path.join(root, filename)) 105 os.path.join(root, filename), bin_file) 112 target_file = target_file.replace('/', os.sep) 113 target_file = os.path.join(self.local_cache_dir, target_file) [all …]
|
D | hiperf_utils.py | 20 import os 40 script_dir = os.path.dirname(os.path.realpath(__file__)) 43 lib_path = os.path.join(script_dir, "bin", system_type, 46 lib_path = os.path.join(script_dir, "bin", system_type, 49 lib_path = os.path.join(script_dir, "bin", system_type, 54 if not os.path.exists(lib_path): 61 if os.path.isfile(files): 62 os.remove(files) 63 elif os.path.isdir(files): 68 if os.path.isfile(path): [all …]
|
D | make_report.py | 16 import os 42 dirname, _ = os.path.split(os.path.abspath(sys.argv[0])) 43 abs_path = os.path.join(dirname, report_file) 45 os.remove('json.txt')
|
D | make_diff.py | 16 import os 56 dirname, _ = os.path.split(os.path.abspath(sys.argv[0])) 57 abs_path = os.path.join(dirname, report_file) 59 os.remove("json_base.txt") 60 os.remove("json_target.txt")
|
D | make_report_sample.py | 16 import os 32 dirname, _ = os.path.split(os.path.abspath(sys.argv[0])) 33 abs_path = os.path.join(dirname, 'report.txt')
|
D | command_script.py | 16 import os
|
D | loadlib_test.py | 17 import os.path
|
/developtools/profiler/host/smartperf/trace_streamer/gn/ |
D | .emscripten | 15 import os 18 thisFile = os.getenv('EM_CONFIG') 23 rootDir = os.path.dirname(os.path.dirname(thisFile)) 24 emsdkPath = os.path.join(rootDir, 'prebuilts/emsdk/emsdk') 25 nodePath = os.path.join(rootDir, 'prebuilts/emsdk/node/14.18.2_64bit') 27 LLVM_ROOT = os.path.join(emsdkPath, 'bin') 28 NODE_JS = os.path.join(nodePath, 'bin/node') 29 EMSCRIPTEN_ROOT = os.path.join(emsdkPath, 'emscripten')
|
/developtools/global_resource_tool/test/ |
D | test.py | 16 import os 23 run_cmd = run_cmd + " -i " + os.path.join(".") 25 run_cmd = run_cmd + " -r " + os.path.join(output_path, "ResourceTable.h") 27 os.system(run_cmd)
|
/developtools/profiler/device/plugins/ftrace_plugin/tools/ |
D | ftrace_cpp_generator.py | 15 import os 24 THIS_FILE = os.path.basename(__file__) 87 file_dir = os.path.dirname(file_path) 88 if not os.path.exists(file_dir): 89 os.mkdir(file_dir) 98 return os.path.join(self.output_dir, file_name) 127 generated_cpp_gni = os.path.join(self.output_dir, AUTO_GENERATED_GNI) 134 src = '{}'.format(os.path.basename(path)) 183 return os.path.join(self.output_dir, file_name) 209 generated_cpp_gni = os.path.join(self.output_dir, AUTO_GENERATED_GNI) [all …]
|
D | ftrace_proto_generator.py | 15 import os 24 THIS_FILE = os.path.basename(__file__) 110 proto_path = os.path.join(self.output_dir, proto_name) 135 bundle_proto_path = os.path.join(self.output_dir, FTRACE_BUNDLE_PROTO) 141 protos_gni_path = os.path.join(self.output_dir, AUTO_GENERATED_GNI) 147 f.write(' "{}",\n'.format(os.path.basename(proto_path)))
|
D | ftrace_format_parser.py | 15 import os 19 THIS_FILE = os.path.basename(__file__) 30 for entry in os.listdir(current): 33 path = os.path.join(current, entry) 34 if os.path.isfile(path): 36 if os.path.isdir(path): 263 is_format = lambda p: os.path.basename(p) == 'format' 267 parts = path.split(os.path.sep) 296 os.abort()
|
/developtools/hapsigner/tools/ |
D | auto_test.py | 18 import os.path 415 if not os.path.exists(test_dir): 416 os.mkdir(test_dir) 419 target_file = os.path.join(test_dir, key_file) 420 if os.path.exists(target_file): 421 os.remove(target_file) 422 if os.path.exists(key_file): 423 os.remove(key_file) 436 if not os.path.exists(jar_file): 458 if os.path.exists('log.txt'): [all …]
|
/developtools/profiler/host/smartperf/ide/server/ |
D | main.go | 53 _, err := os.Stat(path) 55 if os.IsExist(err) { 86 certOut, _ := os.Create("cert/certFile.pem") 89 keyOut, _ := os.Create("cert/keyFile.key") 144 dst, err := os.OpenFile(exPath+path, os.O_WRONLY|os.O_CREATE, 0666) 185 file, err := os.Open(path) 200 _, err := os.Stat(path) 204 if os.IsNotExist(err) { 211 _, err := os.Stat(path) 213 err := os.Mkdir(path, os.ModePerm) [all …]
|
/developtools/hapsigner/autosign/ |
D | autosign.py | 18 import os 88 if not os.path.exists(dir_name): 89 os.mkdir(dir_name) 102 …if required_key.endswith('File') and required_key != 'inFile' and os.path.basename(param) == param: 103 param = os.path.join(tar_dir, param) 246 if not os.path.exists(read_jar_file): 256 app_cert_file = os.path.join(tar_dir, app_cert_file) 257 if not os.path.exists(profile_file): 260 if not os.path.exists(app_cert_file):
|
/developtools/hiperf/script/test/ |
D | test_utils.py | 16 import os 49 os.mkdir('remove_test') 51 result = True if not os.path.exists('remove_test') else False
|
D | test_command_script.py | 16 import os 69 if os.path.exists('perf.data'):
|
/developtools/ace-js2bundle/ace-loader/src/lite/ |
D | lite-customize.js | 18 const os = require('os'); constant 25 const rulePath = path.resolve(os.userInfo().homedir, '.literc.js');
|
/developtools/profiler/host/smartperf/ide/ |
D | build.js | 4 const os = require("os"); constant 78 if (os.type() === "Windows_NT") { 80 } else if (os.type() == "Darwin"){
|
/developtools/ace-ets2bundle/compiler/src/ |
D | utils.ts | 19 import os from 'os'; 261 return os.type() === WINDOWS; 265 return os.type() === LINUX; 269 return os.type() === MAC;
|
/developtools/ace-js2bundle/ace-loader/src/ |
D | genAbc-plugin.js | 20 const os = require('os'); constant 292 return os.type() === WINDOWS; 296 return os.type() === LINUX; 300 return os.type() === MAC;
|
/developtools/bytrace_standard/script/ |
D | bytrace_multi.py | 18 import os 66 elif not os.path.exists(sys.argv[i]):
|