Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/samples/numfmt/
Dutil.cpp69 char stackBuffer[100]; in uprintf() local
72 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf()
73 if(bufLen < sizeof(stackBuffer)) { in uprintf()
74 buf = stackBuffer; in uprintf()
80 if(buf != stackBuffer) { in uprintf()
/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.cpp156 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) in ucnv_safeClone() argument
161 char *stackBufferChars = (char *)stackBuffer; in ucnv_safeClone()
198 ucnv_getName(cnv, status), cnv, stackBuffer); in ucnv_safeClone()
231 if (U_ALIGNMENT_OFFSET(stackBuffer) != 0) { in ucnv_safeClone()
242 stackBuffer = (void *)stackBufferChars; 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.cpp540 void *stackBuffer, in _HZ_SafeClone() argument
556 localClone = (struct cloneHZStruct *)stackBuffer; in _HZ_SafeClone()
Dustr_titlecase_brkiter.cpp65 BreakIterator *createBufferClone(void *stackBuffer, int32_t &BufferSize,
Ducnv_lmb.cpp696 void *stackBuffer, in _LMBCSSafeClone() argument
710 newLMBCS=(LMBCSClone *)stackBuffer; in _LMBCSSafeClone()
Dunistr.cpp973 char stackBuffer[1024]; in toUTF8() local
974 int32_t capacity = (int32_t)sizeof(stackBuffer); in toUTF8()
978 stackBuffer, capacity, in toUTF8()
Ducnvisci.cpp1532 void *stackBuffer, in _ISCII_SafeClone() argument
1548 localClone = (struct cloneISCIIStruct *)stackBuffer; in _ISCII_SafeClone()
Ducnvscsu.cpp1973 void *stackBuffer, in _SCSUSafeClone() argument
1989 localClone = (struct cloneSCSUStruct *)stackBuffer; in _SCSUSafeClone()
/external/icu/icu4c/source/i18n/
Dwindtfmt.cpp310 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in formatDate() local
311 wchar_t *buffer = stackBuffer; in formatDate()
333 if (buffer != stackBuffer) { in formatDate()
343 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in formatTime() local
344 wchar_t *buffer = stackBuffer; in formatTime()
366 if (buffer != stackBuffer) { in formatTime()
Dwinnmfmt.cpp385 wchar_t stackBuffer[STACK_BUFFER_SIZE]; in format() local
386 wchar_t *buffer = stackBuffer; in format()
445 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/skia/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/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/
Drbbi.h565 virtual BreakIterator * createBufferClone(void *stackBuffer,
Dubrk.h317 void *stackBuffer,
Dbrkiter.h513 virtual BreakIterator * createBufferClone(void *stackBuffer,
Ducnv.h542 void *stackBuffer,
/external/icu/libandroidicu/include/unicode/
Dubrk.h317 void *stackBuffer,
Ducnv.h542 void *stackBuffer,
Ducol.h1333 void *stackBuffer,
/external/icu/icu4c/source/i18n/unicode/
Ducol.h1333 void *stackBuffer,

12