Searched refs:newBlock (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 37 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) { in insertBlock() argument 40 newBlock, newBlock->mX, newBlock->mY, in insertBlock() 41 newBlock->mWidth, newBlock->mHeight); in insertBlock() 48 if (newBlock->mWidth < currBlock->mWidth) { in insertBlock() 49 newBlock->mNext = currBlock; in insertBlock() 50 newBlock->mPrev = prevBlock; in insertBlock() 51 currBlock->mPrev = newBlock; in insertBlock() 54 prevBlock->mNext = newBlock; in insertBlock() 57 return newBlock; in insertBlock() 66 newBlock->mNext = currBlock; in insertBlock() [all …]
|
D | CacheTexture.h | 61 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock);
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 1059 ssize_t newBlock = theme->resolveAttributeReference(&value, block, in android_content_AssetManager_applyStyle() local 1061 if (newBlock >= 0) block = newBlock; in android_content_AssetManager_applyStyle() 1067 ssize_t newBlock = theme->getAttribute(curIdent, &value, &typeSetFlags); in android_content_AssetManager_applyStyle() local 1068 if (newBlock >= 0) { in android_content_AssetManager_applyStyle() 1071 newBlock = res.resolveReference(&value, block, &resid, in android_content_AssetManager_applyStyle() 1074 if (newBlock == BAD_INDEX) { in android_content_AssetManager_applyStyle() 1079 if (newBlock >= 0) block = newBlock; in android_content_AssetManager_applyStyle() 1220 ssize_t newBlock = res.resolveReference(&value, block, &resid, in android_content_AssetManager_retrieveAttributes() local 1223 if (newBlock == BAD_INDEX) { in android_content_AssetManager_retrieveAttributes() 1228 if (newBlock >= 0) block = newBlock; in android_content_AssetManager_retrieveAttributes() [all …]
|
/frameworks/native/cmds/installd/ |
D | utils.c | 407 int8_t* newBlock = malloc(CACHE_BLOCK_SIZE); in _cache_malloc() local 408 if (newBlock == NULL) { in _cache_malloc() 411 CACHE_NOISY(ALOGI("Allocated new cache mem block: %p", newBlock)); in _cache_malloc() 412 *(void**)newBlock = cache->memBlocks; in _cache_malloc() 413 cache->memBlocks = newBlock; in _cache_malloc() 414 res = cache->curMemBlockAvail = newBlock + sizeof(void*); in _cache_malloc() 415 cache->curMemBlockEnd = newBlock + CACHE_BLOCK_SIZE; in _cache_malloc()
|