Lines Matching refs:val
79 void Print_UInt64_and_String(AString &s, UInt64 val, const char *name);
80 void Print_UInt64_and_String(AString &s, UInt64 val, const char *name)
83 ConvertUInt64ToString(val, temp);
89 void PrintSize_bytes_Smart(AString &s, UInt64 val);
90 void PrintSize_bytes_Smart(AString &s, UInt64 val)
92 Print_UInt64_and_String(s, val, "bytes");
94 if (val == 0)
100 if (val >= ((UInt64)10 << 30)) { numBits = 30; c = 'G'; }
101 else if (val >= ((UInt64)10 << 20)) { numBits = 20; c = 'M'; }
104 Print_UInt64_and_String(s, ((val + ((UInt64)1 << numBits) - 1) >> numBits), temp);
108 static void PrintSize_bytes_Smart_comma(AString &s, UInt64 val)
110 if (val == (UInt64)(Int64)-1)
113 PrintSize_bytes_Smart(s, val);