Searched refs:nhDataByteSize (Results 1 – 2 of 2) sorted by relevance
39 size_t nhDataByteSize = halToken.size(); in convertHalTokenToNativeHandle() local40 if (nhDataByteSize > WINDOW_HAL_TOKEN_SIZE_MAX) { in convertHalTokenToNativeHandle()44 size_t numInts = ceil(nhDataByteSize / sizeof(int)) + 1; in convertHalTokenToNativeHandle()54 nh->data[0] = nhDataByteSize; in convertHalTokenToNativeHandle()55 memcpy(&(nh->data[1]), halToken.data(), nhDataByteSize); in convertHalTokenToNativeHandle()
657 size_t nhDataByteSize = halToken.size(); in convertHalTokenToNativeHandle() local658 if (nhDataByteSize > kWindowHalTokenSizeMax) { in convertHalTokenToNativeHandle()662 size_t numInts = ceil(nhDataByteSize / sizeof(int)) + 1; in convertHalTokenToNativeHandle()673 nh->data[0] = nhDataByteSize; in convertHalTokenToNativeHandle()674 memcpy(&(nh->data[1]), halToken.data(), nhDataByteSize); in convertHalTokenToNativeHandle()