Home
last modified time | relevance | path

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

/system/vold/
DMoveTask.cpp72 struct dirent* ent; in pushBackContents() local
73 while ((ent = readdir(dir)) != NULL) { in pushBackContents()
74 if ((!strcmp(ent->d_name, ".")) || (!strcmp(ent->d_name, ".."))) { in pushBackContents()
78 cmd.push_back(StringPrintf("%s/%s/*", path.c_str(), ent->d_name)); in pushBackContents()
80 cmd.push_back(StringPrintf("%s/%s", path.c_str(), ent->d_name)); in pushBackContents()
/system/core/libziparchive/
Dzip_archive.cc123 uint32_t ent = hash & (hash_table_size - 1); in EntryToIndex() local
124 while (hash_table[ent].name != NULL) { in EntryToIndex()
125 if (hash_table[ent] == name) { in EntryToIndex()
126 return ent; in EntryToIndex()
129 ent = (ent + 1) & (hash_table_size - 1); in EntryToIndex()
142 uint32_t ent = hash & (hash_table_size - 1); in AddToHash() local
148 while (hash_table[ent].name != NULL) { in AddToHash()
149 if (hash_table[ent] == name) { in AddToHash()
154 ent = (ent + 1) & (hash_table_size - 1); in AddToHash()
157 hash_table[ent].name = name.name; in AddToHash()
[all …]
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp87 struct dirent* ent; in iterate_siblings() local
88 while ((ent = readdir(dir))) { in iterate_siblings()
90 long tid = strtol(ent->d_name, &end, 10); in iterate_siblings()
91 if (end == ent->d_name || *end != '\0') { in iterate_siblings()
/system/netd/server/
DInterfaceController.cpp120 const dirent *ent = readdir(dir); in forEachInterface() local
121 if (!ent) { in forEachInterface()
124 if ((ent->d_type != DT_DIR) || !isInterfaceName(ent->d_name)) { in forEachInterface()
127 fn(dirname, ent->d_name); in forEachInterface()
/system/tools/hidl/
DCoordinator.cpp304 struct dirent *ent; in getPackageInterfaceFiles() local
305 while ((ent = readdir(dir)) != NULL) { in getPackageInterfaceFiles()
306 if (ent->d_type != DT_REG) { in getPackageInterfaceFiles()
312 const auto d_namelen = strlen(ent->d_name); in getPackageInterfaceFiles()
315 || strcmp(ent->d_name + d_namelen - suffix_len, suffix)) { in getPackageInterfaceFiles()
319 fileNames->push_back(std::string(ent->d_name, d_namelen - suffix_len)); in getPackageInterfaceFiles()
/system/extras/latencytop/
Dlatencytop.c205 struct dirent *ent; in read_process_stats() local
218 while ((ent = readdir(dir))) { in read_process_stats()
219 if (!isdigit(ent->d_name[0])) in read_process_stats()
222 tid = atoi(ent->d_name); in read_process_stats()
/system/core/fs_mgr/
Dfs_mgr.cpp646 struct dirent *ent; in translate_ext_labels() local
669 while ((ent = readdir(blockdir))) { in translate_ext_labels()
674 if (ent->d_type != DT_BLK) in translate_ext_labels()
677 fd = openat(dirfd(blockdir), ent->d_name, O_RDONLY); in translate_ext_labels()
679 LERROR << "Cannot open block device /dev/block/" << ent->d_name; in translate_ext_labels()
694 LINFO << "/dev/block/" << ent->d_name << " not ext{234}"; in translate_ext_labels()
701 if (asprintf(&new_blk_device, "/dev/block/%s", ent->d_name) < 0) { in translate_ext_labels()
/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/media/camera/docs/
Dmetadata_model.py866 for ent in self.entries:
867 new_ent = new_ent_dict.setdefault(ent.name,
868 ent.merge())
/system/core/adb/
Dsysdeps_win32.cpp2200 struct dirent* ent = reinterpret_cast<struct dirent*>(went); in adb_readdir() local
2216 strcpy(ent->d_name, name_utf8.c_str()); in adb_readdir()
2218 return ent; in adb_readdir()