Lines Matching full:buffer
239 UChar *buffer = stackBuffer;
241 result = GetDateFormatW(fLCID, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, STACK_BUFFER_SIZE);
247 buffer = NEW_ARRAY(UChar, newLength);
248 GetDateFormatW(fLCID, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, newLength);
252 appendTo.append(buffer, (int32_t) wcslen(buffer));
254 if (buffer != stackBuffer) {
255 DELETE_ARRAY(buffer);
265 UChar *buffer = stackBuffer;
267 result = GetTimeFormatW(fLCID, tfFlags[fTimeStyle], st, NULL, buffer, STACK_BUFFER_SIZE);
273 buffer = NEW_ARRAY(UChar, newLength);
274 GetDateFormatW(fLCID, tfFlags[fTimeStyle], st, NULL, buffer, newLength);
278 appendTo.append(buffer, (int32_t) wcslen(buffer));
280 if (buffer != stackBuffer) {
281 DELETE_ARRAY(buffer);