Searched refs:nBuffer (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | winnmtst.cpp | 140 wchar_t *nBuffer = nStackBuffer; in getWindowsFormat() local 144 nBuffer[0] = 0x0000; in getWindowsFormat() 149 result = _vsnwprintf(nBuffer, STACK_BUFFER_SIZE, fmt, args); in getWindowsFormat() 179 for (wchar_t *p = &nBuffer[nBuffer[0] == L'-']; *p != L'\0'; p += 1) { in getWindowsFormat() 192 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat() 198 int newLength = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat() 202 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat() 206 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat() 212 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat() 216 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat()
|
/external/rust/crates/libsqlite3-sys/sqlite3/ |
D | wasm32-wasi-vfs.c | 153 int nBuffer; /* Valid bytes of data in zBuffer */ member 190 if( p->nBuffer ){ in demoFlushBuffer() 191 rc = demoDirectWrite(p, p->aBuffer, p->nBuffer, p->iBufferOfst); in demoFlushBuffer() 192 p->nBuffer = 0; in demoFlushBuffer() 272 if( p->nBuffer==SQLITE_DEMOVFS_BUFFERSZ || p->iBufferOfst+p->nBuffer!=i ){ in demoWrite() 278 assert( p->nBuffer==0 || p->iBufferOfst+p->nBuffer==i ); in demoWrite() 279 p->iBufferOfst = i - p->nBuffer; in demoWrite() 282 nCopy = SQLITE_DEMOVFS_BUFFERSZ - p->nBuffer; in demoWrite() 286 memcpy(&p->aBuffer[p->nBuffer], z, nCopy); in demoWrite() 287 p->nBuffer += nCopy; in demoWrite()
|
/external/icu/icu4c/source/i18n/ |
D | winnmfmt.cpp | 341 wchar_t *nBuffer = nStackBuffer; in format() local 345 nBuffer[0] = 0x0000; in format() 350 result = _vsnwprintf(nBuffer, STACK_BUFFER_SIZE, fmt, args); in format() 379 for (wchar_t *p = &nBuffer[nBuffer[0] == L'-']; *p != L'\0'; p += 1) { in format() 409 …result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SI… in format() 415 … int newLength = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, NULL, 0); in format() 419 … GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, newLength); in format() 431 … result = GetNumberFormatEx(localeName, 0, nBuffer, &formatInfo.number, buffer, STACK_BUFFER_SIZE); in format() 435 … int newLength = GetNumberFormatEx(localeName, 0, nBuffer, &formatInfo.number, NULL, 0); in format() 439 GetNumberFormatEx(localeName, 0, nBuffer, &formatInfo.number, buffer, newLength); in format()
|