Searched refs:ent (Results 1 – 13 of 13) sorted by relevance
/system/vold/ |
D | MoveTask.cpp | 72 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/ |
D | zip_archive.cc | 123 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/ |
D | debuggerd_fallback.cpp | 87 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/ |
D | InterfaceController.cpp | 120 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/ |
D | Coordinator.cpp | 304 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/ |
D | latencytop.c | 205 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/ |
D | fs_mgr.cpp | 646 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/ |
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/media/camera/docs/ |
D | metadata_model.py | 866 for ent in self.entries: 867 new_ent = new_ent_dict.setdefault(ent.name, 868 ent.merge())
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 2200 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()
|