/bionic/tests/ |
D | gwp_asan_test.cpp | 86 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 …]
|
D | libgen_basename_test.cpp | 26 #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()
|
D | unistd_test.cpp | 1560 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/ |
D | string.h | 8 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/ |
D | string.h | 8 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/ |
D | libgen_h.c | 35 FUNCTION(basename, char* (*f)(const char*)); in libgen_h() 38 FUNCTION(basename, char* (*f)(char*)); in libgen_h()
|
/bionic/libc/include/ |
D | libgen.h | 53 char* _Nullable __posix_basename(const char* _Nullable __path) __RENAME(basename); 59 #define basename __posix_basename macro
|
D | string.h | 169 #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/ |
D | generate_uapi_headers.sh | 83 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}"
|
D | clean_header.py | 149 """ % os.path.basename(sys.argv[0]))
|
D | utils.py | 10 sys.stderr.write(os.path.basename(sys.argv[0]) + ": error: ")
|
D | update_all.py | 24 """ % { "progname" : os.path.basename(sys.argv[0]) })
|
/bionic/linker/ |
D | linker_dlwarning.cpp | 42 current_msg = current_msg + basename(sopath) + ": " + message; in add_dlwarning()
|
D | linker_namespaces.cpp | 43 const char *lib_name = basename(file.c_str()); in is_accessible()
|
D | linker_logger.cpp | 72 const char* process_name_start = basename(g_argv[0]); in GetAppSpecificProperty()
|
D | linker.cpp | 209 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/ |
D | gwp_asan_wrappers.cpp | 276 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()
|
D | NetdClient.cpp | 42 if (getuid() == 0 && strcmp(basename(getprogname()), "netd") == 0) { in netdClientInitImpl()
|
D | libc_init_static.cpp | 221 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()
|
D | libgen.cpp | 160 char* basename(const char* path) { in basename() function
|
/bionic/build/ |
D | run-on-host.sh | 42 name=`basename ${tgt}`
|
/bionic/benchmarks/linker_relocation/regen/ |
D | dump_relocs.py | 76 result = os.path.basename(path)
|
/bionic/libc/tools/ |
D | genseccomp.py | 223 """).format(self_path=os.path.basename(__file__), architecture=architecture,
|
/bionic/ |
D | android-changes-for-ndk-developers.md | 114 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/ |
D | liblinker_reloc_bench_076.S | 344 CALL(basename)
|