Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libsqlite/src/
H A Dvdbe.c914 int nByte; in sqliteVdbeExec() local
926 nByte = 1 - nSep; in sqliteVdbeExec()
930 nByte = -1; in sqliteVdbeExec()
934 nByte += pTerm->n - 1 + nSep; in sqliteVdbeExec()
937 if( nByte<0 ){ in sqliteVdbeExec()
945 zNew = sqliteMallocRaw( nByte ); in sqliteVdbeExec()
963 pTos->n = nByte; in sqliteVdbeExec()
1846 int nByte; in sqliteVdbeExec() local
1877 nByte = 0; in sqliteVdbeExec()
1883 nByte += pRec->n; in sqliteVdbeExec()
[all …]
H A Dutil.c338 int nByte; in sqliteSetString() local
343 nByte = strlen(zFirst) + 1; in sqliteSetString()
346 nByte += strlen(z); in sqliteSetString()
350 *pz = zResult = sqliteMallocRaw( nByte ); in sqliteSetString()
378 int nByte; in sqliteSetNString() local
384 nByte = 0; in sqliteSetNString()
389 nByte += n; in sqliteSetNString()
393 *pz = zResult = sqliteMallocRaw( nByte + 1 ); in sqliteSetNString()
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, zFull, &zNotUsed);
H A Dvdbeaux.c483 void *sqlite_aggregate_context(sqlite_func *p, int nByte){ in sqlite_aggregate_context() argument
486 if( nByte<=NBFS ){ in sqlite_aggregate_context()
488 memset(p->pAgg, 0, nByte); in sqlite_aggregate_context()
490 p->pAgg = sqliteMalloc( nByte ); in sqlite_aggregate_context()
H A Dbtree.c477 static int allocateSpace(Btree *pBt, MemPage *pPage, int nByte){ in allocateSpace() argument
487 assert( nByte==ROUNDUP(nByte) ); in allocateSpace()
489 if( pPage->nFree<nByte || pPage->isOverfull ) return 0; in allocateSpace()
492 while( (iSize = SWAB16(pBt, p->iSize))<nByte ){ in allocateSpace()
502 if( iSize==nByte ){ in allocateSpace()
508 pNew = (FreeBlk*)&pPage->u.aDisk[start + nByte]; in allocateSpace()
510 pNew->iSize = SWAB16(pBt, iSize - nByte); in allocateSpace()
511 *pIdx = SWAB16(pBt, start + nByte); in allocateSpace()
513 pPage->nFree -= nByte; in allocateSpace()
H A Dbuild.c1360 int nByte; in sqliteCreateForeignKey() local
1386 nByte = sizeof(*pFKey) + nCol*sizeof(pFKey->aCol[0]) + pTo->n + 1; in sqliteCreateForeignKey()
1389 nByte += strlen(pToCol->a[i].zName) + 1; in sqliteCreateForeignKey()
1392 pFKey = sqliteMalloc( nByte ); in sqliteCreateForeignKey()
H A Dexpr.c186 int nByte; in sqliteSrcListDup() local
188 nByte = sizeof(*p) + (p->nSrc>0 ? sizeof(p->a[0]) * (p->nSrc-1) : 0); in sqliteSrcListDup()
189 pNew = sqliteMallocRaw( nByte ); in sqliteSrcListDup()