Home
last modified time | relevance | path

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

12

/external/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()
/external/skia/src/core/
DSkString.cpp29 static StringBuffer apply_format_string(const char* format, va_list args, char (&stackBuffer)[SIZE], in apply_format_string()
34 int outLength = std::vsnprintf(stackBuffer, SIZE, format, args); in apply_format_string()
38 return {stackBuffer, 0}; in apply_format_string()
42 return {stackBuffer, outLength}; in apply_format_string()
519 char stackBuffer[kBufferSize]; in printVAList() local
520 StringBuffer result = apply_format_string(format, args, stackBuffer, this); in printVAList()
522 if (result.fText == stackBuffer) { in printVAList()
541 char stackBuffer[kBufferSize]; in appendVAList() local
542 StringBuffer result = apply_format_string(format, args, stackBuffer, &overflow); in appendVAList()
561 char stackBuffer[kBufferSize]; in prependVAList() local
[all …]
/external/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()
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()
Ducnv_cnv.h181 void *stackBuffer,
Ducnvhz.cpp532 void *stackBuffer, in _HZ_SafeClone() argument
548 localClone = (struct cloneHZStruct *)stackBuffer; in _HZ_SafeClone()
Dustr_titlecase_brkiter.cpp65 WholeStringBreakIterator *createBufferClone(void *stackBuffer, int32_t &BufferSize,
Ducnv_lmb.cpp696 void *stackBuffer, in _LMBCSSafeClone() argument
710 newLMBCS=(LMBCSClone *)stackBuffer; in _LMBCSSafeClone()
/external/icu/icu4c/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()
/external/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()
/external/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()
/external/clang/test/Analysis/
Dmalloc.c1230 char stackBuffer[128]; in radar10978247() local
1233 if (myValueSize <= sizeof(stackBuffer)) in radar10978247()
1234 buffer = stackBuffer; in radar10978247()
1239 if (buffer != stackBuffer) in radar10978247()
1244 char stackBuffer[128]; in radar10978247_positive() local
1247 if (myValueSize <= sizeof(stackBuffer)) in radar10978247_positive()
1248 buffer = stackBuffer; in radar10978247_positive()
1253 if (buffer == stackBuffer) in radar10978247_positive()
/external/llvm-project/clang/test/Analysis/
Dmalloc.c1236 char stackBuffer[128]; in radar10978247() local
1239 if (myValueSize <= sizeof(stackBuffer)) in radar10978247()
1240 buffer = stackBuffer; in radar10978247()
1245 if (buffer != stackBuffer) in radar10978247()
1250 char stackBuffer[128]; in radar10978247_positive() local
1253 if (myValueSize <= sizeof(stackBuffer)) in radar10978247_positive()
1254 buffer = stackBuffer; in radar10978247_positive()
1259 if (buffer == stackBuffer) in radar10978247_positive()
/external/skqp/src/core/
DSkString.cpp23 static const char* apply_format_string(const char* format, va_list args, char* stackBuffer, in apply_format_string() argument
27 *length = std::vsnprintf(stackBuffer, stackBufferSize, format, args); in apply_format_string()
32 return stackBuffer; in apply_format_string()
36 return stackBuffer; in apply_format_string()
/external/icu/icu4c/source/common/unicode/
Dubrk.h322 void *stackBuffer,
Drbbi.h575 virtual RuleBasedBreakIterator *createBufferClone(void *stackBuffer,
Dbrkiter.h520 virtual BreakIterator * createBufferClone(void *stackBuffer,
/external/icu/libandroidicu/include/unicode/
Dubrk.h322 void *stackBuffer,
Ducnv.h545 void *stackBuffer,
Ducol.h1338 void *stackBuffer,
/external/icu/libicu/cts_headers/unicode/
Dubrk.h322 void *stackBuffer,
Drbbi.h575 virtual RuleBasedBreakIterator *createBufferClone(void *stackBuffer,
Dbrkiter.h520 virtual BreakIterator * createBufferClone(void *stackBuffer,
/external/icu/libicu/cts_headers/
Ducnv_cnv.h181 void *stackBuffer,

12