Lines Matching +full:- +full:- +full:check
5 * SPDX-License-Identifier: MIT
54 #define configADJUSTED_HEAP_SIZE ( configTOTAL_HEAP_SIZE - portBYTE_ALIGNMENT )
60 * heap - probably so it can be placed in a special segment or address. */
69 /*-----------------------------------------------------------*/
81 /* Byte alignment required. Check for overflow. */ in pvPortMalloc()
82 …if( ( xWantedSize + ( portBYTE_ALIGNMENT - ( xWantedSize & portBYTE_ALIGNMENT_MASK ) ) ) > xWanted… in pvPortMalloc()
84 xWantedSize += ( portBYTE_ALIGNMENT - ( xWantedSize & portBYTE_ALIGNMENT_MASK ) ); in pvPortMalloc()
99 … = ( uint8_t * ) ( ( ( portPOINTER_SIZE_TYPE ) & ucHeap[ portBYTE_ALIGNMENT - 1 ] ) & ( ~( ( portP… in pvPortMalloc()
102 /* Check there is enough room left for the allocation and. */ in pvPortMalloc()
105 ( ( xNextFreeByte + xWantedSize ) > xNextFreeByte ) ) /* Check for overflow. */ in pvPortMalloc()
128 /*-----------------------------------------------------------*/
140 /*-----------------------------------------------------------*/
147 /*-----------------------------------------------------------*/
151 return( configADJUSTED_HEAP_SIZE - xNextFreeByte ); in xPortGetFreeHeapSize()