Searched refs:bytesNeeded (Results 1 – 1 of 1) sorted by relevance
350 size_t bytesNeeded = codeSnippetSize; // destructCodeSnippet for _pDtor in RaiseInfo() local356 bytesNeeded += align16( sizeof( ExceptionType ) ); in RaiseInfo()358 bytesNeeded += align16( typeInfo->length() ); in RaiseInfo()359 bytesNeeded += codeSnippetSize; // copyConstructCodeSnippet for its _pCopyCtor in RaiseInfo()362 bytesNeeded += align16( sizeof( sal_uInt32 ) + (typeCount * sizeof( sal_uInt32 )) ); in RaiseInfo()364 unsigned char *p = (unsigned char*) ::rtl_allocateMemory( bytesNeeded ); in RaiseInfo()369 VirtualProtect( p, bytesNeeded, PAGE_EXECUTE_READWRITE, &old_protect ); in RaiseInfo()399 OSL_ASSERT(p - baseAddress <= bytesNeeded); in RaiseInfo()
Completed in 9 milliseconds