Searched refs:kDeviceBits (Results 1 – 1 of 1) sorted by relevance
35 const int kDeviceBits = 12; variable38 const int64 kUidMask = (static_cast<int64>(1) << (64 - kDeviceBits)) - 1; in MakeDeviceHandle()39 return (device_ordinal << (64 - kDeviceBits)) | (rnd_value & kUidMask); in MakeDeviceHandle()43 return (handle >> (64 - kDeviceBits)) & ((1 << kDeviceBits) - 1); in GetDeviceFromHandle()