Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dutils.c453 size_t newAvail = cache->availDirs < 1000 ? 1000 : cache->availDirs*2; in _add_cache_dir_t() local
455 cache->availDirs*sizeof(cache_dir_t*), newAvail*sizeof(cache_dir_t*)); in _add_cache_dir_t()
460 cache->availDirs = newAvail; in _add_cache_dir_t()
485 size_t newAvail = cache->availFiles < 1000 ? 1000 : cache->availFiles*2; in _add_cache_file_t() local
487 cache->availFiles*sizeof(cache_file_t*), newAvail*sizeof(cache_file_t*)); in _add_cache_file_t()
492 cache->availFiles = newAvail; in _add_cache_file_t()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3469 const size_t newAvail = set->availAttrs+N; in getBagLocked() local
3472 + sizeof(bag_entry)*newAvail); in getBagLocked()
3476 set->availAttrs = newAvail; in getBagLocked()