Home
last modified time | relevance | path

Searched refs:nBuf (Results 1 – 7 of 7) sorted by relevance

/external/dng_sdk/source/
Ddng_string.cpp934 const uint8 *nBuf = (const uint8 *) s; in DecodeUTF8() local
936 uint32 aChar = nBuf [0]; in DecodeUTF8()
959 if ((nBuf [extra] & 0xC0) != 0x80) in DecodeUTF8()
1000 aChar = ((aChar << 6) + nBuf [1]) - (uint32) 0x00003080UL; in DecodeUTF8()
1009 aChar = ((((aChar << 6) + nBuf [1]) in DecodeUTF8()
1010 << 6) + nBuf [2]) - (uint32) 0x000E2080UL; in DecodeUTF8()
1019 aChar = ((((((aChar << 6) + nBuf [1]) in DecodeUTF8()
1020 << 6) + nBuf [2]) in DecodeUTF8()
1021 << 6) + nBuf [3]) - (uint32) 0x03C82080UL; in DecodeUTF8()
/external/bzip2/
Dbzip2.c299 Int32 nBuf = 0; in uInt64_toAscii() local
303 buf[nBuf] = q + '0'; in uInt64_toAscii()
304 nBuf++; in uInt64_toAscii()
306 outbuf[nBuf] = 0; in uInt64_toAscii()
307 for (i = 0; i < nBuf; i++) in uInt64_toAscii()
308 outbuf[i] = buf[nBuf-i-1]; in uInt64_toAscii()
/external/sqlite/dist/orig/
Dsqlite3.c26955 extern void SQLITE_OS_TRACE_PROC(const char *zBuf, int nBuf);
34004 int nBuf, /* Size of buffer pBuf in bytes */
34009 assert( nBuf==(nBuf&0x1ffff) );
34012 nBuf &= 0x1ffff;
34016 do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR );
34018 do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR);
34027 rc = osWrite(fd, pBuf, nBuf);
34541 static int unixGetTempname(int nBuf, char *zBuf);
36302 static int unixGetTempname(int nBuf, char *zBuf){
36318 assert( nBuf>2 );
[all …]
Dshell.c2662 int nBuf = 64; in fsdirColumn() local
2666 n = readlink(pCur->zPath, aBuf, nBuf); in fsdirColumn()
2667 if( n<nBuf ) break; in fsdirColumn()
2669 nBuf = nBuf*2; in fsdirColumn()
2670 aBuf = sqlite3_malloc(nBuf); in fsdirColumn()
/external/sqlite/dist/
Dsqlite3.c26955 extern void SQLITE_OS_TRACE_PROC(const char *zBuf, int nBuf);
34020 int nBuf, /* Size of buffer pBuf in bytes */
34025 assert( nBuf==(nBuf&0x1ffff) );
34028 nBuf &= 0x1ffff;
34032 do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR );
34034 do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR);
34043 rc = osWrite(fd, pBuf, nBuf);
34557 static int unixGetTempname(int nBuf, char *zBuf);
36318 static int unixGetTempname(int nBuf, char *zBuf){
36334 assert( nBuf>2 );
[all …]
Dshell.c2668 int nBuf = 64; in fsdirColumn() local
2672 n = readlink(pCur->zPath, aBuf, nBuf); in fsdirColumn()
2673 if( n<nBuf ) break; in fsdirColumn()
2675 nBuf = nBuf*2; in fsdirColumn()
2676 aBuf = sqlite3_malloc(nBuf); in fsdirColumn()
/external/selinux/libsemanage/src/
Ddirect_api.c515 size_t nBuf; in bunzip() local
551 nBuf = BZ2_bzRead ( &bzerror, b, buf, bufsize); in bunzip()
553 if (total + nBuf > size) { in bunzip()
562 memcpy(&uncompress[total], buf, nBuf); in bunzip()
563 total += nBuf; in bunzip()