Lines Matching refs:nValue
40 getHexValueOf (sal_Int32 nValue, sal_Char* pBuffer) in getHexValueOf() argument
46 pBuffer[0] = pHex [(nValue & 0xF0) >> 4]; in getHexValueOf()
47 pBuffer[1] = pHex [(nValue & 0x0F) ]; in getHexValueOf()
53 getAlignedHexValueOf (sal_Int32 nValue, sal_Char* pBuffer) in getAlignedHexValueOf() argument
56 sal_Bool bNegative = nValue < 0; in getAlignedHexValueOf()
57 nValue = bNegative ? -nValue : nValue; in getAlignedHexValueOf()
61 if (nValue < 0x80) in getAlignedHexValueOf()
64 if (nValue < 0x8000) in getAlignedHexValueOf()
67 if (nValue < 0x800000) in getAlignedHexValueOf()
76 nPrecision -= getHexValueOf (nValue % 256, pBuffer + nPrecision - 2 ); in getAlignedHexValueOf()
77 nValue /= 256; in getAlignedHexValueOf()
103 getValueOf (sal_Int32 nValue, sal_Char* pBuffer) in getValueOf() argument
106 if (nValue < 0) in getValueOf()
109 nValue *= -1; in getValueOf()
112 if (nValue == 0) in getValueOf()
120 while (nValue > 0) in getValueOf()
122 pInvBuffer [nInvChar++] = '0' + nValue % 10; in getValueOf()
123 nValue /= 10; in getValueOf()