Home
last modified time | relevance | path

Searched refs:basename (Results 1 – 25 of 32) sorted by relevance

12

/bionic/tests/
Dgwp_asan_test.cpp86 const char* basename = __gnu_basename(path.c_str()); in SyspropRestorer() local
88 std::string("libc.debug.gwp_asan.sample_rate.") + basename, in SyspropRestorer()
89 std::string("libc.debug.gwp_asan.process_sampling.") + basename, in SyspropRestorer()
90 std::string("libc.debug.gwp_asan.max_allocs.") + basename, in SyspropRestorer()
172 const char* basename = __gnu_basename(path.c_str()); in TEST() local
173 __system_property_set((std::string("libc.debug.gwp_asan.sample_rate.") + basename).c_str(), "1"); in TEST()
174 __system_property_set((std::string("libc.debug.gwp_asan.process_sampling.") + basename).c_str(), in TEST()
176 __system_property_set((std::string("libc.debug.gwp_asan.max_allocs.") + basename).c_str(), in TEST()
189 const char* basename = __gnu_basename(path.c_str()); in TEST() local
191 (std::string("persist.libc.debug.gwp_asan.sample_rate.") + basename).c_str(), "1"); in TEST()
[all …]
Dlibgen_basename_test.cpp26 #if defined(basename)
27 #error basename should not be defined at this point
31 return basename(in); in gnu_basename()
38 #if !defined(basename) && !defined(ANDROID_HOST_MUSL)
39 #error basename should be defined at this point
43 return basename(in); in posix_basename()
Dunistd_test.cpp1560 eth.SetArgs({basename(tf.path), nullptr}); in TEST()
1564 ASSERT_EQ(-1, execvpe(basename(tf.path), eth.GetArgs(), eth.GetEnv())); in TEST()
1572 ASSERT_EQ(-1, execvpe(basename(tf.path), eth.GetArgs(), eth.GetEnv())); in TEST()
1577 eth.Run([&]() { execvpe(basename(tf.path), eth.GetArgs(), eth.GetEnv()); }, 0, "script\n"); in TEST()
1581 eth.Run([&]() { execvpe(basename(tf.path), eth.GetArgs(), eth.GetEnv()); }, 0, "script\n"); in TEST()
/bionic/tools/versioner/tests/extern_cpp_mismatch/headers/
Dstring.h8 extern "C++" char* basename(char*) __RENAME(__gnu_basename) __INTRODUCED_IN(23);
9 extern "C++" const char* basename(const char*) __RENAME(__gnu_basename) __INTRODUCED_IN(23);
11 char* basename(const char*) __RENAME(__gnu_basename) __INTRODUCED_IN(23);
/bionic/tools/versioner/tests/extern_cpp/headers/
Dstring.h8 extern "C++" char* basename(char*) __RENAME(__gnu_basename) __INTRODUCED_IN(23);
9 extern "C++" const char* basename(const char*) __RENAME(__gnu_basename) __INTRODUCED_IN(23);
11 char* basename(const char*) __RENAME(__gnu_basename) __INTRODUCED_IN(23);
/bionic/tests/headers/posix/
Dlibgen_h.c35 FUNCTION(basename, char* (*f)(const char*)); in libgen_h()
38 FUNCTION(basename, char* (*f)(char*)); in libgen_h()
/bionic/libc/include/
Dlibgen.h53 char* _Nullable __posix_basename(const char* _Nullable __path) __RENAME(basename);
59 #define basename __posix_basename macro
Dstring.h169 #if defined(__USE_GNU) && !defined(basename)
175 extern "C++" char* _Nonnull basename(char* _Nullable __path) __RENAME(__gnu_basename) __INTRODUCED_…
176 extern "C++" const char* _Nonnull basename(const char* _Nonnull __path) __RENAME(__gnu_basename) __…
178 char* _Nonnull basename(const char* _Nonnull __path) __RENAME(__gnu_basename) __INTRODUCED_IN(23);
/bionic/libc/kernel/tools/
Dgenerate_uapi_headers.sh83 copy_hdrs "${dir}" ${tgt_dir}/$(basename ${dir})
99 header=$(basename ${file})
119 tgt_file=${tgt_dir}/$(basename ${file})
132 verify_modified_hdrs "${dir}" ${tgt_dir}/$(basename ${dir}) "${kernel_dir}"
Dclean_header.py149 """ % os.path.basename(sys.argv[0]))
Dutils.py10 sys.stderr.write(os.path.basename(sys.argv[0]) + ": error: ")
Dupdate_all.py24 """ % { "progname" : os.path.basename(sys.argv[0]) })
/bionic/linker/
Dlinker_dlwarning.cpp42 current_msg = current_msg + basename(sopath) + ": " + message; in add_dlwarning()
Dlinker_namespaces.cpp43 const char *lib_name = basename(file.c_str()); in is_accessible()
Dlinker_logger.cpp72 const char* process_name_start = basename(g_argv[0]); in GetAppSpecificProperty()
Dlinker.cpp209 return basename(name.c_str()); in resolve_soname()
258 name = basename(name); in is_exempt_lib()
1085 const char* bname = basename(dt_needed); in fix_dt_needed()
3313 soname_ = basename(realpath_.c_str()); in prelink_image()
3543 const char* bname = (interp != nullptr) ? basename(interp) : nullptr; in init_default_namespaces()
/bionic/libc/bionic/
Dgwp_asan_wrappers.cpp276 const char* basename = ""; in GetGwpAsanOptionImpl() local
277 if (mallopt_options.program_name) basename = __gnu_basename(mallopt_options.program_name); in GetGwpAsanOptionImpl()
286 if (*basename != '\0') { in GetGwpAsanOptionImpl()
292 targeted_sysprop_prefix, basename); in GetGwpAsanOptionImpl()
DNetdClient.cpp42 if (getuid() == 0 && strcmp(basename(getprogname()), "netd") == 0) { in netdClientInitImpl()
Dlibc_init_static.cpp221 const char* basename = __gnu_basename(progname); in get_environment_memtag_setting() local
226 basename); in get_environment_memtag_setting()
229 kMemtagOverrideSyspropPrefix, basename); in get_environment_memtag_setting()
Dlibgen.cpp160 char* basename(const char* path) { in basename() function
/bionic/build/
Drun-on-host.sh42 name=`basename ${tgt}`
/bionic/benchmarks/linker_relocation/regen/
Ddump_relocs.py76 result = os.path.basename(path)
/bionic/libc/tools/
Dgenseccomp.py223 """).format(self_path=os.path.basename(__file__), architecture=architecture,
/bionic/
Dandroid-changes-for-ndk-developers.md114 releases would assume that the basename of the library was the soname,
125 but the basename. These apps will fail to load on API level 23 and above.
291 used only the basename (the part after the last ‘/') when looking
309 *Potential problems*: before API level 23 the DT_NEEDED entry's basename was
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_076.S344 CALL(basename)

12