Lines Matching refs:that

204 bool Value::operator==(const Value& that) const {  in operator ==()
205 if (type != that.getType()) return false; in operator ==()
209 return int_value == that.int_value; in operator ==()
211 return long_value == that.long_value; in operator ==()
213 return float_value == that.float_value; in operator ==()
215 return double_value == that.double_value; in operator ==()
217 return str_value == that.str_value; in operator ==()
219 return storage_value == that.storage_value; in operator ==()
225 bool Value::operator!=(const Value& that) const { in operator !=()
226 if (type != that.getType()) return true; in operator !=()
229 return int_value != that.int_value; in operator !=()
231 return long_value != that.long_value; in operator !=()
233 return float_value != that.float_value; in operator !=()
235 return double_value != that.double_value; in operator !=()
237 return str_value != that.str_value; in operator !=()
239 return storage_value != that.storage_value; in operator !=()
245 bool Value::operator<(const Value& that) const { in operator <()
246 if (type != that.getType()) return type < that.getType(); in operator <()
250 return int_value < that.int_value; in operator <()
252 return long_value < that.long_value; in operator <()
254 return float_value < that.float_value; in operator <()
256 return double_value < that.double_value; in operator <()
258 return str_value < that.str_value; in operator <()
260 return storage_value < that.storage_value; in operator <()
266 bool Value::operator>(const Value& that) const { in operator >()
267 if (type != that.getType()) return type > that.getType(); in operator >()
271 return int_value > that.int_value; in operator >()
273 return long_value > that.long_value; in operator >()
275 return float_value > that.float_value; in operator >()
277 return double_value > that.double_value; in operator >()
279 return str_value > that.str_value; in operator >()
281 return storage_value > that.storage_value; in operator >()
287 bool Value::operator>=(const Value& that) const { in operator >=()
288 if (type != that.getType()) return type >= that.getType(); in operator >=()
292 return int_value >= that.int_value; in operator >=()
294 return long_value >= that.long_value; in operator >=()
296 return float_value >= that.float_value; in operator >=()
298 return double_value >= that.double_value; in operator >=()
300 return str_value >= that.str_value; in operator >=()
302 return storage_value >= that.storage_value; in operator >=()
308 Value Value::operator-(const Value& that) const { in operator -()
310 if (type != that.type) { in operator -()
311 ALOGE("Can't operate on different value types, %d, %d", type, that.type); in operator -()
326 v.setInt(int_value - that.int_value); in operator -()
329 v.setLong(long_value - that.long_value); in operator -()
332 v.setFloat(float_value - that.float_value); in operator -()
335 v.setDouble(double_value - that.double_value); in operator -()
343 Value& Value::operator=(const Value& that) { in operator =() argument
344 type = that.type; in operator =()
347 int_value = that.int_value; in operator =()
350 long_value = that.long_value; in operator =()
353 float_value = that.float_value; in operator =()
356 double_value = that.double_value; in operator =()
359 str_value = that.str_value; in operator =()
362 storage_value = that.storage_value; in operator =()
370 Value& Value::operator+=(const Value& that) { in operator +=() argument
371 if (type != that.type) { in operator +=()
372 ALOGE("Can't operate on different value types, %d, %d", type, that.type); in operator +=()
386 int_value += that.int_value; in operator +=()
389 long_value += that.long_value; in operator +=()
392 float_value += that.float_value; in operator +=()
395 double_value += that.double_value; in operator +=()