Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 25 of 38) sorted by relevance

12

/bionic/tests/libs/
DAndroid.build.dlext_testzip.mk34 …$(call intermediates-dir-for,SHARED_LIBRARIES,libdlext_test_zip,,,$(bionic_2nd_arch_prefix))/libdl…
35 …$(call intermediates-dir-for,SHARED_LIBRARIES,libatest_simple_zip,,,$(bionic_2nd_arch_prefix))/lib…
36 …$(call intermediates-dir-for,NATIVE_TESTS,exec_linker_helper,,,$(bionic_2nd_arch_prefix))/exec_lin…
37 …$(call intermediates-dir-for,SHARED_LIBRARIES,exec_linker_helper_lib,,,$(bionic_2nd_arch_prefix))/…
42 $(hide) rm -rf $@.unaligned $@ $(dir $@)/zipdir && mkdir -p $(dir $@)/zipdir/libdir
43 $(hide) cp $(PRIVATE_SHARED_LIBS) $(dir $@)/zipdir/libdir
44 $(hide) touch $(dir $@)/zipdir/empty_file.txt
45 $(hide) (cd $(dir $@)/zipdir && zip -qrD0 ../$(notdir $@).unaligned .)
57 lib_d := $(call intermediates-dir-for,SHARED_LIBRARIES,libtest_dt_runpath_d_zip,,,$(bionic_2nd_arch…
58 lib_a := $(call intermediates-dir-for,SHARED_LIBRARIES,libtest_dt_runpath_a,,,$(bionic_2nd_arch_pre…
[all …]
/bionic/linker/
Dlinker_namespaces.cpp50 for (const auto& dir : ld_library_paths_) { in is_accessible() local
51 if (file_is_in_dir(file, dir)) { in is_accessible()
56 for (const auto& dir : default_library_paths_) { in is_accessible() local
57 if (file_is_in_dir(file, dir)) { in is_accessible()
62 for (const auto& dir : permitted_paths_) { in is_accessible() local
63 if (file_is_under_dir(file, dir)) { in is_accessible()
Dlinker_utils.cpp119 bool file_is_in_dir(const std::string& file, const std::string& dir) { in file_is_in_dir() argument
120 const char* needle = dir.c_str(); in file_is_in_dir()
129 bool file_is_under_dir(const std::string& file, const std::string& dir) { in file_is_under_dir() argument
130 const char* needle = dir.c_str(); in file_is_under_dir()
Dlinker_utils.h38 bool file_is_in_dir(const std::string& file, const std::string& dir);
39 bool file_is_under_dir(const std::string& file, const std::string& dir);
Dld.config.format.md16 The format is `dir.<section_name>=<directory>`
28 # The following line maps section to a dir. Binaries ran from this location will use namespaces
30 dir.example_section=/system/bin/example
/bionic/libc/kernel/tools/
Dgenerate_uapi_headers.sh82 for dir in "${search_dirs[@]}"; do
83 copy_hdrs "${dir}" ${tgt_dir}/$(basename ${dir})
131 for dir in "${search_dirs[@]}"; do
132 verify_modified_hdrs "${dir}" ${tgt_dir}/$(basename ${dir}) "${kernel_dir}"
Dutils.py67 for dir in dirs:
69 if os.path.isdir(dir):
71 os.mkdir(dir)
/bionic/libc/bionic/
Dexec.cpp145 const char* dir; in execvpe() local
146 while ((dir = strsep(&strsep_buf, ":"))) { in execvpe()
149 if (*dir == '\0') dir = const_cast<char*>("."); in execvpe()
151 size_t dir_len = strlen(dir); in execvpe()
155 mempcpy(mempcpy(mempcpy(buf, dir, dir_len), "/", 1), name, name_len + 1); in execvpe()
Dscandir.cpp99 DIR* dir = nullptr; in scandirat() local
101 dir = opendir(dir_name); in scandirat()
105 dir = fdopendir(dir_fd); in scandirat()
109 ScopedReaddir reader(dir); in scandirat()
Dgrp_pwd_file.cpp108 const char* dir() const { in dir() function
116 if (name() == nullptr || dir() == nullptr || shell() == nullptr) { in ToPasswdState()
142 CopyFieldToString(passwd_state->dir_buffer_, dir(), sizeof(passwd_state->dir_buffer_)); in ToPasswdState()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dtempnam.c43 tempnam(const char *dir, const char *pfx) in tempnam() argument
65 if (dir != NULL) { in tempnam()
66 f = *dir ? (char *)dir : "."; in tempnam()
/bionic/libc/private/
DScopedReaddir.h28 explicit ScopedReaddir(DIR* dir) { in ScopedReaddir() argument
29 dir_ = dir; in ScopedReaddir()
/bionic/libc/kernel/uapi/linux/
Derspan.h28 __u8 o : 1, gra : 2, dir : 1, hwid : 4; member
31 __u8 hwid : 4, dir : 1, gra : 2, o : 1; member
/bionic/libc/kernel/uapi/drm/
Darmada_drm.h28 #define ARMADA_IOCTL(dir,name,str) DRM_ ##dir(DRM_COMMAND_BASE + DRM_ARMADA_ ##name, struct drm_arm… argument
/bionic/tests/
Dsys_shm_test.cpp41 TemporaryDir dir; in TEST() local
42 key_t key = ftok(dir.path, 1); in TEST()
Dfdsan_test.cpp123 DIR* dir = opendir("/dev/"); in TEST_F() local
124 ASSERT_TRUE(dir); in TEST_F()
125 EXPECT_FDSAN_DEATH(close(dirfd(dir)), "actually owned by DIR"); in TEST_F()
Dsys_msg_test.cpp42 TemporaryDir dir; in TEST() local
43 key_t key = ftok(dir.path, 1); in TEST()
Dfcntl_test.cpp317 TemporaryDir dir; in TEST() local
321 int fd = open(dir.path, O_TMPFILE | O_RDWR, perms); in TEST()
336 std::string final_path = android::base::StringPrintf("%s/named_now", dir.path); in TEST()
347 fd = open(dir.path, O_TMPFILE | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in TEST()
351 AT_FDCWD, android::base::StringPrintf("%s/no_chance", dir.path).c_str(), in TEST()
Dsys_sem_test.cpp42 TemporaryDir dir; in TEST() local
43 key_t key = ftok(dir.path, 1); in TEST()
Dgrp_pwd_file_test.cpp40 const char* dir, const char* shell) { in FindAndCheckPasswdEntry() argument
50 EXPECT_STREQ(dir, name_passwd.pw_dir); in FindAndCheckPasswdEntry()
62 EXPECT_STREQ(dir, id_passwd.pw_dir); in FindAndCheckPasswdEntry()
Difaddrs_test.cpp100 dirent* dir; in TEST() local
101 while ((dir = readdir(d.get())) != nullptr) { in TEST()
102 if (dir->d_type == DT_LNK) { in TEST()
103 sys_class_net.push_back(std::string(dir->d_name)); in TEST()
/bionic/build/
Drun-on-host.sh40 dir=$1
43 src=$dir/$name
/bionic/libc/kernel/uapi/asm-generic/
Dioctl.h46 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _I… argument
/bionic/benchmarks/linker_relocation/
Drun_bench_with_ninja.sh48 --keep-tmp-dir Don't delete the temporary directory on exit
112 $top/gen_bench.sh --keep-tmp-dir --skip-gen-bench
/bionic/
DAndroid.mk1 LOCAL_PATH := $(call my-dir)

12