• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/sqlite-3.6.22/

Lines Matching defs:nBytes

1313 ** The xRandomness() function attempts to return nBytes bytes
3869 SQLITE_API void *sqlite3_aggregate_context(sqlite3_context*, int nBytes);
13321 ** Called when we are unable to satisfy an allocation of nBytes.
13436 ** Return a block of memory of at least nBytes in size.
13585 ** Allocate nBytes of memory.
13587 static void *memsys3Malloc(int nBytes){
13589 assert( nBytes>0 ); /* malloc.c filters out 0 byte requests */
13591 p = memsys3MallocUnsafe(nBytes);
13609 void *memsys3Realloc(void *pPrior, int nBytes){
13613 return sqlite3_malloc(nBytes);
13615 if( nBytes<=0 ){
13620 if( nBytes<=nOld && nBytes>=nOld-128 ){
13624 p = memsys3MallocUnsafe(nBytes);
13626 if( nOld<nBytes ){
13629 memcpy(p, pPrior, nBytes);
14009 ** Return a block of memory of at least nBytes in size.
14010 ** Return NULL if unable. Return NULL if nBytes==0.
14130 ** Allocate nBytes of memory
14132 static void *memsys5Malloc(int nBytes){
14134 if( nBytes>0 ){
14136 p = memsys5MallocUnsafe(nBytes);
14161 ** nBytes is always a value obtained from a prior call to
14162 ** memsys5Round(). Hence nBytes is always a non-negative power
14163 ** of two. If nBytes==0 that means that an oversize allocation
14167 static void *memsys5Realloc(void *pPrior, int nBytes){
14171 assert( (nBytes&(nBytes-1))==0 );
14172 assert( nBytes>=0 );
14173 if( nBytes==0 ){
14177 if( nBytes<=nOld ){
14181 p = memsys5MallocUnsafe(nBytes);
16042 SQLITE_PRIVATE void *sqlite3Realloc(void *pOld, int nBytes){
16046 return sqlite3Malloc(nBytes);
16048 if( nBytes<=0 ){
16052 if( nBytes>=0x7fffff00 ){
16057 nNew = sqlite3GlobalConfig.m.xRoundup(nBytes);
16062 sqlite3StatusSet(SQLITE_STATUS_MALLOC_SIZE, nBytes);
16069 sqlite3MallocAlarm(nBytes);
45285 ** The first time this is called on a shared-btree, nBytes bytes of memory
45287 ** call the nBytes parameter is ignored and a pointer to the same blob
45290 ** If the nBytes parameter is 0 and the blob of memory has not yet been
45299 SQLITE_PRIVATE void *sqlite3BtreeSchema(Btree *p, int nBytes, void(*xFree)(void *)){
45302 if( !pBt->pSchema && nBytes ){
45303 pBt->pSchema = sqlite3MallocZero(nBytes);
66278 int nBytes;
66290 nBytes = sizeof(TableLock) * (pToplevel->nTableLock+1);
66292 sqlite3DbReallocOrFree(pToplevel->db, pToplevel->aTableLock, nBytes);
69893 int nBytes = sizeof(KeyInfo) + (nCol-1)*sizeof(CollSeq*) + nCol;
69895 KeyInfo *pKey = (KeyInfo *)sqlite3DbMallocZero(db, nBytes);
69900 assert( &pKey->aSortOrder[nCol]==&(((u8 *)pKey)[nBytes]) );
75743 void * (*aggregate_context)(sqlite3_context*,int nBytes);
78640 int nBytes, /* Length of zSql in bytes. */
78708 if( nBytes>=0 && (nBytes==0 || zSql[nBytes-1]!=0) ){
78711 testcase( nBytes==mxLen );
78712 testcase( nBytes==mxLen+1 );
78713 if( nBytes>mxLen ){
78719 zSqlCopy = sqlite3DbStrNDup(db, zSql, nBytes);
78725 pParse->zTail = &zSql[nBytes];
78813 int nBytes, /* Length of zSql in bytes. */
78827 rc = sqlite3Prepare(db, zSql, nBytes, saveSqlFlag, pOld, ppStmt, pzTail);
78830 rc = sqlite3Prepare(db, zSql, nBytes, saveSqlFlag, pOld, ppStmt, pzTail);
78885 int nBytes, /* Length of zSql in bytes. */
78890 rc = sqlite3LockAndPrepare(db,zSql,nBytes,0,0,ppStmt,pzTail);
78897 int nBytes, /* Length of zSql in bytes. */
78902 rc = sqlite3LockAndPrepare(db,zSql,nBytes,1,0,ppStmt,pzTail);
78915 int nBytes, /* Length of zSql in bytes. */
78934 zSql8 = sqlite3Utf16to8(db, zSql, nBytes);
78965 int nBytes, /* Length of zSql in bytes. */
78970 rc = sqlite3Prepare16(db,zSql,nBytes,0,ppStmt,pzTail);
78977 int nBytes, /* Length of zSql in bytes. */
78982 rc = sqlite3Prepare16(db,zSql,nBytes,1,ppStmt,pzTail);
85796 int nBytes = sizeof(char *)*(1+pTable->nModuleArg);
85798 azModuleArg = sqlite3DbRealloc(db, pTable->azModuleArg, nBytes);
86132 int nBytes = sizeof(sqlite3_vtab *) * (db->nVTrans + ARRAY_INCR);
86133 aVTrans = sqlite3DbRealloc(db, (void *)db->aVTrans, nBytes);
98263 const char *pInput, int nBytes, /* Input buffer */
98294 ** nul-terminated. This should either be fixed, or pInput/nBytes
103382 int nBytes; /* size of the input */
103445 ** string to be tokenized is pInput[0..nBytes-1]. A cursor
103451 const char *pInput, int nBytes, /* String to be tokenized */
103463 c->nBytes = 0;
103464 }else if( nBytes<0 ){
103465 c->nBytes = (int)strlen(pInput);
103467 c->nBytes = nBytes;
103505 while( c->iOffset<c->nBytes ){
103509 while( c->iOffset<c->nBytes && simpleDelim(t, p[c->iOffset]) ){
103515 while( c->iOffset<c->nBytes && !simpleDelim(t, p[c->iOffset]) ){
110690 ** string to be tokenized is pInput[0..nBytes-1]. A cursor