Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc178 uint32_t ent = hash & (hash_table_size - 1); in EntryToIndex() local
179 while (hash_table[ent].name != NULL) { in EntryToIndex()
180 if (hash_table[ent] == name) { in EntryToIndex()
181 return ent; in EntryToIndex()
184 ent = (ent + 1) & (hash_table_size - 1); in EntryToIndex()
197 uint32_t ent = hash & (hash_table_size - 1); in AddToHash() local
203 while (hash_table[ent].name != NULL) { in AddToHash()
204 if (hash_table[ent] == name) { in AddToHash()
209 ent = (ent + 1) & (hash_table_size - 1); in AddToHash()
212 hash_table[ent].name = name.name; in AddToHash()
[all …]
/system/vold/
DMoveTask.cpp69 struct dirent* ent; in pushBackContents() local
70 while ((ent = readdir(dir)) != NULL) { in pushBackContents()
71 if ((!strcmp(ent->d_name, ".")) || (!strcmp(ent->d_name, ".."))) { in pushBackContents()
74 cmd.push_back(StringPrintf("%s/%s", path.c_str(), ent->d_name)); in pushBackContents()
/system/core/crash_reporter/
Dcrash_collector.cc305 struct dirent* ent; in CheckHasCapacity() local
308 while (readdir_r(dir, &ent_buf, &ent) == 0 && ent) { in CheckHasCapacity()
309 if ((strcmp(ent->d_name, ".") == 0) || in CheckHasCapacity()
310 (strcmp(ent->d_name, "..") == 0)) in CheckHasCapacity()
313 std::string filename(ent->d_name); in CheckHasCapacity()
/system/core/fs_mgr/
Dfs_mgr.c369 struct dirent *ent; in translate_ext_labels() local
392 while ((ent = readdir(blockdir))) { in translate_ext_labels()
397 if (ent->d_type != DT_BLK) in translate_ext_labels()
400 fd = openat(dirfd(blockdir), ent->d_name, O_RDONLY); in translate_ext_labels()
402 ERROR("Cannot open block device /dev/block/%s\n", ent->d_name); in translate_ext_labels()
417 INFO("/dev/block/%s not ext{234}\n", ent->d_name); in translate_ext_labels()
424 if (asprintf(&new_blk_device, "/dev/block/%s", ent->d_name) < 0) { in translate_ext_labels()
/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/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.cpp2354 struct dirent* ent = reinterpret_cast<struct dirent*>(went); in adb_readdir() local
2370 strcpy(ent->d_name, name_utf8.c_str()); in adb_readdir()
2372 return ent; in adb_readdir()