Home
last modified time | relevance | path

Searched refs:newBlock (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/font/
DCacheTexture.cpp37 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 …]
DCacheTexture.h61 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock);
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1059 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/
Dutils.c407 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()