Lines Matching refs:val
40 TextOutput& operator<<(TextOutput& to, bool val)
42 if (val) to.print("true", 4);
47 TextOutput& operator<<(TextOutput& to, int val)
50 sprintf(buf, "%d", val);
55 TextOutput& operator<<(TextOutput& to, long val)
58 sprintf(buf, "%ld", val);
63 TextOutput& operator<<(TextOutput& to, unsigned int val)
66 sprintf(buf, "%u", val);
71 TextOutput& operator<<(TextOutput& to, unsigned long val)
74 sprintf(buf, "%lu", val);
79 TextOutput& operator<<(TextOutput& to, long long val)
82 sprintf(buf, "%Ld", val);
87 TextOutput& operator<<(TextOutput& to, unsigned long long val)
90 sprintf(buf, "%Lu", val);
107 TextOutput& operator<<(TextOutput& to, float val)
109 return print_float(to,val);
112 TextOutput& operator<<(TextOutput& to, double val)
114 return print_float(to,val);
117 TextOutput& operator<<(TextOutput& to, const void* val)
120 snprintf(buf, sizeof(buf), "%p", val);
125 TextOutput& operator<<(TextOutput& to, const String8& val)
127 to << val.string();
131 TextOutput& operator<<(TextOutput& to, const String16& val)
133 to << String8(val).string();
142 TextOutput& operator<<(TextOutput& to, const TypeCode& val)
144 printTypeCode(val.typeCode(), textOutputPrinter, (void*)&to);
161 TextOutput& operator<<(TextOutput& to, const HexDump& val)
163 printHexData(0, val.buffer(), val.size(), val.bytesPerLine(),
164 val.singleLineCutoff(), val.alignment(), val.carrayStyle(),