• Home
  • Raw
  • Download

Lines Matching refs:that

208 bool Value::operator==(const Value& that) const {  in operator ==()
209 if (type != that.getType()) return false; in operator ==()
213 return int_value == that.int_value; in operator ==()
215 return long_value == that.long_value; in operator ==()
217 return float_value == that.float_value; in operator ==()
219 return double_value == that.double_value; in operator ==()
221 return str_value == that.str_value; in operator ==()
223 return storage_value == that.storage_value; in operator ==()
229 bool Value::operator!=(const Value& that) const { in operator !=()
230 if (type != that.getType()) return true; in operator !=()
233 return int_value != that.int_value; in operator !=()
235 return long_value != that.long_value; in operator !=()
237 return float_value != that.float_value; in operator !=()
239 return double_value != that.double_value; in operator !=()
241 return str_value != that.str_value; in operator !=()
243 return storage_value != that.storage_value; in operator !=()
249 bool Value::operator<(const Value& that) const { in operator <()
250 if (type != that.getType()) return type < that.getType(); in operator <()
254 return int_value < that.int_value; in operator <()
256 return long_value < that.long_value; in operator <()
258 return float_value < that.float_value; in operator <()
260 return double_value < that.double_value; in operator <()
262 return str_value < that.str_value; in operator <()
264 return storage_value < that.storage_value; in operator <()
270 bool Value::operator>(const Value& that) const { in operator >()
271 if (type != that.getType()) return type > that.getType(); in operator >()
275 return int_value > that.int_value; in operator >()
277 return long_value > that.long_value; in operator >()
279 return float_value > that.float_value; in operator >()
281 return double_value > that.double_value; in operator >()
283 return str_value > that.str_value; in operator >()
285 return storage_value > that.storage_value; in operator >()
291 bool Value::operator>=(const Value& that) const { in operator >=()
292 if (type != that.getType()) return type >= that.getType(); in operator >=()
296 return int_value >= that.int_value; in operator >=()
298 return long_value >= that.long_value; in operator >=()
300 return float_value >= that.float_value; in operator >=()
302 return double_value >= that.double_value; in operator >=()
304 return str_value >= that.str_value; in operator >=()
306 return storage_value >= that.storage_value; in operator >=()
312 Value Value::operator-(const Value& that) const { in operator -()
314 if (type != that.type) { in operator -()
315 ALOGE("Can't operate on different value types, %d, %d", type, that.type); in operator -()
330 v.setInt(int_value - that.int_value); in operator -()
333 v.setLong(long_value - that.long_value); in operator -()
336 v.setFloat(float_value - that.float_value); in operator -()
339 v.setDouble(double_value - that.double_value); in operator -()
347 Value& Value::operator=(const Value& that) { in operator =() argument
348 type = that.type; in operator =()
351 int_value = that.int_value; in operator =()
354 long_value = that.long_value; in operator =()
357 float_value = that.float_value; in operator =()
360 double_value = that.double_value; in operator =()
363 str_value = that.str_value; in operator =()
366 storage_value = that.storage_value; in operator =()
374 Value& Value::operator+=(const Value& that) { in operator +=() argument
375 if (type != that.type) { in operator +=()
376 ALOGE("Can't operate on different value types, %d, %d", type, that.type); in operator +=()
390 int_value += that.int_value; in operator +=()
393 long_value += that.long_value; in operator +=()
396 float_value += that.float_value; in operator +=()
399 double_value += that.double_value; in operator +=()