Home
last modified time | relevance | path

Searched refs:newAvail (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/installd/
Dutils.c566 size_t newAvail = cache->availDirs < 1000 ? 1000 : cache->availDirs*2; in _add_cache_dir_t() local
568 cache->availDirs*sizeof(cache_dir_t*), newAvail*sizeof(cache_dir_t*)); in _add_cache_dir_t()
573 cache->availDirs = newAvail; in _add_cache_dir_t()
598 size_t newAvail = cache->availFiles < 1000 ? 1000 : cache->availFiles*2; in _add_cache_file_t() local
600 cache->availFiles*sizeof(cache_file_t*), newAvail*sizeof(cache_file_t*)); in _add_cache_file_t()
605 cache->availFiles = newAvail; in _add_cache_file_t()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3970 const size_t newAvail = set->availAttrs+N; in getBagLocked() local
3973 + sizeof(bag_entry)*newAvail); in getBagLocked()
3977 set->availAttrs = newAvail; in getBagLocked()