• Home
  • Raw
  • Download

Lines Matching refs:nByte

1835   int nByte = sqlite3_value_bytes(argv[0]);  in sha3Func()  local
1850 SHA3Update(&cx, sqlite3_value_blob(argv[0]), nByte); in sha3Func()
1852 SHA3Update(&cx, sqlite3_value_text(argv[0]), nByte); in sha3Func()
2581 int nByte = nNew*sizeof(FsdirLevel); in fsdirNext() local
2582 FsdirLevel *aNew = (FsdirLevel*)sqlite3_realloc(pCur->aLvl, nByte); in fsdirNext()
3518 static void apndDlError(sqlite3_vfs*, int nByte, char *zErrMsg);
3521 static int apndRandomness(sqlite3_vfs*, int nByte, char *zOut);
3890 static void apndDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ in apndDlError() argument
3891 ORIGVFS(pVfs)->xDlError(ORIGVFS(pVfs), nByte, zErrMsg); in apndDlError()
3899 static int apndRandomness(sqlite3_vfs *pVfs, int nByte, char *zBufOut){ in apndRandomness() argument
3900 return ORIGVFS(pVfs)->xRandomness(ORIGVFS(pVfs), nByte, zBufOut); in apndRandomness()
4275 int nByte = sizeof(ZipfileTab) + ZIPFILE_BUFFER_SIZE; in zipfileConnect() local
4288 pNew = (ZipfileTab*)sqlite3_malloc(nByte+nFile); in zipfileConnect()
4290 memset(pNew, 0, nByte+nFile); in zipfileConnect()
4535 u16 nByte = zipfileRead16(p); in zipfileCsrReadCDS() local
4548 p += nByte; in zipfileCsrReadCDS()
6085 static void *idxMalloc(int *pRc, int nByte){ in idxMalloc() argument
6088 assert( nByte>0 ); in idxMalloc()
6089 pRet = sqlite3_malloc(nByte); in idxMalloc()
6091 memset(pRet, 0, nByte); in idxMalloc()
6610 int nByte = sizeof(IdxTable) + nTab + 1; in idxGetTableInfo() local
6618 nByte += 1 + STRLEN(zCol); in idxGetTableInfo()
6622 nByte += 1 + STRLEN(zCol); in idxGetTableInfo()
6628 nByte += sizeof(IdxColumn) * nCol; in idxGetTableInfo()
6630 pNew = idxMalloc(&rc, nByte); in idxGetTableInfo()
7336 int nByte; /* Bytes of space allocated at z */ member
7397 int nByte = sqlite3_value_bytes(argv[1]); in idxRemFunc() local
7398 if( nByte>pSlot->nByte ){ in idxRemFunc()
7399 char *zNew = (char*)sqlite3_realloc(pSlot->z, nByte*2); in idxRemFunc()
7404 pSlot->nByte = nByte*2; in idxRemFunc()
7407 pSlot->n = nByte; in idxRemFunc()
7409 memcpy(pSlot->z, sqlite3_value_blob(argv[1]), nByte); in idxRemFunc()
7411 memcpy(pSlot->z, sqlite3_value_text(argv[1]), nByte); in idxRemFunc()
7591 int nByte = sizeof(struct IdxRemCtx) + (sizeof(struct IdxRemSlot) * nMax); in idxPopulateStat1() local
7592 pCtx = (struct IdxRemCtx*)idxMalloc(&rc, nByte); in idxPopulateStat1()
12744 int nByte; /* Number of bytes in an SQL string */ in do_meta_command() local
12823 nByte = strlen30(zSql); in do_meta_command()
12864 zSql = sqlite3_malloc64( nByte*2 + 20 + nCol*2 ); in do_meta_command()
12870 sqlite3_snprintf(nByte+20, zSql, "INSERT INTO \"%w\" VALUES(?", zTable); in do_meta_command()
13640 int ii, nByte; in do_meta_command() local
13647 nByte = sizeof(pSession->azFilter[0])*(nCmd-1); in do_meta_command()
13648 pSession->azFilter = sqlite3_malloc( nByte ); in do_meta_command()