Lines Matching refs:that
216 bool Value::operator==(const Value& that) const { in operator ==()
217 if (type != that.getType()) return false; in operator ==()
221 return int_value == that.int_value; in operator ==()
223 return long_value == that.long_value; in operator ==()
225 return float_value == that.float_value; in operator ==()
227 return double_value == that.double_value; in operator ==()
229 return str_value == that.str_value; in operator ==()
231 return storage_value == that.storage_value; in operator ==()
237 bool Value::operator!=(const Value& that) const { in operator !=()
238 if (type != that.getType()) return true; in operator !=()
241 return int_value != that.int_value; in operator !=()
243 return long_value != that.long_value; in operator !=()
245 return float_value != that.float_value; in operator !=()
247 return double_value != that.double_value; in operator !=()
249 return str_value != that.str_value; in operator !=()
251 return storage_value != that.storage_value; in operator !=()
257 bool Value::operator<(const Value& that) const { in operator <()
258 if (type != that.getType()) return type < that.getType(); in operator <()
262 return int_value < that.int_value; in operator <()
264 return long_value < that.long_value; in operator <()
266 return float_value < that.float_value; in operator <()
268 return double_value < that.double_value; in operator <()
270 return str_value < that.str_value; in operator <()
272 return storage_value < that.storage_value; in operator <()
278 bool Value::operator>(const Value& that) const { in operator >()
279 if (type != that.getType()) return type > that.getType(); in operator >()
283 return int_value > that.int_value; in operator >()
285 return long_value > that.long_value; in operator >()
287 return float_value > that.float_value; in operator >()
289 return double_value > that.double_value; in operator >()
291 return str_value > that.str_value; in operator >()
293 return storage_value > that.storage_value; in operator >()
299 bool Value::operator>=(const Value& that) const { in operator >=()
300 if (type != that.getType()) return type >= that.getType(); in operator >=()
304 return int_value >= that.int_value; in operator >=()
306 return long_value >= that.long_value; in operator >=()
308 return float_value >= that.float_value; in operator >=()
310 return double_value >= that.double_value; in operator >=()
312 return str_value >= that.str_value; in operator >=()
314 return storage_value >= that.storage_value; in operator >=()
320 Value Value::operator-(const Value& that) const { in operator -()
322 if (type != that.type) { in operator -()
323 ALOGE("Can't operate on different value types, %d, %d", type, that.type); in operator -()
338 v.setInt(int_value - that.int_value); in operator -()
341 v.setLong(long_value - that.long_value); in operator -()
344 v.setFloat(float_value - that.float_value); in operator -()
347 v.setDouble(double_value - that.double_value); in operator -()
355 Value& Value::operator=(const Value& that) { in operator =() argument
356 type = that.type; in operator =()
359 int_value = that.int_value; in operator =()
362 long_value = that.long_value; in operator =()
365 float_value = that.float_value; in operator =()
368 double_value = that.double_value; in operator =()
371 str_value = that.str_value; in operator =()
374 storage_value = that.storage_value; in operator =()
382 Value& Value::operator+=(const Value& that) { in operator +=() argument
383 if (type != that.type) { in operator +=()
384 ALOGE("Can't operate on different value types, %d, %d", type, that.type); in operator +=()
398 int_value += that.int_value; in operator +=()
401 long_value += that.long_value; in operator +=()
404 float_value += that.float_value; in operator +=()
407 double_value += that.double_value; in operator +=()