Lines Matching defs:path
239 /* asan path open */
256 static bool get_app_path(char *path, size_t size)
259 l = readlink("/proc/self/exe", path, size);
264 path[l] = 0;
265 LD_LOGD("get_app_path path:%{public}s.", path);
1874 * futher path search. */
3184 } else if (!memcmp(opt, "library-path", 12)) {
4934 int open_uncompressed_library_in_zipfile(const char *path, struct zip_info *z_info, char *separator)
4940 /* Use "'!/' to split the path into zipfile path and library path in zipfile.
4942 * - path: x/xx/xxx.zip!/x/xx/xxx.so
4943 * - zipfile path: x/xx/xxx.zip
4944 * - library path in zipfile: x/xx/xxx.so */
4945 if (strlcpy(z_info->path_buf, path, PATH_BUF_SIZE) >= PATH_BUF_SIZE) {
4946 LD_LOGE("Open uncompressed library: input path %{public}s is too long.", path);
4949 z_info->path_buf[separator - path] = '\0';
4950 z_info->file_path_index = separator - path + 2;
4954 LD_LOGE("Open uncompressed library: get zip and lib path failed.");
4957 LD_LOGD("Open uncompressed library: input path: %{public}s, zip file path: %{public}s, library path: %{public}s.",
4958 path, zip_file_path, lib_path);