Searched refs:sqlite3_malloc (Results 1 - 25 of 66) sorted by relevance

123

/external/chromium_org/third_party/sqlite/src/src/
H A Dtest_hexio.c116 zBuf = sqlite3_malloc( amt*2+1 );
167 aOut = sqlite3_malloc( nIn/2 );
212 aOut = sqlite3_malloc( nIn/2 );
308 z = sqlite3_malloc( n+3 );
H A Dtest_intarray.c88 intarray_vtab *pVtab = sqlite3_malloc(sizeof(intarray_vtab));
105 pCur = sqlite3_malloc(sizeof(intarray_cursor));
228 *ppReturn = p = sqlite3_malloc( sizeof(*p) );
343 a = sqlite3_malloc( sizeof(a[0])*n );
H A Dtable.c93 z = sqlite3_malloc( n );
139 res.azResult = sqlite3_malloc(sizeof(char*)*res.nAlloc );
H A Dtest_func.c23 ** Allocate nByte bytes of space using sqlite3_malloc(). If the
28 char *z = sqlite3_malloc(nByte);
246 pCounter = sqlite3_malloc( sizeof(*pCounter) );
361 zOut = sqlite3_malloc( n/2 );
388 zOut = sqlite3_malloc( n/2 );
415 zOut = sqlite3_malloc( n/2 );
H A Dloadext.c204 sqlite3_malloc,
424 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
437 *pzErrMsg = zErrmsg = sqlite3_malloc(nMsg);
H A Dtest9.c80 p = sqlite3_malloc(5);
82 zErrFunction = "sqlite3_malloc";
H A Dtest_stat.c150 pTab = (StatTable *)sqlite3_malloc(sizeof(StatTable));
203 pCsr = (StatCursor *)sqlite3_malloc(sizeof(StatCursor));
309 p->aCell = sqlite3_malloc((p->nCell+1) * sizeof(StatCell));
340 pCell->aOvfl = sqlite3_malloc(sizeof(u32)*nOvfl);
H A Dbitvec.c343 pV = sqlite3_malloc( (sz+7)/8 + 1 );
344 pTmpSpace = sqlite3_malloc(BITVEC_SZ);
H A Dtest_rtree.c74 pCircle = (Circle *)(p->pUser = sqlite3_malloc(sizeof(Circle)));
204 pCube = (Cube *)sqlite3_malloc(sizeof(Cube));
H A Dtest_schema.c91 schema_vtab *pVtab = sqlite3_malloc(sizeof(schema_vtab));
109 pCur = sqlite3_malloc(sizeof(schema_cursor));
H A Dtest_wholenumber.c49 pNew = *ppVtab = sqlite3_malloc( sizeof(*pNew) );
70 pCur = sqlite3_malloc( sizeof(*pCur) );
H A Dmemjournal.c140 FileChunk *pNew = sqlite3_malloc(sizeof(FileChunk));
H A Dtest5.c165 z = sqlite3_malloc(len);
H A Dtest_fuzzer.c201 pNew = sqlite3_malloc( sizeof(*pNew) + n );
266 pCur = sqlite3_malloc( sizeof(*pCur) );
577 pNew = sqlite3_malloc( sizeof(*pNew) + strlen(zWord) + 1 );
842 pRule = sqlite3_malloc( sizeof(*pRule) + nFrom + nTo );
H A Drecover.c475 zNew = sqlite3_malloc(n+1);
685 sqlite3_malloc(sizeof(RecoverInteriorCursor));
929 pOverflow = sqlite3_malloc(sizeof(RecoverOverflow));
985 * sqlite3_malloc() is returned with the data. *pbFree is set true if
1038 pBase = sqlite3_malloc(nRequestBytes);
1258 pCursor = sqlite3_malloc(sizeof(RecoverLeafCursor));
1642 pCursor = sqlite3_malloc(sizeof(RecoverCursor));
2104 pRecover = sqlite3_malloc(sizeof(Recover));
2128 pRecover->pTypes = sqlite3_malloc(pRecover->nCols);
H A Dtest_pcache.c57 testpcacheGlobal.pDummy = sqlite3_malloc(10);
140 p = sqlite3_malloc( nMem );
H A Dtest_journal.c365 aData = sqlite3_malloc(pMain->nPagesize);
367 pMain->aCksum = sqlite3_malloc(sizeof(u32) * (pMain->nPage + 1));
439 aPage = sqlite3_malloc(pMain->nPagesize);
/external/chromium_org/third_party/sqlite/src/ext/fts2/
H A Dfts2_icu.c65 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
119 pCsr = (IcuCursor *)sqlite3_malloc(
H A Dfts2_tokenizer1.c67 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
121 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
H A Dfts2_porter.c68 t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t));
96 c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
/external/chromium_org/third_party/sqlite/src/ext/fts3/
H A Dfts3_icu.c65 p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n);
119 pCsr = (IcuCursor *)sqlite3_malloc(
H A Dfts3_tokenizer1.c68 t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t));
123 c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c));
H A Dfts3.c705 ** The pointer returned points to memory obtained from sqlite3_malloc(). It
713 zRet = sqlite3_malloc(nRet);
743 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
782 ** The pointer returned points to a buffer allocated by sqlite3_malloc(). It
856 aCol = (const char **)sqlite3_malloc(sizeof(const char *) * (argc-2) );
939 p = (Fts3Table*)sqlite3_malloc(nByte);
1029 char **pzErr /* OUT: sqlite3_malloc'd error message */
1039 char **pzErr /* OUT: sqlite3_malloc'd error message */
1114 *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor));
1905 aTmp = sqlite3_malloc(
[all...]
H A Dfts3_write.c427 p = sqlite3_malloc(sizeof(*p) + 100);
833 ** NULL, then a buffer is allocated using sqlite3_malloc() and populated
879 char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING);
1182 pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra);
1288 pReader = (Fts3SegReader *)sqlite3_malloc(nByte);
1534 pTree->aData = (char *)sqlite3_malloc(nReq);
1578 pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize);
1725 pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter));
1731 pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize);
2341 pBlob = sqlite3_malloc( 1
[all...]
/external/chromium_org/third_party/sqlite/src/ext/rtree/
H A Drtree.c448 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode) + pRtree->iNodeSize);
493 pNode = (RtreeNode *)sqlite3_malloc(sizeof(RtreeNode)+pRtree->iNodeSize);
806 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor));
1206 pGeom = (sqlite3_rtree_geometry *)sqlite3_malloc(
1265 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
1583 aCell = sqlite3_malloc(sizeof(RtreeCell)*nCell);
2008 aaSorted = (int **)sqlite3_malloc(nByte);
2105 aiUsed = sqlite3_malloc(sizeof(int)*nCell);
2185 aCell = sqlite3_malloc((sizeof(RtreeCell)+sizeof(int))*(nCell+1));
2470 aCell = (RtreeCell *)sqlite3_malloc(nCel
[all...]

Completed in 981 milliseconds

123