Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dutils.cpp620 size_t newAvail = cache->availDirs < 1000 ? 1000 : cache->availDirs*2; in _add_cache_dir_t() local
622 cache->availDirs*sizeof(cache_dir_t*), newAvail*sizeof(cache_dir_t*)); in _add_cache_dir_t()
627 cache->availDirs = newAvail; in _add_cache_dir_t()
652 size_t newAvail = cache->availFiles < 1000 ? 1000 : cache->availFiles*2; in _add_cache_file_t() local
654 cache->availFiles*sizeof(cache_file_t*), newAvail*sizeof(cache_file_t*)); in _add_cache_file_t()
659 cache->availFiles = newAvail; in _add_cache_file_t()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4354 const size_t newAvail = set->availAttrs+N; in getBagLocked() local
4357 + sizeof(bag_entry)*newAvail); in getBagLocked()
4361 set->availAttrs = newAvail; in getBagLocked()