Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dvdbe.c912 int nByte; in sqliteVdbeExec() local
928 nByte = -1; in sqliteVdbeExec()
935 if( nByte<0 ){ in sqliteVdbeExec()
1844 int nByte; in sqliteVdbeExec() local
1875 nByte = 0; in sqliteVdbeExec()
2026 int nByte; in sqliteVdbeExec() local
2038 nByte = 0; in sqliteVdbeExec()
3951 int nByte; in sqliteVdbeExec() local
3959 nByte = 0; in sqliteVdbeExec()
4004 int nByte; in sqliteVdbeExec() local
[all …]
H A Dutil.c335 int nByte; in sqliteSetString() local
340 nByte = strlen(zFirst) + 1; in sqliteSetString()
343 nByte += strlen(z); in sqliteSetString()
347 *pz = zResult = sqliteMallocRaw( nByte ); in sqliteSetString()
375 int nByte; in sqliteSetNString() local
381 nByte = 0; in sqliteSetNString()
386 nByte += n; in sqliteSetNString()
390 *pz = zResult = sqliteMallocRaw( nByte + 1 ); in sqliteSetNString()
H A Dos.c1172 int sqliteOsTruncate(OsFile *id, off_t nByte){ argument
1175 return ftruncate(id->fd, nByte)==0 ? SQLITE_OK : SQLITE_IOERR;
1179 LONG upperBits = nByte>>32;
1180 SetFilePointer(id->h, nByte, &upperBits, FILE_BEGIN);
1187 if( FSSetForkSize(id->refNum, fsFromStart, nByte) != noErr){
1189 if( SetEOF(id->refNum, nByte) != noErr ){
1785 int nByte; local
1786 nByte = GetFullPathName(zRelative, 0, 0, &zNotUsed) + 1;
1787 zFull = sqliteMalloc( nByte );
1789 GetFullPathName(zRelative, nByte, zFull, &zNotUsed);
H A Dvdbeaux.c480 void *sqlite_aggregate_context(sqlite_func *p, int nByte){ in sqlite_aggregate_context() argument
483 if( nByte<=NBFS ){ in sqlite_aggregate_context()
485 memset(p->pAgg, 0, nByte); in sqlite_aggregate_context()
487 p->pAgg = sqliteMalloc( nByte ); in sqlite_aggregate_context()
H A Dbtree.c475 static int allocateSpace(Btree *pBt, MemPage *pPage, int nByte){ in allocateSpace() argument
485 assert( nByte==ROUNDUP(nByte) ); in allocateSpace()
487 if( pPage->nFree<nByte || pPage->isOverfull ) return 0; in allocateSpace()
490 while( (iSize = SWAB16(pBt, p->iSize))<nByte ){ in allocateSpace()
500 if( iSize==nByte ){ in allocateSpace()
506 pNew = (FreeBlk*)&pPage->u.aDisk[start + nByte]; in allocateSpace()
508 pNew->iSize = SWAB16(pBt, iSize - nByte); in allocateSpace()
509 *pIdx = SWAB16(pBt, start + nByte); in allocateSpace()
511 pPage->nFree -= nByte; in allocateSpace()
H A Dbuild.c1357 int nByte; in sqliteCreateForeignKey() local
1383 nByte = sizeof(*pFKey) + nCol*sizeof(pFKey->aCol[0]) + pTo->n + 1; in sqliteCreateForeignKey()
1386 nByte += strlen(pToCol->a[i].zName) + 1; in sqliteCreateForeignKey()
1389 pFKey = sqliteMalloc( nByte ); in sqliteCreateForeignKey()
H A Dexpr.c183 int nByte; in sqliteSrcListDup() local
185 nByte = sizeof(*p) + (p->nSrc>0 ? sizeof(p->a[0]) * (p->nSrc-1) : 0); in sqliteSrcListDup()
186 pNew = sqliteMallocRaw( nByte ); in sqliteSrcListDup()