Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 499) sorted by relevance

12345678910>>...20

/developtools/packing_tool/adapter/ohos/
DREADME36 If "maple-so-path" is valid, "maple-so-dir" will not be used.
37 The input method of "maple-so-path" will be discarded later.
42 java -jar hmos_app_packing_tool.jar --mode <option> --json-path <option> --maple-so-path [option]
43 --profile-path [option] --maple-so-dir [option] --dex-path [option] --lib-path [option] --assets-pa…
44 --resources-path [option] --shell-apk-path [option] --index-path [option] --out-path <option> --for…
48 --json-path not null config.json path.
49 --profile-path CAPABILITY.profile path.
50 --maple-so-path maple-so/ path.
51 --maple-so-dir maple so path must end with .so, if has more than one so,
53 --dex-path 1.dex path must end with .dex, if has more than one dex,
[all …]
/developtools/profiler/host/smartperf/ide/src/
Dicon.svg3path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H…
4path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 8…
7path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 8…
8path d="M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.…
11path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 8…
12path d="M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2 0.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4…
15path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 8…
16path d="M710.4 295.9c-8-3.1-16.7-2.9-24.5 0.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8…
17 …<path d="M464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z"></path>
20path d="M685.4 354.8c0-4.4-3.6-8-8-8l-66 0.3L512 465.6l-99.3-118.4-66.1-0.3c-4.4 0-8 3.5-8 8 0 1.9…
[all …]
/developtools/smartperf_host/ide/src/
Dicon.svg3path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H…
4path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 8…
7path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 8…
8path d="M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.…
11path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 8…
12path d="M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2 0.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4…
15path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m0 8…
16path d="M710.4 295.9c-8-3.1-16.7-2.9-24.5 0.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8…
17 …<path d="M464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z"></path>
20path d="M685.4 354.8c0-4.4-3.6-8-8-8l-66 0.3L512 465.6l-99.3-118.4-66.1-0.3c-4.4 0-8 3.5-8 8 0 1.9…
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dfile_utils.cpp49 std::string FileUtils::ReadFile(const std::string& path) in ReadFile() argument
52 CHECK_TRUE((path.length() < PATH_MAX) && (realpath(path.c_str(), realPath) != nullptr), "", in ReadFile()
53 "%s:path is invalid: %s, errno=%d", __func__, path.c_str(), errno); in ReadFile()
59 HILOG_WARN(LOG_CORE, "open file %s FAILED: %s!", path.c_str(), buf); in ReadFile()
63 CHECK_TRUE(close(fd) != -1, content, "close %s failed, %d", path.c_str(), errno); in ReadFile()
67 int FileUtils::WriteFile(const std::string& path, const std::string& content) in WriteFile() argument
69 return WriteFile(path, content, O_WRONLY); in WriteFile()
72 int FileUtils::WriteFile(const std::string& path, const std::string& content, int flags) in WriteFile() argument
74 return WriteFile(path, content, flags, 0); in WriteFile()
77 int FileUtils::WriteFile(const std::string& path, const std::string& content, int flags, int mode) in WriteFile() argument
[all …]
Dftrace_fs_ops.cpp47 auto path = *iter + "/events"; in GetFtraceRoot() local
49 lstat(path.c_str(), &s); in GetFtraceRoot()
92 std::string path = ftraceRoot_ + "/saved_cmdlines_size"; in SetSavedCmdLinesSize() local
93 return FileUtils::WriteFile(path, std::to_string(static_cast<int>(size))) > 0; in SetSavedCmdLinesSize()
108 std::string path = "/proc/" + std::to_string(pid) + "/comm"; in GetProcessComm() local
109 if (access(path.c_str(), R_OK) != 0) { in GetProcessComm()
112 return FileUtils::ReadFile(path); in GetProcessComm()
117 std::string path = "/proc/" + std::to_string(pid) + "/task/" + std::to_string(tid) + "/comm"; in GetThreadComm() local
118 if (access(path.c_str(), R_OK) != 0) { in GetThreadComm()
121 return FileUtils::ReadFile(path); in GetThreadComm()
[all …]
/developtools/integration_verification/DeployDevice/src/aw/Download/
DDownload.py33 current_path = os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
34 BitCometjar = os.path.join(current_path, "Resource", "thirdtools", "TTorrentFull.jar")
62 version_path, destdir = os.path.split(download_dir)
64 exist_log = os.path.join(version_path, destdir + "_exist.log")
68 if os.path.isfile(exist_log):
85 download_torrent = os.path.join(version_path, destdir + ".torrent")
88 if os.path.isfile(download_torrent):
99 if os.path.isfile(Aria2cbin):
110 if len(ld) == 32 and os.path.isdir(os.path.join(version_path, ld)):
111 copyDirectory(os.path.join(version_path, ld), download_dir, os_method)
[all …]
DDownloadold.py33 current_path = os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
34 BitCometjar = os.path.join(current_path, "Resource", "thirdtools", "TTorrentFull.jar")
62 version_path, destdir = os.path.split(download_dir)
64 exist_log = os.path.join(version_path, destdir + "_exist.log")
68 if os.path.isfile(exist_log):
85 download_torrent = os.path.join(version_path, destdir + ".torrent")
88 if os.path.isfile(download_torrent):
99 if os.path.isfile(Aria2cbin):
110 if len(ld) == 32 and os.path.isdir(os.path.join(version_path, ld)):
111 copyDirectory(os.path.join(version_path, ld), download_dir, os_method)
[all …]
/developtools/global_resource_tool/src/
Dfile_entry.cpp39 FileEntry::FileEntry(const string &path) in FileEntry() argument
40 : filePath_(path), isFile_(false) in FileEntry()
113 bool FileEntry::Exist(const string &path) in Exist() argument
116 return PathFileExists(AdaptLongPath(path).c_str()); in Exist()
119 if (stat(path.c_str(), &s) != 0) { in Exist()
126 bool FileEntry::RemoveAllDir(const string &path) in RemoveAllDir() argument
128 FileEntry f(path); in RemoveAllDir()
134 cerr << "Error: RemoveAllDir '" << path << "' not directory." << endl; in RemoveAllDir()
140 bool FileEntry::CreateDirs(const string &path) in CreateDirs() argument
142 return CreateDirsInner(path, 0); in CreateDirs()
[all …]
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/
Delf_file_mgr.py171 def __get_library_order(self, path): argument
172 if not path.startswith("/"):
173 path = "/" + path
174 if path.find("/lib64/") > 0:
179 if path.rfind("/") < 0:
182 path = path[:path.rfind("/")]
186 if p == path:
217 def get_elf_by_path(self, path): argument
218 if path not in self._path_dict and path.find("/lib64/") > 0:
219 path = path.replace("/lib64/", "/lib/")
[all …]
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dcontent.js35 enter(path) { argument
36 if (path.parent && path.node.type === "Identifier") {
38 if (['ConditionalExpression', 'BinaryExpression'].includes(path.parent.type) ||
39 path.parent.type === 'CallExpression' && path.parent.callee === path.node) {
42 …else if (path.parent.type === "ObjectProperty" && !path.parent.computed && path.parent.value === p…
46 flag = addPrefix(path.node, path.parent)
48 if (flag && !keyWordsReg.test(path.node.name)) {
49 path.node.name = 'this.' + path.node.name
/developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/
Dread_acl_whitelist.py17 sys.path.append(os.path.dirname(os.path.realpath(__file__)) + os.sep)
24 def read_json(path): argument
25 set_log_content(LogLevel(2).name, log_tag, 'read {}'.format(path))
26 if not os.path.exists(path):
27 set_log_content(LogLevel(2).name, log_tag, '{} file not exits'.format(path))
28 raise AclCheckException('{} file not exits'.format(path))
30 with open(path, 'r') as f:
35 raise AclCheckException('{} failed to read the file.'.format(path))
Dresolve_token_info.py17 sys.path.append(os.path.dirname(os.path.realpath(__file__)) + os.sep)
54 def clear_token_info_txt(path): argument
56 os.remove(path)
61 def read_txt(path): argument
62 set_log_content(LogLevel(2).name, log_tag, 'read {}'.format(path))
63 if not os.path.exists(path):
64 set_log_content(LogLevel(2).name, log_tag, '{} file not exits'.format(path))
65 raise AclCheckException('{} file not exits!'.format(path))
67 with open(path, 'r') as f:
72 raise AclCheckException('{} failed to read the file.'.format(path))
/developtools/packing_tool/
DREADME_zh.md21 …ode hap --json-path <option> --resources-path <option> --ets-path <option> --index-path <option> -…
28path <option> --maple-so-path [option] --profile-path [option] --maple-so-dir [option] --dex-path
36 | --json-path | 是 | NA | .json文件路径,FA模型文件名必须为config.json;stage模型文件名必须为mo…
37 | --profile-path | 否 | NA | CAPABILITY.profile文件路径。 …
38 | --maple-so-path | 否 | NA | maple so文件输入路径,so文件路径,文件名必须以.so为后缀。如果是多个so需要用“,…
40 | --dex-path | 否 | NA | 1.dex文件路径,文件名必须以.dex为后缀。如果是多个dex需要用“,”分隔。2.dex文…
41 | --lib-path | 否 | NA | lib库文件路径。 …
42 | --resources-path | 否 | NA | resources资源包路径。 …
43 | --index-path | 否 | NA | .index文件路径,文件名必须为resources.index。 …
44 | --pack-info-path | 否 | NA | pack.info文件路径,文件名必须为pack.info。 …
[all …]
/developtools/profiler/device/services/profiler_service/test/unittest/
Dtrace_file_reader_test.cpp40 std::string path = "trace.bin"; member in __anon7246512b0111::TraceFileReaderTest
46 std::string path = DEFAULT_TEST_PATH + name; in TearDownTestCase() local
48 if (access(path.c_str(), F_OK) == 0) { in TearDownTestCase()
49 system(std::string("rm " + path).c_str()); in TearDownTestCase()
65 std::string path = "trace-write-msg.bin"; variable
66 auto writer = std::make_shared<TraceFileWriter>(path);
77 HILOG_INFO(LOG_CORE, "[%d/%d] write %ld bytes to %s.", i, n, bytes, path.c_str());
83 ASSERT_TRUE(reader->Open(path));
89 HILOG_INFO(LOG_CORE, "read %ld bytes from %s", bytes, path.c_str());
100 std::string path = "trace-write-msg.bin"; variable
[all …]
/developtools/smartperf_host/ide/
Dbuild.js16 const path = require('path'); constant
84 let traceStreamer = path.normalize(path.join(__dirname, '/bin'));
114 let outPath = path.normalize(path.join(__dirname, '/', outDir));
122 let rootPath = path.join(__dirname, '/');
129 let filePath = path.join(__dirname, value);
132 distFile = path.join(__dirname, outDir, value.substring(4, value.length + 1));
134 distFile = path.join(__dirname, outDir, value.substring(7, value.length + 1));
139 let pa = path.join(__dirname, value);
142 distPath = path.join(__dirname, outDir, value.substring(4, value.length + 1));
144 distPath = path.join(__dirname, outDir, value.substring(7, value.length + 1));
[all …]
/developtools/profiler/host/smartperf/ide/
Dbuild.js16 const path = require('path'); constant
84 let traceStreamer = path.normalize(path.join(__dirname, '/bin'));
114 let outPath = path.normalize(path.join(__dirname, '/', outDir));
122 let rootPath = path.join(__dirname, '/');
129 let filePath = path.join(__dirname, value);
132 distFile = path.join(__dirname, outDir, value.substring(4, value.length + 1));
134 distFile = path.join(__dirname, outDir, value.substring(7, value.length + 1));
139 let pa = path.join(__dirname, value);
142 distPath = path.join(__dirname, outDir, value.substring(4, value.length + 1));
144 distPath = path.join(__dirname, outDir, value.substring(7, value.length + 1));
[all …]
/developtools/profiler/host/smartperf/trace_streamer/build/
Dprotoc_w.sh21 THIS_DIR = os.path.dirname(os.path.abspath(__file__))
22 PROJECT_TOP = os.path.realpath(os.path.join(THIS_DIR, "../../.."))
27 PROJECT_TOP = os.path.realpath(os.path.join(THIS_DIR, ".."))
29 OHOS_X64_OUT = os.path.join(PROJECT_TOP, sys.argv[2])
30 LIBCXX_X64_OUT = os.path.join(PROJECT_TOP, sys.argv[1], "ndk/libcxx/linux_x86_64")
31 SUBSYS_X64_OUT = os.path.join(PROJECT_TOP, sys.argv[2], TAIL_DIR)
38 PROTOC = os.path.join(PROJECT_TOP, sys.argv[2], TAIL_DIR, PROTOC_NAME)
39 OPT_PLUGIN_PROTOREADER_PATH = os.path.join(PROJECT_TOP, sys.argv[2], TAIL_DIR, PROTOCREADER_PLUGIN)
40 OPT_PLUGIN_PROTOREADER = "--plugin=protoc-gen-plugin=" + os.path.join(PROJECT_TOP, sys.argv[2], TAI…
44 PYTHON_SHELL = os.path.join(THIS_DIR, "make_standard_proto.py")
[all …]
/developtools/smartperf_host/trace_streamer/build/
Dprotoc_w.sh20 THIS_DIR = os.path.dirname(os.path.abspath(__file__))
21 PROJECT_TOP = os.path.realpath(os.path.join(THIS_DIR, "../../.."))
26 PROJECT_TOP = os.path.realpath(os.path.join(THIS_DIR, ".."))
28 OHOS_X64_OUT = os.path.join(PROJECT_TOP, sys.argv[2])
29 LIBCXX_X64_OUT = os.path.join(PROJECT_TOP, sys.argv[1], "ndk/libcxx/linux_x86_64")
30 SUBSYS_X64_OUT = os.path.join(PROJECT_TOP, sys.argv[2], TAIL_DIR)
37 PROTOC = os.path.join(PROJECT_TOP, sys.argv[2], TAIL_DIR, PROTOC_NAME)
38 OPT_PLUGIN_PROTOREADER_PATH = os.path.join(PROJECT_TOP, sys.argv[2], TAIL_DIR, PROTOCREADER_PLUGIN)
39 OPT_PLUGIN_PROTOREADER = "--plugin=protoc-gen-plugin=" + os.path.join(PROJECT_TOP, sys.argv[2], TAI…
43 PYTHON_SHELL = os.path.join(THIS_DIR, "make_standard_proto.py")
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
Dfile_utils_test.cpp94 std::string path = "file-name-that-not-exists.txt"; variable
95 std::string text = FileUtils::ReadFile(path);
106 std::string path = "temp.txt"; variable
109 int retval = FileUtils::WriteFile(path, data_, O_CREAT | O_RDWR, FILE_MODE);
112 std::string text = FileUtils::ReadFile(path);
115 EXPECT_EQ(unlink(path.c_str()), 0);
125 std::string path = "dir_not_exists/temp.txt"; variable
127 int retval = FileUtils::WriteFile(path, data_);
138 std::string path = "temp.txt"; variable
141 int retval = FileUtils::WriteFile(path, data_, O_CREAT | O_RDWR, FILE_MODE);
[all …]
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Dgn_common_tool.py94 …def find_variables_in_gn(cls, var_name_tuple: tuple, path: str, stop_tail: str = "home", use_cache…
108 if os.path.isfile(path):
109 path, _ = os.path.split(path)
118 while (stop_tail in path) and not_found_count:
134 path, _ = os.path.split(path)
150 tuple(variable_list), path=gn_path, stop_tail=stop_tail)
156 def find_values_of_variable(cls, var_name: str, path: str, stop_tail: str = "home") -> list:
164 if os.path.isfile(path):
165 path, _ = os.path.split(path)
168 while stop_tail in path:
[all …]
/developtools/hiperf/script/
Dhiperf_utils.py40 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):
63 elif os.path.isdir(files):
67 def is_elf_file(path): argument
68 if os.path.isfile(path):
69 with open(path, 'rb') as file_bin:
[all …]
/developtools/ace_js2bundle/ace-loader/
Dnpm-install.js17 var path = require("path"); variable
21 const arkDir = path.resolve(__dirname, 'bin', "ark");
29 if (fs.existsSync(path.join(arkDir, "build-win"))) {
31 } else if (fs.existsSync(path.join(arkDir, "build-mac"))) {
33 } else if (!fs.existsSync(path.join(arkDir, "build"))) {
39 cwd = path.join(arkDir, "build-win");
41 cwd = path.join(arkDir, "build-mac");
43 cwd = path.join(arkDir, "build");
46 cwd = path.join(cwd, "legacy_api8");
/developtools/ace_ets2bundle/compiler/
Dnpm-install.js17 const path = require('path'); constant
21 const arkDir = path.resolve(__dirname, 'bin', "ark");
29 if (fs.existsSync(path.join(arkDir, "build-win"))) {
31 } else if (fs.existsSync(path.join(arkDir, "build-mac"))) {
33 } else if (!fs.existsSync(path.join(arkDir, "build"))) {
39 cwd = path.join(arkDir, "build-win");
41 cwd = path.join(arkDir, "build-mac");
43 cwd = path.join(arkDir, "build");
46 cwd = path.join(cwd, "legacy_api8");
/developtools/integration_verification/DeployDevice/src/aw/Common/
DCommon.py25 if not os.path.isfile(source_path):
27 if os.path.isdir(copy_path):
28 copy_path = os.path.join(copy_path, os.path.basename(source_path))
42 if not os.path.isdir(src_dir):
45 if not os.path.isdir(dst_dir):
52 if not os.path.isdir(dst_dir):
57 file_path = os.path.join(src_dir, item)
58 child_path = os.path.join(dst_dir, item)
59 if os.path.isfile(file_path):
62 if not os.path.isfile(child_path):
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/base/
DBaseProfilerUtils.ets31 export function isAccess(path: string):boolean{
32 SPLogger.DEBUG("BaseProfilerUtils","ets check path is start..."+ "path:" + path);
35 fileio.accessSync(path);
37 SPLogger.DEBUG("BaseProfilerUtils","ets check path is finish..."+ "path:" + path);
39 SPLogger.DEBUG(TAG,"accessSync failed with error:"+ err + "path:" + path);
46 * @param path
48 export function fileOpen(path: string): String {
50 if (!isAccess(path)) {
56 fd = fileio.openSync(path, 0o0)
60 SPLogger.DEBUG(TAG,"fileOpen path data:"+result);
[all …]

12345678910>>...20