Home | History | Annotate | Download | only in i18n

Lines Matching full:fvalue

100     fValue.fInt64 = 0;
122 fValue.fDate = date;
132 fValue.fDouble = value;
141 fValue.fInt64 = value;
151 fValue.fInt64 = value;
170 fValue.fString = new UnicodeString(stringToCopy);
181 fValue.fString = stringToAdopt;
188 fValue.fObject = objectToAdopt;
198 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count);
199 fValue.fArrayAndCount.fCount = count;
230 fValue.fArrayAndCount.fCount = source.fValue.fArrayAndCount.fCount;
231 fValue.fArrayAndCount.fArray = createArrayCopy(source.fValue.fArrayAndCount.fArray,
232 source.fValue.fArrayAndCount.fCount);
236 fValue.fString = new UnicodeString(*source.fValue.fString);
240 fValue.fDouble = source.fValue.fDouble;
245 fValue.fInt64 = source.fValue.fInt64;
249 fValue.fDate = source.fValue.fDate;
252 fValue.fObject = objectClone(source.fValue.fObject);
287 equal = (fValue.fDate == that.fValue.fDate);
290 equal = (fValue.fDouble == that.fValue.fDouble);
294 equal = (fValue.fInt64 == that.fValue.fInt64);
297 equal = (*(fValue.fString) == *(that.fValue.fString));
300 if (fValue.fArrayAndCount.fCount != that.fValue.fArrayAndCount.fCount) {
305 for (i=0; i<fValue.fArrayAndCount.fCount; ++i) {
306 if (fValue.fArrayAndCount.fArray[i] != that.fValue.fArrayAndCount.fArray[i]) {
313 if (fValue.fObject == NULL || that.fValue.fObject == NULL) {
316 equal = objectEquals(fValue.fObject, that.fValue.fObject);
339 delete fValue.fString;
342 delete[] fValue.fArrayAndCount.fArray;
345 delete fValue.fObject;
352 fValue.fInt64 = 0;
402 return (int32_t)fValue.fInt64;
404 if (fValue.fInt64 > INT32_MAX) {
407 } else if (fValue.fInt64 < INT32_MIN) {
411 return (int32_t)fValue.fInt64;
414 if (fValue.fDouble > INT32_MAX) {
417 } else if (fValue.fDouble < INT32_MIN) {
421 return (int32_t)fValue.fDouble; // loses fraction
424 if (fValue.fObject == NULL) {
429 if (instanceOfMeasure(fValue.fObject)) {
430 return ((const Measure*) fValue.fObject)->
456 return fValue.fInt64;
458 if (fValue.fDouble > (double)U_INT64_MAX) {
461 } else if (fValue.fDouble < (double)U_INT64_MIN) {
464 } else if (fabs(fValue.fDouble) > U_DOUBLE_MAX_EXACT_INT && fDecimalNum != NULL) {
470 return fValue.fDouble > 0 ? U_INT64_MAX : U_INT64_MIN;
473 return (int64_t)fValue.fDouble;
476 if (fValue.fObject == NULL) {
480 if (instanceOfMeasure(fValue.fObject)) {
481 return ((const Measure*) fValue.fObject)->
501 return (double)fValue.fInt64;
503 return fValue.fDouble;
505 if (fValue.fObject == NULL) {
510 if (instanceOfMeasure(fValue.fObject)) {
511 return ((const Measure*) fValue.fObject)->
522 return (fType == kObject) ? fValue.fObject : NULL;
533 fValue.fDouble = d;
544 fValue.fInt64 = l;
555 fValue.fInt64 = ll;
566 fValue.fDate = d;
577 fValue.fString = new UnicodeString(stringToCopy);
588 fValue.fArrayAndCount.fArray = createArrayCopy(array, count);
589 fValue.fArrayAndCount.fCount = count;
600 fValue.fString = stringToAdopt;
611 fValue.fArrayAndCount.fArray = array;
612 fValue.fArrayAndCount.fCount = count;
619 fValue.fObject = objectToAdopt;
630 if (fValue.fString == NULL) {
633 result = *fValue
647 if (fValue.fString == NULL) {
651 return *fValue.fString;
662 if (fValue.fString == NULL) {
666 return *fValue.fString;
678 count = fValue.fArrayAndCount.fCount;
679 return fValue.fArrayAndCount.fArray;
772 fValue.fInt64 = fDecimalNum->getLong();
775 fValue.fInt64 = fDecimalNum->getInt64();
778 fValue.fDouble = fDecimalNum->getDouble();