Home
last modified time | relevance | path

Searched refs:progname (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/gen/
Dsetprogname.c22 setprogname(const char *progname) in setprogname() argument
26 tmpn = strrchr(progname, '/'); in setprogname()
28 __progname = (char *)progname; in setprogname()
/bionic/libc/bionic/
Dlibc_init_static.cpp140 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()
Dgwp_asan_wrappers.cpp218 const char* progname = getprogname(); in MaybeInitGwpAsanFromLibc() local
219 if (progname && strncmp(progname, "app_process", 11) == 0) { in MaybeInitGwpAsanFromLibc()
Dbionic_elf_tls.cpp95 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/
Dlinker_tls.cpp109 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()
Dlinker_tls.h38 void linker_setup_exe_static_tls(const char* progname);
/bionic/libc/private/
Dbionic_elf_tls.h72 size_t reserve_exe_segment_and_tcb(const TlsSegment* exe_segment, const char* progname);