Searched refs:numIntsInToken (Results 1 – 1 of 1) sorted by relevance
579 int numIntsInToken = tokenHandle->handle()->numInts; in flattenBufferHubBuffer() local580 const size_t sizeNeeded = static_cast<size_t>(3 + numIntsInToken) * sizeof(int); in flattenBufferHubBuffer()590 buf[1] = numIntsInToken; in flattenBufferHubBuffer()591 memcpy(buf + 2, tokenHandle->handle()->data, static_cast<size_t>(numIntsInToken) * sizeof(int)); in flattenBufferHubBuffer()592 buf[2 + numIntsInToken] = static_cast<int32_t>(mGenerationNumber); in flattenBufferHubBuffer()599 int numIntsInToken = buf[1]; in unflattenBufferHubBuffer() local602 const size_t sizeNeeded = static_cast<size_t>(3 + numIntsInToken) * sizeof(int); in unflattenBufferHubBuffer()609 native_handle_t* importToken = native_handle_create(/*numFds=*/0, /*numInts=*/numIntsInToken); in unflattenBufferHubBuffer()621 mGenerationNumber = static_cast<uint32_t>(buf[2 + numIntsInToken]); in unflattenBufferHubBuffer()