/system/tools/aidl/ |
D | io_delegate.cpp | 207 while (struct dirent* ent = readdir(dir.get())) { in add_list_files() local 208 if (!strcmp(ent->d_name, ".") || !strcmp(ent->d_name, "..")) { in add_list_files() 211 if (ent->d_type == DT_REG) { in add_list_files() 212 result->emplace_back(dirname + OS_PATH_SEPARATOR + ent->d_name); in add_list_files() 213 } else if (ent->d_type == DT_DIR) { in add_list_files() 214 add_list_files(dirname + OS_PATH_SEPARATOR + ent->d_name, result); in add_list_files()
|
/system/bpf/bpfloader/ |
D | BpfLoader.cpp | 72 struct dirent* ent; in loadAllElfObjects() local 75 while ((ent = readdir(dir)) != NULL) { in loadAllElfObjects() 76 string s = ent->d_name; in loadAllElfObjects()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 147 uint32_t ent = hash & (hash_table_size - 1); in EntryToIndex() local 148 while (hash_table[ent].name_offset != 0) { in EntryToIndex() 149 if (isZipStringEqual(start, name, hash_table[ent])) { in EntryToIndex() 150 return ent; in EntryToIndex() 152 ent = (ent + 1) & (hash_table_size - 1); in EntryToIndex() 165 uint32_t ent = hash & (hash_table_size - 1); in AddToHash() local 171 while (hash_table[ent].name_offset != 0) { in AddToHash() 172 if (isZipStringEqual(start, name, hash_table[ent])) { in AddToHash() 177 ent = (ent + 1) & (hash_table_size - 1); in AddToHash() 179 hash_table[ent].name_offset = GetOffset(name.name, start); in AddToHash() [all …]
|
/system/vold/ |
D | MoveStorage.cpp | 71 struct dirent* ent; in pushBackContents() local 72 while ((ent = readdir(dirp.get())) != NULL) { in pushBackContents() 73 if ((!strcmp(ent->d_name, ".")) || (!strcmp(ent->d_name, ".."))) { in pushBackContents() 76 auto subdir = path + "/" + ent->d_name; in pushBackContents()
|
/system/core/debuggerd/handler/ |
D | debuggerd_fallback.cpp | 121 struct dirent* ent; in iterate_siblings() local 122 while ((ent = readdir(dir))) { in iterate_siblings() 124 long tid = strtol(ent->d_name, &end, 10); in iterate_siblings() 125 if (end == ent->d_name || *end != '\0') { in iterate_siblings()
|
/system/extras/latencytop/ |
D | latencytop.c | 203 struct dirent *ent; in read_process_stats() local 216 while ((ent = readdir(dir))) { in read_process_stats() 217 if (!isdigit(ent->d_name[0])) in read_process_stats() 220 tid = atoi(ent->d_name); in read_process_stats()
|
/system/netd/server/ |
D | InterfaceController.cpp | 132 const dirent *ent = readdir(dir); in forEachInterface() local 133 if (!ent) { in forEachInterface() 136 if ((ent->d_type != DT_DIR) || !isInterfaceName(ent->d_name)) { in forEachInterface() 139 fn(dirname, ent->d_name); in forEachInterface()
|
/system/tools/hidl/ |
D | Coordinator.cpp | 465 struct dirent *ent; in getPackageInterfaceFiles() local 466 while ((ent = readdir(dir.get())) != nullptr) { in getPackageInterfaceFiles() 468 if (ent->d_type == DT_UNKNOWN) { in getPackageInterfaceFiles() 470 const auto filename = packagePath + std::string(ent->d_name); in getPackageInterfaceFiles() 478 } else if (ent->d_type != DT_REG) { in getPackageInterfaceFiles() 484 const auto d_namelen = strlen(ent->d_name); in getPackageInterfaceFiles() 487 || strcmp(ent->d_name + d_namelen - suffix_len, suffix)) { in getPackageInterfaceFiles() 491 fileNames->push_back(std::string(ent->d_name, d_namelen - suffix_len)); in getPackageInterfaceFiles()
|
/system/core/libunwindstack/ |
D | AsmGetRegsMips64.S | 32 .ent AsmGetRegs
|
D | AsmGetRegsMips.S | 32 .ent AsmGetRegs
|
/system/core/libpixelflinger/arch-mips64/ |
D | col32cb16blend.S | 59 .ent scanline_col32cb16blend_mips64
|
D | t32cb16blend.S | 81 .ent scanline_t32cb16blend_mips64
|
/system/core/libpixelflinger/arch-mips/ |
D | col32cb16blend.S | 65 .ent scanline_col32cb16blend_mips
|
D | t32cb16blend.S | 184 .ent scanline_t32cb16blend_mips
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 783 struct dirent* ent; in TranslateExtLabels() local 784 while ((ent = readdir(blockdir.get()))) { in TranslateExtLabels() 785 if (ent->d_type != DT_BLK) in TranslateExtLabels() 789 openat(dirfd(blockdir.get()), ent->d_name, O_RDONLY | O_CLOEXEC))); in TranslateExtLabels() 791 LERROR << "Cannot open block device /dev/block/" << ent->d_name; in TranslateExtLabels() 804 LINFO << "/dev/block/" << ent->d_name << " not ext{234}"; in TranslateExtLabels() 809 std::string new_blk_device = "/dev/block/"s + ent->d_name; in TranslateExtLabels()
|
/system/core/libnativeloader/ |
D | native_loader.cpp | 541 while (struct dirent* ent = readdir(dir.get())) { in ReadExtensionLibraries() local 542 if (ent->d_type != DT_REG && ent->d_type != DT_LNK) { in ReadExtensionLibraries() 545 const std::string filename(ent->d_name); in ReadExtensionLibraries()
|
/system/media/camera/docs/ |
D | metadata_model.py | 878 for ent in self.entries: 879 new_ent = new_ent_dict.setdefault(ent.name, 880 ent.merge())
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 2253 struct dirent* ent = reinterpret_cast<struct dirent*>(went); in adb_readdir() local 2269 strcpy(ent->d_name, name_utf8.c_str()); in adb_readdir() 2271 return ent; in adb_readdir()
|