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 | 140 const char* progname = args.argv[0]; in layout_static_tls() local 149 progname, mod.segment.alignment); in layout_static_tls() 151 mod.static_offset = layout.reserve_exe_segment_and_tcb(&mod.segment, progname); in layout_static_tls() 158 layout.reserve_exe_segment_and_tcb(nullptr, progname); in layout_static_tls() 240 const char* progname = __libc_shared_globals()->init_progname; in get_environment_memtag_setting() local 241 if (progname == nullptr) return false; in get_environment_memtag_setting() 243 const char* basename = __gnu_basename(progname); in get_environment_memtag_setting()
|
D | gwp_asan_wrappers.cpp | 218 const char* progname = getprogname(); in MaybeInitGwpAsanFromLibc() local 219 if (progname && strncmp(progname, "app_process", 11) == 0) { in MaybeInitGwpAsanFromLibc()
|
D | bionic_elf_tls.cpp | 95 const char* progname __attribute__((unused))) { in reserve_exe_segment_and_tcb() argument 122 progname, exe_segment->alignment, min_bionic_alignment, in reserve_exe_segment_and_tcb()
|
/bionic/linker/ |
D | linker_tls.cpp | 109 void linker_setup_exe_static_tls(const char* progname) { in linker_setup_exe_static_tls() argument 113 layout.reserve_exe_segment_and_tcb(nullptr, progname); in linker_setup_exe_static_tls() 115 …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 | 72 size_t reserve_exe_segment_and_tcb(const TlsSegment* exe_segment, const char* progname);
|