Searched refs:fts (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/installd/ |
D | CacheTracker.cpp | 103 FTS *fts; in loadItemsFrom() local 106 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, NULL))) { in loadItemsFrom() 110 while ((p = fts_read(fts)) != nullptr) { in loadItemsFrom() 134 while ((p = fts_read(fts)) != nullptr) { in loadItemsFrom() 165 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, NULL))) { in purge() 80 while ((p = fts_read(fts)) != nullptr) { in purge()
|
D | utils.cpp | 306 FTS *fts; in calculate_tree_size() local 310 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, NULL))) { in calculate_tree_size() 316 while ((p = fts_read(fts)) != NULL) { in calculate_tree_size() 331 fts_set(fts, p, FTS_SKIP); in calculate_tree_size() 344 fts_close(fts); in calculate_tree_size() 1040 FTS *fts; in prepare_app_cache_dir() local 1043 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, NULL))) { in prepare_app_cache_dir() 1047 while ((p = fts_read(fts)) != NULL) { in prepare_app_cache_dir() 1067 fts_close(fts); in prepare_app_cache_dir()
|
D | InstalldNativeService.cpp | 626 FTS* fts; in fixupAppData() local 631 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, NULL))) { in fixupAppData() 634 while ((p = fts_read(fts)) != nullptr) { in fixupAppData() 648 FTSENT* child = fts_children(fts, 0); in fixupAppData() 675 fts_set(fts, p, FTS_SKIP); in fixupAppData() 711 fts_close(fts); in fixupAppData() 951 FTS *fts; in freeCache() local 958 if (!(fts = fts_open(argv, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, NULL))) { in freeCache() 961 while ((p = fts_read(fts)) != NULL) { in freeCache() 987 fts_set(fts, p, FTS_SKIP); in freeCache() [all …]
|