• Home
  • Raw
  • Download

Lines Matching refs:fValue

105     fValue.fInt64 = 0;  in init()
127 fValue.fDate = date; in Formattable()
137 fValue.fDouble = value; in Formattable()
146 fValue.fInt64 = value; in Formattable()
156 fValue.fInt64 = value; in Formattable()
175 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
186 fValue.fString = stringToAdopt; in Formattable()
193 fValue.fObject = objectToAdopt; in Formattable()
203 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count); in Formattable()
204 fValue.fArrayAndCount.fCount = count; in Formattable()
235 fValue.fArrayAndCount.fCount = source.fValue.fArrayAndCount.fCount; in operator =()
236 fValue.fArrayAndCount.fArray = createArrayCopy(source.fValue.fArrayAndCount.fArray, in operator =()
237 source.fValue.fArrayAndCount.fCount); in operator =()
241 fValue.fString = new UnicodeString(*source.fValue.fString); in operator =()
245 fValue.fDouble = source.fValue.fDouble; in operator =()
250 fValue.fInt64 = source.fValue.fInt64; in operator =()
254 fValue.fDate = source.fValue.fDate; in operator =()
257 fValue.fObject = objectClone(source.fValue.fObject); in operator =()
292 equal = (fValue.fDate == that.fValue.fDate); in operator ==()
295 equal = (fValue.fDouble == that.fValue.fDouble); in operator ==()
299 equal = (fValue.fInt64 == that.fValue.fInt64); in operator ==()
302 equal = (*(fValue.fString) == *(that.fValue.fString)); in operator ==()
305 if (fValue.fArrayAndCount.fCount != that.fValue.fArrayAndCount.fCount) { in operator ==()
310 for (i=0; i<fValue.fArrayAndCount.fCount; ++i) { in operator ==()
311 if (fValue.fArrayAndCount.fArray[i] != that.fValue.fArrayAndCount.fArray[i]) { in operator ==()
318 if (fValue.fObject == NULL || that.fValue.fObject == NULL) { in operator ==()
321 equal = objectEquals(fValue.fObject, that.fValue.fObject); in operator ==()
344 delete fValue.fString; in dispose()
347 delete[] fValue.fArrayAndCount.fArray; in dispose()
350 delete fValue.fObject; in dispose()
357 fValue.fInt64 = 0; in dispose()
402 return (int32_t)fValue.fInt64; in getLong()
404 if (fValue.fInt64 > INT32_MAX) { in getLong()
407 } else if (fValue.fInt64 < INT32_MIN) { in getLong()
411 return (int32_t)fValue.fInt64; in getLong()
414 if (fValue.fDouble > INT32_MAX) { in getLong()
417 } else if (fValue.fDouble < INT32_MIN) { in getLong()
421 return (int32_t)fValue.fDouble; // loses fraction in getLong()
424 if (fValue.fObject == NULL) { in getLong()
429 if (instanceOfMeasure(fValue.fObject)) { in getLong()
430 return ((const Measure*) fValue.fObject)-> in getLong()
457 return fValue.fInt64; in getInt64()
459 if (fValue.fDouble > (double)U_INT64_MAX) { in getInt64()
462 } else if (fValue.fDouble < (double)U_INT64_MIN) { in getInt64()
465 } else if (fabs(fValue.fDouble) > U_DOUBLE_MAX_EXACT_INT && fDecimalQuantity != NULL) { in getInt64()
474 return (int64_t)fValue.fDouble; in getInt64()
477 if (fValue.fObject == NULL) { in getInt64()
481 if (instanceOfMeasure(fValue.fObject)) { in getInt64()
482 return ((const Measure*) fValue.fObject)-> in getInt64()
503 return (double)fValue.fInt64; in getDouble()
505 return fValue.fDouble; in getDouble()
507 if (fValue.fObject == NULL) { in getDouble()
512 if (instanceOfMeasure(fValue.fObject)) { in getDouble()
513 return ((const Measure*) fValue.fObject)-> in getDouble()
525 return (fType == kObject) ? fValue.fObject : NULL; in getObject()
536 fValue.fDouble = d; in setDouble()
547 fValue.fInt64 = l; in setLong()
558 fValue.fInt64 = ll; in setInt64()
569 fValue.fDate = d; in setDate()
580 fValue.fString = new UnicodeString(stringToCopy); in setString()
591 fValue.fArrayAndCount.fArray = createArrayCopy(array, count); in setArray()
592 fValue.fArrayAndCount.fCount = count; in setArray()
603 fValue.fString = stringToAdopt; in adoptString()
614 fValue.fArrayAndCount.fArray = array; in adoptArray()
615 fValue.fArrayAndCount.fCount = count; in adoptArray()
622 fValue.fObject = objectToAdopt; in adoptObject()
633 if (fValue.fString == NULL) { in getString()
636 result = *fValue.fString; in getString()
650 if (fValue.fString == NULL) { in getString()
654 return *fValue.fString; in getString()
665 if (fValue.fString == NULL) { in getString()
669 return *fValue.fString; in getString()
681 count = fValue.fArrayAndCount.fCount; in getArray()
682 return fValue.fArrayAndCount.fArray; in getArray()
784 fValue.fInt64 = fDecimalQuantity->toLong(); in adoptDecimalQuantity()
785 if (fValue.fInt64 <= INT32_MAX && fValue.fInt64 >= INT32_MIN) { in adoptDecimalQuantity()
792 fValue.fDouble = fDecimalQuantity->toDouble(); in adoptDecimalQuantity()