Home
last modified time | relevance | path

Searched refs:actualSize (Results 1 – 7 of 7) sorted by relevance

/external/srec/portable/src/
Dpmemory.c575 size_t actualSize; in pmalloc() local
612 actualSize = sizeof(MemoryData) + nbBytes; in pmalloc()
614 data = (MemoryData *) malloc(actualSize); in pmalloc()
666 data->size = actualSize; in pmalloc()
668 e->curAlloc += actualSize; in pmalloc()
672 gCurAlloc += actualSize; in pmalloc()
688 pfprintf(gFile, L("pmem|alloc|%s|%d|0x%x|%s|\n"), tag, actualSize, result, data->stackTrace); in pmalloc()
690 pfprintf(gFile, L("pmem|alloc|%s|%d|0x%x|\n"), tag, actualSize, result); in pmalloc()
742 size_t actualSize; in prealloc() local
789 actualSize = newSize + sizeof(MemoryData); in prealloc()
[all …]
/external/srec/shared/src/
DIntArrayListImpl.c53 impl->actualSize = INITIAL_SIZE; in IntArrayListCreate()
78 if (impl->virtualSize >= impl->actualSize) in IntArrayList_Add()
81 int* temp = REALLOC(impl->contents, (impl->actualSize * 2 + 1) * sizeof(int)); in IntArrayList_Add()
85 impl->actualSize *= 2; in IntArrayList_Add()
112 if (virtualSize <= impl->actualSize / 4) in IntArrayList_Remove()
115 impl->contents = REALLOC(contents, (impl->actualSize / 2 + 1) * sizeof(int)); in IntArrayList_Remove()
117 impl->actualSize /= 2; in IntArrayList_Remove()
DInt8ArrayListImpl.c54 impl->actualSize = INITIAL_SIZE; in Int8ArrayListCreate()
79 if (impl->virtualSize >= impl->actualSize) in Int8ArrayList_Add()
82 asr_int8_t* temp = REALLOC(impl->contents, (impl->actualSize * 2 + 1) * sizeof(asr_int8_t)); in Int8ArrayList_Add()
86 impl->actualSize *= 2; in Int8ArrayList_Add()
113 if (virtualSize <= impl->actualSize / 4) in Int8ArrayList_Remove()
116 impl->contents = REALLOC(contents, (impl->actualSize / 2 + 1) * sizeof(asr_int8_t)); in Int8ArrayList_Remove()
118 impl->actualSize /= 2; in Int8ArrayList_Remove()
/external/opencore/protocols/http_parcom/src/
Dhttp_parser.cpp566 uint32 actualSize = OSCL_MIN(requestSize, availableFragSize); in getData() local
568 if (actualSize > 0) in getData()
572 aHttpFrag.bind((void *)fragStartPtr, actualSize); in getData()
573 …if (!constructOutputFragment(actualSize, (void *)fragStartPtr, (iDataInQueueMemFragOffset == 0))) … in getData()
585 iDataInQueueMemFragOffset += actualSize; in getData()
588 return (int32)actualSize; in getData()
1277 int32 actualSize = 0; in parseEnityBodyChunkData() local
1280 if ((actualSize = aParserInput.getData(aFrag, requestSize)) <= 0) break; in parseEnityBodyChunkData()
1281 iCurrentChunkDataLength += actualSize; in parseEnityBodyChunkData()
1283 requestSize -= actualSize; in parseEnityBodyChunkData()
[all …]
/external/skia/src/utils/mac/
DSkOSWindow_Mac.cpp229 UInt32 actualSize; in getparam() local
232 status = GetEventParameter(inEvent, name, type, &actualType, size, &actualSize, data); in getparam()
235 SkASSERT(actualSize == size); in getparam()
/external/srec/shared/include/
DIntArrayListImpl.h48 size_t actualSize; member
DInt8ArrayListImpl.h48 size_t actualSize; member