/bionic/linker/ |
D | linker_namespaces.cpp | 49 for (const auto& dir : ld_library_paths_) { in is_accessible() local 50 if (file_is_in_dir(file, dir)) { in is_accessible() 55 for (const auto& dir : default_library_paths_) { in is_accessible() local 56 if (file_is_in_dir(file, dir)) { in is_accessible() 61 for (const auto& dir : permitted_paths_) { in is_accessible() local 62 if (file_is_under_dir(file, dir)) { in is_accessible()
|
D | linker_utils.h | 38 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);
|
D | linker_utils.cpp | 119 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()
|
D | ld.config.format.md | 16 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/bionic/ |
D | tmpfile.cpp | 100 char* tempnam(const char* dir, const char* prefix) { in tempnam() argument 107 if (tmpdir != nullptr) dir = tmpdir; in tempnam() 111 if (dir == nullptr) dir = "/data/local/tmp"; in tempnam() 118 if (asprintf(&path, "%s/%sXXXXXXXXXX", dir, prefix) == -1) return nullptr; in tempnam()
|
D | exec.cpp | 147 const char* dir; in execvpe() local 148 while ((dir = strsep(&strsep_buf, ":"))) { in execvpe() 151 if (*dir == '\0') dir = const_cast<char*>("."); in execvpe() 153 size_t dir_len = strlen(dir); in execvpe() 157 mempcpy(mempcpy(mempcpy(buf, dir, dir_len), "/", 1), name, name_len + 1); in execvpe()
|
D | scandir.cpp | 95 DIR* dir = nullptr; in scandirat() local 97 dir = opendir(dir_name); in scandirat() 101 dir = fdopendir(dir_fd); in scandirat() 105 ScopedReaddir reader(dir); in scandirat()
|
D | grp_pwd_file.cpp | 108 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/kernel/tools/ |
D | generate_uapi_headers.sh | 82 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}"
|
D | utils.py | 66 for dir in dirs: 68 if os.path.isdir(dir): 70 os.mkdir(dir)
|
/bionic/libc/system_properties/include/system_properties/ |
D | properties_filename.h | 36 PropertiesFilename(const char* dir, const char* file) { in PropertiesFilename() argument 37 if (snprintf(filename_, sizeof(filename_), "%s/%s", dir, file) >= in PropertiesFilename()
|
/bionic/libc/private/ |
D | ScopedReaddir.h | 28 explicit ScopedReaddir(DIR* dir) { in ScopedReaddir() argument 29 dir_ = dir; in ScopedReaddir()
|
/bionic/libc/kernel/uapi/linux/ |
D | erspan.h | 16 __u8 o : 1, gra : 2, dir : 1, hwid : 4; member 19 __u8 hwid : 4, dir : 1, gra : 2, o : 1; member
|
/bionic/libc/kernel/uapi/drm/ |
D | armada_drm.h | 16 #define ARMADA_IOCTL(dir,name,str) DRM_ ##dir(DRM_COMMAND_BASE + DRM_ARMADA_ ##name, struct drm_arm… argument
|
D | qaic_accel.h | 126 __u32 dir; member 135 __u32 dir; member 139 __u32 dir; member
|
/bionic/tests/ |
D | sys_shm_test.cpp | 41 TemporaryDir dir; in TEST() local 42 key_t key = ftok(dir.path, 1); in TEST()
|
D | fcntl_test.cpp | 323 TemporaryDir dir; in TEST() local 327 int fd = open(dir.path, O_TMPFILE | O_RDWR, perms); in TEST() 342 std::string final_path = android::base::StringPrintf("%s/named_now", dir.path); in TEST() 353 fd = open(dir.path, O_TMPFILE | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in TEST() 357 AT_FDCWD, android::base::StringPrintf("%s/no_chance", dir.path).c_str(), in TEST()
|
D | sys_msg_test.cpp | 42 TemporaryDir dir; in TEST() local 43 key_t key = ftok(dir.path, 1); in TEST()
|
D | fdsan_test.cpp | 132 DIR* dir = opendir("/dev/"); in TEST_F() local 133 ASSERT_TRUE(dir); in TEST_F() 134 EXPECT_FDSAN_DEATH(close(dirfd(dir)), "actually owned by DIR"); in TEST_F()
|
D | sys_sem_test.cpp | 44 TemporaryDir dir; in TEST() local 45 key_t key = ftok(dir.path, 1); in TEST()
|
D | grp_pwd_file_test.cpp | 40 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()
|
D | ifaddrs_test.cpp | 105 dirent* dir; in TEST() local 106 while ((dir = readdir(d.get())) != nullptr) { in TEST() 107 if (dir->d_type == DT_LNK) { in TEST() 108 sys_class_net.push_back(std::string(dir->d_name)); in TEST()
|
/bionic/build/ |
D | run-on-host.sh | 40 dir=$1 43 src=$dir/$name
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | ioctl.h | 34 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _I… argument
|
/bionic/benchmarks/linker_relocation/ |
D | run_bench_with_ninja.sh | 48 --keep-tmp-dir Don't delete the temporary directory on exit 112 $top/gen_bench.sh --keep-tmp-dir --skip-gen-bench
|