Lines Matching defs:file
342 LD_LOGE("init_namespace ini file parse failed!");
343 /* Init_default_namespace is required even if the ini file parsing fails */
351 /* sys_path needs to be parsed through ini file */
1593 /* use map_len to mmap correct space for the dso with file mapping */
1601 /* If the loaded file is not relocatable and the requested address is
1866 /* Use ini file's system paths when Asan is not enabled */
1870 /* Use ini file's asan system paths when the Asan is enabled
1949 /* Find loaded so by file stat */
2031 LD_LOGD("load_library is_accessible return true, open file fd:%{public}d .", fd);
3049 /* Init all namespaces by config file. there is a default namespace always*/
3309 const char *file, int mode, const char *namespace, const void *caller_addr, const dl_extinfo *extinfo)
3329 if (!file) {
3330 LD_LOGD("dlopen_impl file is null, return head.");
3355 trace_marker_begin(HITRACE_TAG_MUSL, "dlopen: ", file);
3428 task = create_loadtask(file, head, ns, true);
3433 trace_marker_begin(HITRACE_TAG_MUSL, "loading: entry so", file);
3438 file);
3452 file);
3476 trace_marker_begin(HITRACE_TAG_MUSL, "loading: entry so", file);
3477 p = load_library(file, head, ns, true, reserved_address ? &reserved_params : NULL);
3484 file);
3575 void *dlopen(const char *file, int mode)
3580 LD_LOGI("dlopen file:%{public}s, mode:%{public}x ,caller_addr:%{public}p .", file, mode, caller_addr);
3581 return dlopen_impl(file, mode, NULL, caller_addr, NULL);
3633 void *dlopen_ns(Dl_namespace *dlns, const char *file, int mode)
3642 LD_LOGI("dlopen_ns file:%{public}s, mode:%{public}x , caller_addr:%{public}p , dlns->name:%{public}s.",
3643 file,
3647 return dlopen_impl(file, mode, dlns->name, caller_addr, NULL);
3650 void *dlopen_ns_ext(Dl_namespace *dlns, const char *file, int mode, const dl_extinfo *extinfo)
3659 LD_LOGI("dlopen_ns_ext file:%{public}s, mode:%{public}x , caller_addr:%{public}p , "
3661 file,
3666 return dlopen_impl(file, mode, dlns->name, caller_addr, extinfo);
4499 void* dlopen_ext(const char *file, int mode, const dl_extinfo *extinfo)
4506 LD_LOGE("Error dlopen_ext %{public}s: invalid flag %{public}x", file, extinfo->flag);
4510 LD_LOGI("dlopen_ext file:%{public}s, mode:%{public}x , caller_addr:%{public}p , extinfo->flag:%{public}x",
4511 file,
4515 return dlopen_impl(file, mode, NULL, caller_addr, extinfo);
4583 /* Used to get an uncompress library offset in zip file, then we can use the offset to mmap the library directly. */
4607 LD_LOGD("Open uncompressed library: input path: %{public}s, zip file path: %{public}s, library path: %{public}s.",
4610 // Get zip file length
4623 LD_LOGE("Open uncompressed library: get zip file length failed.");
4658 LD_LOGE("Open uncompressed library: fread file name failed.");
4663 // Read local file header.
4665 LD_LOGE("Open uncompressed library: fseek local file header failed.");
4670 LD_LOGE("Open uncompressed library: fread local file header failed.");
4675 LD_LOGE("Open uncompressed library: read local file header signature error.");
4684 "compress method %{public}d, file offset %{public}lu",
4775 * The value of file_offset may be greater than 0 when opening library from zip file.
5000 /* use map_len to mmap correct space for the dso with file mapping */
5011 /* If the loaded file is not relocatable and the requested address is
5206 LD_LOGE("Open uncompressed library in zip file failed, name:%{public}s res:%{public}d", name, res);
5288 LD_LOGE("Error loading header %{public}s: failed to get file state errno=%{public}d", task->name, errno);
5666 LD_LOGE("Error mapping relro %{public}s: failed to get file state", dso->name);
5684 LD_LOGE("Error mapping relro %{public}s: invalid file size", dso->name);