Searched refs:nByte (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dutil.c338 int nByte; local
343 nByte = strlen(zFirst) + 1;
346 nByte += strlen(z);
350 *pz = zResult = sqliteMallocRaw( nByte );
378 int nByte; local
384 nByte = 0;
389 nByte += n;
393 *pz = zResult = sqliteMallocRaw( nByte + 1 );
H A Dvdbe.c914 int nByte; local
926 nByte = 1 - nSep;
930 nByte = -1;
934 nByte += pTerm->n - 1 + nSep;
937 if( nByte<0 ){
945 zNew = sqliteMallocRaw( nByte );
963 pTos->n = nByte;
1846 int nByte; local
1877 nByte = 0;
1883 nByte
2028 int nByte; local
3953 int nByte; local
4006 int nByte; local
[all...]
H A Dos.c1175 int sqliteOsTruncate(OsFile *id, off_t nByte){ argument
1178 return ftruncate(id->fd, nByte)==0 ? SQLITE_OK : SQLITE_IOERR;
1182 LONG upperBits = nByte>>32;
1183 SetFilePointer(id->h, nByte, &upperBits, FILE_BEGIN);
1190 if( FSSetForkSize(id->refNum, fsFromStart, nByte) != noErr){
1192 if( SetEOF(id->refNum, nByte) != noErr ){
1788 int nByte; local
1789 nByte = GetFullPathName(zRelative, 0, 0, &zNotUsed) + 1;
1790 zFull = sqliteMalloc( nByte );
1792 GetFullPathName(zRelative, nByte, zFul
[all...]
H A Dexpr.c186 int nByte; local
188 nByte = sizeof(*p) + (p->nSrc>0 ? sizeof(p->a[0]) * (p->nSrc-1) : 0);
189 pNew = sqliteMallocRaw( nByte );
H A Dvdbeaux.c483 void *sqlite_aggregate_context(sqlite_func *p, int nByte){ argument
486 if( nByte<=NBFS ){
488 memset(p->pAgg, 0, nByte);
490 p->pAgg = sqliteMalloc( nByte );
H A Dbtree.c465 ** Allocate nByte bytes of space on a page. nByte must be a
477 static int allocateSpace(Btree *pBt, MemPage *pPage, int nByte){ argument
487 assert( nByte==ROUNDUP(nByte) );
489 if( pPage->nFree<nByte || pPage->isOverfull ) return 0;
492 while( (iSize = SWAB16(pBt, p->iSize))<nByte ){
502 if( iSize==nByte ){
508 pNew = (FreeBlk*)&pPage->u.aDisk[start + nByte];
510 pNew->iSize = SWAB16(pBt, iSize - nByte);
[all...]

Completed in 80 milliseconds