Home
last modified time | relevance | path

Searched refs:apNew (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
Dpcache1.c372 PgHdr1 **apNew; in pcache1ResizeHash() local
385 apNew = (PgHdr1 **)sqlite3_malloc(sizeof(PgHdr1 *)*nNew); in pcache1ResizeHash()
388 if( apNew ){ in pcache1ResizeHash()
389 memset(apNew, 0, sizeof(PgHdr1 *)*nNew); in pcache1ResizeHash()
396 pPage->pNext = apNew[h]; in pcache1ResizeHash()
397 apNew[h] = pPage; in pcache1ResizeHash()
401 p->apHash = apNew; in pcache1ResizeHash()
Dbtree.c5850 MemPage *apNew[NB+2]; /* pPage and up to NB siblings after balancing */ in balance_nonroot() local
6134 pNew = apNew[i] = apOld[i]; in balance_nonroot()
6143 apNew[i] = pNew; in balance_nonroot()
6181 int minV = apNew[i]->pgno; in balance_nonroot()
6184 if( apNew[j]->pgno<(unsigned)minV ){ in balance_nonroot()
6186 minV = apNew[j]->pgno; in balance_nonroot()
6191 pT = apNew[i]; in balance_nonroot()
6192 apNew[i] = apNew[minI]; in balance_nonroot()
6193 apNew[minI] = pT; in balance_nonroot()
6197 apNew[0]->pgno, szNew[0], in balance_nonroot()
[all …]
Dwal.c510 volatile u32 **apNew; in walIndexPage() local
511 apNew = (volatile u32 **)sqlite3_realloc((void *)pWal->apWiData, nByte); in walIndexPage()
512 if( !apNew ){ in walIndexPage()
516 memset((void*)&apNew[pWal->nWiData], 0, in walIndexPage()
518 pWal->apWiData = apNew; in walIndexPage()
Dos_win.c1750 struct ShmRegion *apNew; /* New aRegion[] array */ in winShmMap() local
1782 apNew = (struct ShmRegion *)sqlite3_realloc( in winShmMap()
1783 pShmNode->aRegion, (iRegion+1)*sizeof(apNew[0]) in winShmMap()
1785 if( !apNew ){ in winShmMap()
1789 pShmNode->aRegion = apNew; in winShmMap()
Dos_unix.c3914 char **apNew; /* New apRegion[] array */ in unixShmMap() local
3947 apNew = (char **)sqlite3_realloc( in unixShmMap()
3950 if( !apNew ){ in unixShmMap()
3954 pShmNode->apRegion = apNew; in unixShmMap()
/external/chromium_org/third_party/sqlite/src/ext/fts3/
Dfts3.c2163 Fts3SegReader **apNew; in sqlite3Fts3SegReaderCursor() local
2165 apNew = (Fts3SegReader **)sqlite3_realloc(pCsr->apSegment, nByte); in sqlite3Fts3SegReaderCursor()
2166 if( !apNew ){ in sqlite3Fts3SegReaderCursor()
2170 pCsr->apSegment = apNew; in sqlite3Fts3SegReaderCursor()
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c28070 char **apNew; /* New apRegion[] array */
28103 apNew = (char **)sqlite3_realloc(
28106 if( !apNew ){
28110 pShmNode->apRegion = apNew;
32884 struct ShmRegion *apNew; /* New aRegion[] array */
32916 apNew = (struct ShmRegion *)sqlite3_realloc(
32917 pShmNode->aRegion, (iRegion+1)*sizeof(apNew[0])
32919 if( !apNew ){
32923 pShmNode->aRegion = apNew;
35299 PgHdr1 **apNew;
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c29057 char **apNew; /* New apRegion[] array */
29090 apNew = (char **)sqlite3_realloc(
29093 if( !apNew ){
29097 pShmNode->apRegion = apNew;
34879 struct ShmRegion *apNew; /* New aRegion[] array */
34913 apNew = (struct ShmRegion *)sqlite3_realloc(
34914 pShmNode->aRegion, (iRegion+1)*sizeof(apNew[0])
34916 if( !apNew ){
34920 pShmNode->aRegion = apNew;
37225 PgHdr1 **apNew;
[all …]
/external/sqlite/dist/
Dsqlite3.c29077 char **apNew; /* New apRegion[] array */
29118 apNew = (char **)sqlite3_realloc(
29121 if( !apNew ){
29125 pShmNode->apRegion = apNew;
34907 struct ShmRegion *apNew; /* New aRegion[] array */
34941 apNew = (struct ShmRegion *)sqlite3_realloc(
34942 pShmNode->aRegion, (iRegion+1)*sizeof(apNew[0])
34944 if( !apNew ){
34948 pShmNode->aRegion = apNew;
37253 PgHdr1 **apNew;
[all …]