Searched refs:progname (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | setprogname.c | 22 setprogname(const char *progname) in setprogname() argument 26 tmpn = strrchr(progname, '/'); in setprogname() 28 __progname = (char *)progname; in setprogname()
|
/bionic/libc/bionic/ |
D | libc_init_static.cpp | 134 const char* progname = args.argv[0]; in layout_static_tls() local 143 progname, mod.segment.aligned_size.align.value); in layout_static_tls() 145 mod.static_offset = layout.reserve_exe_segment_and_tcb(&mod.segment, progname); in layout_static_tls() 152 layout.reserve_exe_segment_and_tcb(nullptr, progname); in layout_static_tls() 218 const char* progname = __libc_shared_globals()->init_progname; in get_environment_memtag_setting() local 219 if (progname == nullptr) return false; in get_environment_memtag_setting() 221 const char* basename = __gnu_basename(progname); in get_environment_memtag_setting() 305 const char* progname = __libc_shared_globals()->init_progname; in __get_memtag_upgrade_secs() local 306 progname = progname ? __gnu_basename(progname) : nullptr; in __get_memtag_upgrade_secs() 309 if (!progname || strncmp(progname, kAppProcessName, sizeof(kAppProcessName)) != 0) { in __get_memtag_upgrade_secs()
|
D | gwp_asan_wrappers.cpp | 489 const char* progname = getprogname(); in MaybeInitGwpAsanFromLibc() local 490 if (strncmp(progname, kAppProcessNamePrefix, sizeof(kAppProcessNamePrefix) - 1) == 0) in MaybeInitGwpAsanFromLibc() 494 mallopt_options.program_name = progname; in MaybeInitGwpAsanFromLibc()
|
D | bionic_elf_tls.cpp | 120 const char* progname __attribute__((unused))) { in reserve_exe_segment_and_tcb() argument 169 progname, seg->aligned_size.align.value, seg->aligned_size.align.skew, tcb_size_post, in reserve_exe_segment_and_tcb()
|
/bionic/linker/ |
D | linker_tls.cpp | 110 void linker_setup_exe_static_tls(const char* progname) { in linker_setup_exe_static_tls() argument 118 layout.reserve_exe_segment_and_tcb(nullptr, progname); in linker_setup_exe_static_tls() 120 …ster_tls_module(somain, layout.reserve_exe_segment_and_tcb(&somain->get_tls()->segment, progname)); in linker_setup_exe_static_tls()
|
D | linker_tls.h | 38 void linker_setup_exe_static_tls(const char* progname);
|
/bionic/libc/private/ |
D | bionic_elf_tls.h | 83 size_t reserve_exe_segment_and_tcb(const TlsSegment* exe_segment, const char* progname);
|