/external/dng_sdk/source/ |
D | dng_string.cpp | 934 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/ |
D | bzip2.c | 299 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/rust/crates/libsqlite3-sys/sqlite3/ |
D | sqlite3.c | 29431 extern void SQLITE_OS_TRACE_PROC(const char *zBuf, int nBuf); 36942 int nBuf, /* Size of buffer pBuf in bytes */ 36947 assert( nBuf==(nBuf&0x1ffff) ); 36950 nBuf &= 0x1ffff; 36954 do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR ); 36956 do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR); 36965 rc = osWrite(fd, pBuf, nBuf); 37479 static int unixGetTempname(int nBuf, char *zBuf); 39288 static int unixGetTempname(int nBuf, char *zBuf){ 39304 assert( nBuf>2 ); [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 29388 extern void SQLITE_OS_TRACE_PROC(const char *zBuf, int nBuf); 36857 int nBuf, /* Size of buffer pBuf in bytes */ 36862 assert( nBuf==(nBuf&0x1ffff) ); 36865 nBuf &= 0x1ffff; 36869 do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR ); 36871 do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR); 36880 rc = osWrite(fd, pBuf, nBuf); 37394 static int unixGetTempname(int nBuf, char *zBuf); 39200 static int unixGetTempname(int nBuf, char *zBuf){ 39216 assert( nBuf>2 ); [all …]
|
D | shell.c | 2859 sqlite3_int64 nBuf = 64; in fsdirColumn() local 2863 n = readlink(pCur->zPath, aBuf, nBuf); in fsdirColumn() 2864 if( n<nBuf ) break; in fsdirColumn() 2866 nBuf = nBuf*2; in fsdirColumn() 2867 aBuf = sqlite3_malloc64(nBuf); in fsdirColumn() 5760 int nBuf; in zipfileAppendEntry() local 5763 nBuf = zipfileSerializeLFH(pEntry, aBuf); in zipfileAppendEntry() 5764 rc = zipfileAppendData(pTab, aBuf, nBuf); in zipfileAppendEntry() 6114 int nBuf = zipfileSerializeEOCD(p, pTab->aBuffer); in zipfileAppendEOCD() local 6115 assert( nBuf==ZIPFILE_EOCD_FIXED_SZ ); in zipfileAppendEOCD() [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 29388 extern void SQLITE_OS_TRACE_PROC(const char *zBuf, int nBuf); 36873 int nBuf, /* Size of buffer pBuf in bytes */ 36878 assert( nBuf==(nBuf&0x1ffff) ); 36881 nBuf &= 0x1ffff; 36885 do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR ); 36887 do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR); 36896 rc = osWrite(fd, pBuf, nBuf); 37410 static int unixGetTempname(int nBuf, char *zBuf); 39216 static int unixGetTempname(int nBuf, char *zBuf){ 39232 assert( nBuf>2 ); [all …]
|
D | shell.c | 2864 sqlite3_int64 nBuf = 64; in fsdirColumn() local 2868 n = readlink(pCur->zPath, aBuf, nBuf); in fsdirColumn() 2869 if( n<nBuf ) break; in fsdirColumn() 2871 nBuf = nBuf*2; in fsdirColumn() 2872 aBuf = sqlite3_malloc64(nBuf); in fsdirColumn() 5765 int nBuf; in zipfileAppendEntry() local 5768 nBuf = zipfileSerializeLFH(pEntry, aBuf); in zipfileAppendEntry() 5769 rc = zipfileAppendData(pTab, aBuf, nBuf); in zipfileAppendEntry() 6119 int nBuf = zipfileSerializeEOCD(p, pTab->aBuffer); in zipfileAppendEOCD() local 6120 assert( nBuf==ZIPFILE_EOCD_FIXED_SZ ); in zipfileAppendEOCD() [all …]
|
/external/selinux/libsemanage/src/ |
D | direct_api.c | 515 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()
|