Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 18 of 18) sorted by relevance

/system/tools/aidl/
Dio_delegate.cpp207 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/
DBpfLoader.cpp72 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/
Dzip_archive.cc147 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/
DMoveStorage.cpp71 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/
Ddebuggerd_fallback.cpp121 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/
Dlatencytop.c203 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/
DInterfaceController.cpp132 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/
DCoordinator.cpp465 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/
DAsmGetRegsMips64.S32 .ent AsmGetRegs
DAsmGetRegsMips.S32 .ent AsmGetRegs
/system/core/libpixelflinger/arch-mips64/
Dcol32cb16blend.S59 .ent scanline_col32cb16blend_mips64
Dt32cb16blend.S81 .ent scanline_t32cb16blend_mips64
/system/core/libpixelflinger/arch-mips/
Dcol32cb16blend.S65 .ent scanline_col32cb16blend_mips
Dt32cb16blend.S184 .ent scanline_t32cb16blend_mips
/system/core/fs_mgr/
Dfs_mgr.cpp783 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/
Dnative_loader.cpp541 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/
Dmetadata_model.py878 for ent in self.entries:
879 new_ent = new_ent_dict.setdefault(ent.name,
880 ent.merge())
/system/core/adb/
Dsysdeps_win32.cpp2253 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()