Home
last modified time | relevance | path

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

/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/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/libnfc-nxp/src/
DphFriNfc_NdefMap.c1239 …NdefMap_GetContainerSize(const phFriNfc_NdefMap_t *NdefMap,uint32_t *maxSize, uint32_t *actualSize) in phFriNfc_NdefMap_GetContainerSize() argument
1246 if( (NdefMap == NULL) || (maxSize == NULL) || (actualSize == NULL)) in phFriNfc_NdefMap_GetContainerSize()
1265 *actualSize = NdefMap->TLVStruct.ActualSize; in phFriNfc_NdefMap_GetContainerSize()
1283 *actualSize = NdefMap->DesfireCapContainer.NdefDataLen; in phFriNfc_NdefMap_GetContainerSize()
1296 *actualSize = NdefMap->TLVStruct.BytesRemainLinTLV; in phFriNfc_NdefMap_GetContainerSize()
1307 *actualSize = NdefMap->TopazContainer.ActualNDEFMsgSize; in phFriNfc_NdefMap_GetContainerSize()
1388 *actualSize = NdefMap->TLVStruct.BytesRemainLinTLV; in phFriNfc_NdefMap_GetContainerSize()
1400 *actualSize = NdefMap->FelicaAttrInfo.LenBytes[0]; in phFriNfc_NdefMap_GetContainerSize()
1401 *actualSize = *actualSize << 16; in phFriNfc_NdefMap_GetContainerSize()
1402 *actualSize += NdefMap->FelicaAttrInfo.LenBytes[1]; in phFriNfc_NdefMap_GetContainerSize()
[all …]
DphFriNfc_NdefMap.h1238 …defMap_GetContainerSize(const phFriNfc_NdefMap_t *NdefMap,uint32_t *maxSize, uint32_t *actualSize);
/external/chromium_org/third_party/WebKit/Source/wtf/
DPartitionAllocTest.cpp603 size_t requestedSize, actualSize, predictedSize; in TEST() local
612 actualSize = partitionAllocGetSize(ptr); in TEST()
613 EXPECT_EQ(predictedSize, actualSize); in TEST()
614 EXPECT_LT(requestedSize, actualSize); in TEST()
623 actualSize = partitionAllocGetSize(ptr); in TEST()
624 EXPECT_EQ(predictedSize, actualSize); in TEST()
625 EXPECT_EQ(requestedSize, actualSize); in TEST()
634 actualSize = partitionAllocGetSize(ptr); in TEST()
635 EXPECT_EQ(predictedSize, actualSize); in TEST()
636 EXPECT_EQ(requestedSize + WTF::kSystemPageSize, actualSize); in TEST()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_objects.cpp1039 FX_DWORD actualSize = size > 1024 ? 1024 : size; in Identical() local
1040 m_pFile->ReadBlock(srcBuf, srcOffset, actualSize); in Identical()
1041 pOther->m_pFile->ReadBlock(destBuf, destOffset, actualSize); in Identical()
1042 if (FXSYS_memcmp32(srcBuf, destBuf, actualSize) != 0) { in Identical()
1045 size -= actualSize; in Identical()
1046 srcOffset += actualSize; in Identical()
1047 destOffset += actualSize; in Identical()
1071 FX_DWORD actualSize = size > 1024 ? 1024 : size; in Identical() local
1072 m_pFile->ReadBlock(srcBuf, offset, actualSize); in Identical()
1073 if (FXSYS_memcmp32(srcBuf, pBuf, actualSize) != 0) { in Identical()
[all …]
/external/srec/shared/include/
DIntArrayListImpl.h48 size_t actualSize; member
DInt8ArrayListImpl.h48 size_t actualSize; member
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzFaceSkia.cpp206 size_t actualSize = typeface->getTableData(tag, 0, tableSize, buffer); in harfBuzzSkiaGetTable() local
207 if (tableSize != actualSize) { in harfBuzzSkiaGetTable()
/external/chromium_org/third_party/libusb/src/libusb/os/
Dwince_usb.c442 DWORD actualSize = len; in wince_get_active_config_descriptor() local
444 if (!UkwGetConfigDescriptor(priv->dev, UKW_ACTIVE_CONFIGURATION, buffer, len, &actualSize)) { in wince_get_active_config_descriptor()
447 return actualSize; in wince_get_active_config_descriptor()
456 DWORD actualSize = len; in wince_get_config_descriptor() local
458 if (!UkwGetConfigDescriptor(priv->dev, config_index, buffer, len, &actualSize)) { in wince_get_config_descriptor()
461 return actualSize; in wince_get_config_descriptor()
/external/chromium_org/third_party/skia/src/views/mac/
DSkOSWindow_Mac.cpp241 UInt32 actualSize; in getparam() local
244 status = GetEventParameter(inEvent, name, type, &actualType, size, &actualSize, data); in getparam()
247 SkASSERT(actualSize == size); in getparam()
/external/skia/src/views/mac/
DSkOSWindow_Mac.cpp241 UInt32 actualSize; in getparam() local
244 status = GetEventParameter(inEvent, name, type, &actualType, size, &actualSize, data); in getparam()
247 SkASSERT(actualSize == size); in getparam()
/external/chromium_org/third_party/WebKit/Tools/Scripts/
DVCSUtils.pm1940 my $actualSize = length($2) / 5 * 4;
1944 … die "$fullPath: unexpected size of a line: $&" if int(($expectedSize + 3) / 4) * 4 != $actualSize;
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcloctst.c5473 static int32_t getBufferSize(const errorData* data, int32_t actualSize) in getBufferSize() argument
5477 return actualSize; in getBufferSize()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c5474 static int32_t getBufferSize(const errorData* data, int32_t actualSize) in getBufferSize() argument
5478 return actualSize; in getBufferSize()