Home
last modified time | relevance | path

Searched refs:stackBuffer (Results 1 – 25 of 60) sorted by relevance

123

/third_party/skia/third_party/externals/icu/source/samples/numfmt/
Dutil.cpp72 char stackBuffer[100]; in uprintf() local
75 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf()
76 if(bufLen < sizeof(stackBuffer)) { in uprintf()
77 buf = stackBuffer; in uprintf()
83 if(buf != stackBuffer) { in uprintf()
/third_party/icu/icu4c/source/samples/numfmt/
Dutil.cpp72 char stackBuffer[100]; in uprintf() local
75 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf()
76 if(bufLen < sizeof(stackBuffer)) { in uprintf()
77 buf = stackBuffer; in uprintf()
83 if(buf != stackBuffer) { in uprintf()
/third_party/skia/src/core/
DSkString.cpp30 static StringBuffer apply_format_string(const char* format, va_list args, char (&stackBuffer)[SIZE], in apply_format_string()
35 int outLength = std::vsnprintf(stackBuffer, SIZE, format, args); in apply_format_string()
39 return {stackBuffer, 0}; in apply_format_string()
43 return {stackBuffer, outLength}; in apply_format_string()
528 char stackBuffer[kBufferSize]; in printVAList() local
529 StringBuffer result = apply_format_string(format, args, stackBuffer, this); in printVAList()
531 if (result.fText == stackBuffer) { in printVAList()
550 char stackBuffer[kBufferSize]; in appendVAList() local
551 StringBuffer result = apply_format_string(format, args, stackBuffer, &overflow); in appendVAList()
570 char stackBuffer[kBufferSize]; in prependVAList() local
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dwindtfmt.cpp311 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in formatDate() local
312 wchar_t *buffer = stackBuffer; in formatDate()
334 if (buffer != stackBuffer) { in formatDate()
344 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in formatTime() local
345 wchar_t *buffer = stackBuffer; in formatTime()
367 if (buffer != stackBuffer) { in formatTime()
Dwinnmfmt.cpp386 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in format() local
387 wchar_t *buffer = stackBuffer; in format()
446 if (buffer != stackBuffer) { in format()
/third_party/skia/third_party/externals/icu/source/common/
Dustr_wcs.cpp72 char stackBuffer [_STACK_BUFFER_CAPACITY]; in _strToWCS() local
73 char* tempBuf = stackBuffer; in _strToWCS()
75 char* tempBufLimit = stackBuffer + tempBufCapacity; in _strToWCS()
114 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
136 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
220 if(stackBuffer != saveBuf){ in _strToWCS()
Ducnv.cpp158 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) in ucnv_safeClone() argument
199 ucnv_getName(cnv, status), cnv, stackBuffer); in ucnv_safeClone()
231 if (stackBuffer) { in ucnv_safeClone()
232 uintptr_t p = reinterpret_cast<uintptr_t>(stackBuffer); in ucnv_safeClone()
236 stackBuffer = reinterpret_cast<void *>(aligned_p); in ucnv_safeClone()
245 if (stackBufferSize < bufferSizeNeeded || stackBuffer == NULL) in ucnv_safeClone()
261 localConverter = (UConverter*) stackBuffer; in ucnv_safeClone()
304 if(localConverter == (UConverter*)stackBuffer) { in ucnv_safeClone()
/third_party/icu/icu4c/source/common/
Dustr_wcs.cpp72 char stackBuffer [_STACK_BUFFER_CAPACITY]; in _strToWCS() local
73 char* tempBuf = stackBuffer; in _strToWCS()
75 char* tempBufLimit = stackBuffer + tempBufCapacity; in _strToWCS()
114 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
136 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
220 if(stackBuffer != saveBuf){ in _strToWCS()
Dulocimp.h328 char stackBuffer[ULOC_FULLNAME_CAPACITY];
348 return stackBuffer; in getBuffer()
Ducnv.cpp158 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) in ucnv_safeClone() argument
199 ucnv_getName(cnv, status), cnv, stackBuffer); in ucnv_safeClone()
231 if (stackBuffer) { in ucnv_safeClone()
232 uintptr_t p = reinterpret_cast<uintptr_t>(stackBuffer); in ucnv_safeClone()
236 stackBuffer = reinterpret_cast<void *>(aligned_p); in ucnv_safeClone()
245 if (stackBufferSize < bufferSizeNeeded || stackBuffer == NULL) in ucnv_safeClone()
264 localConverter = (UConverter*) stackBuffer; in ucnv_safeClone()
307 if(localConverter == (UConverter*)stackBuffer) { in ucnv_safeClone()
/third_party/node/deps/icu-small/source/common/
Dustr_wcs.cpp72 char stackBuffer [_STACK_BUFFER_CAPACITY]; in _strToWCS() local
73 char* tempBuf = stackBuffer; in _strToWCS()
75 char* tempBufLimit = stackBuffer + tempBufCapacity; in _strToWCS()
114 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
136 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity, in _strToWCS()
220 if(stackBuffer != saveBuf){ in _strToWCS()
Dulocimp.h328 char stackBuffer[ULOC_FULLNAME_CAPACITY];
348 return stackBuffer; in getBuffer()
Ducnv.cpp158 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) in ucnv_safeClone() argument
199 ucnv_getName(cnv, status), cnv, stackBuffer); in ucnv_safeClone()
231 if (stackBuffer) { in ucnv_safeClone()
232 uintptr_t p = reinterpret_cast<uintptr_t>(stackBuffer); in ucnv_safeClone()
236 stackBuffer = reinterpret_cast<void *>(aligned_p); in ucnv_safeClone()
245 if (stackBufferSize < bufferSizeNeeded || stackBuffer == nullptr) in ucnv_safeClone()
264 localConverter = (UConverter*) stackBuffer; in ucnv_safeClone()
307 if(localConverter == (UConverter*)stackBuffer) { in ucnv_safeClone()
Ducnvhz.cpp532 void *stackBuffer, in _HZ_SafeClone() argument
548 localClone = (struct cloneHZStruct *)stackBuffer; in _HZ_SafeClone()
/third_party/skia/third_party/externals/icu/source/i18n/
Dwindtfmt.cpp311 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in formatDate() local
312 wchar_t *buffer = stackBuffer; in formatDate()
334 if (buffer != stackBuffer) { in formatDate()
344 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in formatTime() local
345 wchar_t *buffer = stackBuffer; in formatTime()
367 if (buffer != stackBuffer) { in formatTime()
Dwinnmfmt.cpp386 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in format() local
387 wchar_t *buffer = stackBuffer; in format()
446 if (buffer != stackBuffer) { in format()
/third_party/icu/icu4c/source/i18n/
Dwindtfmt.cpp316 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in formatDate() local
317 wchar_t *buffer = stackBuffer; in formatDate()
339 if (buffer != stackBuffer) { in formatDate()
349 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in formatTime() local
350 wchar_t *buffer = stackBuffer; in formatTime()
372 if (buffer != stackBuffer) { in formatTime()
Dwinnmfmt.cpp391 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in format() local
392 wchar_t *buffer = stackBuffer; in format()
451 if (buffer != stackBuffer) { in format()
/third_party/icu/icu4c/source/test/perf/DateFmtPerf/
DDateFmtPerf.h667 char stackBuffer[100]; in uprintf() local
670 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf()
671 if(bufLen < sizeof(stackBuffer)) { in uprintf()
672 buf = stackBuffer; in uprintf()
678 if(buf != stackBuffer) { in uprintf()
/third_party/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp186 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in getWindowsFormat() local
187 wchar_t *buffer = stackBuffer; in getWindowsFormat()
223 if (buffer != stackBuffer) { in getWindowsFormat()
/third_party/icu/tools/multi/proj/provider/glue/
Doicu.h75 void *stackBuffer,
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dubrk.h322 void *stackBuffer,
Drbbi.h575 virtual RuleBasedBreakIterator *createBufferClone(void *stackBuffer,
/third_party/node/deps/icu-small/source/common/unicode/
Dubrk.h323 void *stackBuffer,
/third_party/icu/icu4c/source/common/unicode/
Dubrk.h323 void *stackBuffer,

123