Searched refs:stackBuffer (Results 1 - 25 of 30) sorted by relevance

12

/external/icu4c/samples/numfmt/
H A Dutil.cpp63 char stackBuffer[100]; local
66 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8");
67 if(bufLen < sizeof(stackBuffer)) {
68 buf = stackBuffer;
74 if(buf != stackBuffer) {
/external/webkit/Source/WebCore/bindings/v8/
H A DV8NPUtils.cpp117 // stackBuffer when it's used, not when we use the heap.
121 char stackBuffer[kStackBufferSize]; local
122 str->WriteUtf8(stackBuffer, bufferLength);
123 return _NPN_GetStringIdentifier(stackBuffer);
/external/icu4c/common/
H A Dustr_wcs.c74 char stackBuffer [_STACK_BUFFER_CAPACITY]; local
75 char* tempBuf = stackBuffer;
77 char* tempBufLimit = stackBuffer + tempBufCapacity;
112 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity,
134 if(!u_growAnyBufferFromStatic(stackBuffer,(void**) &tempBuf, &tempBufCapacity,
218 if(stackBuffer != saveBuf){
H A Dubrk.cpp126 void *stackBuffer,
144 createBufferClone(stackBuffer, *pBufferSize, *status));
124 ubrk_safeClone( const UBreakIterator *bi, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument
H A Ducnv_cnv.h176 void *stackBuffer,
H A Ducnv.c152 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument
156 char *stackBufferChars = (char *)stackBuffer;
192 UTRACE_DATA3(UTRACE_OPEN_CLOSE, "clone converter %s at %p into stackBuffer %p",
193 ucnv_getName(cnv, status), cnv, stackBuffer);
216 if (U_ALIGNMENT_OFFSET(stackBuffer) != 0) {
227 stackBuffer = (void *)stackBufferChars;
230 if (*pBufferSize < bufferSizeNeeded || stackBuffer == NULL)
249 localConverter = (UConverter*) stackBuffer;
297 if(localConverter == (UConverter*)stackBuffer) {
H A Ducnvhz.c540 void *stackBuffer,
556 localClone = (struct cloneHZStruct *)stackBuffer;
539 _HZ_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument
H A Drbbi.cpp1489 BreakIterator * RuleBasedBreakIterator::createBufferClone(void *stackBuffer, argument
1511 char *buf = (char *)stackBuffer;
1514 if (stackBuffer == NULL) {
1517 if (U_ALIGNMENT_OFFSET(stackBuffer) != 0) {
H A Dunistr.cpp841 char stackBuffer[1024]; local
842 int32_t capacity = (int32_t)sizeof(stackBuffer);
846 stackBuffer, capacity,
/external/icu4c/i18n/
H A Dwindtfmt.cpp238 UChar stackBuffer[STACK_BUFFER_SIZE]; local
239 UChar *buffer = stackBuffer;
254 if (buffer != stackBuffer) {
264 UChar stackBuffer[STACK_BUFFER_SIZE]; local
265 UChar *buffer = stackBuffer;
280 if (buffer != stackBuffer) {
H A Dwinnmfmt.cpp286 UChar stackBuffer[STACK_BUFFER_SIZE]; local
287 UChar *buffer = stackBuffer;
339 if (buffer != stackBuffer) {
/external/icu4c/test/perf/DateFmtPerf/
H A DDateFmtPerf.h342 char stackBuffer[100]; local
345 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8");
346 if(bufLen < sizeof(stackBuffer)) {
347 buf = stackBuffer;
353 if(buf != stackBuffer) {
/external/clang/test/Analysis/
H A Dmalloc.c758 // understanding that the malloc'ed memory is not the same as stackBuffer.
760 char stackBuffer[128]; local
763 if (myValueSize <= sizeof(stackBuffer))
764 buffer = stackBuffer;
769 if (buffer != stackBuffer)
774 char stackBuffer[128]; local
777 if (myValueSize <= sizeof(stackBuffer))
778 buffer = stackBuffer;
783 if (buffer == stackBuffer) // expected-warning {{leak}}
/external/icu4c/test/intltest/
H A Dwinnmtst.cpp181 wchar_t stackBuffer[STACK_BUFFER_SIZE]; local
182 wchar_t *buffer = stackBuffer;
218 if (buffer != stackBuffer) {
/external/icu4c/common/unicode/
H A Dubrk.h246 * @param stackBuffer user allocated space for the new clone. If NULL new memory will be allocated.
262 void *stackBuffer,
H A Dbrkiter.h438 * @param stackBuffer user allocated space for the new clone. If NULL new memory will be allocated.
452 virtual BreakIterator * createBufferClone(void *stackBuffer,
H A Drbbi.h595 * @param stackBuffer The pointer to the memory into which the cloned object
607 * @return Pointer to the clone object. This may differ from the stackBuffer
609 * or if the stackBuffer was too small to hold the clone.
612 virtual BreakIterator * createBufferClone(void *stackBuffer,
H A Ducnv.h500 * For most efficient operation, pass in a stackBuffer (and a *pBufferSize)
508 * If *pBufferSize==0, (regardless of whether stackBuffer==NULL or not)
522 * @param stackBuffer user allocated space for the new clone. If NULL new memory will be allocated.
537 void *stackBuffer,
/external/webkit/Source/WebCore/icu/unicode/
H A Dubrk.h346 * @param stackBuffer user allocated space for the new clone. If NULL new memory will be allocated.
362 void *stackBuffer,
H A Ducnv.h437 * @param stackBuffer user allocated space for the new clone. If NULL new memory will be allocated.
452 void *stackBuffer,
H A Ducol.h921 * @param stackBuffer user allocated space for the new clone.
942 void *stackBuffer,
/external/icu4c/i18n/unicode/
H A Ducol.h1119 * @param stackBuffer user allocated space for the new clone.
1140 void *stackBuffer,
/external/webkit/Source/JavaScriptCore/icu/unicode/
H A Ducnv.h437 * @param stackBuffer user allocated space for the new clone. If NULL new memory will be allocated.
452 void *stackBuffer,
H A Ducol.h921 * @param stackBuffer user allocated space for the new clone.
942 void *stackBuffer,
/external/webkit/Source/JavaScriptGlue/icu/unicode/
H A Ducnv.h437 * @param stackBuffer user allocated space for the new clone. If NULL new memory will be allocated.
452 void *stackBuffer,

Completed in 1259 milliseconds

12