/dports/databases/sqlcipher/sqlcipher-3.4.2/src/ |
H A D | mem1.c | 131 testcase( ROUND8(nByte)==nByte ); in sqlite3MemMalloc() 132 p = SQLITE_MALLOC( nByte ); in sqlite3MemMalloc() 140 assert( nByte>0 ); in sqlite3MemMalloc() 141 testcase( ROUND8(nByte)!=nByte ); in sqlite3MemMalloc() 142 p = SQLITE_MALLOC( nByte+8 ); in sqlite3MemMalloc() 144 p[0] = nByte; in sqlite3MemMalloc() 212 assert( pPrior!=0 && nByte>0 ); in sqlite3MemRealloc() 213 assert( nByte==ROUND8(nByte) ); /* EV: R-46199-30249 */ in sqlite3MemRealloc() 215 p = SQLITE_REALLOC(p, nByte+8 ); in sqlite3MemRealloc() 217 p[0] = nByte; in sqlite3MemRealloc() [all …]
|
H A D | mem2.c | 222 y = nByte | 1; in randomFill() 223 while( nByte >= 4 ){ in randomFill() 229 nByte -= 4; in randomFill() 231 while( nByte-- > 0 ){ in randomFill() 252 nReserve = ROUND8(nByte); in sqlite3MemMalloc() 286 pHdr->iSize = nByte; in sqlite3MemMalloc() 287 adjustStats(nByte, +1); in sqlite3MemMalloc() 291 memset(((char*)pInt)+nByte, 0x65, nReserve-nByte); in sqlite3MemMalloc() 349 pNew = sqlite3MemMalloc(nByte); in sqlite3MemRealloc() 351 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize)); in sqlite3MemRealloc() [all …]
|
H A D | status.c | 231 int nByte = sqlite3PagerMemUsed(pPager); in sqlite3_db_status() local 233 nByte = nByte / sqlite3BtreeConnectionCount(pBt); in sqlite3_db_status() 235 totalUsed += nByte; in sqlite3_db_status() 254 db->pnBytesFreed = &nByte; in sqlite3_db_status() 266 nByte += sqlite3_msize(pSchema->tblHash.ht); in sqlite3_db_status() 267 nByte += sqlite3_msize(pSchema->trigHash.ht); in sqlite3_db_status() 268 nByte += sqlite3_msize(pSchema->idxHash.ht); in sqlite3_db_status() 269 nByte += sqlite3_msize(pSchema->fkeyHash.ht); in sqlite3_db_status() 283 *pCurrent = nByte; in sqlite3_db_status() 296 db->pnBytesFreed = &nByte; in sqlite3_db_status() [all …]
|
/dports/databases/sqlite3/sqlite-src-3350500/src/ |
H A D | mem1.c | 131 testcase( ROUND8(nByte)==nByte ); in sqlite3MemMalloc() 132 p = SQLITE_MALLOC( nByte ); in sqlite3MemMalloc() 140 assert( nByte>0 ); in sqlite3MemMalloc() 141 testcase( ROUND8(nByte)!=nByte ); in sqlite3MemMalloc() 142 p = SQLITE_MALLOC( nByte+8 ); in sqlite3MemMalloc() 144 p[0] = nByte; in sqlite3MemMalloc() 212 assert( pPrior!=0 && nByte>0 ); in sqlite3MemRealloc() 213 assert( nByte==ROUND8(nByte) ); /* EV: R-46199-30249 */ in sqlite3MemRealloc() 215 p = SQLITE_REALLOC(p, nByte+8 ); in sqlite3MemRealloc() 217 p[0] = nByte; in sqlite3MemRealloc() [all …]
|
H A D | mem2.c | 222 y = nByte | 1; in randomFill() 223 while( nByte >= 4 ){ in randomFill() 229 nByte -= 4; in randomFill() 231 while( nByte-- > 0 ){ in randomFill() 252 nReserve = ROUND8(nByte); in sqlite3MemMalloc() 286 pHdr->iSize = nByte; in sqlite3MemMalloc() 287 adjustStats(nByte, +1); in sqlite3MemMalloc() 291 memset(((char*)pInt)+nByte, 0x65, nReserve-nByte); in sqlite3MemMalloc() 349 pNew = sqlite3MemMalloc(nByte); in sqlite3MemRealloc() 351 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize)); in sqlite3MemRealloc() [all …]
|
H A D | status.c | 270 int nByte = sqlite3PagerMemUsed(pPager); in sqlite3_db_status() local 272 nByte = nByte / sqlite3BtreeConnectionCount(pBt); in sqlite3_db_status() 274 totalUsed += nByte; in sqlite3_db_status() 293 db->pnBytesFreed = &nByte; in sqlite3_db_status() 305 nByte += sqlite3_msize(pSchema->tblHash.ht); in sqlite3_db_status() 306 nByte += sqlite3_msize(pSchema->trigHash.ht); in sqlite3_db_status() 307 nByte += sqlite3_msize(pSchema->idxHash.ht); in sqlite3_db_status() 308 nByte += sqlite3_msize(pSchema->fkeyHash.ht); in sqlite3_db_status() 322 *pCurrent = nByte; in sqlite3_db_status() 335 db->pnBytesFreed = &nByte; in sqlite3_db_status() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/src/ |
H A D | mem1.c | 131 testcase( ROUND8(nByte)==nByte ); in sqlite3MemMalloc() 132 p = SQLITE_MALLOC( nByte ); in sqlite3MemMalloc() 140 assert( nByte>0 ); in sqlite3MemMalloc() 141 testcase( ROUND8(nByte)!=nByte ); in sqlite3MemMalloc() 142 p = SQLITE_MALLOC( nByte+8 ); in sqlite3MemMalloc() 144 p[0] = nByte; in sqlite3MemMalloc() 212 assert( pPrior!=0 && nByte>0 ); in sqlite3MemRealloc() 213 assert( nByte==ROUND8(nByte) ); /* EV: R-46199-30249 */ in sqlite3MemRealloc() 215 p = SQLITE_REALLOC(p, nByte+8 ); in sqlite3MemRealloc() 217 p[0] = nByte; in sqlite3MemRealloc() [all …]
|
H A D | mem2.c | 222 y = nByte | 1; in randomFill() 223 while( nByte >= 4 ){ in randomFill() 229 nByte -= 4; in randomFill() 231 while( nByte-- > 0 ){ in randomFill() 252 nReserve = ROUND8(nByte); in sqlite3MemMalloc() 286 pHdr->iSize = nByte; in sqlite3MemMalloc() 287 adjustStats(nByte, +1); in sqlite3MemMalloc() 291 memset(((char*)pInt)+nByte, 0x65, nReserve-nByte); in sqlite3MemMalloc() 349 pNew = sqlite3MemMalloc(nByte); in sqlite3MemRealloc() 351 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize)); in sqlite3MemRealloc() [all …]
|
H A D | status.c | 270 int nByte = sqlite3PagerMemUsed(pPager); in sqlite3_db_status() local 272 nByte = nByte / sqlite3BtreeConnectionCount(pBt); in sqlite3_db_status() 274 totalUsed += nByte; in sqlite3_db_status() 293 db->pnBytesFreed = &nByte; in sqlite3_db_status() 305 nByte += sqlite3_msize(pSchema->tblHash.ht); in sqlite3_db_status() 306 nByte += sqlite3_msize(pSchema->trigHash.ht); in sqlite3_db_status() 307 nByte += sqlite3_msize(pSchema->idxHash.ht); in sqlite3_db_status() 308 nByte += sqlite3_msize(pSchema->fkeyHash.ht); in sqlite3_db_status() 322 *pCurrent = nByte; in sqlite3_db_status() 335 db->pnBytesFreed = &nByte; in sqlite3_db_status() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/src/ |
H A D | mem1.c | 131 testcase( ROUND8(nByte)==nByte ); in sqlite3MemMalloc() 132 p = SQLITE_MALLOC( nByte ); in sqlite3MemMalloc() 140 assert( nByte>0 ); in sqlite3MemMalloc() 141 testcase( ROUND8(nByte)!=nByte ); in sqlite3MemMalloc() 142 p = SQLITE_MALLOC( nByte+8 ); in sqlite3MemMalloc() 144 p[0] = nByte; in sqlite3MemMalloc() 212 assert( pPrior!=0 && nByte>0 ); in sqlite3MemRealloc() 213 assert( nByte==ROUND8(nByte) ); /* EV: R-46199-30249 */ in sqlite3MemRealloc() 215 p = SQLITE_REALLOC(p, nByte+8 ); in sqlite3MemRealloc() 217 p[0] = nByte; in sqlite3MemRealloc() [all …]
|
H A D | mem2.c | 222 y = nByte | 1; in randomFill() 223 while( nByte >= 4 ){ in randomFill() 229 nByte -= 4; in randomFill() 231 while( nByte-- > 0 ){ in randomFill() 252 nReserve = ROUND8(nByte); in sqlite3MemMalloc() 286 pHdr->iSize = nByte; in sqlite3MemMalloc() 287 adjustStats(nByte, +1); in sqlite3MemMalloc() 291 memset(((char*)pInt)+nByte, 0x65, nReserve-nByte); in sqlite3MemMalloc() 349 pNew = sqlite3MemMalloc(nByte); in sqlite3MemRealloc() 351 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize)); in sqlite3MemRealloc() [all …]
|
/dports/databases/db5/db-5.3.28/lang/sql/sqlite/src/ |
H A D | mem1.c | 37 static void *sqlite3MemMalloc(int nByte){ in sqlite3MemMalloc() argument 39 assert( nByte>0 ); in sqlite3MemMalloc() 40 nByte = ROUND8(nByte); in sqlite3MemMalloc() 41 p = malloc( nByte+8 ); in sqlite3MemMalloc() 43 p[0] = nByte; in sqlite3MemMalloc() 89 static void *sqlite3MemRealloc(void *pPrior, int nByte){ in sqlite3MemRealloc() argument 91 assert( pPrior!=0 && nByte>0 ); in sqlite3MemRealloc() 92 assert( nByte==ROUND8(nByte) ); /* EV: R-46199-30249 */ in sqlite3MemRealloc() 94 p = realloc(p, nByte+8 ); in sqlite3MemRealloc() 96 p[0] = nByte; in sqlite3MemRealloc() [all …]
|
H A D | mem2.c | 222 y = nByte | 1; in randomFill() 223 while( nByte >= 4 ){ in randomFill() 229 nByte -= 4; in randomFill() 231 while( nByte-- > 0 ){ in randomFill() 252 nReserve = ROUND8(nByte); in sqlite3MemMalloc() 286 pHdr->iSize = nByte; in sqlite3MemMalloc() 287 adjustStats(nByte, +1); in sqlite3MemMalloc() 291 memset(((char*)pInt)+nByte, 0x65, nReserve-nByte); in sqlite3MemMalloc() 349 pNew = sqlite3MemMalloc(nByte); in sqlite3MemRealloc() 351 memcpy(pNew, pPrior, nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize); in sqlite3MemRealloc() [all …]
|
H A D | status.c | 164 int nByte = 0; /* Used to accumulate return value */ in sqlite3_db_status() local 167 db->pnBytesFreed = &nByte; in sqlite3_db_status() 173 nByte += sqlite3GlobalConfig.m.xRoundup(sizeof(HashElem)) * ( in sqlite3_db_status() 179 nByte += sqlite3MallocSize(pSchema->tblHash.ht); in sqlite3_db_status() 180 nByte += sqlite3MallocSize(pSchema->trigHash.ht); in sqlite3_db_status() 181 nByte += sqlite3MallocSize(pSchema->idxHash.ht); in sqlite3_db_status() 182 nByte += sqlite3MallocSize(pSchema->fkeyHash.ht); in sqlite3_db_status() 196 *pCurrent = nByte; in sqlite3_db_status() 207 int nByte = 0; /* Used to accumulate return value */ in sqlite3_db_status() local 209 db->pnBytesFreed = &nByte; in sqlite3_db_status() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/unx/generic/print/ |
H A D | bitmap_gfx.cxx | 91 HexEncoder::WriteAscii (sal_uInt8 nByte) in WriteAscii() argument 107 HexEncoder::EncodeByte (sal_uInt8 nByte) in EncodeByte() argument 109 WriteAscii (nByte); in EncodeByte() 158 Ascii85Encoder::PutByte (sal_uInt8 nByte) in PutByte() argument 160 mpByteBuffer [mnByte++] = nByte; in PutByte() 235 PutByte (nByte); in WriteAscii() 251 WriteAscii (nByte); in EncodeByte() 351 LZWEncoder::EncodeByte (sal_uInt8 nByte ) in EncodeByte() argument 363 nV = nByte; in EncodeByte() 620 unsigned char nByte = 0; in DrawPS2MonoImage() local [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/unx/generic/print/ |
H A D | bitmap_gfx.cxx | 79 HexEncoder::WriteAscii (sal_uInt8 nByte) in WriteAscii() argument 95 HexEncoder::EncodeByte (sal_uInt8 nByte) in EncodeByte() argument 97 WriteAscii (nByte); in EncodeByte() 150 Ascii85Encoder::PutByte (sal_uInt8 nByte) in PutByte() argument 152 mpByteBuffer [mnByte++] = nByte; in PutByte() 227 PutByte (nByte); in WriteAscii() 243 WriteAscii (nByte); in EncodeByte() 360 nV = nByte; in EncodeByte() 500 aEncoder.EncodeByte (nByte); in DrawPS1GrayImage() 614 unsigned char nByte = 0; in DrawPS2MonoImage() local [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/ogr/ogrsf_frmts/osm/ |
H A D | gpb.h | 85 int nByte = *pabyData; in ReadVarInt32() local 86 if (!(nByte & 0x80)) in ReadVarInt32() 89 return nVal | (nByte << nShift); in ReadVarInt32() 91 nVal |= (nByte & 0x7f) << nShift; in ReadVarInt32() 122 int nByte = *pabyData; in ReadVarUInt32() local 123 if (!(nByte & 0x80)) in ReadVarUInt32() 128 nVal |= (nByte & 0x7f) << nShift; in ReadVarUInt32() 158 int nByte = *pabyData; in ReadVarInt64() local 159 if (!(nByte & 0x80)) in ReadVarInt64() 198 int nByte = *pabyData; in SkipVarInt() local [all …]
|
/dports/databases/sqlite3/sqlite-src-3350500/ext/lsm1/lsm-test/ |
H A D | lsmtest_mem.c | 68 int nByte; member 112 nReq = BLOCK_HDR_SIZE + nByte + 4; in tmMalloc() 131 pNew->nByte = nByte; in tmMalloc() 140 memset(pUser, 0x56, nByte); in tmMalloc() 168 pAgg->nByte += nByte; in tmMalloc() 170 pAgg->nOutByte += nByte; in tmMalloc() 208 memset(pUser, 0x58, pHdr->nByte); in tmFree() 217 pNew = tmMalloc(pTm, nByte); in tmRealloc() 222 memcpy(pNew, p, MIN(nByte, pHdr->nByte)); in tmRealloc() 259 int nByte = 0; in tmMallocCheck() local [all …]
|
/dports/databases/sqlcipher/sqlcipher-3.4.2/ext/lsm1/lsm-test/ |
H A D | lsmtest_mem.c | 68 int nByte; member 112 nReq = BLOCK_HDR_SIZE + nByte + 4; in tmMalloc() 131 pNew->nByte = nByte; in tmMalloc() 140 memset(pUser, 0x56, nByte); in tmMalloc() 168 pAgg->nByte += nByte; in tmMalloc() 170 pAgg->nOutByte += nByte; in tmMalloc() 208 memset(pUser, 0x58, pHdr->nByte); in tmFree() 217 pNew = tmMalloc(pTm, nByte); in tmRealloc() 222 memcpy(pNew, p, MIN(nByte, pHdr->nByte)); in tmRealloc() 259 int nByte = 0; in tmMallocCheck() local [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/ext/lsm1/lsm-test/ |
H A D | lsmtest_mem.c | 68 int nByte; member 112 nReq = BLOCK_HDR_SIZE + nByte + 4; in tmMalloc() 131 pNew->nByte = nByte; in tmMalloc() 140 memset(pUser, 0x56, nByte); in tmMalloc() 168 pAgg->nByte += nByte; in tmMalloc() 170 pAgg->nOutByte += nByte; in tmMalloc() 208 memset(pUser, 0x58, pHdr->nByte); in tmFree() 217 pNew = tmMalloc(pTm, nByte); in tmRealloc() 222 memcpy(pNew, p, MIN(nByte, pHdr->nByte)); in tmRealloc() 259 int nByte = 0; in tmMallocCheck() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/ext/lsm1/lsm-test/ |
H A D | lsmtest_mem.c | 68 int nByte; member 112 nReq = BLOCK_HDR_SIZE + nByte + 4; in tmMalloc() 131 pNew->nByte = nByte; in tmMalloc() 140 memset(pUser, 0x56, nByte); in tmMalloc() 168 pAgg->nByte += nByte; in tmMalloc() 170 pAgg->nOutByte += nByte; in tmMalloc() 208 memset(pUser, 0x58, pHdr->nByte); in tmFree() 217 pNew = tmMalloc(pTm, nByte); in tmRealloc() 222 memcpy(pNew, p, MIN(nByte, pHdr->nByte)); in tmRealloc() 259 int nByte = 0; in tmMallocCheck() local [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/filter/itiff/ |
H A D | ccidecom.cxx | 753 sal_uInt8 nByte; in ReadEOL() local 776 nByte = pByteSwap[ nByte ]; in ReadEOL() 798 sal_uInt8 nByte; in Read2DTag() local 801 nByte = pByteSwap[ nByte ]; in Read2DTag() 802 nInputBitsBuf = nByte; in Read2DTag() 814 sal_uInt8 nByte; in ReadBlackOrWhite() local 817 nByte = pByteSwap[ nByte ]; in ReadBlackOrWhite() 833 sal_uInt8 nByte(0); in ReadCodeAndDecode() local 836 nByte = pByteSwap[ nByte ]; in ReadCodeAndDecode() 907 sal_uInt8 nByte; in Read1DScanlineData() local [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/graphicfilter/itiff/ |
H A D | ccidecom.cxx | 753 sal_uInt8 nByte; in ReadEOL() local 776 nByte = pByteSwap[ nByte ]; in ReadEOL() 796 sal_uInt8 nByte; in Read2DTag() local 800 pIStream->ReadUChar( nByte ); in Read2DTag() 802 nByte = pByteSwap[ nByte ]; in Read2DTag() 813 sal_uInt8 nByte; in ReadBlackOrWhite() local 819 nByte = pByteSwap[ nByte ]; in ReadBlackOrWhite() 835 sal_uInt8 nByte(0); in ReadCodeAndDecode() local 838 nByte = pByteSwap[ nByte ]; in ReadCodeAndDecode() 914 sal_uInt8 nByte; in Read1DScanlineData() local [all …]
|
/dports/databases/db5/db-5.3.28/lang/sql/sqlite/tool/ |
H A D | showwal.c | 53 aData = malloc(nByte); in getContent() 56 read(fd, aData, nByte); in getContent() 72 if( ((printOfst+nByte)&~0xfff)==0 ){ in print_byte_range() 84 for(i=0; i<nByte; i += perLine){ in print_byte_range() 87 if( i+j>nByte ){ in print_byte_range() 94 if( i+j>nByte ){ in print_byte_range() 118 if( j>=nByte ){ in print_decode_line() 323 int ofst, nByte, hdrSize; in main() 327 nByte = pagesize-100; in main() 331 nByte = pagesize; in main() [all …]
|
/dports/devel/fossil/fossil-src-2.17/src/ |
H A D | utf8.c | 59 char *zUtf = fossil_malloc( nByte ); in fossil_unicode_to_utf8() 60 WideCharToMultiByte(CP_UTF8, 0, zUnicode, -1, zUtf, nByte, 0, 0); in fossil_unicode_to_utf8() 81 int nByte = MultiByteToWideChar(CP_UTF8, 0, zUtf8, -1, 0, 0); in fossil_utf8_to_unicode() local 82 wchar_t *zUnicode = fossil_malloc( nByte*2 ); in fossil_utf8_to_unicode() 83 MultiByteToWideChar(CP_UTF8, 0, zUtf8, -1, zUnicode, nByte); in fossil_utf8_to_unicode() 121 char *zUtf = sqlite3_malloc( nByte ); in fossil_path_to_utf8() 126 WideCharToMultiByte(CP_UTF8, 0, zPath, -1, zUtf, nByte, 0, 0); in fossil_path_to_utf8() 260 int nByte; in fossil_utf8_to_path() 271 zPath = fossil_malloc(nByte); in fossil_utf8_to_path() 366 int nByte, in fossil_utf8_to_console() argument [all …]
|