Lines Matching refs:FormatInfo
40 union FormatInfo
153 fFormatInfo = (FormatInfo*)uprv_malloc(sizeof(FormatInfo));
164 : NumberFormat(other), fFormatInfo((FormatInfo*)uprv_malloc(sizeof(FormatInfo)))
295 FormatInfo formatInfo;
297 formatInfo = *fFormatInfo;
302 formatInfo.currency.NumDigits = (UINT) numDigits;
306 formatInfo.currency.Grouping = 0;
309 result = GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE);
315 int newLength = GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, NULL, 0);
319 GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, newLength);
324 formatInfo.number.NumDigits = (UINT) numDigits;
328 formatInfo.number.Grouping = 0;
331 result = GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, STACK_BUFFER_SIZE);
335 int newLength = GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, NULL, 0);
339 GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, newLength);