Lines Matching defs:path
205 /* asan path open */
222 static bool get_app_path(char *path, size_t size)
225 l = readlink("/proc/self/exe", path, size);
230 path[l] = 0;
231 LD_LOGD("get_app_path path:%{public}s.", path);
1686 * futher path search. */
2949 } else if (!memcmp(opt, "library-path", 12)) {
4584 int open_uncompressed_library_in_zipfile(const char *path, struct zip_info *z_info, char *separator)
4590 /* Use "'!/' to split the path into zipfile path and library path in zipfile.
4592 * - path: x/xx/xxx.zip!/x/xx/xxx.so
4593 * - zipfile path: x/xx/xxx.zip
4594 * - library path in zipfile: x/xx/xxx.so */
4595 if (strlcpy(z_info->path_buf, path, PATH_BUF_SIZE) >= PATH_BUF_SIZE) {
4596 LD_LOGE("Open uncompressed library: input path %{public}s is too long.", path);
4599 z_info->path_buf[separator - path] = '\0';
4600 z_info->file_path_index = separator - path + 2;
4604 LD_LOGE("Open uncompressed library: get zip and lib path failed.");
4607 LD_LOGD("Open uncompressed library: input path: %{public}s, zip file path: %{public}s, library path: %{public}s.",
4608 path, zip_file_path, lib_path);