Home
last modified time | relevance | path

Searched refs:nBuffer (Results 1 – 4 of 4) sorted by relevance

/external/icu4c/test/intltest/
Dwinnmtst.cpp135 wchar_t *nBuffer = nStackBuffer; in getWindowsFormat() local
139 nBuffer[0] = 0x0000; in getWindowsFormat()
144 result = _vsnwprintf(nBuffer, STACK_BUFFER_SIZE, fmt, args); in getWindowsFormat()
174 for (wchar_t *p = &nBuffer[nBuffer[0] == L'-']; *p != L'\0'; p += 1) { in getWindowsFormat()
187 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat()
193 int newLength = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat()
197 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat()
201 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat()
207 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat()
211 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat()
/external/icu4c/i18n/
Dwinnmfmt.cpp241 wchar_t *nBuffer = nStackBuffer; in format() local
245 nBuffer[0] = 0x0000; in format()
250 result = _vsnwprintf(nBuffer, STACK_BUFFER_SIZE, fmt, args); in format()
279 for (wchar_t *p = &nBuffer[nBuffer[0] == L'-']; *p != L'\0'; p += 1) { in format()
302 … result = GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE); in format()
308 … int newLength = GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, NULL, 0); in format()
312 GetCurrencyFormatW(fLCID, 0, nBuffer, &formatInfo.currency, buffer, newLength); in format()
324 result = GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, STACK_BUFFER_SIZE); in format()
328 int newLength = GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, NULL, 0); in format()
332 GetNumberFormatW(fLCID, 0, nBuffer, &formatInfo.number, buffer, newLength); in format()
/external/sqlite/dist/orig/
Dsqlite3.c116854 int nBuffer; /* Allocated size of aBuffer[] in bytes */
118257 int nBuffer; /* Total term size */
118283 nBuffer = nPrefix + nSuffix;
118295 cmp = memcmp(zTerm, zBuffer, (nBuffer>nTerm ? nTerm : nBuffer));
118296 if( piFirst && (cmp<0 || (cmp==0 && nBuffer>nTerm)) ){
127470 if( nList>pMsr->nBuffer ){
127472 pMsr->nBuffer = nList*2;
127473 pNew = (char *)sqlite3_realloc(pMsr->aBuffer, pMsr->nBuffer);
127799 if( nDoclist+nByte>pCsr->nBuffer ){
127801 pCsr->nBuffer = (nDoclist+nByte)*2;
[all …]
/external/sqlite/dist/
Dsqlite3.c116882 int nBuffer; /* Allocated size of aBuffer[] in bytes */
118285 int nBuffer; /* Total term size */
118311 nBuffer = nPrefix + nSuffix;
118323 cmp = memcmp(zTerm, zBuffer, (nBuffer>nTerm ? nTerm : nBuffer));
118324 if( piFirst && (cmp<0 || (cmp==0 && nBuffer>nTerm)) ){
127501 if( nList>pMsr->nBuffer ){
127503 pMsr->nBuffer = nList*2;
127504 pNew = (char *)sqlite3_realloc(pMsr->aBuffer, pMsr->nBuffer);
127830 if( nDoclist+nByte>pCsr->nBuffer ){
127832 pCsr->nBuffer = (nDoclist+nByte)*2;
[all …]