Searched defs:aData (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/libsqlite/tool/
H A Dshowdb.c26 unsigned char *aData; local
28 aData = malloc(pagesize);
29 if( aData==0 ) out_of_memory();
31 read(db, aData, pagesize);
36 fprintf(stdout,"%02x ", aData[i+j]);
39 fprintf(stdout,"%c", isprint(aData[i+j]) ? aData[i+j] : '.');
43 free(aData);
H A Dshowjournal.c26 unsigned char *aData; local
28 aData = malloc(pagesize);
29 if( aData==0 ) out_of_memory();
30 read(db, aData, pagesize);
35 fprintf(stdout,"%02x ", aData[i+j]);
38 fprintf(stdout,"%c", isprint(aData[i+j]) ? aData[i+j] : '.');
42 free(aData);
/osnet-11/usr/src/lib/libsqlite/src/
H A Dpager.c224 char aData[SQLITE_PAGE_SIZE]; /* Original data for page pgno */ member in struct:PageRecord
523 static u32 pager_cksum(Pager *pPager, Pgno pgno, const char *aData){ argument
543 rc = sqliteOsRead(jfd, &pgRec.aData, sizeof(pgRec.aData));
560 if( pager_cksum(pPager, pgRec.pgno, pgRec.aData)!=cksum ){
571 rc = sqliteOsWrite(&pPager->fd, pgRec.aData, SQLITE_PAGE_SIZE);
580 memcpy(PGHDR_TO_DATA(pPg), pgRec.aData, SQLITE_PAGE_SIZE);

Completed in 21 milliseconds