Searched refs:fts (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/installd/ |
D | CacheTracker.cpp | 99 FTS *fts; in loadItemsFrom() local 102 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, nullptr))) { in loadItemsFrom() 106 while ((p = fts_read(fts)) != nullptr) { in loadItemsFrom() 130 while ((p = fts_read(fts)) != nullptr) { in loadItemsFrom() 162 fts_close(fts); in loadItemsFrom()
|
D | CacheItem.cpp | 73 FTS *fts; in purge() local 76 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, nullptr))) { in purge() 80 while ((p = fts_read(fts)) != nullptr) { in purge()
|
D | utils.cpp | 381 FTS *fts; in calculate_tree_size() local 385 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, nullptr))) { in calculate_tree_size() 391 while ((p = fts_read(fts)) != nullptr) { in calculate_tree_size() 406 fts_set(fts, p, FTS_SKIP); in calculate_tree_size() 419 fts_close(fts); in calculate_tree_size() 1032 FTS *fts; in prepare_app_cache_dir() local 1035 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, nullptr))) { in prepare_app_cache_dir() 1039 while ((p = fts_read(fts)) != nullptr) { in prepare_app_cache_dir() 1059 fts_close(fts); in prepare_app_cache_dir()
|
D | InstalldNativeService.cpp | 728 FTS* fts; in fixupAppData() local 733 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, nullptr))) { in fixupAppData() 736 while ((p = fts_read(fts)) != nullptr) { in fixupAppData() 750 FTSENT* child = fts_children(fts, 0); in fixupAppData() 777 fts_set(fts, p, FTS_SKIP); in fixupAppData() 811 fts_set(fts, p, FTS_SKIP); in fixupAppData() 816 fts_close(fts); in fixupAppData() 1267 FTS *fts; in freeCache() local 1274 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, nullptr))) { in freeCache() 1277 while ((p = fts_read(fts)) != nullptr) { in freeCache() [all …]
|