Lines Matching defs:uValue

59  * Updates the native value we keep in RTASN1INTEGER::uValue.
69 case 8: pThis->uValue.u |= (uint64_t)pThis->Asn1Core.uData.pu8[offLast - 7] << 56;
70 case 7: pThis->uValue.u |= (uint64_t)pThis->Asn1Core.uData.pu8[offLast - 6] << 48;
71 case 6: pThis->uValue.u |= (uint64_t)pThis->Asn1Core.uData.pu8[offLast - 5] << 40;
72 case 5: pThis->uValue.u |= (uint64_t)pThis->Asn1Core.uData.pu8[offLast - 4] << 32;
73 case 4: pThis->uValue.u |= (uint32_t)pThis->Asn1Core.uData.pu8[offLast - 3] << 24;
74 case 3: pThis->uValue.u |= (uint32_t)pThis->Asn1Core.uData.pu8[offLast - 2] << 16;
75 case 2: pThis->uValue.u |= (uint16_t)pThis->Asn1Core.uData.pu8[offLast - 1] << 8;
76 case 1: pThis->uValue.u |= pThis->Asn1Core.uData.pu8[offLast];
81 RTDECL(int) RTAsn1Integer_InitU64(PRTASN1INTEGER pThis, uint64_t uValue, PCRTASN1ALLOCATORVTABLE pAllocator)
91 pThis->uValue.u = uValue;
96 if (uValue < RT_ELEMENTS(g_abSmall))
104 * Need to turn uValue into a big endian number without any
109 if (uValue <= UINT32_MAX)
111 if (uValue <= UINT16_MAX)
113 if (uValue <= UINT8_MAX)
120 if (uValue <= UINT32_C(0xffffff))
128 if (uValue <= UINT64_C(0x0000FfffFfffFfff))
130 if (uValue <= UINT64_C(0x000000ffFfffFfff))
137 if (uValue <= UINT64_C(0x00ffFfffFfffFfff))
156 pb[cb] = (uint8_t)uValue;
157 uValue >>= 8;
159 Assert(uValue == 0);
165 RTDECL(int) RTAsn1Integer_InitDefault(PRTASN1INTEGER pThis, uint64_t uValue, PCRTASN1ALLOCATORVTABLE pAllocator)
167 int rc = RTAsn1Integer_InitU64(pThis, uValue, pAllocator);
241 if (pLeft->uValue.u == pRight->uValue.u)
244 iDiff = pLeft->uValue.u < pRight->uValue.u ? -1 : 1;
267 if (pThis->uValue.u == u64Const)
270 iDiff = pThis->uValue.u < u64Const ? -1 : 1;
290 if (pThis->uValue.u == u32Const)
293 iDiff = pThis->uValue.u < u32Const ? -1 : 1;
368 pThis->uValue.u = 1;
385 || pSrc->uValue.u >= RT_ELEMENTS(g_abSmall))
398 Assert(g_abSmall[pSrc->uValue.u] == pSrc->uValue.u);
399 pThis->Asn1Core.uData.pv = (void *)&g_abSmall[pSrc->uValue.u];
401 pThis->uValue.u = pSrc->uValue.u;